aboutsummaryrefslogtreecommitdiff
path: root/riscv/insns/lr_w.h
diff options
context:
space:
mode:
Diffstat (limited to 'riscv/insns/lr_w.h')
-rw-r--r--riscv/insns/lr_w.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/riscv/insns/lr_w.h b/riscv/insns/lr_w.h
index 3ac4746..7ff48ea 100644
--- a/riscv/insns/lr_w.h
+++ b/riscv/insns/lr_w.h
@@ -1 +1,2 @@
-RD = mmu.load_reserved_int32(RS1);
+p->get_state()->load_reservation = RS1;
+RD = MMU.load_int32(RS1);