]> gitweb.factorcode.org Git - factor.git/blob - vm/os-windows.64.hpp
vm: frame size for signal handler code blocks
[factor.git] / vm / os-windows.64.hpp
1 #include "atomic-cl-64.hpp"
2
3 namespace factor
4 {
5
6 #define ESP Rsp
7 #define EIP Rip
8
9 #define MXCSR(ctx) (ctx)->MxCsr
10
11 /* Must match the leaf-stack-frame-size, signal-handler-stack-frame-size,
12 and stack-frame-size constants in basis/cpu/x86/64/windows/bootstrap.factor */
13
14 static const unsigned LEAF_FRAME_SIZE = 32;
15 static const unsigned SIGNAL_HANDLER_STACK_FRAME_SIZE = 192;
16 static const unsigned JIT_FRAME_SIZE = 64;
17 }