X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=blobdiff_plain;f=frontend%2Fcommon%2Fplat.h;h=416f8ac71a8989e4a918990d588811fe9b2f3583;hp=0a9fc0b226328722c87eb9a978519a8a512acdf3;hb=9ee0fd5b333039b1140d90f935aa9299825f1e42;hpb=50f9355a2338111d940ed408f52fe1defe4df23e diff --git a/frontend/common/plat.h b/frontend/common/plat.h index 0a9fc0b2..416f8ac7 100644 --- a/frontend/common/plat.h +++ b/frontend/common/plat.h @@ -45,6 +45,10 @@ int plat_is_dir(const char *path); int plat_wait_event(int *fds_hnds, int count, int timeout_ms); void plat_sleep_ms(int ms); +void *plat_mmap(unsigned long addr, size_t size, int need_exec); +void *plat_mremap(void *ptr, size_t oldsize, size_t newsize); +void plat_munmap(void *ptr, size_t size); + /* timers, to be used for time diff and must refer to the same clock */ unsigned int plat_get_ticks_ms(void); unsigned int plat_get_ticks_us(void);