On Tue, Nov 27, 2007 at 08:24:15AM -0800, ron minnich wrote:
> .. banner
Could this be made more generic/common for more boards?
> +/**
> + * Halt and Catch Fire. Print an error, then loop, sending NULLs on serial
> port,
> + * to ensure the message is visible.
> + *
> + */
> +
> +void hcf(void)
> +{
> + printk(BIOS_EMERG, "DIE\r\n");
> + /* this guarantees we flush the UART fifos (if any) and also
> + * ensures that things, in general, keep going so no debug output
> + * is lost
> + */
> + while (1)
> + printk(BIOS_EMERG, "\r");
> +}
Could this be a common die() instead?
//Peter
--
linuxbios mailing list
[email protected]
http://www.linuxbios.org/mailman/listinfo/linuxbios