summaryrefslogtreecommitdiffstats
path: root/src/core/arm/skyeye_common/arm_regformat.h
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2015-04-06 21:58:45 +0200
committerLioncash <mathew1800@gmail.com>2015-04-06 22:09:28 +0200
commitf9cc6d648469dbf454997ff7f61ae457ff11a4bb (patch)
tree7a9d99be1e6c71c0caa929353d7ae90ab70085ad /src/core/arm/skyeye_common/arm_regformat.h
parentMerge pull request #685 from lioncash/cpregs (diff)
downloadyuzu-f9cc6d648469dbf454997ff7f61ae457ff11a4bb.tar
yuzu-f9cc6d648469dbf454997ff7f61ae457ff11a4bb.tar.gz
yuzu-f9cc6d648469dbf454997ff7f61ae457ff11a4bb.tar.bz2
yuzu-f9cc6d648469dbf454997ff7f61ae457ff11a4bb.tar.lz
yuzu-f9cc6d648469dbf454997ff7f61ae457ff11a4bb.tar.xz
yuzu-f9cc6d648469dbf454997ff7f61ae457ff11a4bb.tar.zst
yuzu-f9cc6d648469dbf454997ff7f61ae457ff11a4bb.zip
Diffstat (limited to 'src/core/arm/skyeye_common/arm_regformat.h')
-rw-r--r--src/core/arm/skyeye_common/arm_regformat.h15
1 files changed, 9 insertions, 6 deletions
diff --git a/src/core/arm/skyeye_common/arm_regformat.h b/src/core/arm/skyeye_common/arm_regformat.h
index d125dc2fc..6c89774eb 100644
--- a/src/core/arm/skyeye_common/arm_regformat.h
+++ b/src/core/arm/skyeye_common/arm_regformat.h
@@ -51,13 +51,18 @@ enum {
EXCLUSIVE_STATE,
EXCLUSIVE_RESULT,
- // VFP registers
- VFP_BASE,
- VFP_FPSID = VFP_BASE,
+ MAX_REG_NUM,
+};
+
+// VFP system registers
+enum {
+ VFP_FPSID,
VFP_FPSCR,
VFP_FPEXC,
- MAX_REG_NUM,
+ // Not an actual register.
+ // All VFP system registers should be defined above this.
+ VFP_SYSTEM_REGISTER_COUNT
};
enum CP15Register {
@@ -176,5 +181,3 @@ enum CP15Register {
// All registers should be defined above this.
CP15_REGISTER_COUNT,
};
-
-#define VFP_OFFSET(x) (x - VFP_BASE)