diff options
| author | Pierre Gondois <Pierre.Gondois@arm.com> | 2021-09-30 10:48:21 +0300 |
|---|---|---|
| committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2021-10-01 13:57:43 +0300 |
| commit | 22873f58c40c496d59a0553bee1c720192ac35c9 (patch) | |
| tree | 74627aa7e3b36acad9048f00b7ccc5b587fca302 /BaseTools/Source/Python/Ecc/FileProfile.py | |
| parent | 691c5f776274d88b13113f67d8dbac0a3298150c (diff) | |
| download | edk2-22873f58c40c496d59a0553bee1c720192ac35c9.tar.xz | |
DynamicTablesPkg: Rework AmlResourceDataCodegen.c/h
Rework all the functions to to have a generic prototype:
- First take take the resource data specific arguments.
E.g.: for a Register(): the AddressSpace, BitWidth, ...
- The penultimate parameter is a NameOpNode. The resource data
created is appended to the ResourceTemplate() contained in the
NameOpNode.
- The last parameter is a pointer holding the created resource data.
A least one of the two last parameter must be provided. One of them can
be omitted. This generic interface allows to either:
- Add the resource data to a NameOpNode. This is a common case for the
Ssdt tables generator.
- Get the created resource data and let the caller place it in an AML
tree.
Reviewed-by: Sami Mujawar <sami.mujawar@arm.com>
Signed-off-by: Pierre Gondois <Pierre.Gondois@arm.com>
Diffstat (limited to 'BaseTools/Source/Python/Ecc/FileProfile.py')
0 files changed, 0 insertions, 0 deletions
