Initial ARM64 support

This commit is contained in:
Liam
2022-11-06 16:45:36 -05:00
parent 3161b34ff6
commit cbaf642ffe
15 changed files with 68 additions and 36 deletions

View File

@ -31,8 +31,10 @@
#ifndef _MSC_VER
#ifdef ARCHITECTURE_x86_64
#if defined(ARCHITECTURE_x86_64)
#define Crash() __asm__ __volatile__("int $3")
#elif defined(ARCHITECTURE_arm64)
#define Crash() __asm__ __volatile__("brk #0")
#else
#define Crash() exit(1)
#endif