summaryrefslogtreecommitdiff
path: root/rtl/core/arm810.sv
diff options
context:
space:
mode:
authorAlejandro Soto <alejandro@34project.org>2022-12-16 23:36:05 -0600
committerAlejandro Soto <alejandro@34project.org>2022-12-16 23:36:05 -0600
commitca8b6e6696e279f56faacad39501019c3762a1b7 (patch)
tree3622fc8bd082deeeec74b6db1869159ce3d17323 /rtl/core/arm810.sv
parent9ebb4b712e1d6c97a999652d0b9105847eabd134 (diff)
Fix privilege escalation while in user mode
Diffstat (limited to 'rtl/core/arm810.sv')
-rw-r--r--rtl/core/arm810.sv4
1 files changed, 3 insertions, 1 deletions
diff --git a/rtl/core/arm810.sv b/rtl/core/arm810.sv
index c0e717f..4b08a2c 100644
--- a/rtl/core/arm810.sv
+++ b/rtl/core/arm810.sv
@@ -89,11 +89,13 @@ module arm810
);
word cpsr_rd, spsr_rd, psr_wr;
- logic psr_write, psr_saved, update_flags, psr_wr_flags, psr_wr_control, privileged;
psr_mode mode;
psr_flags flags;
psr_intmask intmask;
+ logic psr_write, psr_saved, update_flags, psr_wr_flags,
+ psr_wr_control, privileged, escalating;
+
core_psr psr
(
.mask(intmask),