arm64: Do not rely on SPCR table to detect acpi
Since EDK2 commit d8e36289cef7bde628b023219cd65fa8e8d4562a, the Graphical console may completely hide SPCR, causing panics later when locating timers. As such simply rely on the ACPI Root pointer presence. Submitted by: dan.kotowski@a9development.com Reviewed by: andrew, mw Differential Revision: https://reviews.freebsd.org/D27306
This commit is contained in:
parent
891bc22d39
commit
df15910266
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=368081
@ -1036,7 +1036,7 @@ bus_probe(void)
|
||||
has_fdt = (OF_peer(0) != 0);
|
||||
#endif
|
||||
#ifdef DEV_ACPI
|
||||
has_acpi = (acpi_find_table(ACPI_SIG_SPCR) != 0);
|
||||
has_acpi = (AcpiOsGetRootPointer() != 0);
|
||||
#endif
|
||||
|
||||
env = kern_getenv("kern.cfg.order");
|
||||
|
Loading…
Reference in New Issue
Block a user