2009-05-04 02:46:13 -04:00
|
|
|
namespace factor
|
|
|
|
{
|
|
|
|
|
2009-05-02 05:04:19 -04:00
|
|
|
#define FACTOR_CPU_STRING "ppc"
|
2009-05-04 02:00:30 -04:00
|
|
|
#define VM_ASM_API
|
2009-05-02 05:04:19 -04:00
|
|
|
|
2009-05-04 05:50:24 -04:00
|
|
|
register cell ds asm("r29");
|
|
|
|
register cell rs asm("r30");
|
2009-05-02 05:04:19 -04:00
|
|
|
|
2009-05-04 05:50:24 -04:00
|
|
|
void c_to_factor(cell quot);
|
|
|
|
void undefined(cell word);
|
|
|
|
void set_callstack(stack_frame *to, stack_frame *from, cell length, void *memcpy);
|
|
|
|
void throw_impl(cell quot, stack_frame *rewind);
|
|
|
|
void lazy_jit_compile(cell quot);
|
|
|
|
void flush_icache(cell start, cell len);
|
2009-05-04 02:46:13 -04:00
|
|
|
|
|
|
|
}
|