hw_x86_64: Only block masking of legacy IRQs

Allow legacy IRQ unmasking. Initially, all IRQs are masked and must be
explicitly unmasked by a driver.
This commit is contained in:
Reto Buerki 2015-05-12 21:50:57 +02:00 committed by Christian Helmuth
parent e034846f32
commit 6af893123e

View File

@ -112,7 +112,7 @@ class Genode::Ioapic : public Mmio
* flag and edge-triggered interrupts or:
* http://yarchive.net/comp/linux/edge_triggered_interrupts.html
*/
if (_edge_triggered(vector)) { return; }
if (_edge_triggered(vector) && set) { return; }
write<Ioregsel>(IOREDTBL + (2 * (vector - REMAP_BASE)));
Irte::access_t irte = read<Iowin>();