Home
last modified time | relevance | path

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

/DragonOS-0.1.2/kernel/src/driver/interrupt/apic/
Dapic.c80 apic_ioapic_map.addr_phys = io_apic_ICS->IO_APIC_Address; in apic_io_apic_init()
81 apic_ioapic_map.virtual_index_addr = (unsigned char *)APIC_IO_APIC_VIRT_BASE_ADDR; in apic_io_apic_init()
82 apic_ioapic_map.virtual_data_addr = (uint *)(APIC_IO_APIC_VIRT_BASE_ADDR + 0x10); in apic_io_apic_init()
83 apic_ioapic_map.virtual_EOI_addr = (uint *)(APIC_IO_APIC_VIRT_BASE_ADDR + 0x40); in apic_io_apic_init()
87 …mm_map_phys_addr((ul)apic_ioapic_map.virtual_index_addr, apic_ioapic_map.addr_phys, PAGE_2M_SIZE, … in apic_io_apic_init()
90 *apic_ioapic_map.virtual_index_addr = 0x00; in apic_io_apic_init()
92 *apic_ioapic_map.virtual_data_addr = 0x0f000000; in apic_io_apic_init()
99 *apic_ioapic_map.virtual_index_addr = 0x01; in apic_io_apic_init()
101 …PIC Version=%d, Max Redirection Entries=%d", *apic_ioapic_map.virtual_data_addr & 0xff, (((*apic_i… in apic_io_apic_init()
479 *apic_ioapic_map.virtual_index_addr = index + 1; in apic_ioapic_read_rte()
[all …]
Dapic.h257 } apic_ioapic_map; variable