add_process_large_range and (towards) atomic context switch

This commit is contained in:
Balazs Gerofi
2012-05-19 16:11:38 +09:00
parent 7c85ac93e8
commit 38a0bde75e
2 changed files with 77 additions and 9 deletions

View File

@@ -81,6 +81,9 @@ 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 add_process_large_range(struct process *process,
unsigned long start, unsigned long end,
unsigned long flag, unsigned long *phys);
int remove_process_region(struct process *proc,
unsigned long start, unsigned long end);
void init_process_stack(struct process *process, int argc, char **argv,