[coreboot] [PATCH] continue cleaning up log levels

Myles Watson mylesgw at gmail.com
Fri Apr 2 19:55:44 CEST 2010


x86_emu_debug.diff:
Change DEBUG for the emulator to DEBUG_EMU to avoid conflicts with DEBUG for
log levels.

loglevel.diff:
Remove BIOS_EMERG, BIOS_ALERT, BIOS_CRIT, BIOS_NOTICE, BIOS_NEVER
I didn't change their numerical values.  They were rarely used.
BIOS_EMERG, BIOS_ALERT, BIOS_CRIT -> BIOS_ERR
BIOS_NOTICE -> BIOS_INFO
BIOS_NEVER -> BIOS_SPEW+1

loglevel2.diff:
BIOS_ERR -> ERROR
BIOS_WARNING -> WARNING
BIOS_INFO -> INFO
BIOS_DEBUG -> DEBUG
BIOS_SPEW -> SPEW
For 80 character line aficionados, this puts most of the lines back, since
printk_debug(...) is about the same length as printk(DEBUG, ...)

I didn't change llshell in any of these patches.  It would be easy to add.

Abuild tested.
Signed-off-by: Myles Watson <mylesgw at gmail.com>

Thanks,
Myles
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20100402/e03fc6b8/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: x86_emu_debug.diff
Type: text/x-patch
Size: 16170 bytes
Desc: not available
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20100402/e03fc6b8/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: loglevel.diff
Type: text/x-patch
Size: 34439 bytes
Desc: not available
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20100402/e03fc6b8/attachment-0001.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: loglevel2.diff
Type: text/x-patch
Size: 1077716 bytes
Desc: not available
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20100402/e03fc6b8/attachment-0002.diff>


More information about the coreboot mailing list