Home
last modified time | relevance | path

Searched refs:PAGE_MASK (Results 1 – 6 of 6) sorted by relevance

/DragonOS/kernel/src/arch/riscv64/driver/
H A Dof.rs19 let map_paddr = PhysAddr::new(fdt_paddr.data() & crate::arch::MMArch::PAGE_MASK); in map_fdt()
/DragonOS/kernel/src/arch/x86_64/kvm/vmx/
H A Dmmu.rs5 virt::kvm::host_mem::{__gfn_to_pfn, kvm_vcpu_gfn_to_memslot, PAGE_MASK, PAGE_SHIFT},
97 eptp |= root_hpa & (PAGE_MASK as u64); in tdp_set_eptp()
/DragonOS/kernel/src/virt/kvm/
H A Dhost_mem.rs39 pub const PAGE_MASK: u32 = !(PAGE_SIZE - 1); constant
/DragonOS/kernel/src/driver/open_firmware/
H A Dfdt.rs223 if size < (MMArch::PAGE_SIZE - (base & (!MMArch::PAGE_MASK))) { in early_init_dt_add_memory()
228 size -= MMArch::PAGE_SIZE - (base & (!MMArch::PAGE_MASK)); in early_init_dt_add_memory()
/DragonOS/kernel/src/mm/
H A Dmod.rs497 const PAGE_MASK: usize = !(Self::PAGE_OFFSET_MASK); constant
/DragonOS/kernel/src/arch/x86_64/mm/
H A Dmod.rs261 const PAGE_MASK: usize = !(Self::PAGE_OFFSET_MASK); constant