1
0
Fork 0
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:
Pascal Bauer 2024-09-20 17:36:19 +02:00 committed by Niklas Eiling
parent 5d883bda74
commit 97f2f18aa9

View file

@ -390,3 +390,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, ""};
}