aboutsummaryrefslogtreecommitdiff
path: root/kernel/exceptions/prefetch.S
blob: 59674bdfd22a845ab60f53f7085874b9114d8f65 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
.section ".text.exceptions"
.globl prefetch
prefetch:
	cpsid aif
	stmfd sp!, {r0-r12,lr}
	ldr r4, [lr, #-4]
	// Output return address
	mov r0, #98
	mov r1, #0
	mov r2, r4
	bl draw_hex32
	ldmfd sp!, {r0-r12,lr}
	subs pc, lr, #4