mirror of https://git.suyu.dev/suyu/suyu
Kernel/IPC: Small codestyle cleanup
This commit is contained in:
parent
386112da32
commit
deb83c9fc5
|
@ -9,9 +9,7 @@
|
||||||
#include "core/memory.h"
|
#include "core/memory.h"
|
||||||
|
|
||||||
namespace Kernel {
|
namespace Kernel {
|
||||||
class ServerSession;
|
|
||||||
|
|
||||||
// TODO(Subv): Move these declarations out of here
|
|
||||||
static const int kCommandHeaderOffset = 0x80; ///< Offset into command buffer of header
|
static const int kCommandHeaderOffset = 0x80; ///< Offset into command buffer of header
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -94,8 +94,8 @@ ResultCode SessionRequestHandler::TranslateRequest(Kernel::SharedPtr<Kernel::Ser
|
||||||
return RESULT_SUCCESS;
|
return RESULT_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Interface::Interface(u32 max_sessions) : max_sessions(max_sessions) {}
|
||||||
Interface::~Interface() = default;
|
Interface::~Interface() = default;
|
||||||
Interface::Interface(u32 max_sessions) : max_sessions(max_sessions) { }
|
|
||||||
|
|
||||||
void Interface::HandleSyncRequestImpl(Kernel::SharedPtr<Kernel::ServerSession> server_session) {
|
void Interface::HandleSyncRequestImpl(Kernel::SharedPtr<Kernel::ServerSession> server_session) {
|
||||||
// TODO(Subv): Make use of the server_session in the HLE service handlers to distinguish which session triggered each command.
|
// TODO(Subv): Make use of the server_session in the HLE service handlers to distinguish which session triggered each command.
|
||||||
|
|
Loading…
Reference in New Issue