mirror of
https://github.com/genodelabs/genode.git
synced 2025-06-23 17:17:38 +00:00
ACPI/IRQ: Add interrupt mode to IRQ connection
Read flags (polarity/trigger) from MADT and add information to 'Irq_connection' arguments. Issue #390
This commit is contained in:
committed by
Norman Feske
parent
4a1b545770
commit
ff0c7825e4
@ -28,6 +28,17 @@ namespace Genode {
|
||||
|
||||
struct Irq_session : Session
|
||||
{
|
||||
|
||||
/**
|
||||
* Interrupt trigger
|
||||
*/
|
||||
enum Trigger { TRIGGER_UNCHANGED = 0, TRIGGER_LEVEL, TRIGGER_EDGE };
|
||||
|
||||
/**
|
||||
* Interrupt trigger polarity
|
||||
*/
|
||||
enum Polarity { POLARITY_UNCHANGED = 0, POLARITY_HIGH, POLARITY_LOW };
|
||||
|
||||
static const char *service_name() { return "IRQ"; }
|
||||
|
||||
virtual ~Irq_session() { }
|
||||
|
Reference in New Issue
Block a user