[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PULL 18/28] target-arm: Don't define any MMU_MODE*_SUFFIXe

From: Peter Maydell
Subject: [Qemu-devel] [PULL 18/28] target-arm: Don't define any MMU_MODE*_SUFFIXes
Date: Thu, 5 Feb 2015 14:02:57 +0000

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 <address@hidden>
Reviewed-by: Greg Bellows <address@hidden>
Reviewed-by: Edgar E. Iglesias <address@hidden>
 target-arm/cpu.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/target-arm/cpu.h b/target-arm/cpu.h
index 92c6ac6..3585754 100644
--- a/target-arm/cpu.h
+++ b/target-arm/cpu.h
@@ -1645,8 +1645,6 @@ typedef enum ARMMMUIdx {
     ARMMMUIdx_S1NSE1 = 8,
-#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 */

reply via email to

[Prev in Thread] Current Thread [Next in Thread]