diff options
| author | Varshit Pandya <varshit.pandya@arm.com> | 2026-08-18 17:04:46 +0300 |
|---|---|---|
| committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2026-09-10 13:21:41 +0300 |
| commit | 3bac5a54583d016da089f43ade85344477fd52b8 (patch) | |
| tree | 991a96cf7f554643dd13afea41cf47f790d98bef /BaseTools/Source/Python/Workspace/MetaFileCommentParser.py | |
| parent | b87f01813b20b7bc2f61fe39bb71dad76f0c5b16 (diff) | |
| download | edk2-3bac5a54583d016da089f43ade85344477fd52b8.tar.xz | |
DynamicTablesPkg: Add AmlLib OperationRegion code generator
Add AmlCodeGenOperationRegion() to create an AML OperationRegion
object from a region name, address space, integer offset, and integer
length.
The API creates the OperationRegion object and populates its four fixed
AML operands:
- RegionName
- RegionSpace
- RegionOffset
- RegionLength
RegionOffset and RegionLength are encoded using the smallest suitable
AML integer representation. The generated node can either be attached
directly to a supplied parent or returned to the caller for later use.
For example, the API can generate an object equivalent to:
OperationRegion (
REG0,
SystemMemory,
RegionOffset,
RegionLength
)
This provides generators with a reusable way to describe register
regions without relying on a precompiled ASL template.
Signed-off-by: Varshit Pandya <varshit.pandya@arm.com>
Diffstat (limited to 'BaseTools/Source/Python/Workspace/MetaFileCommentParser.py')
0 files changed, 0 insertions, 0 deletions
