mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-06 15:05:59 +00:00
PSV modules refactoring
This commit is contained in:
parent
8229c0ed3d
commit
bc9481db1b
129 changed files with 5000 additions and 4588 deletions
|
|
@ -2,168 +2,11 @@
|
|||
#include "Emu/System.h"
|
||||
#include "Emu/ARMv7/PSVFuncList.h"
|
||||
|
||||
#include "sceLibKernel.h"
|
||||
|
||||
extern psv_log_base sceUlt;
|
||||
|
||||
#define CHECK_SIZE(type, size) static_assert(sizeof(type) == size, "Invalid " #type " size")
|
||||
|
||||
struct _SceUltOptParamHeader
|
||||
{
|
||||
s64 reserved[2];
|
||||
};
|
||||
|
||||
struct SceUltWaitingQueueResourcePoolOptParam
|
||||
{
|
||||
_SceUltOptParamHeader header;
|
||||
u64 reserved[14];
|
||||
};
|
||||
|
||||
CHECK_SIZE(SceUltWaitingQueueResourcePoolOptParam, 128);
|
||||
|
||||
struct SceUltWaitingQueueResourcePool
|
||||
{
|
||||
u64 reserved[32];
|
||||
};
|
||||
|
||||
CHECK_SIZE(SceUltWaitingQueueResourcePool, 256);
|
||||
|
||||
struct SceUltQueueDataResourcePoolOptParam
|
||||
{
|
||||
_SceUltOptParamHeader header;
|
||||
u64 reserved[14];
|
||||
};
|
||||
|
||||
CHECK_SIZE(SceUltQueueDataResourcePoolOptParam, 128);
|
||||
|
||||
struct SceUltQueueDataResourcePool
|
||||
{
|
||||
u64 reserved[32];
|
||||
};
|
||||
|
||||
CHECK_SIZE(SceUltQueueDataResourcePool, 256);
|
||||
|
||||
struct SceUltMutexOptParam
|
||||
{
|
||||
_SceUltOptParamHeader header;
|
||||
u32 attribute;
|
||||
u32 reserved_0;
|
||||
u64 reserved[13];
|
||||
};
|
||||
|
||||
CHECK_SIZE(SceUltMutexOptParam, 128);
|
||||
|
||||
struct SceUltMutex
|
||||
{
|
||||
u64 reserved[32];
|
||||
};
|
||||
|
||||
CHECK_SIZE(SceUltMutex, 256);
|
||||
|
||||
struct SceUltConditionVariableOptParam
|
||||
{
|
||||
_SceUltOptParamHeader header;
|
||||
u64 reserved[14];
|
||||
};
|
||||
|
||||
CHECK_SIZE(SceUltConditionVariableOptParam, 128);
|
||||
|
||||
struct SceUltConditionVariable
|
||||
{
|
||||
u64 reserved[32];
|
||||
};
|
||||
|
||||
CHECK_SIZE(SceUltConditionVariable, 256);
|
||||
|
||||
struct SceUltQueueOptParam
|
||||
{
|
||||
_SceUltOptParamHeader header;
|
||||
u64 reserved[14];
|
||||
};
|
||||
|
||||
CHECK_SIZE(SceUltQueueOptParam, 128);
|
||||
|
||||
struct SceUltQueue
|
||||
{
|
||||
u64 reserved[32];
|
||||
};
|
||||
|
||||
CHECK_SIZE(SceUltQueue, 256);
|
||||
|
||||
struct SceUltReaderWriterLockOptParam
|
||||
{
|
||||
_SceUltOptParamHeader header;
|
||||
u64 reserved[14];
|
||||
};
|
||||
|
||||
CHECK_SIZE(SceUltReaderWriterLockOptParam, 128);
|
||||
|
||||
struct SceUltReaderWriterLock
|
||||
{
|
||||
u64 reserved[32];
|
||||
};
|
||||
|
||||
CHECK_SIZE(SceUltReaderWriterLock, 256);
|
||||
|
||||
struct SceUltSemaphoreOptParam
|
||||
{
|
||||
_SceUltOptParamHeader header;
|
||||
u64 reserved[14];
|
||||
};
|
||||
|
||||
CHECK_SIZE(SceUltSemaphoreOptParam, 128);
|
||||
|
||||
struct SceUltSemaphore
|
||||
{
|
||||
u64 reserved[32];
|
||||
};
|
||||
|
||||
CHECK_SIZE(SceUltSemaphore, 256);
|
||||
|
||||
struct SceUltUlthreadRuntimeOptParam
|
||||
{
|
||||
_SceUltOptParamHeader header;
|
||||
|
||||
u32 oneShotThreadStackSize;
|
||||
s32 workerThreadPriority;
|
||||
u32 workerThreadCpuAffinityMask;
|
||||
u32 workerThreadAttr;
|
||||
vm::psv::ptr<const SceKernelThreadOptParam> workerThreadOptParam;
|
||||
|
||||
u64 reserved[11];
|
||||
};
|
||||
|
||||
CHECK_SIZE(SceUltUlthreadRuntimeOptParam, 128);
|
||||
|
||||
struct SceUltUlthreadRuntime
|
||||
{
|
||||
u64 reserved[128];
|
||||
};
|
||||
|
||||
CHECK_SIZE(SceUltUlthreadRuntime, 1024);
|
||||
|
||||
struct SceUltUlthreadOptParam
|
||||
{
|
||||
_SceUltOptParamHeader header;
|
||||
u32 attribute;
|
||||
u32 reserved_0;
|
||||
u64 reserved[13];
|
||||
};
|
||||
|
||||
CHECK_SIZE(SceUltUlthreadOptParam, 128);
|
||||
|
||||
struct SceUltUlthread
|
||||
{
|
||||
u64 reserved[32];
|
||||
};
|
||||
|
||||
CHECK_SIZE(SceUltUlthread, 256);
|
||||
|
||||
typedef vm::psv::ptr<s32(u32 arg)> SceUltUlthreadEntry;
|
||||
#include "sceUlt.h"
|
||||
|
||||
// Functions
|
||||
|
||||
s32 _sceUltWaitingQueueResourcePoolOptParamInitialize(vm::psv::ptr<SceUltWaitingQueueResourcePoolOptParam> optParam, u32 buildVersion)
|
||||
s32 _sceUltWaitingQueueResourcePoolOptParamInitialize(vm::ptr<SceUltWaitingQueueResourcePoolOptParam> optParam, u32 buildVersion)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
|
@ -174,23 +17,23 @@ u32 sceUltWaitingQueueResourcePoolGetWorkAreaSize(u32 numThreads, u32 numSyncObj
|
|||
}
|
||||
|
||||
s32 _sceUltWaitingQueueResourcePoolCreate(
|
||||
vm::psv::ptr<SceUltWaitingQueueResourcePool> pool,
|
||||
vm::psv::ptr<const char> name,
|
||||
vm::ptr<SceUltWaitingQueueResourcePool> pool,
|
||||
vm::ptr<const char> name,
|
||||
u32 numThreads,
|
||||
u32 numSyncObjects,
|
||||
vm::psv::ptr<void> workArea,
|
||||
vm::psv::ptr<const SceUltWaitingQueueResourcePoolOptParam> optParam,
|
||||
vm::ptr<void> workArea,
|
||||
vm::ptr<const SceUltWaitingQueueResourcePoolOptParam> optParam,
|
||||
u32 buildVersion)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceUltWaitingQueueResourcePoolDestroy(vm::psv::ptr<SceUltWaitingQueueResourcePool> pool)
|
||||
s32 sceUltWaitingQueueResourcePoolDestroy(vm::ptr<SceUltWaitingQueueResourcePool> pool)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 _sceUltQueueDataResourcePoolOptParamInitialize(vm::psv::ptr<SceUltQueueDataResourcePoolOptParam> optParam, u32 buildVersion)
|
||||
s32 _sceUltQueueDataResourcePoolOptParamInitialize(vm::ptr<SceUltQueueDataResourcePoolOptParam> optParam, u32 buildVersion)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
|
@ -201,20 +44,20 @@ u32 sceUltQueueDataResourcePoolGetWorkAreaSize(u32 numData, u32 dataSize, u32 nu
|
|||
}
|
||||
|
||||
s32 _sceUltQueueDataResourcePoolCreate(
|
||||
vm::psv::ptr<SceUltQueueDataResourcePool> pool,
|
||||
vm::psv::ptr<const char> name,
|
||||
vm::ptr<SceUltQueueDataResourcePool> pool,
|
||||
vm::ptr<const char> name,
|
||||
u32 numData,
|
||||
u32 dataSize,
|
||||
u32 numQueueObject,
|
||||
vm::psv::ptr<SceUltWaitingQueueResourcePool> waitingQueueResourcePool,
|
||||
vm::psv::ptr<void> workArea,
|
||||
vm::psv::ptr<const SceUltQueueDataResourcePoolOptParam> optParam,
|
||||
vm::ptr<SceUltWaitingQueueResourcePool> waitingQueueResourcePool,
|
||||
vm::ptr<void> workArea,
|
||||
vm::ptr<const SceUltQueueDataResourcePoolOptParam> optParam,
|
||||
u32 buildVersion)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceUltQueueDataResourcePoolDestroy(vm::psv::ptr<SceUltQueueDataResourcePool> pool)
|
||||
s32 sceUltQueueDataResourcePoolDestroy(vm::ptr<SceUltQueueDataResourcePool> pool)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
|
@ -224,89 +67,89 @@ u32 sceUltMutexGetStandaloneWorkAreaSize(u32 waitingQueueDepth, u32 numCondition
|
|||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 _sceUltMutexOptParamInitialize(vm::psv::ptr<SceUltMutexOptParam> optParam, u32 buildVersion)
|
||||
s32 _sceUltMutexOptParamInitialize(vm::ptr<SceUltMutexOptParam> optParam, u32 buildVersion)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 _sceUltMutexCreate(
|
||||
vm::psv::ptr<SceUltMutex> mutex,
|
||||
vm::psv::ptr<const char> name,
|
||||
vm::psv::ptr<SceUltWaitingQueueResourcePool> waitingQueueResourcePool,
|
||||
vm::psv::ptr<const SceUltMutexOptParam> optParam,
|
||||
vm::ptr<SceUltMutex> mutex,
|
||||
vm::ptr<const char> name,
|
||||
vm::ptr<SceUltWaitingQueueResourcePool> waitingQueueResourcePool,
|
||||
vm::ptr<const SceUltMutexOptParam> optParam,
|
||||
u32 buildVersion)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 _sceUltMutexCreateStandalone(
|
||||
vm::psv::ptr<SceUltMutex> mutex,
|
||||
vm::psv::ptr<const char> name,
|
||||
vm::ptr<SceUltMutex> mutex,
|
||||
vm::ptr<const char> name,
|
||||
u32 numConditionVariable,
|
||||
u32 maxNumThreads,
|
||||
vm::psv::ptr<void> workArea,
|
||||
vm::psv::ptr<const SceUltMutexOptParam> optParam,
|
||||
vm::ptr<void> workArea,
|
||||
vm::ptr<const SceUltMutexOptParam> optParam,
|
||||
u32 buildVersion)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceUltMutexLock(vm::psv::ptr<SceUltMutex> mutex)
|
||||
s32 sceUltMutexLock(vm::ptr<SceUltMutex> mutex)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceUltMutexTryLock(vm::psv::ptr<SceUltMutex> mutex)
|
||||
s32 sceUltMutexTryLock(vm::ptr<SceUltMutex> mutex)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceUltMutexUnlock(vm::psv::ptr<SceUltMutex> mutex)
|
||||
s32 sceUltMutexUnlock(vm::ptr<SceUltMutex> mutex)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceUltMutexDestroy(vm::psv::ptr<SceUltMutex> mutex)
|
||||
s32 sceUltMutexDestroy(vm::ptr<SceUltMutex> mutex)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 _sceUltConditionVariableOptParamInitialize(vm::psv::ptr<SceUltConditionVariableOptParam> optParam, u32 buildVersion)
|
||||
s32 _sceUltConditionVariableOptParamInitialize(vm::ptr<SceUltConditionVariableOptParam> optParam, u32 buildVersion)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 _sceUltConditionVariableCreate(
|
||||
vm::psv::ptr<SceUltConditionVariable> conditionVariable,
|
||||
vm::psv::ptr<const char> name,
|
||||
vm::psv::ptr<SceUltMutex> mutex,
|
||||
vm::psv::ptr<const SceUltConditionVariableOptParam> optParam,
|
||||
vm::ptr<SceUltConditionVariable> conditionVariable,
|
||||
vm::ptr<const char> name,
|
||||
vm::ptr<SceUltMutex> mutex,
|
||||
vm::ptr<const SceUltConditionVariableOptParam> optParam,
|
||||
u32 buildVersion)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceUltConditionVariableSignal(vm::psv::ptr<SceUltConditionVariable> conditionVariable)
|
||||
s32 sceUltConditionVariableSignal(vm::ptr<SceUltConditionVariable> conditionVariable)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceUltConditionVariableSignalAll(vm::psv::ptr<SceUltConditionVariable> conditionVariable)
|
||||
s32 sceUltConditionVariableSignalAll(vm::ptr<SceUltConditionVariable> conditionVariable)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceUltConditionVariableWait(vm::psv::ptr<SceUltConditionVariable> conditionVariable)
|
||||
s32 sceUltConditionVariableWait(vm::ptr<SceUltConditionVariable> conditionVariable)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceUltConditionVariableDestroy(vm::psv::ptr<SceUltConditionVariable> conditionVariable)
|
||||
s32 sceUltConditionVariableDestroy(vm::ptr<SceUltConditionVariable> conditionVariable)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 _sceUltQueueOptParamInitialize(vm::psv::ptr<SceUltQueueOptParam> optParam, u32 buildVersion)
|
||||
s32 _sceUltQueueOptParamInitialize(vm::ptr<SceUltQueueOptParam> optParam, u32 buildVersion)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
|
@ -319,76 +162,76 @@ u32 sceUltQueueGetStandaloneWorkAreaSize(u32 queueDepth,
|
|||
}
|
||||
|
||||
s32 _sceUltQueueCreate(
|
||||
vm::psv::ptr<SceUltQueue> queue,
|
||||
vm::psv::ptr<const char> _name,
|
||||
vm::ptr<SceUltQueue> queue,
|
||||
vm::ptr<const char> _name,
|
||||
u32 dataSize,
|
||||
vm::psv::ptr<SceUltWaitingQueueResourcePool> resourcePool,
|
||||
vm::psv::ptr<SceUltQueueDataResourcePool> queueResourcePool,
|
||||
vm::psv::ptr<const SceUltQueueOptParam> optParam,
|
||||
vm::ptr<SceUltWaitingQueueResourcePool> resourcePool,
|
||||
vm::ptr<SceUltQueueDataResourcePool> queueResourcePool,
|
||||
vm::ptr<const SceUltQueueOptParam> optParam,
|
||||
u32 buildVersion)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 _sceUltQueueCreateStandalone(
|
||||
vm::psv::ptr<SceUltQueue> queue,
|
||||
vm::psv::ptr<const char> name,
|
||||
vm::ptr<SceUltQueue> queue,
|
||||
vm::ptr<const char> name,
|
||||
u32 queueDepth,
|
||||
u32 dataSize,
|
||||
u32 waitingQueueLength,
|
||||
vm::psv::ptr<void> workArea,
|
||||
vm::psv::ptr<const SceUltQueueOptParam> optParam,
|
||||
vm::ptr<void> workArea,
|
||||
vm::ptr<const SceUltQueueOptParam> optParam,
|
||||
u32 buildVersion)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceUltQueuePush(vm::psv::ptr<SceUltQueue> queue, vm::psv::ptr<const void> data)
|
||||
s32 sceUltQueuePush(vm::ptr<SceUltQueue> queue, vm::ptr<const void> data)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceUltQueueTryPush(vm::psv::ptr<SceUltQueue> queue, vm::psv::ptr<const void> data)
|
||||
s32 sceUltQueueTryPush(vm::ptr<SceUltQueue> queue, vm::ptr<const void> data)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceUltQueuePop(vm::psv::ptr<SceUltQueue> queue, vm::psv::ptr<void> data)
|
||||
s32 sceUltQueuePop(vm::ptr<SceUltQueue> queue, vm::ptr<void> data)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceUltQueueTryPop(vm::psv::ptr<SceUltQueue> queue, vm::psv::ptr<void> data)
|
||||
s32 sceUltQueueTryPop(vm::ptr<SceUltQueue> queue, vm::ptr<void> data)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceUltQueueDestroy(vm::psv::ptr<SceUltQueue> queue)
|
||||
s32 sceUltQueueDestroy(vm::ptr<SceUltQueue> queue)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 _sceUltReaderWriterLockOptParamInitialize(vm::psv::ptr<SceUltReaderWriterLockOptParam> optParam, u32 buildVersion)
|
||||
s32 _sceUltReaderWriterLockOptParamInitialize(vm::ptr<SceUltReaderWriterLockOptParam> optParam, u32 buildVersion)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 _sceUltReaderWriterLockCreate(
|
||||
vm::psv::ptr<SceUltReaderWriterLock> rwlock,
|
||||
vm::psv::ptr<const char> name,
|
||||
vm::psv::ptr<SceUltWaitingQueueResourcePool> waitingQueueResourcePool,
|
||||
vm::psv::ptr<const SceUltReaderWriterLockOptParam> optParam,
|
||||
vm::ptr<SceUltReaderWriterLock> rwlock,
|
||||
vm::ptr<const char> name,
|
||||
vm::ptr<SceUltWaitingQueueResourcePool> waitingQueueResourcePool,
|
||||
vm::ptr<const SceUltReaderWriterLockOptParam> optParam,
|
||||
u32 buildVersion)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 _sceUltReaderWriterLockCreateStandalone(
|
||||
vm::psv::ptr<SceUltReaderWriterLock> rwlock,
|
||||
vm::psv::ptr<const char> name,
|
||||
vm::ptr<SceUltReaderWriterLock> rwlock,
|
||||
vm::ptr<const char> name,
|
||||
u32 waitingQueueDepth,
|
||||
vm::psv::ptr<void> workArea,
|
||||
vm::psv::ptr<const SceUltReaderWriterLockOptParam> optParam,
|
||||
vm::ptr<void> workArea,
|
||||
vm::ptr<const SceUltReaderWriterLockOptParam> optParam,
|
||||
u32 buildVersion)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
|
|
@ -399,78 +242,78 @@ u32 sceUltReaderWriterLockGetStandaloneWorkAreaSize(u32 waitingQueueDepth)
|
|||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceUltReaderWriterLockLockRead(vm::psv::ptr<SceUltReaderWriterLock> rwlock)
|
||||
s32 sceUltReaderWriterLockLockRead(vm::ptr<SceUltReaderWriterLock> rwlock)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceUltReaderWriterLockTryLockRead(vm::psv::ptr<SceUltReaderWriterLock> rwlock)
|
||||
s32 sceUltReaderWriterLockTryLockRead(vm::ptr<SceUltReaderWriterLock> rwlock)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceUltReaderWriterLockUnlockRead(vm::psv::ptr<SceUltReaderWriterLock> rwlock)
|
||||
s32 sceUltReaderWriterLockUnlockRead(vm::ptr<SceUltReaderWriterLock> rwlock)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceUltReaderWriterLockLockWrite(vm::psv::ptr<SceUltReaderWriterLock> rwlock)
|
||||
s32 sceUltReaderWriterLockLockWrite(vm::ptr<SceUltReaderWriterLock> rwlock)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceUltReaderWriterLockTryLockWrite(vm::psv::ptr<SceUltReaderWriterLock> rwlock)
|
||||
s32 sceUltReaderWriterLockTryLockWrite(vm::ptr<SceUltReaderWriterLock> rwlock)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceUltReaderWriterLockUnlockWrite(vm::psv::ptr<SceUltReaderWriterLock> rwlock)
|
||||
s32 sceUltReaderWriterLockUnlockWrite(vm::ptr<SceUltReaderWriterLock> rwlock)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceUltReaderWriterLockDestroy(vm::psv::ptr<SceUltReaderWriterLock> rwlock)
|
||||
s32 sceUltReaderWriterLockDestroy(vm::ptr<SceUltReaderWriterLock> rwlock)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 _sceUltSemaphoreOptParamInitialize(vm::psv::ptr<SceUltSemaphoreOptParam> optParam, u32 buildVersion)
|
||||
s32 _sceUltSemaphoreOptParamInitialize(vm::ptr<SceUltSemaphoreOptParam> optParam, u32 buildVersion)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 _sceUltSemaphoreCreate(
|
||||
vm::psv::ptr<SceUltSemaphore> semaphore,
|
||||
vm::psv::ptr<const char> name,
|
||||
vm::ptr<SceUltSemaphore> semaphore,
|
||||
vm::ptr<const char> name,
|
||||
s32 numInitialResource,
|
||||
vm::psv::ptr<SceUltWaitingQueueResourcePool> waitingQueueResourcePool,
|
||||
vm::psv::ptr<const SceUltSemaphoreOptParam> optParam,
|
||||
vm::ptr<SceUltWaitingQueueResourcePool> waitingQueueResourcePool,
|
||||
vm::ptr<const SceUltSemaphoreOptParam> optParam,
|
||||
u32 buildVersion)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceUltSemaphoreAcquire(vm::psv::ptr<SceUltSemaphore> semaphore, s32 numResource)
|
||||
s32 sceUltSemaphoreAcquire(vm::ptr<SceUltSemaphore> semaphore, s32 numResource)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceUltSemaphoreTryAcquire(vm::psv::ptr<SceUltSemaphore> semaphore, s32 numResource)
|
||||
s32 sceUltSemaphoreTryAcquire(vm::ptr<SceUltSemaphore> semaphore, s32 numResource)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceUltSemaphoreRelease(vm::psv::ptr<SceUltSemaphore> semaphore, s32 numResource)
|
||||
s32 sceUltSemaphoreRelease(vm::ptr<SceUltSemaphore> semaphore, s32 numResource)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceUltSemaphoreDestroy(vm::psv::ptr<SceUltSemaphore> semaphore)
|
||||
s32 sceUltSemaphoreDestroy(vm::ptr<SceUltSemaphore> semaphore)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 _sceUltUlthreadRuntimeOptParamInitialize(vm::psv::ptr<SceUltUlthreadRuntimeOptParam> optParam, u32 buildVersion)
|
||||
s32 _sceUltUlthreadRuntimeOptParamInitialize(vm::ptr<SceUltUlthreadRuntimeOptParam> optParam, u32 buildVersion)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
|
@ -481,36 +324,36 @@ u32 sceUltUlthreadRuntimeGetWorkAreaSize(u32 numMaxUlthread, u32 numWorkerThread
|
|||
}
|
||||
|
||||
s32 _sceUltUlthreadRuntimeCreate(
|
||||
vm::psv::ptr<SceUltUlthreadRuntime> runtime,
|
||||
vm::psv::ptr<const char> name,
|
||||
vm::ptr<SceUltUlthreadRuntime> runtime,
|
||||
vm::ptr<const char> name,
|
||||
u32 numMaxUlthread,
|
||||
u32 numWorkerThread,
|
||||
vm::psv::ptr<void> workArea,
|
||||
vm::psv::ptr<const SceUltUlthreadRuntimeOptParam> optParam,
|
||||
vm::ptr<void> workArea,
|
||||
vm::ptr<const SceUltUlthreadRuntimeOptParam> optParam,
|
||||
u32 buildVersion)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceUltUlthreadRuntimeDestroy(vm::psv::ptr<SceUltUlthreadRuntime> runtime)
|
||||
s32 sceUltUlthreadRuntimeDestroy(vm::ptr<SceUltUlthreadRuntime> runtime)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 _sceUltUlthreadOptParamInitialize(vm::psv::ptr<SceUltUlthreadOptParam> optParam, u32 buildVersion)
|
||||
s32 _sceUltUlthreadOptParamInitialize(vm::ptr<SceUltUlthreadOptParam> optParam, u32 buildVersion)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 _sceUltUlthreadCreate(
|
||||
vm::psv::ptr<SceUltUlthread> ulthread,
|
||||
vm::psv::ptr<const char> name,
|
||||
SceUltUlthreadEntry entry,
|
||||
vm::ptr<SceUltUlthread> ulthread,
|
||||
vm::ptr<const char> name,
|
||||
vm::ptr<SceUltUlthreadEntry> entry,
|
||||
u32 arg,
|
||||
vm::psv::ptr<void> context,
|
||||
vm::ptr<void> context,
|
||||
u32 sizeContext,
|
||||
vm::psv::ptr<SceUltUlthreadRuntime> runtime,
|
||||
vm::psv::ptr<const SceUltUlthreadOptParam> optParam,
|
||||
vm::ptr<SceUltUlthreadRuntime> runtime,
|
||||
vm::ptr<const SceUltUlthreadOptParam> optParam,
|
||||
u32 buildVersion)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
|
|
@ -526,17 +369,17 @@ s32 sceUltUlthreadExit(s32 status)
|
|||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceUltUlthreadJoin(vm::psv::ptr<SceUltUlthread> ulthread, vm::psv::ptr<s32> status)
|
||||
s32 sceUltUlthreadJoin(vm::ptr<SceUltUlthread> ulthread, vm::ptr<s32> status)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceUltUlthreadTryJoin(vm::psv::ptr<SceUltUlthread> ulthread, vm::psv::ptr<s32> status)
|
||||
s32 sceUltUlthreadTryJoin(vm::ptr<SceUltUlthread> ulthread, vm::ptr<s32> status)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceUltUlthreadGetSelf(vm::psv::pptr<SceUltUlthread> ulthread)
|
||||
s32 sceUltUlthreadGetSelf(vm::pptr<SceUltUlthread> ulthread)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
|
@ -548,6 +391,7 @@ psv_log_base sceUlt("SceUlt", []()
|
|||
sceUlt.on_load = nullptr;
|
||||
sceUlt.on_unload = nullptr;
|
||||
sceUlt.on_stop = nullptr;
|
||||
sceUlt.on_error = nullptr;
|
||||
|
||||
REG_FUNC(0xEF094E35, _sceUltWaitingQueueResourcePoolOptParamInitialize);
|
||||
REG_FUNC(0x644DA029, sceUltWaitingQueueResourcePoolGetWorkAreaSize);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue