Searched refs:table_paddr (Results 1 – 1 of 1) sorted by relevance
/DragonOS-0.1.8/kernel/src/mm/ |
D | page.rs | 468 table_paddr: PhysAddr, field 485 pub unsafe fn new(table_kind: PageTableKind, table_paddr: PhysAddr, allocator: F) -> Self { in new() 488 table_paddr, in new() 496 let table_paddr = allocator.allocate_one()?; in create() localVariable 498 let table_vaddr = Arch::phys_2_virt(table_paddr)?; in create() 500 return Some(Self::new(table_kind, table_paddr, allocator)); in create() 506 let table_paddr = Arch::table(table_kind); in current() localVariable 507 return Self::new(table_kind, table_paddr, allocator); in current() 519 Arch::set_table(self.table_kind, self.table_paddr); in make_current() 527 PageTable::new(VirtAddr::new(0), self.table_paddr, Arch::PAGE_LEVELS - 1) in table() [all …]
|