32x: drc: mmap dram+rom for direct dereference
[picodrive.git] / pico / pico.h
index c274b80..033ed6f 100644 (file)
@@ -28,9 +28,14 @@ extern void mp3_update(int *buffer, int length, int stereo);
 \r
 // this function should write-back d-cache and invalidate i-cache\r
 // on a mem region [start_addr, end_addr)\r
-// used by SVP dynarec\r
+// used by dynarecs\r
 extern void cache_flush_d_inval_i(const void *start_addr, const void *end_addr);\r
 \r
+// attempt to alloc mem at specified address.\r
+// alloc anywhere else if that fails (callers should handle that)\r
+extern void *plat_mmap(unsigned long addr, size_t size);\r
+extern void  plat_munmap(void *ptr, size_t size);\r
+\r
 // this one should handle display mode changes\r
 extern void emu_video_mode_change(int start_line, int line_count, int is_32cols);\r
 \r