Subversion Repositories HelenOS-historic

Rev

Rev 1267 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1267 Rev 1686
Line 46... Line 46...
46
	mtsprg0 r31
46
	mtsprg0 r31
47
	
47
	
48
	# r3 contains physical address of bootinfo_t
48
	# r3 contains physical address of bootinfo_t
49
	# r4 contains size of bootinfo_t
49
	# r4 contains size of bootinfo_t
50
	
50
	
-
 
51
	cmpwi r4, 0
-
 
52
	beq bootinfo_end
-
 
53
	
51
	addis r3, r3, 0x8000
54
	addis r3, r3, 0x8000
52
 
55
 
53
	lis r31, bootinfo@ha
56
	lis r31, bootinfo@ha
54
	addi r31, r31, bootinfo@l  # r31 = bootinfo
57
	addi r31, r31, bootinfo@l  # r31 = bootinfo
55
	
58
	
56
	cmpwi r4, 0
-
 
57
	beq bootinfo_end
-
 
58
	
-
 
59
	bootinfo_loop:
59
	bootinfo_loop:
60
		
60
		
61
		lwz r30, 0(r3)
61
		lwz r30, 0(r3)
62
		stw r30, 0(r31)
62
		stw r30, 0(r31)
63
		
63