wrap more memory mapping implementation details

This commit is contained in:
Daniel Micay 2018-08-29 10:52:10 -04:00
parent 1cb28531a8
commit d779d41721
3 changed files with 17 additions and 9 deletions

View file

@ -5,7 +5,8 @@
void *memory_map(size_t size);
int memory_unmap(void *ptr, size_t size);
int memory_protect(void *ptr, size_t size, int prot);
int memory_protect_rw(void *ptr, size_t size);
int memory_protect_ro(void *ptr, size_t size);
int memory_remap_fixed(void *old, size_t old_size, void *new, size_t new_size);
#endif