+/*
+ invokes the compiler for untranslated JavaVM methods.
+ Register R0 contains a pointer to the method info structure
+ (prepared by createcompilerstub).
+*/
+void asm_call_jit_compiler();
+
+
+/*
+ This function calls a Java-method (which possibly needs compilation)
+ with up to 4 parameters. This function calls a Java-method (which
+ possibly needs compilation) with up to 4 parameters.
+*/
+
+/*
+ This function calls a Java-method (which possibly needs compilation)
+ with up to 4 parameters. This function calls a Java-method (which
+ possibly needs compilation) with up to 4 parameters.
+ also supports a return value
+*/
+java_objectheader *asm_calljavafunction(methodinfo *m, void *arg1, void *arg2,
+ void *arg3, void *arg4);
+java_objectheader *asm_calljavafunction2(methodinfo *m, u4 count, u4 size , void *callblock);
+jdouble asm_calljavafunction2double(methodinfo *m, u4 count, u4 size , void *callblock);
+jlong asm_calljavafunction2long(methodinfo *m, u4 count, u4 size , void *callblock);
+
+
+
+void asm_handle_exception();
+void asm_handle_nat_exception();
+
+void asm_check_clinit();
+
+void asm_handle_builtin_exception(classinfo *);
+
+/*
+ gets the class of the caller from the stack frame
+*/
+methodinfo *asm_getcallingmethod();
+
+
+/*
+ This funtion saves all callee saved registers and calls the function
+ which is passed as parameter.
+ This function is needed by the garbage collector, which needs to access
+ all registers which are stored on the stack. Unused registers are
+ cleared to avoid interferances with the GC.
+*/
+void asm_dumpregistersandcall(functionptr f);
+
+
+void *asm_switchstackandcall(void *stack, void *func, void **stacktopsave, void * p);
+
+void asm_builtin_trace();
+void asm_builtin_exittrace();
+
+int asm_xadd(int *, int);