Skip to contentSkip to conversation

acpi: use xsdt_addr if present

PATCH zhangqiumiao 1 participant 1 message Jun 13, 2023

lore
Share & tools
lore
#0 lore raw
Quoted 3 lines · Qiumiao Zhang via Grub-devel
Quoted 1 line

According to the UEFI specification, in ACPI 2.0 or later, an ACPI-compatible OS must use the XSDT if present.

Sorry, I cannot find this in the UEFI spec. Though something more generic is in the ACPI spec. Could you update the commit message accordingly?

Sorry, I have confused the UEFI spec with the ACPI spec, I will update the commit message.

Quoted 4 lines
Quoted 1 line

So, we should use xsdt_addr instead of rsdt_addr if xsdt_addr is valid.

Ha! We have the same problem in the grub-core/kern/acpi.c:grub_acpi_find_table(). May I ask you to fix this function too? Of course in separate patch.

I would be happy to do this.

Qiumiao