aboutsummaryrefslogtreecommitdiff
path: root/src/exceptions/prefetch.S
diff options
context:
space:
mode:
Diffstat (limited to 'src/exceptions/prefetch.S')
-rw-r--r--src/exceptions/prefetch.S11
1 files changed, 2 insertions, 9 deletions
diff --git a/src/exceptions/prefetch.S b/src/exceptions/prefetch.S
index 5166d00..59674bd 100644
--- a/src/exceptions/prefetch.S
+++ b/src/exceptions/prefetch.S
@@ -3,18 +3,11 @@
prefetch:
cpsid aif
stmfd sp!, {r0-r12,lr}
- mov r4, lr
- mov r0, #98
- mov r1, #0
- ldr r2, =prefetch_msg
- bl draw_string
+ ldr r4, [lr, #-4]
// Output return address
mov r0, #98
- mov r1, #1
+ mov r1, #0
mov r2, r4
bl draw_hex32
ldmfd sp!, {r0-r12,lr}
subs pc, lr, #4
-
-.section .data
-prefetch_msg: .asciz "Prefetch Handler"