summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2015-03-22 19:57:48 +0100
committerbunnei <bunneidev@gmail.com>2015-03-22 19:57:48 +0100
commit5ac2a41f7248a9f2cfbb8ee6180bd4ad1df47ff5 (patch)
tree5d1aa3262a55fb4b1ae5df33e6175b362d32edda
parentMerge pull request #659 from lioncash/setend (diff)
parentarmmmu: Remove unnecessary enum values (diff)
downloadyuzu-5ac2a41f7248a9f2cfbb8ee6180bd4ad1df47ff5.tar
yuzu-5ac2a41f7248a9f2cfbb8ee6180bd4ad1df47ff5.tar.gz
yuzu-5ac2a41f7248a9f2cfbb8ee6180bd4ad1df47ff5.tar.bz2
yuzu-5ac2a41f7248a9f2cfbb8ee6180bd4ad1df47ff5.tar.lz
yuzu-5ac2a41f7248a9f2cfbb8ee6180bd4ad1df47ff5.tar.xz
yuzu-5ac2a41f7248a9f2cfbb8ee6180bd4ad1df47ff5.tar.zst
yuzu-5ac2a41f7248a9f2cfbb8ee6180bd4ad1df47ff5.zip
-rw-r--r--src/core/arm/skyeye_common/armmmu.h50
1 files changed, 20 insertions, 30 deletions
diff --git a/src/core/arm/skyeye_common/armmmu.h b/src/core/arm/skyeye_common/armmmu.h
index 0f9eadafa..22e564c3d 100644
--- a/src/core/arm/skyeye_common/armmmu.h
+++ b/src/core/arm/skyeye_common/armmmu.h
@@ -26,36 +26,26 @@
// Register numbers in the MMU
enum
{
- MMU_ID = 0,
- MMU_CONTROL = 1,
- MMU_TRANSLATION_TABLE_BASE = 2,
- MMU_DOMAIN_ACCESS_CONTROL = 3,
- MMU_FAULT_STATUS = 5,
- MMU_FAULT_ADDRESS = 6,
- MMU_CACHE_OPS = 7,
- MMU_TLB_OPS = 8,
- MMU_CACHE_LOCKDOWN = 9,
- MMU_TLB_LOCKDOWN = 10,
- MMU_PID = 13,
-
- // MMU_V4
- MMU_V4_CACHE_OPS = 7,
- MMU_V4_TLB_OPS = 8,
-
- // MMU_V3
- MMU_V3_FLUSH_TLB = 5,
- MMU_V3_FLUSH_TLB_ENTRY = 6,
- MMU_V3_FLUSH_CACHE = 7,
-
- // MMU Intel SA-1100
- MMU_SA_RB_OPS = 9,
- MMU_SA_DEBUG = 14,
- MMU_SA_CP15_R15 = 15,
-
- // Intel xscale CP15
- XSCALE_CP15_CACHE_TYPE = 0,
- XSCALE_CP15_AUX_CONTROL = 1,
- XSCALE_CP15_COPRO_ACCESS = 15,
+ MMU_ID = 0,
+ MMU_CONTROL = 1,
+ MMU_TRANSLATION_TABLE_BASE = 2,
+ MMU_DOMAIN_ACCESS_CONTROL = 3,
+ MMU_FAULT_STATUS = 5,
+ MMU_FAULT_ADDRESS = 6,
+ MMU_CACHE_OPS = 7,
+ MMU_TLB_OPS = 8,
+ MMU_CACHE_LOCKDOWN = 9,
+ MMU_TLB_LOCKDOWN = 10,
+ MMU_PID = 13,
+
+ // MMU_V4
+ MMU_V4_CACHE_OPS = 7,
+ MMU_V4_TLB_OPS = 8,
+
+ // MMU_V3
+ MMU_V3_FLUSH_TLB = 5,
+ MMU_V3_FLUSH_TLB_ENTRY = 6,
+ MMU_V3_FLUSH_CACHE = 7,
};
// Reads data in big/little endian format based on the