[LinuxBIOS] S2882 Video

Stefan Reinauer stepan at coresystems.de
Mon May 1 02:39:18 CEST 2006


* Ronald G Minnich <rminnich at lanl.gov> [060501 00:37]:
> >This is the code that prints the message in src/include/x86emu/x86emu.h
> >
> >#ifdef  DEBUG
> >#define HALT_SYS()      \
> >        printk("halt_sys: file %s, line %d\n", __FILE__, __LINE__); \
> >        X86EMU_halt_sys();
> >#else
> >#define HALT_SYS()      X86EMU_halt_sys()
> >#endif
> >
> >DEBUG is undefined in devices/emulator/x86emu/debug.h and never set in
> >the emulator files.. any idea why the message is printed at all? 
> 
> so we know that vga emulation terminated correctly ...
 
I agree that a message makes sense. I just wonder where DEBUG gest set
in this context. devices/emulator/x86emu/debug.h explicitly undefs DEBUG
so I'd assume the message would not be printed by default?!

Stefan

-- 
coresystems GmbH • Brahmsstr. 16 • D-79104 Freiburg i. Br.
      Tel.: +49 761 7668825 • Fax: +49 761 7664613
Email: info at coresystems.dehttp://www.coresystems.de/




More information about the coreboot mailing list