Subversion Repositories HelenOS

Rev

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

Rev 3022 Rev 4055
Line 31... Line 31...
31
 
31
 
32
.section K_TEXT_START, "ax"
32
.section K_TEXT_START, "ax"
33
 
33
 
34
.global kernel_image_start
34
.global kernel_image_start
35
kernel_image_start:
35
kernel_image_start:
36
 
36
	
37
	# load temporal kernel stack
37
	# load temporal kernel stack
38
	
38
	
39
	lis sp, kernel_stack@ha
39
	lis sp, kernel_stack@ha
40
	addi sp, sp, kernel_stack@l
40
	addi sp, sp, kernel_stack@l
41
	
41
	
Line 50... Line 50...
50
	
50
	
51
	cmpwi r4, 0
51
	cmpwi r4, 0
52
	beq bootinfo_end
52
	beq bootinfo_end
53
	
53
	
54
	addis r3, r3, 0x8000
54
	addis r3, r3, 0x8000
55
 
55
	
56
	lis r31, bootinfo@ha
56
	lis r31, bootinfo@ha
57
	addi r31, r31, bootinfo@l  # r31 = bootinfo
57
	addi r31, r31, bootinfo@l  # r31 = bootinfo
58
	
58
	
59
	bootinfo_loop:
59
	bootinfo_loop:
60
		
60