factor/vm/cpu-ppc.h

18 lines
366 B
C
Raw Normal View History

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