Rev 607 | Rev 615 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 607 | Rev 609 | ||
---|---|---|---|
Line 46... | Line 46... | ||
46 | { |
46 | { |
47 | haltstate = 1; |
47 | haltstate = 1; |
48 | interrupts_disable(); |
48 | interrupts_disable(); |
49 | #ifdef CONFIG_DEBUG |
49 | #ifdef CONFIG_DEBUG |
50 | printf("\n"); |
50 | printf("\n"); |
51 | kconsole(NULL); /* Run kconsole as a last resort to user */ |
51 | kconsole("panic"); /* Run kconsole as a last resort to user */ |
52 | #endif |
52 | #endif |
53 | 53 | ||
54 | if (CPU) |
54 | if (CPU) |
55 | printf("cpu%d: halted\n", CPU->id); |
55 | printf("cpu%d: halted\n", CPU->id); |
56 | else |
56 | else |