* ron minnich <[EMAIL PROTECTED]> [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: [EMAIL PROTECTED]  • http://www.coresystems.de/
Registergericht: Amtsgericht Freiburg • HRB 7656
Geschäftsführer: Stefan Reinauer • Ust-IdNr.: DE245674866

-- 
linuxbios mailing list
linuxbios@linuxbios.org
http://www.linuxbios.org/mailman/listinfo/linuxbios

Reply via email to