hw_x86_64: Initialize complete I/O APIC IRT entries

Also set high 32 bits of I/O APIC redirection table entries.
This commit is contained in:
Adrian-Ken Rueegsegger 2015-04-24 17:23:13 +02:00 committed by Christian Helmuth
parent f2fe0eccb8
commit 36b2cf932b
1 changed files with 4 additions and 1 deletions

View File

@ -97,8 +97,11 @@ class Genode::Pic : public Mmio
{
/* Remap all supported IRQs */
for (unsigned i = 0; i <= IRTE_COUNT; i++) {
uint64_t val = _create_irt_entry(i);
write<Ioregsel>(IOREDTBL + 2 * i + 1);
write<Iowin>(val >> 32);
write<Ioregsel>(IOREDTBL + 2 * i);
write<Iowin>(_create_irt_entry(i));
write<Iowin>(val & 0xffffffff);
}
};