/* src/vm/jit/asmpart.h - prototypes for machine specfic functions
- Copyright (C) 1996-2005, 2006, 2007 R. Grafl, A. Krall, C. Kruegel,
- C. Oates, R. Obermaisser, M. Platter, M. Probst, S. Ring,
- E. Steiner, C. Thalinger, D. Thuernbeck, P. Tomsich, C. Ullrich,
- J. Wenninger, Institut f. Computersprachen - TU Wien
+ Copyright (C) 1996-2005, 2006, 2007, 2008
+ CACAOVM - Verein zur Foerderung der freien virtuellen Maschine CACAO
This file is part of CACAO.
#include "vm/types.h"
-#if defined(ENABLE_THREADS)
-# include "threads/critical.h"
-#endif
-
#include "vm/global.h"
-#include "vm/vm.h"
-
-#include "vmcore/linker.h"
+#include "vm/vm.hpp"
/* 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);
-
-u8 asm_get_cycle_count(void);
+void asm_cacheflush(void* addr, int nbytes);
void *md_asm_codegen_get_pv_from_pc(void *ra);
void asm_escape_check(java_object_t *obj);
#endif
+#ifdef __cplusplus
+} // extern "C"
+#endif
+
#endif /* _ASMPART_H */