Merge branch 'add_debug_to_structs' into 'master'

Implement Debug for a couple structs.

See merge request redox-os/kernel!142
This commit is contained in:
Jeremy Soller
2020-08-08 12:55:53 +00:00
2 changed files with 2 additions and 0 deletions

View File

@@ -76,6 +76,7 @@ impl Drop for MapperFlushAll {
}
}
#[derive(Debug)]
pub struct Mapper {
p4: Unique<Table<Level4>>,
}

View File

@@ -374,6 +374,7 @@ pub unsafe fn init_ap(
init_tcb(cpu_id)
}
#[derive(Debug)]
pub struct ActivePageTable {
mapper: Mapper,
locked: bool,