mirror of
https://github.com/Atmosphere-NX/Atmosphere
synced 2024-12-25 22:21:14 +00:00
25 lines
395 B
C++
25 lines
395 B
C++
#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;
|
|
}
|
|
|
|
}
|