summaryrefslogtreecommitdiff
path: root/big-little/virtualisor/virt_handle.c
diff options
context:
space:
mode:
Diffstat (limited to 'big-little/virtualisor/virt_handle.c')
-rw-r--r--big-little/virtualisor/virt_handle.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/big-little/virtualisor/virt_handle.c b/big-little/virtualisor/virt_handle.c
index 56de995..092af67 100644
--- a/big-little/virtualisor/virt_handle.c
+++ b/big-little/virtualisor/virt_handle.c
@@ -213,10 +213,12 @@ void trap_cp15_mrc_mcr_handle(unsigned hsr, gp_regs * regs)
case 0:
switch (Op2) {
case CSSELR:
- if (write)
+ if (write) {
target_cache_geometry
[cpu_id].csselr =
regs->r[Rt];
+ write_csselr(regs->r[Rt]);
+ }
else
regs->r[Rt] =
target_cache_geometry