Skip to content

Commit 01b88b0

Browse files
committed
Pass acutally_store from store_func to misaligned_store
In future, someone may expect this functionality.
1 parent 8948aef commit 01b88b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

riscv/mmu.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ class mmu_t
150150
void prefix##_##type(reg_t addr, type##_t val, bool actually_store=true, bool require_alignment=false) { \
151151
if (unlikely(addr & (sizeof(type##_t)-1))) { \
152152
if (require_alignment) store_conditional_address_misaligned(addr); \
153-
else return misaligned_store(addr, val, sizeof(type##_t), xlate_flags); \
153+
else return misaligned_store(addr, val, sizeof(type##_t), xlate_flags, actually_store); \
154154
} \
155155
reg_t vpn = addr >> PGSHIFT; \
156156
size_t size = sizeof(type##_t); \

0 commit comments

Comments
 (0)