summaryrefslogtreecommitdiffstats
path: root/BaseTools/Source/Python/Ecc
diff options
context:
space:
mode:
authorPierre Gondois <Pierre.Gondois@arm.com>2021-10-08 15:46:24 +0100
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2021-10-08 15:39:42 +0000
commit12e65fd25823b167b0c5fbe86f8995d9a85b459a (patch)
treeba41736574b637a31eaa6b6cb063067a493f6cb0 /BaseTools/Source/Python/Ecc
parent1e33479b393902b97821ab8a0ef321045804c013 (diff)
downloadedk2-12e65fd25823b167b0c5fbe86f8995d9a85b459a.tar.gz
edk2-12e65fd25823b167b0c5fbe86f8995d9a85b459a.tar.bz2
edk2-12e65fd25823b167b0c5fbe86f8995d9a85b459a.zip
DynamicTablesPkg: Helper function to compute package length
Some AML object have a PkgLen which indicates the size of the AML object. The package length can be encoded in 1 to 4 bytes. The bytes used to encode the PkgLen is itself counted in the PkgLen value. So, if an AML object's size increments/decrements, the number of bytes used to encode the PkgLen value can itself increment/decrement. Therefore, a helper function AmlComputePkgLength() is introduced to simply computation of the PkgLen. Reviewed-by: Sami Mujawar <sami.mujawar@arm.com> Signed-off-by: Pierre Gondois <Pierre.Gondois@arm.com>
Diffstat (limited to 'BaseTools/Source/Python/Ecc')
0 files changed, 0 insertions, 0 deletions