Home
last modified time | relevance | path

Searched refs:table_kind (Results 1 – 2 of 2) sorted by relevance

/DragonOS-0.1.8/kernel/src/mm/
Dpage.rs51 pub unsafe fn top_level_table(table_kind: PageTableKind) -> Self { in top_level_table()
54 Arch::table(table_kind), in top_level_table()
466 table_kind: PageTableKind, field
485 pub unsafe fn new(table_kind: PageTableKind, table_paddr: PhysAddr, allocator: F) -> Self { in new()
487 table_kind, in new()
495 pub unsafe fn create(table_kind: PageTableKind, mut allocator: F) -> Option<Self> { in create()
500 return Some(Self::new(table_kind, table_paddr, allocator)); in create()
505 pub unsafe fn current(table_kind: PageTableKind, allocator: F) -> Self { in current()
506 let table_paddr = Arch::table(table_kind); in current()
507 return Self::new(table_kind, table_paddr, allocator); in current()
[all …]
Dmod.rs415 unsafe fn table(table_kind: PageTableKind) -> PhysAddr; in table()
418 unsafe fn set_table(table_kind: PageTableKind, table: PhysAddr); in set_table()