mirror of
https://github.com/mmueller41/genode.git
synced 2026-01-21 12:32:56 +01:00
committed by
Christian Helmuth
parent
8e0fe39248
commit
ca7bcc2d80
@@ -99,8 +99,9 @@ Irq_object::Irq_object(unsigned irq)
|
||||
Irq_session_component::Irq_session_component(Range_allocator &irq_alloc,
|
||||
const char *args)
|
||||
:
|
||||
_irq_number(Irq_args(args).irq_number() +
|
||||
Irq_args(args).type() != TYPE_LEGACY ? Irq_object::MSI_OFFSET : 0),
|
||||
_irq_number(unsigned(Irq_args(args).type() == TYPE_LEGACY ?
|
||||
Irq_args(args).irq_number() :
|
||||
Irq_args(args).irq_number() + Irq_object::MSI_OFFSET)),
|
||||
_irq_alloc(irq_alloc),
|
||||
_irq_object(_irq_number)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user