mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2025-01-11 09:35:28 +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.) Backports commit 0dfef7b58f0c24b463e36630f08a45e93012b33a from qemu
This commit is contained in:
parent
da216e211f
commit
c0c5508a25
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue