]> gitweb.factorcode.org Git - factor.git/blobdiff - vm/os-linux-arm.64.hpp
Merge branch 'factor:master' into feature-vm-prepare-image-reserved-fields
[factor.git] / vm / os-linux-arm.64.hpp
index d2a10d3e840fc00eaace7fb641a72c1c42d64f5a..39a6c388575c6af1286e039510fbdc0c0230e924 100644 (file)
@@ -65,15 +65,14 @@ inline static unsigned int fpu_status(unsigned int status) {
 #define FUNCTION_CODE_POINTER(ptr) ptr
 #define FUNCTION_TOC_POINTER(ptr) ptr
 
-// Must match the stack-frame-size constant in
-// bootstrap/assembler/x86.64.unix.factor
-static const unsigned JIT_FRAME_SIZE = 32;
+// Must match the stack-frame-size constant in bootstrap/assembler/arm.64.factor
+static const unsigned JIT_FRAME_SIZE = 64;
 
+// last byte of X9 BR in absolute-call
+static const unsigned char call_opcode = 0x14;
+// last byte of 12 Br in absolute-jump
+static const unsigned char jmp_opcode = 0xd6;
 
-static const unsigned char call_opcode = 0xe8;
-static const unsigned char jmp_opcode = 0xe9;
-
-
-static const unsigned SIGNAL_HANDLER_STACK_FRAME_SIZE = 192;
+static const unsigned SIGNAL_HANDLER_STACK_FRAME_SIZE = 288;
 
 }