factor/vm/cpu-amd64.h

20 lines
370 B
C
Raw Normal View History

2006-07-07 00:07:18 -04:00
#define FACTOR_CPU_STRING "amd64"
register CELL ds asm("r14");
register CELL rs asm("r15");
void **primitives;
2006-07-07 00:07:18 -04:00
2006-09-24 22:29:52 -04:00
INLINE void flush_icache(CELL start, CELL len) {}
void *native_stack_pointer(void);
typedef CELL F_COMPILED_FRAME;
#define PREVIOUS_FRAME(frame) (frame + 1)
#define RETURN_ADDRESS(frame) (*(frame))
INLINE void execute(F_WORD* word)
{
word->xt(word);
}