diff --git a/src/arch/x86_64/paging/mapper.rs b/src/arch/x86_64/paging/mapper.rs index 2f69bd2..5d66b7b 100644 --- a/src/arch/x86_64/paging/mapper.rs +++ b/src/arch/x86_64/paging/mapper.rs @@ -76,6 +76,7 @@ impl Drop for MapperFlushAll { } } +#[derive(Debug)] pub struct Mapper { p4: Unique>, } diff --git a/src/arch/x86_64/paging/mod.rs b/src/arch/x86_64/paging/mod.rs index f748d97..e3cb025 100644 --- a/src/arch/x86_64/paging/mod.rs +++ b/src/arch/x86_64/paging/mod.rs @@ -374,6 +374,7 @@ pub unsafe fn init_ap( init_tcb(cpu_id) } +#[derive(Debug)] pub struct ActivePageTable { mapper: Mapper, locked: bool,