mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2024-12-26 01:31:56 +01:00
kernel/svc: Add request registering
All necessary objects are available here, making this a great place for the registering part.
This commit is contained in:
parent
b093d39a27
commit
cb0bd6530c
@ -387,7 +387,13 @@ ResultCode SVC::SendSyncRequest(Handle handle) {
|
|||||||
|
|
||||||
system.PrepareReschedule();
|
system.PrepareReschedule();
|
||||||
|
|
||||||
return session->SendSyncRequest(SharedFrom(kernel.GetThreadManager().GetCurrentThread()));
|
auto thread = SharedFrom(kernel.GetThreadManager().GetCurrentThread());
|
||||||
|
|
||||||
|
if (kernel.GetIPCRecorder().IsEnabled()) {
|
||||||
|
kernel.GetIPCRecorder().RegisterRequest(session, thread);
|
||||||
|
}
|
||||||
|
|
||||||
|
return session->SendSyncRequest(thread);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Close a handle
|
/// Close a handle
|
||||||
|
Loading…
Reference in New Issue
Block a user