mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 14:27:49 +00:00
Compare commits
9 Commits
df2c149e79
...
e1f4a05136
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e1f4a05136 | ||
|
|
4f6558c021 | ||
|
|
f63e0dacca | ||
|
|
bb3beb22da | ||
|
|
b20e62e86b | ||
|
|
8d067be8ac | ||
|
|
aa9d0fff74 | ||
|
|
8d5540e15c | ||
|
|
9ea911b0bb |
@@ -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
|
||||
};
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
#![cfg_attr(test, no_main)]
|
||||
#![feature(custom_test_frameworks)]
|
||||
#![feature(abi_x86_interrupt)]
|
||||
#![feature(const_mut_refs)]
|
||||
#![test_runner(crate::test_runner)]
|
||||
#![reexport_test_harness_main = "test_main"]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user