[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 5/5] target/sh4: Remove unused definitions
From: |
Philippe Mathieu-Daudé |
Subject: |
[PATCH v2 5/5] target/sh4: Remove unused definitions |
Date: |
Thu, 18 Feb 2021 15:51:11 +0100 |
Remove these confusing and unused definitions.
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
---
target/sh4/cpu.h | 11 -----------
1 file changed, 11 deletions(-)
diff --git a/target/sh4/cpu.h b/target/sh4/cpu.h
index 714e3b56413..01c43440822 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)
--
2.26.2
- [PATCH v2 0/5] target/sh4: Pass MMUAccessType to get_physical_address(), Philippe Mathieu-Daudé, 2021/02/18
- [PATCH v2 1/5] target/sh4: Fix code style for checkpatch.pl, Philippe Mathieu-Daudé, 2021/02/18
- [PATCH v2 2/5] target/sh4: Replace magic value by MMUAccessType definitions, Philippe Mathieu-Daudé, 2021/02/18
- [PATCH v2 3/5] target/sh4: Remove unused 'int access_type' argument, Philippe Mathieu-Daudé, 2021/02/18
- [PATCH v2 4/5] target/sh4: Let get_physical_address() use MMUAccessType access_type, Philippe Mathieu-Daudé, 2021/02/18
- [PATCH v2 5/5] target/sh4: Remove unused definitions,
Philippe Mathieu-Daudé <=
- Re: [PATCH v2 0/5] target/sh4: Pass MMUAccessType to get_physical_address(), Philippe Mathieu-Daudé, 2021/02/26