Searched refs:PageEntry (Results 1 – 4 of 4) sorted by relevance
/DragonOS/kernel/src/mm/ |
H A D | page.rs | 545 pub unsafe fn entry(&self, i: usize) -> Option<PageEntry<Arch>> { in entry() 547 return Some(PageEntry::from_usize(Arch::read::<usize>(entry_virt))); in entry() 551 pub unsafe fn set_entry(&self, i: usize, entry: PageEntry<Arch>) -> Option<()> { in set_entry() 654 new_table.set_entry(i, PageEntry::new(phys, entry.flags())); in clone() 665 let entry = PageEntry::new(table.phys(), old_entry.flags()); in clone() 676 pub struct PageEntry<Arch> { struct 681 impl<Arch> Debug for PageEntry<Arch> { implementation 687 impl<Arch: MemoryManagementArch> PageEntry<Arch> { impl 1222 let entry = PageEntry::new(phys, flags); in map_phys() 1250 table.set_entry(i, PageEntry::new(frame, flags)); in map_phys() [all …]
|
/DragonOS/kernel/src/arch/riscv64/mm/ |
H A D | init.rs | 20 page::PageEntry, 95 let empty_entry = PageEntry::<MMArch>::from_usize(0); in riscv_mm_init()
|
H A D | mod.rs | 15 page::{EntryFlags, PageEntry, PAGE_1G_SHIFT}, 201 let entry: PageEntry<RiscV64MMArch> = current_ktable in setup_new_usermapper()
|
/DragonOS/kernel/src/arch/x86_64/mm/ |
H A D | mod.rs | 29 use crate::mm::page::{EntryFlags, PageEntry, PAGE_1G_SHIFT}; 242 let entry: PageEntry<X86_64MMArch> = current_ktable in setup_new_usermapper() 490 let empty_entry = PageEntry::<MMArch>::from_usize(0); in allocator_init()
|