Home
last modified time | relevance | path

Searched refs:apic_ioapic_map (Results 1 – 2 of 2) sorted by relevance

/DragonOS-0.1.5/kernel/src/driver/interrupt/apic/
Dapic.c82 apic_ioapic_map.addr_phys = io_apic_ICS->IO_APIC_Address; in apic_io_apic_init()
83 apic_ioapic_map.virtual_index_addr = (unsigned char *)APIC_IO_APIC_VIRT_BASE_ADDR; in apic_io_apic_init()
84 apic_ioapic_map.virtual_data_addr = (uint *)(APIC_IO_APIC_VIRT_BASE_ADDR + 0x10); in apic_io_apic_init()
85 apic_ioapic_map.virtual_EOI_addr = (uint *)(APIC_IO_APIC_VIRT_BASE_ADDR + 0x40); in apic_io_apic_init()
89 … mm_map_phys_addr((ul)apic_ioapic_map.virtual_index_addr, apic_ioapic_map.addr_phys, PAGE_2M_SIZE, in apic_io_apic_init()
93 *apic_ioapic_map.virtual_index_addr = 0x00; in apic_io_apic_init()
95 *apic_ioapic_map.virtual_data_addr = 0x0f000000; in apic_io_apic_init()
102 *apic_ioapic_map.virtual_index_addr = 0x01; in apic_io_apic_init()
104 …kdebug("IO APIC Version=%d, Max Redirection Entries=%d", *apic_ioapic_map.virtual_data_addr & 0xff, in apic_io_apic_init()
105 (((*apic_ioapic_map.virtual_data_addr) >> 16) & 0xff) + 1); in apic_io_apic_init()
[all …]
Dapic.h257 } apic_ioapic_map; variable