[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 05/13] target/mips: Remove unused MMU definitions
From: |
Philippe Mathieu-Daudé |
Subject: |
[PATCH 05/13] target/mips: Remove unused MMU definitions |
Date: |
Thu, 28 Jan 2021 15:41:17 +0100 |
Remove these confusing and unused definitions.
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
---
target/mips/cpu.h | 16 ----------------
1 file changed, 16 deletions(-)
diff --git a/target/mips/cpu.h b/target/mips/cpu.h
index b9e227a30e9..9e6028f8e63 100644
--- a/target/mips/cpu.h
+++ b/target/mips/cpu.h
@@ -1220,22 +1220,6 @@ typedef MIPSCPU ArchCPU;
#include "exec/cpu-all.h"
-/*
- * Memory access type :
- * may be needed for precise access rights control and precise exceptions.
- */
-enum {
- /* 1 bit to define user level / supervisor access */
- ACCESS_USER = 0x00,
- ACCESS_SUPER = 0x01,
- /* 1 bit to indicate direction */
- ACCESS_STORE = 0x02,
- /* Type of instruction that generated the access */
- ACCESS_CODE = 0x10, /* Code fetch access */
- ACCESS_INT = 0x20, /* Integer load/store access */
- ACCESS_FLOAT = 0x30, /* floating point load/store access */
-};
-
/* Exceptions */
enum {
EXCP_NONE = -1,
--
2.26.2
- [PATCH 00/13] target/mips: Replace integer by MMUAccessType enum when possible, Philippe Mathieu-Daudé, 2021/01/28
- [PATCH 01/13] target/mips: Remove access_type argument from map_address() handler, Philippe Mathieu-Daudé, 2021/01/28
- [PATCH 02/13] target/mips: Remove access_type argument from get_seg_physical_address, Philippe Mathieu-Daudé, 2021/01/28
- [PATCH 03/13] target/mips: Remove access_type arg from get_segctl_physical_address(), Philippe Mathieu-Daudé, 2021/01/28
- [PATCH 04/13] target/mips: Remove access_type argument from get_physical_address(), Philippe Mathieu-Daudé, 2021/01/28
- [PATCH 05/13] target/mips: Remove unused MMU definitions,
Philippe Mathieu-Daudé <=
- [PATCH 06/13] target/mips: Replace magic value by MMU_DATA_LOAD definition, Philippe Mathieu-Daudé, 2021/01/28
- [PATCH 07/13] target/mips: Let page_table_walk_refill() take MMUAccessType argument, Philippe Mathieu-Daudé, 2021/01/28
- [PATCH 08/13] target/mips: Let do_translate_address() take MMUAccessType argument, Philippe Mathieu-Daudé, 2021/01/28
- [PATCH 09/13] target/mips: Let cpu_mips_translate_address() take MMUAccessType arg, Philippe Mathieu-Daudé, 2021/01/28
- [PATCH 10/13] target/mips: Let raise_mmu_exception() take MMUAccessType argument, Philippe Mathieu-Daudé, 2021/01/28
- [PATCH 12/13] target/mips: Let get_seg*_physical_address() take MMUAccessType arg, Philippe Mathieu-Daudé, 2021/01/28
- [PATCH 11/13] target/mips: Let get_physical_address() take MMUAccessType argument, Philippe Mathieu-Daudé, 2021/01/28
- [PATCH 13/13] target/mips: Let CPUMIPSTLBContext::map_address() take MMUAccessType, Philippe Mathieu-Daudé, 2021/01/28