mirror of https://github.com/acidanthera/audk.git
12e65fd258
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> |
||
---|---|---|
.. | ||
AmlDbgPrint | ||
AmlEncoding | ||
Api | ||
CodeGen | ||
NameSpace | ||
Parser | ||
ResourceData | ||
Serialize | ||
Stream | ||
String | ||
Tree | ||
Utils | ||
AmlCoreInterface.h | ||
AmlDefines.h | ||
AmlInclude.h | ||
AmlLib.inf | ||
AmlNodeDefines.h |