|
s32 | sceKernelCpuSuspendIntr (void) |
|
void | sceKernelCpuResumeIntr (s32 intr) |
|
void | sceKernelCpuResumeIntrWithSync (s32 intr) |
|
s32 | sceKernelIsCpuIntrSuspended (s32 intr) |
|
s32 | sceKernelIsCpuIntrEnable (void) |
|
s32 | sub_00000208 (s32 dlId, void *stall) |
|
s32 | sceGe_lazy_31129B95 (s32 dlId, void *stall) |
|
s32 | sceKernelGetThreadId (void) |
|
s32 | sceKernelCheckThreadStack (void) |
|
void * | sceKernelGetTlsAddr (SceUID uid) |
|
s32 | sceKernelTryLockLwMutex (SceLwMutex *mutex, s32 count) |
|
s32 | sceKernelTryLockLwMutex_600 (SceLwMutex *mutex, s32 count) |
|
s32 | sceKernelLockLwMutexCB (SceLwMutex *mutex, s32 count) |
|
s32 | sceKernelLockLwMutex (SceLwMutex *mutex, s32 count) |
|
s32 | sceKernelUnlockLwMutex (SceLwMutex *mutex, s32 count) |
|
s32 | Kernel_Library_3AD10D4D (SceLwMutex *mutex) |
|
s32 | sceKernelReferLwMutexStatus (SceLwMutex *mutex, u32 *addr) |
|
void * | sceKernelMemcpy (void *dst, const void *src, SceSize size) |
|
void * | sceKernelMemset (void *dst, s8 val, SceSize size) |
|
- Author
- geecko
- Version
- 6.60
The usersystemlib.prx module RE'ing.
◆ sceKernelCpuSuspendIntr()
s32 sceKernelCpuSuspendIntr |
( |
void |
| ) |
|
Suspends all interrupts.
- Returns
- Current state of the interrupt controller.
◆ sceKernelCpuResumeIntr()
void sceKernelCpuResumeIntr |
( |
s32 |
intr | ) |
|
Resumes all interrupts.
- Parameters
-
◆ sceKernelCpuResumeIntrWithSync()
void sceKernelCpuResumeIntrWithSync |
( |
s32 |
intr | ) |
|
Resumes all interrupts, with synchronization.
- Parameters
-
◆ sceKernelIsCpuIntrSuspended()
s32 sceKernelIsCpuIntrSuspended |
( |
s32 |
intr | ) |
|
Checks if interrupts are suspended.
- Parameters
-
- Returns
- 1 if the state indicates that interrupts are suspended, otherwise 0.
◆ sceKernelIsCpuIntrEnable()
s32 sceKernelIsCpuIntrEnable |
( |
void |
| ) |
|
Checks if interrupts are enabled.
- Returns
- 1 if interrupts are enabled, otherwise 0.
◆ sub_00000208()
s32 sub_00000208 |
( |
s32 |
dlId, |
|
|
void * |
stall |
|
) |
| |
Calls sceGeListUpdateStallAddr.
This is NOT an exported function because it is only used by sceGe_lazy_31129B95(). Its syscall instruction is patched at runtime by the GE module.
◆ sceGe_lazy_31129B95()
s32 sceGe_lazy_31129B95 |
( |
s32 |
dlId, |
|
|
void * |
stall |
|
) |
| |
Updates the stall address.
Calls sceGeListUpdateStallAddr with additional checks, limiting its call once out of 64 times. This function is only used by 'Genso Suikoden I & II'.
- Parameters
-
dlId | The ID of the display list which stall address will be modified. |
stall | A new stall address. |
- Returns
- SCE_ERROR_OK on success, otherwise <0 on error.
◆ sceKernelGetThreadId()
s32 sceKernelGetThreadId |
( |
void |
| ) |
|
Gets the current thread ID.
- Returns
- The current thread ID, otherwise <0 on error.
◆ sceKernelCheckThreadStack()
s32 sceKernelCheckThreadStack |
( |
void |
| ) |
|
Checks how much stack space is left for the current thread.
- Returns
- The current thread's stack space available, otherwise <0 on error.
◆ sceKernelGetTlsAddr()
void * sceKernelGetTlsAddr |
( |
SceUID |
uid | ) |
|
Gets a tls address.
- Parameters
-
uid | Unique tls identifier. |
- Returns
- A pointer, otherwise NULL on error.
◆ sceKernelTryLockLwMutex()
s32 sceKernelTryLockLwMutex |
( |
SceLwMutex * |
mutex, |
|
|
s32 |
count |
|
) |
| |
Tries to lock a lightweight mutex.
This function is non-blocking. If the mutex is flagged as recursive, count can be >1. For more information, see http://linux.die.net/man/3/pthread_mutex_trylock
- Parameters
-
mutex | Pointer to a lightweight mutex structure. |
count | The lock counter increment. |
- Returns
- SCE_ERROR_OK on success, otherwise SCE_ERROR_KERNEL_LWMUTEX_LOCKED on error.
◆ sceKernelTryLockLwMutex_600()
s32 sceKernelTryLockLwMutex_600 |
( |
SceLwMutex * |
mutex, |
|
|
s32 |
count |
|
) |
| |
Tries to lock a lightweight mutex (6.xx version).
This function is non-blocking. It could return SCE_ERROR_KERNEL_LWMUTEX_LOCKED. Unlike sceKernelTryLockLwMutex(), the error codes are more informative. If the mutex is flagged as recursive, count can be >1. For more information, see http://linux.die.net/man/3/pthread_mutex_trylock
- Parameters
-
mutex | Pointer to a lightweight mutex structure. |
count | The lock counter increment. |
- Returns
- SCE_ERROR_OK on success, otherwise <0 on error.
◆ sceKernelLockLwMutexCB()
s32 sceKernelLockLwMutexCB |
( |
SceLwMutex * |
mutex, |
|
|
s32 |
count |
|
) |
| |
Locks a lightweight mutex (callback).
This function can be blocking if the mutex is already locked. If the mutex is flagged as recursive, count can be >1. For more information, see http://linux.die.net/man/3/pthread_mutex_lock
- Parameters
-
mutex | Pointer to a lightweight mutex structure. |
count | The lock counter increment. |
- Returns
- SCE_ERROR_OK on success, otherwise <0 on error.
◆ sceKernelLockLwMutex()
s32 sceKernelLockLwMutex |
( |
SceLwMutex * |
mutex, |
|
|
s32 |
count |
|
) |
| |
Locks a lightweight mutex.
This function can be blocking if the mutex is already locked. If the mutex is flagged as recursive, count can be >1. For more information, see http://linux.die.net/man/3/pthread_mutex_lock
- Parameters
-
mutex | Pointer to a lightweight mutex structure. |
count | The lock counter increment. |
- Returns
- SCE_ERROR_OK on success, otherwise <0 on error.
◆ sceKernelUnlockLwMutex()
s32 sceKernelUnlockLwMutex |
( |
SceLwMutex * |
mutex, |
|
|
s32 |
count |
|
) |
| |
Unlocks a lightweight mutex.
This function is non-blocking. If the mutex is flagged as recursive, count can be >1. For more information, see http://linux.die.net/man/3/pthread_mutex_unlock
- Parameters
-
mutex | Pointer to a lightweight mutex structure. |
count | The lock counter decrement. |
- Returns
- SCE_ERROR_OK on success, otherwise <0 on error.
◆ Kernel_Library_3AD10D4D()
s32 Kernel_Library_3AD10D4D |
( |
SceLwMutex * |
mutex | ) |
|
Gets the lock count of a lightweight mutex.
- Parameters
-
mutex | Pointer to a lightweight mutex structure. |
- Returns
- The mutex's lock count, otherwise <0 on error.
◆ sceKernelReferLwMutexStatus()
s32 sceKernelReferLwMutexStatus |
( |
SceLwMutex * |
mutex, |
|
|
u32 * |
addr |
|
) |
| |
\fixme Refers the lightweight mutex's status.
- Parameters
-
mutex | Pointer to a lightweight mutex structure. |
addr | Unknown. |
- Returns
- Unknown, may be SCE_ERROR_OK on success and <0 on error.
◆ sceKernelMemcpy()
void * sceKernelMemcpy |
( |
void * |
dst, |
|
|
const void * |
src, |
|
|
SceSize |
size |
|
) |
| |
◆ sceKernelMemset()
void * sceKernelMemset |
( |
void * |
dst, |
|
|
s8 |
val, |
|
|
SceSize |
size |
|
) |
| |