further prep for Wiz port. Cleanups, rm cpuctrl mmuhack; add warm
[libpicofe.git] / gp2x / plat_gp2x.h
diff --git a/gp2x/plat_gp2x.h b/gp2x/plat_gp2x.h
new file mode 100644 (file)
index 0000000..5a59452
--- /dev/null
@@ -0,0 +1,15 @@
+#ifndef __GP2X_H__
+#define __GP2X_H__
+
+extern int default_cpu_clock;
+
+/* video */
+void gp2x_video_changemode(int bpp);
+void gp2x_memcpy_all_buffers(void *data, int offset, int len);
+void gp2x_memset_all_buffers(int offset, int byte, int len);
+void gp2x_make_fb_bufferable(int yes);
+
+/* input */
+int gp2x_touchpad_read(int *x, int *y);
+
+#endif