Rev 666 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 666 | Rev 667 | ||
|---|---|---|---|
| Line 30... | Line 30... | ||
| 30 | 30 | ||
| 31 | #include <arch/stack.h> |
31 | #include <arch/stack.h> |
| 32 | 32 | ||
| 33 | .global panic_printf |
33 | .global panic_printf |
| 34 | panic_printf: |
34 | panic_printf: |
| 35 | save %sp, -STACK_WINDOW_SAVE_AREA_SIZE, %sp |
- | |
| 36 | call printf |
35 | call printf |
| 37 | nop |
36 | nop |
| 38 | call halt |
37 | call halt |
| 39 | nop |
38 | nop |
| 40 | /* Not reached. */ |
39 | /* Not reached. */ |
| 41 | restore |
- | |
| 42 | 40 | ||