add remove_process_memory_range()

This commit is contained in:
NAKAMURA Gou
2013-06-11 13:44:23 +09:00
parent 5206ae7d57
commit 8436f5a5ac
3 changed files with 98 additions and 2 deletions

View File

@@ -98,6 +98,8 @@ void free_process_memory(struct process *proc);
int add_process_memory_range(struct process *process,
unsigned long start, unsigned long end,
unsigned long phys, unsigned long flag);
int remove_process_memory_range(
struct process *process, unsigned long start, unsigned long end);
int remove_process_region(struct process *proc,
unsigned long start, unsigned long end);
struct program_load_desc;