diff options
author | Arthur Heymans <arthur@aheymans.xyz> | 2023-06-22 13:42:36 +0200 |
---|---|---|
committer | Lean Sheng Tan <sheng.tan@9elements.com> | 2023-08-03 01:41:40 +0000 |
commit | d8f2dcebd8b4c384ceb553c7222d54b26b322151 (patch) | |
tree | b1726f1994c48b5e0ad8401e4a8b84c1be51549f /util/coreboot-configurator | |
parent | a9b08f2b61c02c7cc5739280430e4906df060339 (diff) |
acpi.c: Swap XSDT and RSDT for adding/finding tables
If ACPI is above 4G it's not possible to have a valid RSDT pointer in
RSDP, therefore swap RSDT and XSDT. Both are always generated on x86.
On other architectures RSDT is often skipped, e.g. aarch64. On top of
that the OS looks at XSDT first. So unconditionally using XSDT and not
RSDT is fine.
This also deal with the ACPI pointer being above 4G. This currently
never happens with x86 platforms.
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Change-Id: I6588676186faa896b6076f871d7f8f633db21e70
Reviewed-on: https://review.coreboot.org/c/coreboot/+/76000
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Lean Sheng Tan <sheng.tan@9elements.com>
Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
Diffstat (limited to 'util/coreboot-configurator')
0 files changed, 0 insertions, 0 deletions