Subversion Repositories HelenOS-historic

Rev

Rev 130 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 130 Rev 306
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/boot.h>
-
 
36
	
35
.global start
37
.global start
36
start:
38
start:
37
	# move 0x80000000 to reg $8
39
	lui     $ra, KERNEL_STARTUP_ADDRESS >> 16 
38
	lui $8, 0x8000
-
 
39
 
-
 
40
	# prepare stack
-
 
41
	lui $29, 0x8100
40
	ori     $ra, KERNEL_STARTUP_ADDRESS & 0xffff
42
 
41
 
43
	j $8
42
	j $ra
44
	nop
43
	nop