wrap more memory mapping implementation details
This commit is contained in:
3
memory.h
3
memory.h
@ -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
|
||||
|
Reference in New Issue
Block a user