We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de2147c commit 8f7ad95Copy full SHA for 8f7ad95
src/0x03/pkg/kernel/src/proc/vm/stack.rs
@@ -66,7 +66,7 @@ impl Stack {
66
pub fn init(&mut self, mapper: MapperRef, alloc: FrameAllocatorRef) {
67
debug_assert!(self.usage == 0, "Stack is not empty.");
68
69
- self.range = elf::map_pages(STACK_INIT_BOT, STACK_DEF_PAGE, mapper, alloc).unwrap();
+ self.range = elf::map_range(STACK_INIT_BOT, STACK_DEF_PAGE, mapper, alloc).unwrap();
70
self.usage = STACK_DEF_PAGE;
71
}
72
0 commit comments