diff options
author | Pierre Gondois <Pierre.Gondois@arm.com> | 2021-10-08 15:46:16 +0100 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2021-10-08 15:39:42 +0000 |
commit | 74addfeab6d7f66800e430be078d6560c4edda53 (patch) | |
tree | c452bb3cfc2673baba64ca1d9c1d4134ce0f4cd8 /BaseTools/Source/Python/Ecc/MetaFileWorkspace/MetaFileTable.py | |
parent | 28b2df475fb214d11ee50f5a924cedee671f0ba1 (diff) | |
download | edk2-74addfeab6d7f66800e430be078d6560c4edda53.tar.gz edk2-74addfeab6d7f66800e430be078d6560c4edda53.tar.bz2 edk2-74addfeab6d7f66800e430be078d6560c4edda53.zip |
DynamicTablesPkg: Add AmlSetRdListCheckSum()
Lists of Resource Data elements end with an EndTag (most of the time).
This function finds the EndTag (if present) in a list of Resource Data
elements and sets the checksum.
ACPI 6.4, s6.4.2.9 "End Tag":
"This checksum is generated such that adding it to the sum of all the data
bytes will produce a zero sum."
"If the checksum field is zero, the resource data is treated as if the
checksum operation succeeded. Configuration proceeds normally."
Reviewed-by: Sami Mujawar <sami.mujawar@arm.com>
Signed-off-by: Pierre Gondois <Pierre.Gondois@arm.com>
Diffstat (limited to 'BaseTools/Source/Python/Ecc/MetaFileWorkspace/MetaFileTable.py')
0 files changed, 0 insertions, 0 deletions