Subversion Repositories HelenOS

Rev

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

Rev 3403 Rev 4348
Line 41... Line 41...
41
 
41
 
42
.section BOOTSTRAP, "ax"
42
.section BOOTSTRAP, "ax"
43
 
43
 
44
.global start
44
.global start
45
start:
45
start:
46
	b 1f
46
	ba %xcc, 1f
47
	nop
47
	nop
48
 
48
 
49
/*
49
/*
50
 * This header forces SILO to load the image at 0x4000.
50
 * This header forces SILO to load the image at 0x4000.
51
 * More precisely, SILO will think this is an old version of Linux.
51
 * More precisely, SILO will think this is an old version of Linux.
Line 81... Line 81...
81
	set ofw_cif, %l0
81
	set ofw_cif, %l0
82
 
82
 
83
	call ofw_init		! initialize OpenFirmware
83
	call ofw_init		! initialize OpenFirmware
84
	stx %o4, [%l0]
84
	stx %o4, [%l0]
85
	
85
	
86
	b bootstrap
86
	ba %xcc, bootstrap
87
	nop
87
	nop
88
 
88
 
89
.align STACK_ALIGNMENT
89
.align STACK_ALIGNMENT
90
initial_stack:
90
initial_stack:
91
	.space INITIAL_STACK_SIZE
91
	.space INITIAL_STACK_SIZE