hardware/peripherals/coredump.html · hardware/peripherals/coredump.rst 공식 원문 ↗

Zephyr 3.7.0 · Hardware · Peripherals · Coredump

Coredump device

고정 memory region 또는 callback으로 dump data를 수집하는 두 device type을 설명합니다.

Official pathhardware/peripherals/coredump.html
Source filehardware/peripherals/coredump.rst
Source versionZephyr 3.7.0
TranslationFull · reviewed

본문 기준: Zephyr 3.7.0 LTS3 · 이후 유지보수 패치는 별도입니다.

Part 1

요약·해설

COREDUMP_TYPE_MEMCPY와 COREDUMP_TYPE_CALLBACK의 memory 할당 방식을 구분합니다.

Types

MEMCPY · CALLBACK

Runtime

region add/remove · fill callback

Part 2

접을 수 있는 영어 원문 전체

영어 원문 전체 펼치기
원문 SHA-256 3961440F6123BCB7B1DDA8570A8B6AC04D1A164C58D16DC8D86DCC128A9EF8D6
.. _coredump_device_api:

Coredump Device
###############

Overview
********

The coredump device is a pseudo-device driver with two types.A COREDUMP_TYPE_MEMCPY
type exposes device tree bindings for memory address/size values to be included in
any dump. And the driver exposes an API to add/remove dump memory regions at runtime.
A COREDUMP_TYPE_CALLBACK device requires exactly one entry in the memory-regions
array with a size of 0 and a desired size. The driver will statically allocate memory
of the desired size and provide an API to register a callback function to fill that
memory when a dump occurs.

Configuration Options
*********************

Related configuration options:

* :kconfig:option:`CONFIG_COREDUMP_DEVICE`

API Reference
*************

.. doxygengroup:: coredump_device_interface

Part 3

한국어 전문 번역

개요

Coredump device는 두 type을 가진 pseudo-device driver입니다. COREDUMP_TYPE_MEMCPY는 dump에 포함할 memory address/size의 devicetree binding을 노출하고 runtime에 dump memory region을 추가·제거하는 API를 제공합니다. COREDUMP_TYPE_CALLBACK device는 memory-regions array에 size 0과 desired size를 가진 entry 하나만 요구합니다. Driver는 desired size만큼 memory를 static 할당하고 dump가 발생할 때 그 memory를 채우는 callback 등록 API를 제공합니다.

설정 option

관련 설정 option은 CONFIG_COREDUMP_DEVICE입니다.

API reference

coredump_device_interface Doxygen group이 이 interface의 공식 API reference를 제공합니다.

Source

출처

영어 원문에는 문단, 문서 지시문, 표, 코드, 코드 심벌, 경로를 그대로 보존했습니다.