Skip to content

Commit 727793b

Browse files
committed
feat: Add sceKernelQuerySystemCall to header
1 parent df5eda9 commit 727793b

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/kernel/pspintrman_kernel.h

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,15 @@ int sceKernelDisableIntr(int intno);
7272
*/
7373
int sceKernelIsIntrContext(void);
7474

75+
/**
76+
* Query system call number of `function`.
77+
*
78+
* @param[in] function A function pointer of the function to get the syscall number.
79+
*
80+
* @return System call number if `>= 0`, `< 0` on error.
81+
*/
82+
int sceKernelQuerySystemCall(void *function);
83+
7584
#ifdef __cplusplus
7685
}
7786
#endif

0 commit comments

Comments
 (0)