Setup independent page tables, map heap to a single location
This commit is contained in:
parent
7aafc165ec
commit
0501b2580d
11 changed files with 161 additions and 96 deletions
|
@ -12,7 +12,7 @@ extern crate linked_list_allocator;
|
|||
#[macro_use]
|
||||
extern crate lazy_static;
|
||||
|
||||
pub const HEAP_START: usize = 0x1_0000_0000; // Put at end of 4GB
|
||||
pub const HEAP_START: usize = 0xffff_ff00_0000_0000; // Put at end of memory, below the recursive page mapping
|
||||
pub const HEAP_SIZE: usize = 16 * 1024 * 1024; // 16 MB
|
||||
|
||||
lazy_static! {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue