Subversion Repositories HelenOS-historic

Rev

Rev 319 | Go to most recent revision | Show entire file | Ignore 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
.global panic_printf
35
#include <arch/asm/regname.h>
36
	
36
	
37
panic_printf:
37
.global panic_printf
38
	jal printf
-
 
39
	nop
-
 
40
	j cpu_halt
-
 
41
	nop
-
 
42
 
38
 
-
 
39
/* From printf return directly to halt() */	
-
 
40
panic_printf:
-
 
41
	lui $ra, %hi(halt)
-
 
42
	j printf
-
 
43
	ori $ra, %lo(halt)