Searched refs:PAGE_OFFSET (Results 1 – 3 of 3) sorted by relevance
24 #define PAGE_OFFSET 0xffffffc000000000 macro26 #define KERNEL_VIRT_START (PAGE_OFFSET + KERNEL_LINK_OFFSET)
11 #define PAGE_OFFSET 0xffff800000000000UL macro37 #define virt_2_phys(addr) ((unsigned long)(addr)-PAGE_OFFSET)38 #define phys_2_virt(addr) ((unsigned long *)((unsigned long)(addr) + PAGE_OFFSET))
4 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()