summaryrefslogtreecommitdiff
path: root/sys/src/9/bcm/lexception.s
diff options
context:
space:
mode:
Diffstat (limited to 'sys/src/9/bcm/lexception.s')
-rw-r--r--sys/src/9/bcm/lexception.s1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/src/9/bcm/lexception.s b/sys/src/9/bcm/lexception.s
index bb1693d7b..eb82e82b0 100644
--- a/sys/src/9/bcm/lexception.s
+++ b/sys/src/9/bcm/lexception.s
@@ -187,6 +187,7 @@ TEXT _vfiq(SB), 1, $-4 /* FIQ */
MOVW $PsrMfiq, R8 /* trap type */
MOVW SPSR, R9 /* interrupted psr */
MOVW R14, R10 /* interrupted pc */
+ SUB $4, R10 /* ureg->pc -= 4 */
MOVM.DB.W [R8-R10], (R13) /* save in ureg */
MOVM.DB.S [R0-R14], (R13) /* save interrupted regs */
SUB $(15*4), R13