Revert "make munmap free physical pages, and one correction for aligned mmap in syscall.c (extend_process_region is called with memory-region start-address which is aligned (map_end_aligned), instead of tail-address of current-region (region->map_end)) for aligned mmap (in syscall.c)"

This reverts commit e7317cca98.
This commit is contained in:
Masamichi Takagi m-takagi@ab.jp.nec.com
2012-11-26 13:38:07 +09:00
parent 3d71edd55c
commit a1490da112
5 changed files with 13 additions and 31 deletions

View File

@@ -92,8 +92,8 @@ int add_process_memory_range(struct process *process,
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 va_start, unsigned long va_end, unsigned long pa);
int remove_process_region(struct process *proc,
unsigned long start, unsigned long end);
struct program_load_desc;
void init_process_stack(struct process *process, struct program_load_desc *pn,
int argc, char **argv,