[wip] memory map initialization

This commit is contained in:
Berkus Decker 2021-02-26 00:20:50 +02:00
parent 07d7f9cd9e
commit 3c6fcfcf10
1 changed files with 3 additions and 0 deletions

View File

@ -18,6 +18,7 @@ mod phys_frame;
mod virt_page;
pub mod mmu2;
pub use mmu2::*;
// mod area_frame_allocator;
@ -166,6 +167,8 @@ pub use kernel_mem_range::*;
/// Contains only special ranges, aka anything that is _not_ normal cacheable
/// DRAM.
static KERNEL_VIRTUAL_LAYOUT: [Descriptor; 6] = [
// These are part of a static linked image and used for proper kernel-space initialization.
// i.e. these data are subtracted from the dtb-provided memory map.
Descriptor {
name: "Kernel stack",
virtual_range: || {