[SeaBIOS] [PATCH] Probe HPET existence

Jan Kiszka jan.kiszka at siemens.com
Wed Aug 31 18:45:54 CEST 2011

On 2011-08-30 02:35, Kevin O'Connor wrote:
> On Mon, Aug 29, 2011 at 05:50:10PM +0200, Jan Kiszka wrote:
>> 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.
> It looks okay to me.
> BTW, any particular reason to use 0x05F5E100 instead of 100000000?

No, I just blindly grabbed the first number I found in the spec. You may
change if you like on commit.


Siemens AG, Corporate Technology, CT T DE IT 1
Corporate Competence Center Embedded Linux

More information about the SeaBIOS mailing list