ReturnInfinity/BareMetal-OS — pull request #21 by bendyer (2012-07-25 11:42:54+00:00)
Title: VMware HPET fix

Set HPET Timer 0 Comparator Register to a high value, since setting it to 0 freezes VMware.

This appears to be because according to the General Behavioural Rules of Section 2.3.9.1 of the IA-PC HPET Specification, every time the main counter equals the value in the comparator register, an interrupt is triggered and the value in the comparator register is increased by the last value written to it. VMware's emulation does not appear to sanity-check the value, presumably putting it into an infinite loop.