Service/HTTP: Log the PIDs in the Initialize functions.

This commit is contained in:
Subv 2018-08-03 15:24:26 -05:00
parent d19dbe8419
commit 79db1f8b49

View file

@ -36,7 +36,7 @@ void HTTP_C::Initialize(Kernel::HLERequestContext& ctx) {
shared_memory->name = "HTTP_C:shared_memory";
}
LOG_WARNING(Service_HTTP, "(STUBBED) called, shared memory size: {}", shmem_size);
LOG_WARNING(Service_HTTP, "(STUBBED) called, shared memory size: {} pid: {}", shmem_size, pid);
auto* session_data = GetSessionData(ctx.Session());
ASSERT(session_data);
@ -57,7 +57,7 @@ void HTTP_C::Initialize(Kernel::HLERequestContext& ctx) {
void HTTP_C::InitializeConnectionSession(Kernel::HLERequestContext& ctx) {
IPC::RequestParser rp(ctx, 0x8, 1, 2);
const u32 context_handle = rp.Pop<u32>();
const Context::Handle context_handle = rp.Pop<u32>();
u32 pid = rp.PopPID();
auto* session_data = GetSessionData(ctx.Session());
@ -84,7 +84,7 @@ void HTTP_C::InitializeConnectionSession(Kernel::HLERequestContext& ctx) {
IPC::RequestBuilder rb = rp.MakeBuilder(1, 0);
rb.Push(RESULT_SUCCESS);
LOG_DEBUG(Service_HTTP, "called, context_id={}", context_handle);
LOG_DEBUG(Service_HTTP, "called, context_id={} pid={}", context_handle, pid);
}
void HTTP_C::CreateContext(Kernel::HLERequestContext& ctx) {