1
0
Fork 0

Kernel/IPC: Small codestyle cleanup

This commit is contained in:
Subv 2016-12-09 12:39:12 -05:00
parent 386112da32
commit deb83c9fc5
2 changed files with 1 additions and 3 deletions

View File

@ -9,9 +9,7 @@
#include "core/memory.h"
namespace Kernel {
class ServerSession;
// TODO(Subv): Move these declarations out of here
static const int kCommandHeaderOffset = 0x80; ///< Offset into command buffer of header
/**

View File

@ -94,8 +94,8 @@ ResultCode SessionRequestHandler::TranslateRequest(Kernel::SharedPtr<Kernel::Ser
return RESULT_SUCCESS;
}
Interface::Interface(u32 max_sessions) : max_sessions(max_sessions) {}
Interface::~Interface() = default;
Interface::Interface(u32 max_sessions) : max_sessions(max_sessions) { }
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.