[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 11/23] target/microblaze: Remove `NB_MMU_MODES` define
From: |
Anton Johansson |
Subject: |
[PATCH 11/23] target/microblaze: Remove `NB_MMU_MODES` define |
Date: |
Mon, 6 Mar 2023 18:52:18 +0100 |
Signed-off-by: Anton Johansson <anjo@rev.ng>
---
target/microblaze/cpu-param.h | 1 -
target/microblaze/cpu.h | 2 +-
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/target/microblaze/cpu-param.h b/target/microblaze/cpu-param.h
index 5e54ea0108..9770b0eb52 100644
--- a/target/microblaze/cpu-param.h
+++ b/target/microblaze/cpu-param.h
@@ -28,6 +28,5 @@
/* FIXME: MB uses variable pages down to 1K but linux only uses 4k. */
#define TARGET_PAGE_BITS 12
-#define NB_MMU_MODES 3
#endif
diff --git a/target/microblaze/cpu.h b/target/microblaze/cpu.h
index f66df02226..88324d0bc1 100644
--- a/target/microblaze/cpu.h
+++ b/target/microblaze/cpu.h
@@ -394,7 +394,7 @@ void mb_tcg_init(void);
#define MMU_NOMMU_IDX 0
#define MMU_KERNEL_IDX 1
#define MMU_USER_IDX 2
-/* See NB_MMU_MODES further up the file. */
+/* See NB_MMU_MODES in cpu-defs.h. */
#include "exec/cpu-all.h"
--
2.39.1
- [PATCH 00/23] Fix NB_MMU_MODES to 16, Anton Johansson, 2023/03/06
- [PATCH 02/23] target/alpha: Remove `NB_MMU_MODES` define, Anton Johansson, 2023/03/06
- [PATCH 04/23] target/avr: Remove `NB_MMU_MODES` define, Anton Johansson, 2023/03/06
- [PATCH 11/23] target/microblaze: Remove `NB_MMU_MODES` define,
Anton Johansson <=
- [PATCH 07/23] target/hppa: Remove `NB_MMU_MODES` define, Anton Johansson, 2023/03/06
- [PATCH 03/23] target/arm: Remove `NB_MMU_MODES` define, Anton Johansson, 2023/03/06
- [PATCH 01/23] include/exec: Set default `NB_MMU_MODES` to 16, Anton Johansson, 2023/03/06
- [PATCH 06/23] target/hexagon: Remove `NB_MMU_MODES` define, Anton Johansson, 2023/03/06
- [PATCH 08/23] target/i386: Remove `NB_MMU_MODES` define, Anton Johansson, 2023/03/06
- [PATCH 19/23] target/sh4: Remove `NB_MMU_MODES` define, Anton Johansson, 2023/03/06
- [PATCH 10/23] target/m68k: Remove `NB_MMU_MODES` define, Anton Johansson, 2023/03/06
- [PATCH 18/23] target/s390x: Remove `NB_MMU_MODES` define, Anton Johansson, 2023/03/06