mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2024-11-13 13:35:14 +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