]> gitweb.factorcode.org Git - factor.git/blob - vm/cpu-ppc.h
Initial import
[factor.git] / vm / cpu-ppc.h
1 #define FACTOR_CPU_STRING "ppc"
2 #define FASTCALL
3
4 register CELL ds asm("r14");
5 register CELL rs asm("r15");
6
7 void c_to_factor(CELL quot);
8 void dosym(CELL word);
9 void docol_profiling(CELL word);
10 void docol(CELL word);
11 void undefined(CELL word);
12 void set_callstack(F_STACK_FRAME *to, F_STACK_FRAME *from, CELL length, void *memcpy);
13 void throw_impl(CELL quot, F_STACK_FRAME *rewind);
14 void flush_icache(CELL start, CELL len);
15
16 #define FRAME_SUCCESSOR(frame) (frame)->previous