Higher-half kernel mapping. Unmap where possible, freeing up lower memory

This commit is contained in:
Jeremy Soller 2016-09-14 20:47:55 -06:00
parent 6e16298e71
commit 83bc8a0da5
7 changed files with 68 additions and 30 deletions

View file

@ -79,6 +79,7 @@ pub fn clone(flags: usize, stack_base: usize) -> Result<usize> {
stack.start_address().get() as *const u8,
stack.size());
}
new_stack.unmap(true);
stack_option = Some(new_stack);
}
}