diff --git a/Core/HLE/sceKernel.cpp b/Core/HLE/sceKernel.cpp index 4c05537e1..09523d8f1 100644 --- a/Core/HLE/sceKernel.cpp +++ b/Core/HLE/sceKernel.cpp @@ -639,6 +639,11 @@ const HLEFunction ThreadManForUser[] = {0x19CFF145,&WrapI_UCUIU, "sceKernelCreateLwMutex"}, {0x4C145944,&WrapI_IU, "sceKernelReferLwMutexStatusByID"}, // NOTE: LockLwMutex, UnlockLwMutex, and ReferLwMutexStatus are in Kernel_Library, see sceKernelInterrupt.cpp. + // The below should not be called directly. + //{0x71040D5C,0, "_sceKernelTryLockLwMutex"}, + //{0x7CFF8CF3,0, "_sceKernelLockLwMutex"}, + //{0x31327F19,0, "_sceKernelLockLwMutexCB"}, + //{0xBEED3A47,0, "_sceKernelUnlockLwMutex"}, {0xf8170fbe,&WrapI_I, "sceKernelDeleteMutex"}, {0xB011B11F,&WrapI_IIU, "sceKernelLockMutex", HLE_NOT_DISPATCH_SUSPENDED}, @@ -647,8 +652,10 @@ const HLEFunction ThreadManForUser[] = {0xb7d098c6,&WrapI_CUIU, "sceKernelCreateMutex"}, {0x0DDCD2C9,&WrapI_II, "sceKernelTryLockMutex"}, {0xA9C2CB9A,&WrapI_IU, "sceKernelReferMutexStatus"}, + {0x87D9223C,0, "sceKernelCancelMutex"}, {0xFCCFAD26,sceKernelCancelWakeupThread,"sceKernelCancelWakeupThread"}, + {0x1AF94D03,0,"sceKernelDonateWakeupThread"}, {0xea748e31,sceKernelChangeCurrentThreadAttr,"sceKernelChangeCurrentThreadAttr"}, {0x71bc9871,sceKernelChangeThreadPriority,"sceKernelChangeThreadPriority"}, {0x446D8DE6,WrapI_CUUIUU,"sceKernelCreateThread"}, @@ -682,6 +689,8 @@ const HLEFunction ThreadManForUser[] = {0x94416130,WrapU_UUUU,"sceKernelGetThreadmanIdList"}, {0x57CF62DD,WrapU_U,"sceKernelGetThreadmanIdType"}, {0xBC80EC7C,WrapU_UUUU, "sceKernelExtendThreadStack"}, + // NOTE: Takes a UID from sceKernelMemory's AllocMemoryBlock and seems thread stack related. + //{0x28BFD974,0,"ThreadManForUser_28BFD974"}, {0x82BC5777,WrapU64_V,"sceKernelGetSystemTimeWide"}, {0xdb738f35,WrapI_U,"sceKernelGetSystemTime"},