On Sunday, 05.07.2015 at 10:44, Martin Lucina wrote: > Bizarre. The problem is not related to QEMU -- running on baremetal x86_64 > produces the same behaviour. I've checked all the likely culprits (pit_mult > and tsc_mult values) and those are all fine.
Fixed. A stupid mistake on my part, when I removed the while() loop from bmk_cpu_block() I neglected to invert the "don't go in here if we're late" condition. I've cleaned up that function to make the control flow easier to follow.
