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.)

Backports commit 0dfef7b58f0c24b463e36630f08a45e93012b33a from qemu
This commit is contained in:
Peter Maydell 2018-02-12 11:29:18 -05:00 committed by Lioncash
parent da216e211f
commit c0c5508a25
No known key found for this signature in database
GPG key ID: 4E3C3CC1031BA9C7

View file

@ -1663,8 +1663,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 */