Home
last modified time | relevance | path

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

/DragonOS-0.1.8/kernel/src/arch/x86_64/mm/
Dmod.rs51 static KERNEL_PML4E_NO: usize = (X86_64MMArch::PHYS_OFFSET & ((1 << 48) - 1)) >> 39;
119 const PHYS_OFFSET: usize = Self::PAGE_NEGATIVE_MASK + (Self::PAGE_ADDRESS_SIZE >> 1); constant
285 let x = self.data() & X86_64MMArch::PHYS_OFFSET; in is_canonical()
288 return x == 0 || x == X86_64MMArch::PHYS_OFFSET; in is_canonical()
/DragonOS-0.1.8/kernel/src/mm/
Dmod.rs352 const PHYS_OFFSET: usize; constant
427 if let Some(vaddr) = phys.data().checked_add(Self::PHYS_OFFSET) { in phys_2_virt()
445 if let Some(paddr) = virt.data().checked_sub(Self::PHYS_OFFSET) { in virt_2_phys()