aboutsummaryrefslogtreecommitdiff
path: root/aarch64/el1_common/el1_exception.S
diff options
context:
space:
mode:
Diffstat (limited to 'aarch64/el1_common/el1_exception.S')
-rw-r--r--aarch64/el1_common/el1_exception.S3
1 files changed, 3 insertions, 0 deletions
diff --git a/aarch64/el1_common/el1_exception.S b/aarch64/el1_common/el1_exception.S
index 87ccbc5..81acf66 100644
--- a/aarch64/el1_common/el1_exception.S
+++ b/aarch64/el1_common/el1_exception.S
@@ -10,6 +10,7 @@ el1_sync_exception_current:
and x1, x1, x0
lsr x0, x0, #26
mrs x2, far_el1
+ mrs x3, elr_el1
bl el1_handle_exception
eret
.align 10 // Force these vectors to 0x400 alignment
@@ -18,6 +19,8 @@ el1_sync_exception_lower64:
mov x1, #0xffffff
and x1, x1, x0
lsr x0, x0, #26
+ mrs x2, far_el1
+ mrs x3, elr_el1
bl el1_handle_exception
eret
.align 7