* ron minnich rminnich@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