]> git.ipfire.org Git - thirdparty/grub.git/commit
kern/acpi: Use xsdt_addr if present
authorQiumiao Zhang <zhangqiumiao1@huawei.com>
Tue, 13 Jun 2023 03:20:51 +0000 (11:20 +0800)
committerDaniel Kiper <daniel.kiper@oracle.com>
Tue, 13 Jun 2023 14:00:39 +0000 (16:00 +0200)
commit4fb58cf0afe83d921e1072d58a4f899696d8fe7e
treed766c647b3011047f0e3f6e315e9db28a27cd042
parentb2b477e6b23a207321e2f9d7fde1a1624ef318dc
kern/acpi: Use xsdt_addr if present

According to the ACPI specification, in ACPI 2.0 or later, an
ACPI-compatible OS must use the XSDT if present. So, we should
use xsdt_addr instead of rsdt_addr if xsdt_addr is valid.

Signed-off-by: Qiumiao Zhang <zhangqiumiao1@huawei.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
grub-core/kern/acpi.c