mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
addIrq method
This commit is contained in:
parent
aee77860ba
commit
48fbfbe088
1 changed files with 5 additions and 0 deletions
|
@ -366,3 +366,8 @@ Core::getInterruptController(const std::string &interruptName) const {
|
|||
return nullptr;
|
||||
}
|
||||
}
|
||||
|
||||
void Core::addIrq(std::string irqName, int port_num,
|
||||
InterruptController *intc) {
|
||||
this->irqs[irqName] = {port_num, intc, ""};
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue