Changes

Jump to navigation Jump to search

SceKernelThreadMgr

2,952 bytes added, 21:59, 5 November 2019
! Version !! NID
|-
| 0.990-3.60 || 0x0C1D3F20
|}
! Version !! NID
|-
| 0.990-3.60 || 0x76C6555B
|}
 
<source lang="C">
/**
* @brief Event flag polling
*
* Polls the event flag specified by evfId.
*
* sceKernelPollEventFlag() is a system call that removes the function to enter standby state from sceKernelWaitEventFlag().
* Unlike sceKernelWaitEventFlag(), an error (SCE_KERNEL_ERROR_EVF_COND) is returned immediately if the wait release condition is not satisfied.
* In this case, SCE_KERNEL_EVF_WAITMODE_CLEAR_ALL / SCE_KERNEL_EVF_WAITMODE_CLEAR_PAT specification is ignored.
*
* @param evfId Specify the event flag identifier to be polled.
* @param bitPattern Specify the comparison value with the eventflag.
* @param waitMode Specify the wait mode. Specify one of the following:
* - SCE_KERNEL_EVF_WAITMODE_AND: Waiting for AND
* - SCE_KERNEL_EVF_WAITMODE_OR : Wait for OR
* In addition, you can optionally add one of the following specifications as a logical sum.
* - SCE_KERNEL_EVF_WAITMODE_CLEAR_ALL: Clear all bits after waiting
* - SCE_KERNEL_EVF_WAITMODE_CLEAR_PAT: After waiting, clear the bit specified in bitPattern
* @param pResultPat Specify a pointer to the SceUInt32 type variable that receives the eventflag value when waiting is established.
* @retval SCE_OK Success
* @retval (<0) Error code
*/
SceInt32 sceKernelPollEventFlagForDriver(SceUID evfId, SceUInt32 bitPattern, SceUInt32 waitMode, SceUInt32 *pResultPat);
</source>
=== sceKernelNotifyCallbackForDriver ===
| 1.69 || 0xDAB1B1C8
|}
 
<source lang="C">
/**
* @brief Event flag polling
*
* Polls the event flag specified by evfId.
*
* sceKernelPollEventFlag() is a system call that removes the function to enter standby state from sceKernelWaitEventFlag().
* Unlike sceKernelWaitEventFlag(), an error (SCE_KERNEL_ERROR_EVF_COND) is returned immediately if the wait release condition is not satisfied.
* In this case, SCE_KERNEL_EVF_WAITMODE_CLEAR_ALL / SCE_KERNEL_EVF_WAITMODE_CLEAR_PAT specification is ignored.
*
* @param evfId Specify the event flag identifier to be polled.
* @param bitPattern Specify the comparison value with the eventflag.
* @param waitMode Specify the wait mode. Specify one of the following:
* - SCE_KERNEL_EVF_WAITMODE_AND: Waiting for AND
* - SCE_KERNEL_EVF_WAITMODE_OR : Wait for OR
* In addition, you can optionally add one of the following specifications as a logical sum.
* - SCE_KERNEL_EVF_WAITMODE_CLEAR_ALL: Clear all bits after waiting
* - SCE_KERNEL_EVF_WAITMODE_CLEAR_PAT: After waiting, clear the bit specified in bitPattern
* @param pResultPat Specify a pointer to the SceUInt32 type variable that receives the eventflag value when waiting is established.
* @retval SCE_OK Success
* @retval (<0) Error code
*/
SceInt32 _sceKernelPollEventFlag(SceUID evfId, SceUInt32 bitPattern, SceUInt32 waitMode, SceUInt32 *pResultPat);
</source>
=== sceKernelDeleteSema ===
4,119

edits

Navigation menu