[LinuxBIOS] RESEND: v3 patch for console functions, and mods to lib/lar.c to support a void * parameter for running functions.
Stefan Reinauer
stepan at coresystems.de
Thu Jan 3 19:03:35 CET 2008
* ron minnich <rminnich at gmail.com> [080103 18:50]:
> +void banner(int level, char *s)
> +{
> + printk(level, "===========================%s===========================\n", s);
> +}
I don't like this function all too much.. I'd prefer something where the
width of the banner stays constant.
> void die(const char *str)
> {
> printk(BIOS_EMERG, str);
> while (1)
> - hlt();
> + console_tx_byte(0, (void *)0);
> }
Will this not lead to the CPU consuming cycles and becoming/staying
really hot?
Can't we clear the FIFO any other way and go to CPU hlt afterwards?
Stefan
--
coresystems GmbH • Brahmsstr. 16 • D-79104 Freiburg i. Br.
Tel.: +49 761 7668825 • Fax: +49 761 7664613
Email: info at coresystems.de • http://www.coresystems.de/
Registergericht: Amtsgericht Freiburg • HRB 7656
Geschäftsführer: Stefan Reinauer • Ust-IdNr.: DE245674866
More information about the coreboot
mailing list