Subversion Repositories HelenOS

Rev

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

Rev 4153 Rev 4718
Line 32... Line 32...
32
.section BOOTSTRAP
32
.section BOOTSTRAP
33
 
33
 
34
.global start
34
.global start
35
.global jump_to_kernel
35
.global jump_to_kernel
36
.global page_table
36
.global page_table
-
 
37
.global boot_stack
37
 
38
 
38
start:
39
start:
-
 
40
	ldr sp, =boot_stack
39
	b bootstrap
41
	b bootstrap
40
 
42
 
41
jump_to_kernel:
43
jump_to_kernel:
42
	#
44
	#
43
	# TODO
45
	# TODO
44
	# Make sure that the I-cache, D-cache and memory are mutually coherent
46
	# Make sure that the I-cache, D-cache and memory are mutually coherent
45
	# before passing control to the copied code.
47
	# before passing control to the copied code.
46
	#
48
	#
47
	bx r0
49
	bx r0
48
 
50
 
-
 
51
#bootloader stack
-
 
52
.section ST
-
 
53
	.space 4096
-
 
54
boot_stack:
49
 
55
 
50
# place page_table to PT section
56
# place page_table to PT section
51
.section PT
57
.section PT
52
 
58
 
53
# make place for PTL0 page table
59
# make place for PTL0 page table