mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2026-03-01 05:04:39 +00:00
26 lines
395 B
C++
26 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;
|
|
}
|
|
|
|
}
|