From 56dc8ccbddda2da34b851e9c35b3d280cfbe901a Mon Sep 17 00:00:00 2001 From: kynex7510 Date: Sun, 3 Nov 2024 22:44:48 +0100 Subject: [PATCH] Reset ex mon in ex handler (for data aborts) --- Source/ExHandler.s | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Source/ExHandler.s b/Source/ExHandler.s index e5a3a6f..0a9d9ad 100644 --- a/Source/ExHandler.s +++ b/Source/ExHandler.s @@ -6,6 +6,9 @@ // R1 points to the start of context data. .type ctrl_handleException, %function ctrl_handleException: + // Reset exclusive monitor. + clrex + // Save pointers. push {r1} mov r6, r0