diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2015-02-05 13:37:24 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2015-02-05 13:37:24 +0000 |
commit | 0dfef7b58f0c24b463e36630f08a45e93012b33a (patch) | |
tree | cec8e281c98e6047892ceeca34a6dfba0a18cfd5 /target-arm/cpu.h | |
parent | 579d21cce63f3dd2f6ee49c0b02a14e92cb4a836 (diff) |
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>
Diffstat (limited to 'target-arm/cpu.h')
-rw-r--r-- | target-arm/cpu.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/target-arm/cpu.h b/target-arm/cpu.h index 92c6ac6264..3585754600 100644 --- a/target-arm/cpu.h +++ b/target-arm/cpu.h @@ -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 */ |