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

Linux 6.18.37 · Dev Tools

Platform Device API

Platform device를 검사하는 lib/kunit/platform.c의 export API입니다.

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

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

1. 요약·해설

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

요약과 해설

platformdevice.rst:1-10

KUnit test에서 platform device lifecycle과 연동 코드를 검증하는 helper 문서를 source에서 가져옵니다.

2. 영어 원문 전체

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

원문 전체 펼치기
1 .. SPDX-License-Identifier: GPL-2.0
2
3 ===================
4 Platform Device API
5 ===================
6
7 The KUnit platform device API is used to test platform devices.
8
9 .. kernel-doc:: lib/kunit/platform.c
10 :export:
11

3. 한국어 전문 번역

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

KUnit Platform Device API

1-10

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

Platform Device API

KUnit platform device API는 platform device를 테스트하는 데 사용합니다.

다음 kernel-doc 지시문은 `lib/kunit/platform.c`가 export하는 API 문서를 포함합니다.

.. kernel-doc:: lib/kunit/platform.c
   :export: