- User Since
- Sep 14 2019, 10:19 PM (63 w, 9 h)
Thu, Nov 26
Using AcpiOsGetRootPointer() instead of FADT or SPCR
You're right, that's much easier to read and makes more sense long term. And I just retested and it works fine in all combinations of serial and video.
Wed, Nov 25
We could do that, but it seems like more code than necessary to do the same exact thing.
AcpiOsGetRootPointer just wraps resource_long_value in sys/bus.h which we already include in sys/arm64/arm64/machdep.c. Since that returns 0 when successful, what about something like this?
long acpi_root; has_acpi = (resource_long_value("acpi", 0, "rsdp", &acpi_root) == 0);
Sat, Nov 21
Jul 14 2020
Already accepted, but just wanted to confirm this solved interrupt mapping problems we were having on LX2160a.