summaryrefslogtreecommitdiffstats
path: root/src/core/arm/skyeye_common/arm_regformat.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2014-09-13 00:34:51 +0200
committerbunnei <bunneidev@gmail.com>2014-10-25 20:11:39 +0200
commit53a22b84da9690865954f666694de885ccb7c286 (patch)
tree77fa8c9fb653173cc78ffd7b0110d695c3fbb772 /src/core/arm/skyeye_common/arm_regformat.h
parentARM: Reorganized file structure to move shared SkyEye code to a more common area. (diff)
downloadyuzu-53a22b84da9690865954f666694de885ccb7c286.tar
yuzu-53a22b84da9690865954f666694de885ccb7c286.tar.gz
yuzu-53a22b84da9690865954f666694de885ccb7c286.tar.bz2
yuzu-53a22b84da9690865954f666694de885ccb7c286.tar.lz
yuzu-53a22b84da9690865954f666694de885ccb7c286.tar.xz
yuzu-53a22b84da9690865954f666694de885ccb7c286.tar.zst
yuzu-53a22b84da9690865954f666694de885ccb7c286.zip
Diffstat (limited to '')
-rw-r--r--src/core/arm/skyeye_common/arm_regformat.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/arm/skyeye_common/arm_regformat.h b/src/core/arm/skyeye_common/arm_regformat.h
index 0ca62780b..4dac1a8bf 100644
--- a/src/core/arm/skyeye_common/arm_regformat.h
+++ b/src/core/arm/skyeye_common/arm_regformat.h
@@ -99,5 +99,7 @@ enum arm_regno{
MAX_REG_NUM,
};
-#define VFP_OFFSET(x) (x - VFP_BASE)
+#define CP15(idx) (idx - CP15_BASE)
+#define VFP_OFFSET(x) (x - VFP_BASE)
+
#endif