Home
last modified time | relevance | path

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

/DragonOS-0.1.7/kernel/src/mm/
Dmod.rs1 use crate::include::bindings::bindings::{mm_struct, process_control_block, PAGE_OFFSET};
10 addr - PAGE_OFFSET as usize in virt_2_phys()
16 addr + PAGE_OFFSET as usize in phys_2_virt()
Dmm.h14 #define PAGE_OFFSET 0xffff800000000000UL macro
40 #define virt_2_phys(addr) ((unsigned long)(addr)-PAGE_OFFSET)
41 #define phys_2_virt(addr) ((unsigned long *)((unsigned long)(addr) + PAGE_OFFSET))
/DragonOS-0.1.7/kernel/src/driver/virtio/
Dvirtio_impl.rs4 PAGE_OFFSET, PAGE_SHARED, ZONE_NORMAL,
23 NonNull::new((page.addr_phys as PhysAddr + PAGE_OFFSET as usize) as _).unwrap(), in dma_alloc()
/DragonOS-0.1.7/kernel/src/
Dmain.c202 multiboot2_boot_info_addr = mb2_info + PAGE_OFFSET; in Start_Kernel()