#include <stdint.h>
-#ifdef __cplusplus
-extern "C" {
-#endif
-
#include "vm/types.h"
#include "vm/global.h"
#include "vm/vm.hpp"
-#include "vmcore/linker.h"
-
/* function prototypes ********************************************************/
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/* machine dependent initialization */
s4 asm_md_init(void);
void asm_patcher_wrapper(void);
/* cache flush function */
-void asm_cacheflush(u1 *addr, s4 nbytes);
+void asm_cacheflush(void* addr, int nbytes);
u8 asm_get_cycle_count(void);
#endif
#ifdef __cplusplus
-}
+} // extern "C"
#endif
#endif /* _ASMPART_H */