Searched refs:acpi_rsdt_virt_addr_base (Results 1 – 1 of 1) sorted by relevance
/DragonOS-0.1.8/kernel/src/driver/acpi/ |
D | acpi.c | 27 static uint64_t acpi_rsdt_virt_addr_base = 0; // RSDT的虚拟地址 variable 179 mmio_create(PAGE_2M_SIZE, VM_IO | VM_DONTCOPY, &acpi_rsdt_virt_addr_base, &size); in acpi_init() 184 rs_map_phys(acpi_rsdt_virt_addr_base, paddr, PAGE_2M_SIZE, PAGE_KERNEL_PAGE); in acpi_init() 187 rsdt = (struct acpi_RSDT_Structure_t *)(acpi_rsdt_virt_addr_base + acpi_RSDT_offset); in acpi_init() 218 mmio_create(PAGE_2M_SIZE, VM_IO | VM_DONTCOPY, &acpi_rsdt_virt_addr_base, &size); in acpi_init() 220 …: mmio created. acpi_rsdt_virt_addr_base = %#018lx,size= %#010lx", acpi_rsdt_virt_addr_base, size); in acpi_init() 226 rs_map_phys(acpi_rsdt_virt_addr_base, paddr, PAGE_2M_SIZE, PAGE_KERNEL_PAGE); in acpi_init() 228 rsdt = (struct acpi_RSDT_Structure_t *)(acpi_rsdt_virt_addr_base + acpi_RSDT_offset); in acpi_init()
|