Compare commits

..

1 Commits

Author SHA1 Message Date
Robert Lucas
b5f611eb19 Merge f894fb15d5 into 9ea911b0bb 2025-01-15 19:42:45 +01:00

View File

@@ -12,7 +12,7 @@ lazy_static! {
const STACK_SIZE: usize = 4096 * 5;
static mut STACK: [u8; STACK_SIZE] = [0; STACK_SIZE];
let stack_start = VirtAddr::from_ptr(&raw const STACK);
let stack_start = VirtAddr::from_ptr(unsafe { &STACK });
let stack_end = stack_start + STACK_SIZE;
stack_end
};