Subversion Repositories freemyipod

Rev

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

Rev 98 Rev 99
Line 101... Line 101...
101
	msr	cpsr_c, #0x1f
101
	msr	cpsr_c, #0x1f
102
	ldr	sp, =_initstackend
102
	ldr	sp, =_initstackend
103
	bl	init
103
	bl	init
104
	bl	context_switch
104
	bl	context_switch
105
	mov	r0, #0
105
	mov	r0, #0
106
idleloop:
-
 
107
	mcr	p15, 0, r0,c7,c0,4
-
 
108
	b	idleloop
106
	ldr	pc, =idleloop
109
.ltorg
107
.ltorg
110
 
108
 
111
 
109
 
112
.section .icode, "ax", %progbits
110
.section .icode, "ax", %progbits
113
.align 2
111
.align 2
-
 
112
idleloop:
-
 
113
	mcr	p15, 0, r0,c7,c0,4
-
 
114
	b	idleloop
-
 
115
 
114
.global reset
116
.global reset
115
.global hang
117
.global hang
116
.type reset, %function
118
.type reset, %function
117
.type hang, %function
119
.type hang, %function
118
reset:
120
reset: