Subversion Repositories HelenOS

Rev

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

Rev 2294 Rev 2329
Line 36... Line 36...
36
.global supervisor_sp
36
.global supervisor_sp
37
 
37
 
38
 
38
 
39
kernel_image_start:
39
kernel_image_start:
40
	
40
	
41
	#switch to system mode
41
	# switch to system mode
42
	mrs r3, cpsr
42
	mrs r3, cpsr
43
	orr r3, r3, #0x1f
43
	orr r3, r3, #0x1f
44
	msr cpsr_c, r3	
44
	msr cpsr_c, r3	
45
	
45
	
46
	ldr sp, =end_stack
46
	ldr sp, =end_stack
Line 65... Line 65...
65
 
65
 
66
	bl arch_pre_main
66
	bl arch_pre_main
67
 
67
 
68
	bl main_bsp
68
	bl main_bsp
69
 
69
 
70
	b halt
-
 
71
 
-
 
72
 
-
 
73
	.space TEMP_STACK_SIZE
70
	.space TEMP_STACK_SIZE
74
end_stack:
71
end_stack:
-
 
72
 
75
	.space 1024
73
	.space 1024
76
exc_stack:
74
exc_stack:
77
	.space 4
-
 
78
supervisor_sp:
-
 
79
	.space 4
-
 
80
 
75
 
-
 
76
supervisor_sp:
81
	.space 4
77
	.space 4
82
halt:
-
 
83
	ldr r0,=0x10000010
-
 
84
	ldr r1, [r0]
-
 
85
	b halt
-
 
86
 
78