diff options
author | Lioncash <mathew1800@gmail.com> | 2015-04-06 12:43:23 -0400 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2015-04-06 12:48:35 -0400 |
commit | b7b8b676202eaeced392dea06e2c3fcc4bd11aec (patch) | |
tree | b104bd34e6fd7eb109fc7591f383623e877078ad /src/core/arm/skyeye_common/armdefs.h | |
parent | 23dd2ca8a6757d356cbc7954a431bfc227ec6d9a (diff) |
Move CP15 enum definitions into their own enum.
Also gets rid of preprocessor mumbo-jumbo
Diffstat (limited to 'src/core/arm/skyeye_common/armdefs.h')
-rw-r--r-- | src/core/arm/skyeye_common/armdefs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/arm/skyeye_common/armdefs.h b/src/core/arm/skyeye_common/armdefs.h index d5b0242c..12fa533f 100644 --- a/src/core/arm/skyeye_common/armdefs.h +++ b/src/core/arm/skyeye_common/armdefs.h @@ -91,7 +91,7 @@ struct ARMul_State ARMword exclusive_tag; // The address for which the local monitor is in exclusive access mode ARMword exclusive_state; ARMword exclusive_result; - ARMword CP15[VFP_BASE - CP15_BASE]; + ARMword CP15[CP15_REGISTER_COUNT]; ARMword VFP[3]; // FPSID, FPSCR, and FPEXC // VFPv2 and VFPv3-D16 has 16 doubleword registers (D0-D16 or S0-S31). // VFPv3-D32/ASIMD may have up to 32 doubleword registers (D0-D31), |