mirror of
https://github.com/genodelabs/genode.git
synced 2025-06-15 13:48:17 +00:00
hw_x86_64: Initially mask IRQs in _create_irt_entry
This commit is contained in:
committed by
Christian Helmuth
parent
e0dbf67e1d
commit
e034846f32
@ -68,6 +68,7 @@ class Genode::Ioapic : public Mmio
|
|||||||
Irte::access_t _create_irt_entry(unsigned const irq)
|
Irte::access_t _create_irt_entry(unsigned const irq)
|
||||||
{
|
{
|
||||||
Irte::access_t irte = REMAP_BASE + irq;
|
Irte::access_t irte = REMAP_BASE + irq;
|
||||||
|
Irte::Mask::set(irte, 1);
|
||||||
|
|
||||||
/* Use level-triggered, low-active mode for non-legacy IRQs */
|
/* Use level-triggered, low-active mode for non-legacy IRQs */
|
||||||
if (irq > Board::ISA_IRQ_END) {
|
if (irq > Board::ISA_IRQ_END) {
|
||||||
|
Reference in New Issue
Block a user