support remap_file_pages(2)

fixes #21
This commit is contained in:
NAKAMURA Gou
2014-06-23 18:43:16 +09:00
parent bb3756dc74
commit 90aaf9dc9c
5 changed files with 187 additions and 0 deletions

View File

@ -228,6 +228,8 @@ int join_process_memory_range(struct process *process, struct vm_range *survivin
int change_prot_process_memory_range(
struct process *process, struct vm_range *range,
unsigned long newflag);
int remap_process_memory_range(struct process_vm *vm, struct vm_range *range,
uintptr_t start, uintptr_t end, off_t off);
struct vm_range *lookup_process_memory_range(
struct process_vm *vm, uintptr_t start, uintptr_t end);
struct vm_range *next_process_memory_range(