Home
last modified time | relevance | path

Searched refs:PAGE_OFFSET (Results 1 – 3 of 3) sorted by relevance

/DragonOS-0.1.9/kernel/src/arch/riscv64/include/asm/
Dcsr.h24 #define PAGE_OFFSET 0xffffffc000000000 macro
26 #define KERNEL_VIRT_START (PAGE_OFFSET + KERNEL_LINK_OFFSET)
/DragonOS-0.1.9/kernel/src/mm/
Dmm.h11 #define PAGE_OFFSET 0xffff800000000000UL macro
37 #define virt_2_phys(addr) ((unsigned long)(addr)-PAGE_OFFSET)
38 #define phys_2_virt(addr) ((unsigned long *)((unsigned long)(addr) + PAGE_OFFSET))
Dmod.rs4 use crate::{arch::MMArch, include::bindings::bindings::PAGE_OFFSET};
105 addr - PAGE_OFFSET as usize in virt_2_phys()
111 addr + PAGE_OFFSET as usize in phys_2_virt()