[coreboot] [PATCH 0/4] Geode GX2 auto DRAM detect patch V2

Uwe Hermann uwe at hermann-uwe.de
Fri Nov 5 01:29:52 CET 2010

On Mon, Nov 01, 2010 at 08:28:27PM +0100, Nils wrote:
> >Shouldn't there be a "while (1)" around the hlt instruction?
> ?? i don't know should it?
> The code seems to work, but if it is preferred/needed i will add it.

As far as I know the "hlt" instruction on x86 does not really terminally
"halt" the processor, it can be woken up again by certain events (NMI,
debug exceptions, whatever). So usually you only see the "hlt"
instruction in a while(1) loop if you want the code to not ever continue
execution after the "hlt" instruction. But someone please correct me
if I'm wrong.

http://hermann-uwe.de     | http://sigrok.org
http://randomprojects.org | http://unmaintained-free-software.org

More information about the coreboot mailing list