summaryrefslogtreecommitdiff
path: root/BaseTools/Source/Python/Workspace/MetaFileCommentParser.py
diff options
context:
space:
mode:
authorPierre Gondois <pierre.gondois@arm.com>2026-05-27 15:55:23 +0300
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2026-09-11 12:05:39 +0300
commitc1b412e6b52d1f58dde782b8798fb63c166d3010 (patch)
treee01e74e3c78ce913ef5ec02c88f0d68b32d33169 /BaseTools/Source/Python/Workspace/MetaFileCommentParser.py
parent10ccceddbd733b1e3ae7608151dbbfebaa94fef6 (diff)
downloadedk2-c1b412e6b52d1f58dde782b8798fb63c166d3010.tar.xz
DynamicTablesPkg/HwInfoParser: Add FdtGetInterruptMap()
A FDT interrupt nexus defines an "interrupt-map" property. The property is an array of 5 columns as: - child unit address - child interrupt specifier - interrupt-parent (phandle on 1 cell) - parent unit address - parent interrupt specifier It is difficult to iterate over the lines of the "interrupt-map" array. To determine the location of each property in the interrupt-map, the size of the child unit address and interrupt specifier must be fetched. The interrupt-parent cells then allows to fetch the size of the parent unit address and interrupt specifier. Create a FdtGetInterruptMap() function allowing to fetch all the properties of an interrupt-map entry. Use the function to simplify the PCI config space parser. 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