Write KEvent::Initialize, fix build issues

This commit is contained in:
TuxSH
2018-11-05 13:57:50 +01:00
committed by Michael Scire
parent a4419dfc41
commit 698fa9fcb0
12 changed files with 100 additions and 58 deletions

View File

@@ -0,0 +1,26 @@
#include <mesosphere/processes/KEvent.hpp>
#include <mesosphere/core/KCoreContext.hpp>
#include <mesosphere/processes/KProcess.hpp>
namespace mesosphere
{
KEvent::~KEvent()
{
}
bool KEvent::IsAlive() const
{
return isInitialized;
}
Result KEvent::Initialize()
{
SetClientServerParent();
SetResourceOwner(KCoreContext::GetCurrentInstance().GetCurrentProcess());
isInitialized = true;
return ResultSuccess{};
}
}