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)
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>

No differences found