]> git.ipfire.org Git - thirdparty/grub.git/commit
commands/acpi: Use xsdt_addr if present
authorQiumiao Zhang <zhangqiumiao1@huawei.com>
Tue, 13 Jun 2023 03:17:36 +0000 (11:17 +0800)
committerDaniel Kiper <daniel.kiper@oracle.com>
Tue, 13 Jun 2023 13:59:18 +0000 (15:59 +0200)
commitb2b477e6b23a207321e2f9d7fde1a1624ef318dc
tree838a90dcbd4df9d1b0604390a73dc5aa31483e88
parenta24ea9241cb42e8ba670ac8d8ce54275df73a271
commands/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/commands/acpi.c