Searched refs:acpi_rsdt_virt_addr_base (Results 1 – 1 of 1) sorted by relevance
/DragonOS-0.1.3/kernel/src/driver/acpi/ |
D | acpi.c | 27 static uint64_t acpi_rsdt_virt_addr_base = 0; // RSDT的虚拟地址 variable 162 mmio_create(PAGE_2M_SIZE, VM_IO | VM_DONTCOPY, &acpi_rsdt_virt_addr_base, &size); in acpi_init() 166 mm_map(&initial_mm, acpi_rsdt_virt_addr_base, PAGE_2M_SIZE, paddr); in acpi_init() 169 rsdt = (struct acpi_RSDT_Structure_t *)(acpi_rsdt_virt_addr_base + acpi_RSDT_offset); in acpi_init() 199 mmio_create(PAGE_2M_SIZE, VM_IO | VM_DONTCOPY, &acpi_rsdt_virt_addr_base, &size); in acpi_init() 204 mm_map(&initial_mm, acpi_rsdt_virt_addr_base, PAGE_2M_SIZE, paddr); in acpi_init() 206 rsdt = (struct acpi_RSDT_Structure_t *)(acpi_rsdt_virt_addr_base + acpi_RSDT_offset); in acpi_init()
|