diff options
| author | Pierre Gondois <pierre.gondois@arm.com> | 2026-05-27 11:09:26 +0300 |
|---|---|---|
| committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2026-09-11 12:05:39 +0300 |
| commit | 3819cffa5ef1cfcbbc14d2bc0ba14604dde20488 (patch) | |
| tree | f7671287ab6e0d203f718060bb3d2135cb0b470c /BaseTools/Source/Python/Workspace/MetaFileCommentParser.py | |
| parent | 54ef58cb48113208925ec026d8f1ac2a1d2b9f99 (diff) | |
| download | edk2-3819cffa5ef1cfcbbc14d2bc0ba14604dde20488.tar.xz | |
DynamicTablesPkg/HwInfoParser: Add FdtGetTranslatedReg()
The Devicetree Specification [1] defines the "ranges" property.
"""
The ranges property provides a means of defining a mapping or
translation between the address space of the bus (the child
address space) and the address space of the bus node’s parent
(the parent address space).
"""
Add a FdtGetTranslatedReg() function, reading the "reg" property
of a node and translating the base address through the "ranges"
properties present in the node hierarchy.
Make use of FdtGetTranslatedReg() wherever relevant.
This allows to handle the presence of "ranges" property in
a node hierarchy by default.
[1] Spec. v0.4, s2.3.8 ranges
Signed-off-by: Pierre Gondois <pierre.gondois@arm.com>
Diffstat (limited to 'BaseTools/Source/Python/Workspace/MetaFileCommentParser.py')
0 files changed, 0 insertions, 0 deletions
