diff options
author | Ajan Zhong <ajan.zhong@newfw.com> | 2024-11-19 21:45:41 +0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2024-12-09 02:23:28 +0000 |
commit | 694cc9f1004be90e85dd003711b4724a04e8e697 (patch) | |
tree | e679a76bc390d012ea29c219335a28c1fdf3dc07 /BaseTools/Source/Python/FirmwareStorageFormat | |
parent | ddb4ea681b899e28fd8436c416e0bcdab2e362c9 (diff) | |
download | edk2-694cc9f1004be90e85dd003711b4724a04e8e697.tar.gz edk2-694cc9f1004be90e85dd003711b4724a04e8e697.tar.bz2 edk2-694cc9f1004be90e85dd003711b4724a04e8e697.zip |
UefiPayloadPkg: Update ReadUnaligned64 in ACPI parsing
According to ACPI Specification, 64 bit physical address of the XSDT
provides indentical functionality to the RSDT but accommodates physical
address of description headers that are larger than 32 bits.
In this case physical address of XSDT table is 64 bit aligned, however
size of ACPI description tabled header is not 64 bit aligned. It leads
to the entry of other description headers are not 64 bit aligned. In
AARCH64 architecture, deference non-aligned 64 bit address to fetch
64-bit data will trigger Alignment fault. Use ReadUnaligned64 method
to fix this unaligned data access issue.
Signed-off-by: Ajan Zhong <ajan.zhong@newfw.com>
Diffstat (limited to 'BaseTools/Source/Python/FirmwareStorageFormat')
0 files changed, 0 insertions, 0 deletions