There is no HPET on arm64 and vm_get_hpet_capabilities() is not
implemented there. Move the vm_get_hpet_capabilities() call into
build_hpet(): I cannot see a downside, and doing so eliminates a global
variable and reduces the amount of code that needs to be conditionally
compiled. No functional change intended.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
usr.sbin/bhyve/acpi.c | ||
---|---|---|
536 | Not sure if you remove these ifdefs in a subsequent commit. I'd prefer removing them. Therefore, we can add a build_platform_tables function or we can use a linker set. |
usr.sbin/bhyve/acpi.c | ||
---|---|---|
536 | I haven't removed them yet. I'm working on getting arm64 booting with ACPI instead of a FDT. I'll try to find a nicer way to handle this. |