testbios and the system timer
ollie at lanl.gov
Thu Jun 3 09:47:00 CEST 2004
On Thu, 2004-06-03 at 02:56, Richard Smith wrote:
> What i've noticed that the emulator causes the Vbios to get stuck in
> some delay loops. Eventually it probally would exit but its currently
> making my logs huge and causing the knashing of much teeth.
> So I'm thinking that the emulator needs to intercept reads and writes to
> the system timer and provide a fake timer that increments 1 tick per
> some x instructions emulated. And hopfully the chips and the bioses
> that need this won't mind that the actuall delay is longer than what was
The original emulator in xfree86 use the system's gettimeofdate to
emulate the timer. Since we are not going to have that function in
linuxbios, I removed it.
Probably we need an other way to emulate the timer.
> Any comments before I hack this in?
> I'm off to bed.
More information about the coreboot