summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé2021-01-28 00:10:04 +0100
committerPhilippe Mathieu-Daudé2021-03-06 16:18:42 +0100
commitf32393ac0abe33525d9496737fdb37e9016256ba (patch)
tree25eb9ded00422860180606d38161fbcd8e7a134b
parenttarget/sh4: Let get_physical_address() use MMUAccessType access_type (diff)
downloadqemu-f32393ac0abe33525d9496737fdb37e9016256ba.tar.gz
qemu-f32393ac0abe33525d9496737fdb37e9016256ba.tar.xz
qemu-f32393ac0abe33525d9496737fdb37e9016256ba.zip
target/sh4: Remove unused definitions
Remove these confusing and unused definitions. Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20210127232151.3523581-6-f4bug@amsat.org>
-rw-r--r--target/sh4/cpu.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/target/sh4/cpu.h b/target/sh4/cpu.h
index 714e3b5641..01c4344082 100644
--- a/target/sh4/cpu.h
+++ b/target/sh4/cpu.h
@@ -271,17 +271,6 @@ typedef SuperHCPU ArchCPU;
#include "exec/cpu-all.h"
-/* Memory access type */
-enum {
- /* Privilege */
- ACCESS_PRIV = 0x01,
- /* Direction */
- ACCESS_WRITE = 0x02,
- /* Type of instruction */
- ACCESS_CODE = 0x10,
- ACCESS_INT = 0x20
-};
-
/* MMU control register */
#define MMUCR 0x1F000010
#define MMUCR_AT (1<<0)