Add KInterruptEvent skeleton; remove useless funcs

This commit is contained in:
TuxSH authored and Michael Scire committed 2019-06-03 17:41:05 -07:00
1 parent 2949d08eb2
commit 5222b429c5
8 files changed
+83 -19

No files matched your search

@@ -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;
}
}