add plat_mem_set_exec()

This commit is contained in:
Grazvydas Ignotas 2013-06-28 01:41:09 +03:00
parent c2981fc0ee
commit 6282e17ef5
2 changed files with 11 additions and 0 deletions

1
plat.h
View file

@ -102,6 +102,7 @@ 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);
int plat_mem_set_exec(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);