mirror of
https://github.com/genodelabs/genode.git
synced 2025-02-20 01:36:22 +00:00
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:
parent
f2fe0eccb8
commit
36b2cf932b
@ -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);
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user