Add AArch64 target to the backpatch header.

This fixes the issue of a million warnings spawning from this header.
This commit is contained in:
Ryan Houdek 2014-08-30 18:02:14 -05:00
parent 5233c87dec
commit 82dae72b63
1 changed files with 5 additions and 0 deletions

View File

@ -83,6 +83,11 @@ const int BACKPATCH_SIZE = 5;
#define CTX_R14 gregs[REG_R14]
#define CTX_R15 gregs[REG_R15]
#define CTX_RIP gregs[REG_RIP]
#elif _M_ARM_64
typedef struct sigcontext SContext;
#define CTX_REG(x) regs[x]
#define CTX_SP sp
#define CTX_PC pc
#elif _M_ARM_32
// Add others if required.
typedef struct sigcontext SContext;