[LinuxBIOS] [PATCH][v3] Merge hlt() into cpu.h (svn resync)

Juergen Beisert juergen127 at kreuzholzen.de
Thu Jul 12 15:57:03 CEST 2007


On Thursday 12 July 2007 15:23, Stefan Reinauer wrote:
> * Uwe Hermann <uwe at hermann-uwe.de> [070712 15:06]:
> > Hm, but given your above explanations that the hlt() may not really
> > completely halt, I'd say that we really should move the loop into
> > hlt(). When I call hlt() from my code I _expect_ a full halt, I don't
> > want _any_ other code exectuted.
>
> It's hlt, not halt. This is the instruction that used to be
> called in the idle loop to make the cpu _sleep_ until new work occurs.

When no interrupt, reset, NMI or SMI occures the "hlt" opcode let the CPU 
sleep forever.
Do we are using interrupts in LBv3?

Juergen




More information about the coreboot mailing list