mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 15:27:46 -04:00
32x: drc: mmap dram+rom for direct dereference
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@851 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
parent
f6c49d38cb
commit
b081408f66
8 changed files with 200 additions and 71 deletions
|
@ -28,9 +28,14 @@ extern void mp3_update(int *buffer, int length, int stereo);
|
|||
|
||||
// this function should write-back d-cache and invalidate i-cache
|
||||
// on a mem region [start_addr, end_addr)
|
||||
// used by SVP dynarec
|
||||
// used by dynarecs
|
||||
extern void cache_flush_d_inval_i(const void *start_addr, const void *end_addr);
|
||||
|
||||
// attempt to alloc mem at specified address.
|
||||
// alloc anywhere else if that fails (callers should handle that)
|
||||
extern void *plat_mmap(unsigned long addr, size_t size);
|
||||
extern void plat_munmap(void *ptr, size_t size);
|
||||
|
||||
// this one should handle display mode changes
|
||||
extern void emu_video_mode_change(int start_line, int line_count, int is_32cols);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue