mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 07:17:45 -04:00
add mmap prototypes
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@959 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
parent
aecb333554
commit
06e68f1bb8
1 changed files with 4 additions and 0 deletions
|
@ -45,6 +45,10 @@ int plat_is_dir(const char *path);
|
||||||
int plat_wait_event(int *fds_hnds, int count, int timeout_ms);
|
int plat_wait_event(int *fds_hnds, int count, int timeout_ms);
|
||||||
void plat_sleep_ms(int ms);
|
void plat_sleep_ms(int ms);
|
||||||
|
|
||||||
|
void *plat_mmap(unsigned long addr, size_t size, int need_exec, int is_fixed);
|
||||||
|
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 */
|
/* 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_ms(void);
|
||||||
unsigned int plat_get_ticks_us(void);
|
unsigned int plat_get_ticks_us(void);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue