aboutsummaryrefslogtreecommitdiff
path: root/src/exceptions
diff options
context:
space:
mode:
authorChristian Cunningham <cc@localhost>2022-01-31 22:04:24 -0700
committerChristian Cunningham <cc@localhost>2022-01-31 22:04:24 -0700
commit352c8713ddb99f4b9f3c73b5b6b8bc9e83f6b6bd (patch)
treede19d63010ddbc8c42653c81a5ffb7cd07a0da1d /src/exceptions
parent1b4c8e04ded44fa11a1e95d2db5bef4b8eaddcd1 (diff)
All the cores
Diffstat (limited to 'src/exceptions')
-rw-r--r--src/exceptions/data.S4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/exceptions/data.S b/src/exceptions/data.S
index 2268de5..656ba96 100644
--- a/src/exceptions/data.S
+++ b/src/exceptions/data.S
@@ -22,6 +22,10 @@ data:
mov r1, #15
mrs r2, spsr
bl draw_hex32
+ mov r0, #41
+ mov r1, #15
+ mrc p15, 0, r2, c5, c0, 0 //// https://developer.arm.com/documentation/ddi0464/d/System-Control/Register-descriptions/Data-Fault-Status-Register?lang=en
+ bl draw_hex32
ldmfd sp!, {r0-r12,lr}
subs pc, lr, #4 // Should be 8 once I can actually handle the abort