Add KInterruptEvent skeleton; remove useless funcs
This commit is contained in:
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;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user