I did not committed this because on the computer where ISA timer is gated, bios really reports that ISA devices are present.
But I think now that acpi_get_fadt_bootflags() is useful on its own.
Details
Details
Diff Detail
Diff Detail
- Lint
Lint Skipped - Unit
Tests Skipped
Event Timeline
Comment Actions
I would like to use acpi_get_fadt_bootflags for vt also, but then it needs to live in some generic ACPI file, or else I would have to provide dummy implementations for !x86 arches.
Comment Actions
Convert vt_vga.c to use acpi_get_fadt_bootflags().
Also initialize ignore before TUNABLE_INT_FETCH(). Otherwise, if there is no kenv var, the local is uninitialized.
Comment Actions
LGTM thanks.
sys/dev/vt/hw/vga/vt_vga.c | ||
---|---|---|
51 | Not sure if it's a phab issue, but I think the last defined is missing the closing ')'. ie: defined(__i386__) |