Rev 319 | Rev 341 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 319 | Rev 326 | ||
---|---|---|---|
Line 30... | Line 30... | ||
30 | 30 | ||
31 | .set noat |
31 | .set noat |
32 | .set noreorder |
32 | .set noreorder |
33 | .set nomacro |
33 | .set nomacro |
34 | 34 | ||
- | 35 | #include <arch/asm/regname.h> |
|
- | 36 | ||
35 | .global panic_printf |
37 | .global panic_printf |
36 | 38 | ||
- | 39 | /* From printf return directly to halt() */ |
|
37 | panic_printf: |
40 | panic_printf: |
38 | jal printf |
41 | lui $ra, %hi(halt) |
39 | nop |
42 | j printf |
40 | j cpu_halt |
43 | ori $ra, %lo(halt) |
41 | nop |
- | |
42 | - |