On Thursday 12 July 2007 15:23, Stefan Reinauer wrote:
- Uwe Hermann uwe@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