accel/tcg: Add cpu_{ld,st}*_mmu interfaces
These functions are much closer to the softmmu helper functions, in that they take the complete MemOpIdx, and from that they may enforce required alignment. The previous cpu_ldst.h functions did not have alignment info, and so did not enforce it. Retain this by adding MO_UNALN to the MemOp that we create in calling the new functions. Note that we are not yet enforcing alignment for user-only, but we now have the information with which to do so. Reviewed-by:Peter Maydell <peter.maydell@linaro.org> Signed-off-by:
Richard Henderson <richard.henderson@linaro.org>
Showing
- accel/tcg/cputlb.c 126 additions, 266 deletionsaccel/tcg/cputlb.c
- accel/tcg/ldst_common.c.inc 307 additions, 0 deletionsaccel/tcg/ldst_common.c.inc
- accel/tcg/user-exec.c 138 additions, 209 deletionsaccel/tcg/user-exec.c
- docs/devel/loads-stores.rst 43 additions, 9 deletionsdocs/devel/loads-stores.rst
- include/exec/cpu_ldst.h 84 additions, 161 deletionsinclude/exec/cpu_ldst.h
This diff is collapsed.
accel/tcg/ldst_common.c.inc
0 → 100644
Please register or sign in to comment