factor/vm/os-windows.64.hpp

17 lines
419 B
C++
Raw Normal View History

#include "atomic-cl-64.hpp"
2013-05-11 22:24:31 -04:00
namespace factor {
2009-05-04 02:46:13 -04:00
2009-05-02 05:04:19 -04:00
#define ESP Rsp
#define EIP Rip
2009-05-04 02:46:13 -04:00
#define MXCSR(ctx) (ctx)->MxCsr
/* Must match the leaf-stack-frame-size, signal-handler-stack-frame-size,
and stack-frame-size constants in basis/cpu/x86/64/windows/bootstrap.factor */
2011-12-13 18:13:32 -05:00
static const unsigned LEAF_FRAME_SIZE = 16;
static const unsigned SIGNAL_HANDLER_STACK_FRAME_SIZE = 192;
static const unsigned JIT_FRAME_SIZE = 64;
2009-05-04 02:46:13 -04:00
}