Documentation/dev-tools/kunit/api/of.rst GitHub 원문 ↗

Linux 6.18.37 · Dev Tools

Device Tree (OF) API

Device tree of_* 의존 코드를 검사하는 KUnit internal·helper API입니다.

Source pathDocumentation/dev-tools/kunit/api/of.rst
Source versionLinux v6.18.37
TranslationDUJINLABS 전문 번역 + 해설

요약·해설, 영어 원문, 전체 번역을 구분해 실었습니다. API 이름, 코드 심벌, 소스 경로는 원문 표기를 유지합니다.

1. 요약·해설

원문의 핵심 내용을 정리하고 커널 프로그래밍에 필요한 설명을 덧붙였습니다. 아래의 전체 번역과는 별도로 작성한 해설입니다.

요약과 해설

of.rst:1-13

`include/kunit/of.h`의 internal interface와 `drivers/of/of_kunit_helpers.c`의 export helper를 함께 연결합니다.

2. 영어 원문 전체

번역에 사용한 Linux v6.18.37 원문입니다. 줄 번호는 해당 버전의 소스 파일을 기준으로 합니다.

원문 전체 펼치기
1 .. SPDX-License-Identifier: GPL-2.0
2
3 ====================
4 Device Tree (OF) API
5 ====================
6
7 The KUnit device tree API is used to test device tree (of_*) dependent code.
8
9 .. kernel-doc:: include/kunit/of.h
10 :internal:
11
12 .. kernel-doc:: drivers/of/of_kunit_helpers.c
13 :export:
14

3. 한국어 전문 번역

영어 원문의 문단 순서와 의미에 맞춰 전체 내용을 번역했습니다. 코드, 함수명, 코드 심벌, URL은 원문 표기를 유지합니다.

KUnit Device Tree API

1-13

SPDX 라이선스 식별자: GPL-2.0

Device Tree (OF) API

KUnit device tree API는 device tree의 `of_*` 기능에 의존하는 코드를 테스트하는 데 사용합니다.

다음 kernel-doc 지시문은 `include/kunit/of.h`의 internal API를 포함합니다.

.. kernel-doc:: include/kunit/of.h
   :internal:

다음 지시문은 `drivers/of/of_kunit_helpers.c`가 export하는 helper API를 포함합니다.

.. kernel-doc:: drivers/of/of_kunit_helpers.c
   :export: