OSDN Git Service

target/sh4: Remove unused definitions
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Wed, 27 Jan 2021 23:10:04 +0000 (00:10 +0100)
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>
Sat, 6 Mar 2021 15:18:42 +0000 (16:18 +0100)
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>

target/sh4/cpu.h

index 714e3b5..01c4344 100644 (file)
@@ -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)