genode/repos/base-hw
Reto Buerki a21959fc26 hw_x86_64: Implement APIC-based PIC driver
The implementation initializes the Local APIC (LAPIC) of CPU 0 in xapic
mode (mmio register access) and uses the I/O APIC to remap, mask and
unmask hardware IRQs. The remapping offset of IRQs is 48.

Also initialize the legacy PIC and mask all interrupts in order to
disable it.

For more information about LAPIC and I/O APIC see Intel SDM Vol. 3A,
chapter 10 and the Intel 82093AA I/O Advanced Programmable Interrupt
Controller (IOAPIC) specification

Set bit 9 in the RFLAGS register of user CPU context to enable
interrupts on kernel- to usermode switch.
2015-03-27 11:53:31 +01:00
..
doc imx31: remove platform completely (fix #1360) 2015-01-12 14:24:15 +01:00
include hw_x86_64: Adjust parameter type of Message_tpl::prepare_send 2015-03-27 11:53:29 +01:00
lib hw_x86_64: Implement APIC-based PIC driver 2015-03-27 11:53:31 +01:00
mk hw: skeleton for building on x86_64 2015-03-27 11:53:16 +01:00
run run: modularize run tool 2015-01-26 12:28:40 +01:00
src hw_x86_64: Implement APIC-based PIC driver 2015-03-27 11:53:31 +01:00