kern: implement SvcMapProcessMemory, SvcUnmapProcessMemory
This commit is contained in:
1 parent
3cf793f87e
commit
fb6e85b291
4 files changed
+112
-19
No files matched your search
@@ -90,7 +90,7 @@ namespace ams::kern {
|
||||
R_SUCCEED_IF(test_tag != (handle | ams::svc::HandleWaitMask));
|
||||
|
||||
/* Get the lock owner thread. */
|
||||
owner_thread = GetCurrentProcess().GetHandleTable().GetObject<KThread>(handle);
|
||||
owner_thread = GetCurrentProcess().GetHandleTable().GetObjectWithoutPseudoHandle<KThread>(handle);
|
||||
R_UNLESS(owner_thread.IsNotNull(), svc::ResultInvalidHandle());
|
||||
|
||||
/* Update the lock. */
|
||||
|
||||
Reference in new issue
Block a user