FFI: Add callback support for ARM.

This commit is contained in:
Mike Pall
2011-12-12 23:12:25 +01:00
parent 1b0d646004
commit 03c51fc578
5 changed files with 1328 additions and 1147 deletions

View File

@@ -139,6 +139,7 @@ typedef enum ARMIns {
ARMI_S = 0x000100000,
ARMI_K12 = 0x02000000,
ARMI_KNEG = 0x00200000,
ARMI_LS_W = 0x00200000,
ARMI_LS_U = 0x00800000,
ARMI_LS_P = 0x01000000,
ARMI_LS_R = 0x02000000,
@@ -176,6 +177,7 @@ typedef enum ARMIns {
ARMI_STRB = 0xe4400000,
ARMI_STRH = 0xe00000b0,
ARMI_STRD = 0xe00000f0,
ARMI_PUSH = 0xe92d0000,
ARMI_B = 0xea000000,
ARMI_BL = 0xeb000000,