Home
last modified time | relevance | path

Searched refs:PAGE_2M_MASK (Results 1 – 5 of 5) sorted by relevance

/DragonOS-0.1.8/kernel/src/driver/acpi/
Dacpi.c48 …_phys(acpi_description_header_base + PAGE_2M_SIZE * i, (*(ent + i)) & PAGE_2M_MASK, PAGE_2M_SIZE, … in acpi_iter_SDT()
174 ul rsdt_phys_base = rsdpv2->rsdp1.RsdtAddress & PAGE_2M_MASK; in acpi_init()
201 acpi_RSDT_entry_phys_base = ((ul)(rsdt->Entry)) & PAGE_2M_MASK; in acpi_init()
212 ul rsdt_phys_base = rsdpv1->RsdtAddress & PAGE_2M_MASK; in acpi_init()
244 acpi_RSDT_entry_phys_base = ((ul)(rsdt->Entry)) & PAGE_2M_MASK; in acpi_init()
/DragonOS-0.1.8/kernel/src/driver/disk/ahci/
Dahci.c29 rs_map_phys(AHCI_MAPPING_BASE, (ul)(bar5)&PAGE_2M_MASK, PAGE_2M_SIZE, PAGE_KERNEL_PAGE); in ahci_cpp_init()
Dmod.rs31 AHCI_MAPPING_BASE, MAX_AHCI_DEVICES, PAGE_2M_MASK,
82 - (unsafe { (*gen_devs[0]).BAR5 as usize } & PAGE_2M_MASK as usize); in ahci_rust_init()
/DragonOS-0.1.8/kernel/src/mm/
Dmm.h32 #define PAGE_2M_MASK (~(PAGE_2M_SIZE - 1)) macro
36 #define PAGE_2M_ALIGN(addr) (((unsigned long)(addr) + PAGE_2M_SIZE - 1) & PAGE_2M_MASK)
/DragonOS-0.1.8/user/libs/libc/src/
Dmalloc.c20 #define PAGE_2M_MASK (~(PAGE_2M_SIZE - 1)) macro
24 #define PAGE_2M_ALIGN(addr) (((unsigned long)(addr) + PAGE_2M_SIZE - 1) & PAGE_2M_MASK)
359 … int64_t delta = ((brk_max_addr - (uint64_t)malloc_free_list_end) & PAGE_2M_MASK) - PAGE_2M_SIZE; in release_brk()