Subversion Repositories HelenOS

Rev

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

Rev 2168 Rev 2235
Line 29... Line 29...
29
#include <arch/asm/boot.h>
29
#include <arch/asm/boot.h>
30
 
30
 
31
.text
31
.text
32
 
32
 
33
.global kernel_image_start
33
.global kernel_image_start
-
 
34
.global irq_stack
34
 
35
 
35
kernel_image_start:
36
kernel_image_start:
36
 
37
 
37
	ldr sp, =end_stack
38
	ldr sp, =end_stack
38
	cmp r2, #0
39
	cmp r2, #0
Line 53... Line 54...
53
	
54
	
54
	bootinfo_end:
55
	bootinfo_end:
55
 
56
 
56
	bl arch_pre_main
57
	bl arch_pre_main
57
 
58
 
58
	bl main_bsp
59
#	bl main_bsp
59
 
60
 
60
	b halt
61
	b halt
61
 
62
 
62
 
63
 
63
	.space TEMP_STACK_SIZE
64
	.space TEMP_STACK_SIZE
64
end_stack:
65
end_stack:
-
 
66
	.space 1024
-
 
67
irq_stack:
65
 
68
 
66
halt:
69
halt:
67
	ldr r0,=0x10000010
70
	ldr r0,=0x10000010
68
	ldr r1, [r0]
71
	ldr r1, [r0]
69
	b halt
72
	b halt