OSDN Git Service

target/sparc: Remove `NB_MMU_MODES` define
authorAnton Johansson <anjo@rev.ng>
Mon, 6 Mar 2023 17:52:27 +0000 (18:52 +0100)
committerRichard Henderson <richard.henderson@linaro.org>
Mon, 13 Mar 2023 13:44:37 +0000 (06:44 -0700)
Signed-off-by: Anton Johansson <anjo@rev.ng>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230306175230.7110-21-anjo@rev.ng>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
target/sparc/cpu-param.h

index 72ddc4a..cb11980 100644 (file)
 # else
 #  define TARGET_VIRT_ADDR_SPACE_BITS 44
 # endif
-# define NB_MMU_MODES 6
 #else
 # define TARGET_LONG_BITS 32
 # define TARGET_PAGE_BITS 12 /* 4k */
 # define TARGET_PHYS_ADDR_SPACE_BITS 36
 # define TARGET_VIRT_ADDR_SPACE_BITS 32
-# define NB_MMU_MODES 3
 #endif
 
 #endif