genode/repos/base-hw/src
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
..
base hw_x86_64: Implement syscall with one to six arguments 2015-03-27 11:53:20 +01:00
core hw_x86_64: Implement APIC-based PIC driver 2015-03-27 11:53:31 +01:00
test thread API & CPU session: accounting of CPU quota 2014-11-28 12:02:37 +01:00