Completes all the changes for hle handler building successfully

This commit is contained in:
Vishal Sharma
2018-03-09 01:20:38 +05:30
parent 6f35472e41
commit 3ab0a703b5
5 changed files with 19 additions and 15 deletions

View File

@@ -14,7 +14,7 @@
#include "core/hle/ipc.h"
#include "core/hle/kernel/kernel.h"
#include "core/hle/kernel/server_session.h"
#include "core/hle/kernel/thread.h"
namespace Service {
class ServiceFrameworkBase;
}
@@ -101,13 +101,12 @@ public:
* Returns the session through which this request was made. This can be used as a map key to
* access per-client data on services.
*/
const SharedPtr<Kernel::ServerSession>& Session() const {
SharedPtr<Kernel::ServerSession> Session() const {
return server_session;
}
using WakeupCallback = std::function<void(SharedPtr<Thread> thread, HLERequestContext& context,
ThreadWakeupReason reason)>;
/*
* Puts the specified guest thread to sleep until the returned event is signaled or until the
* specified timeout expires.