summaryrefslogtreecommitdiff
path: root/src/sys_cacheflush.h
diff options
context:
space:
mode:
authorToad King2012-06-14 03:21:06 -0400
committerToad King2012-06-14 03:21:06 -0400
commit6fb0c7a7a53e1eba7a0f5dc5b1ade312a0d76119 (patch)
tree885cf7f507139b795ba7b2a6fb829dc044da39dd /src/sys_cacheflush.h
downloadsnes9x2002-6fb0c7a7a53e1eba7a0f5dc5b1ade312a0d76119.tar.gz
snes9x2002-6fb0c7a7a53e1eba7a0f5dc5b1ade312a0d76119.tar.bz2
snes9x2002-6fb0c7a7a53e1eba7a0f5dc5b1ade312a0d76119.zip
initial pocketsnes commit
Diffstat (limited to 'src/sys_cacheflush.h')
-rw-r--r--src/sys_cacheflush.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/sys_cacheflush.h b/src/sys_cacheflush.h
new file mode 100644
index 0000000..c18e312
--- /dev/null
+++ b/src/sys_cacheflush.h
@@ -0,0 +1,15 @@
+#ifndef _WIZ_CACHEFLUSH
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+extern void sys_cacheflush(void *start_addr, void *end_addr);
+
+extern void spend_cycles(int c);
+
+#ifdef __cplusplus
+} /* End of extern "C" */
+#endif
+
+#endif