Add KInterruptEvent skeleton; remove useless funcs
This commit is contained in:
25
mesosphere/source/interrupts/KInterruptEvent.cpp
Normal file
25
mesosphere/source/interrupts/KInterruptEvent.cpp
Normal 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;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user