mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 22:37:49 +00:00
Compare commits
5 Commits
3743997479
...
f63e0dacca
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f63e0dacca | ||
|
|
bb3beb22da | ||
|
|
b20e62e86b | ||
|
|
8d067be8ac | ||
|
|
aa9d0fff74 |
@@ -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(unsafe { &STACK });
|
||||
let stack_start = VirtAddr::from_ptr(&raw const STACK);
|
||||
let stack_end = stack_start + STACK_SIZE;
|
||||
stack_end
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user