mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
ips/intc: supply methods to use with new IrqPort
This commit is contained in:
parent
c710a95352
commit
6ee860971a
1 changed files with 6 additions and 0 deletions
|
@ -49,7 +49,13 @@ public:
|
|||
bool start();
|
||||
|
||||
int enableInterrupt(IrqMaskType mask, bool polling);
|
||||
int enableInterrupt(IrqPort irq, bool polling)
|
||||
{ return enableInterrupt(1 << irq.num, polling); }
|
||||
|
||||
int disableInterrupt(IrqMaskType mask);
|
||||
int disableInterrupt(IrqPort irq)
|
||||
{ return disableInterrupt(1 << irq.num); }
|
||||
|
||||
uint64_t waitForInterrupt(int irq);
|
||||
|
||||
private:
|
||||
|
|
Loading…
Add table
Reference in a new issue