aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authornotaz2013-04-02 04:45:05 +0300
committernotaz2013-04-02 04:45:05 +0300
commit5df0e313724a202a47f088f1cb81f4ccb0910b15 (patch)
treece391c50cf08324a702b4099605c8afeadfda94d /include
parent4d6467383217647e3fbc58ab9213a31c0f3bd8c9 (diff)
downloadpcsx_rearmed-5df0e313724a202a47f088f1cb81f4ccb0910b15.tar.gz
pcsx_rearmed-5df0e313724a202a47f088f1cb81f4ccb0910b15.tar.bz2
pcsx_rearmed-5df0e313724a202a47f088f1cb81f4ccb0910b15.zip
drc: handle more calling conventions
Diffstat (limited to 'include')
-rw-r--r--include/arm_features.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/arm_features.h b/include/arm_features.h
index abfd876..fdec522 100644
--- a/include/arm_features.h
+++ b/include/arm_features.h
@@ -34,6 +34,8 @@
.type name, %function; \
name
+#define EXTRA_UNSAVED_REGS
+
#else
#define ESYM(name) _##name
@@ -42,6 +44,9 @@
name: \
ESYM(name)
+// r7 is preserved, but add it for EABI alignment..
+#define EXTRA_UNSAVED_REGS r7, r9,
+
#endif
#endif /* __ARM_FEATURES_H__ */