mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-24 03:59:52 +00:00
target-arm: Don't define any MMU_MODE*_SUFFIXes
target-arm doesn't use any of the MMU-mode specific cpu ldst accessor functions. Suppress their generation by not defining any of the MMU_MODE*_SUFFIX macros. ("user" and "kernel" are too simplistic as descriptions of indexes 0 and 1 anyway.) Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Greg Bellows <greg.bellows@linaro.org> Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
This commit is contained in:
parent
579d21cce6
commit
0dfef7b58f
@ -1645,8 +1645,6 @@ typedef enum ARMMMUIdx {
|
||||
ARMMMUIdx_S1NSE1 = 8,
|
||||
} ARMMMUIdx;
|
||||
|
||||
#define MMU_MODE0_SUFFIX _user
|
||||
#define MMU_MODE1_SUFFIX _kernel
|
||||
#define MMU_USER_IDX 0
|
||||
|
||||
/* Return the exception level we're running at if this is our mmu_idx */
|
||||
|
Loading…
Reference in New Issue
Block a user