diff options
author | Pierre Gondois <Pierre.Gondois@arm.com> | 2021-10-08 15:46:30 +0100 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2021-10-08 15:39:42 +0000 |
commit | a5e36ad9bcd945be98a50ff57170e85df7fda368 (patch) | |
tree | e7d79a39b79c35b1a956fb7a7e4aba2fa9e773ff /BaseTools/Source/Python/Ecc/ParserWarning.py | |
parent | 018a962d92ee750f4260ad4f064923f6f53e74b1 (diff) | |
download | edk2-a5e36ad9bcd945be98a50ff57170e85df7fda368.tar.gz edk2-a5e36ad9bcd945be98a50ff57170e85df7fda368.tar.bz2 edk2-a5e36ad9bcd945be98a50ff57170e85df7fda368.zip |
DynamicTablesPkg: AML code generation to add an _LPI state
Add AmlAddLpiState() to generates AML code to add an _LPI state
to an _LPI object created using AmlCreateLpiNode().
AmlAddLpiState increments the count of LPI states in the LPI
node by one, and adds the following package:
Package() {
MinResidency,
WorstCaseWakeLatency,
Flags,
ArchFlags,
ResCntFreq,
EnableParentState,
(GenericRegisterDescriptor != NULL) ? // Entry method. If a
ResourceTemplate(GenericRegisterDescriptor) : // Register is given,
Integer, // use it. Use the
// Integer otherwise
ResourceTemplate() { // NULL Residency
Register (SystemMemory, 0, 0, 0, 0) // Counter
},
ResourceTemplate() { // NULL Usage Counter
Register (SystemMemory, 0, 0, 0, 0)
},
"" // NULL State Name
},
Reviewed-by: Sami Mujawar <sami.mujawar@arm.com>
Signed-off-by: Pierre Gondois <Pierre.Gondois@arm.com>
Diffstat (limited to 'BaseTools/Source/Python/Ecc/ParserWarning.py')
0 files changed, 0 insertions, 0 deletions