ref: e8e8ee3cf1172bb2d6ae062447256e38f38c17c5
parent: c9461323f7e6c51a0ee6be9d7893156fce847852
author: mia soweli <[email protected]>
date: Fri May 26 11:19:56 EDT 2023
aux/acpi: correct fadt version check for new shutdown.
--- a/sys/src/cmd/aux/acpi.c
+++ b/sys/src/cmd/aux/acpi.c
@@ -496,7 +496,7 @@
amlload(t->data, l);
}else if(memcmp("FACP", t->sig, 4) == 0){
facp.ok = 1;
- if(t->rev >= 2) {
+ if(t->rev >= 3) {
/* try the ACPI 2.0 method */
facp.pm1aspace = *(((uchar*)t) + 172);
facp.pm1awid = *(((uchar*)t) + 175);