Mark all physical memory metadata with memory region info

This commit is contained in:
Zhang Junyang
2025-03-03 22:13:54 +08:00
committed by Tate, Hongliang Tian
parent 28e7c0ff1f
commit 6ed38f5cb0
3 changed files with 48 additions and 9 deletions

View File

@ -10,7 +10,10 @@ use spin::Once;
use crate::{
arch::boot::smp::{bringup_all_aps, get_num_processors},
cpu,
mm::{frame::Segment, kspace::KernelMeta, paddr_to_vaddr, FrameAllocOptions, PAGE_SIZE},
mm::{
frame::{meta::KernelMeta, Segment},
paddr_to_vaddr, FrameAllocOptions, PAGE_SIZE,
},
task::Task,
};