Probe HPET existence
authorJan Kiszka <jan.kiszka@siemens.com>
Mon, 29 Aug 2011 15:50:10 +0000 (17:50 +0200)
committerKevin O'Connor <kevin@koconnor.net>
Fri, 2 Sep 2011 22:04:04 +0000 (18:04 -0400)
commitb8a90f513ba83283ee2ac3961d6ce7ae731498d0
tree308ed3ca7fcb00a6f4f6127ec04fd88f85b7437f
parent83012de1646d2d2156dbe2fe894fd2ca478c7ab5
Probe HPET existence

QEMU does not provide a HPET block if it was configured with -no-hpet,
other machines SeaBIOS runs on may lack a HPET as well. Perform basic
checks the ID register for a reasonable vendor ID and a clock period
within the valid range, do not build the HPET table if that fails.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
src/acpi.c