summaryrefslogtreecommitdiff
path: root/tb/sim
diff options
context:
space:
mode:
authorAlejandro Soto <alejandro@34project.org>2022-11-16 18:37:59 -0600
committerAlejandro Soto <alejandro@34project.org>2022-11-16 23:32:24 -0600
commit739a690947165c4c319d2dbd76d4368bf4b59b5a (patch)
tree7d496634c687205a6b515f697a098b38db640045 /tb/sim
parent08357c4ae9e88b6d629a2942a9128f2049c42ba9 (diff)
Implement privilege escalation
Diffstat (limited to '')
-rw-r--r--tb/sim/modeswitch.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/tb/sim/modeswitch.py b/tb/sim/modeswitch.py
index 6c8cd79..e33d906 100644
--- a/tb/sim/modeswitch.py
+++ b/tb/sim/modeswitch.py
@@ -2,9 +2,9 @@ def final():
assert_reg(r0, 0x0000_01d3)
assert_reg(r1, 0x0000_01d3)
assert_reg(r2, 0x0000_01d3)
- assert_reg(r3, 0x0000_0010)
- assert_reg(r4, 0x0000_0110)
- assert_reg(r5, 0x4000_0110)
- assert_reg(cpsr, 0x0000_0110)
+ assert_reg(r3, 0x0000_0090)
+ assert_reg(r4, 0x0000_0190)
+ assert_reg(r5, 0x6000_0190)
+ assert_reg(cpsr, 0x0000_0190)
assert_reg(r13_svc, 0x2000_0000)
assert_reg(r13_und, 0x0000_01db)