On Thu, Oct 15, 2009 at 10:51 AM, Peter Stuge peter@stuge.se wrote:
Stefan Reinauer wrote:
- if (dst == (void *) -1) {
/* We should use die() here. */
print_emerg("Loading stage failed!\n");
for (;;);
- }
Can we do for (;;) asm("hlt"); instead?
Can we not get die() to work?
I think it's related to the fact that we have lots of printk variants, since die() calls printk. I think die would need to be implemented for each of these.
It's cause is similar to the cause of the LOGLEVEL problems.
Thanks, Myles