Add KInterruptEvent skeleton; remove useless funcs

This commit is contained in:
TuxSH
2018-11-07 01:04:20 +01:00
committed by Michael Scire
parent 2949d08eb2
commit 5222b429c5
8 changed files with 83 additions and 19 deletions

View File

@@ -0,0 +1,25 @@
#include <mesosphere/interrupts/KInterruptEvent.hpp>
namespace mesosphere
{
KInterruptEvent::~KInterruptEvent()
{
// delete receiver?
}
Result KInterruptEvent::Initialize(int irqId, u32 flags)
{
// TODO implement
(void)flags;
this->irqId = irqId;
isInitialized = true;
return ResultSuccess();
}
bool KInterruptEvent::IsAlive() const
{
return isInitialized;
}
}