diff --git a/src/kernel/InitForKernel.S b/src/kernel/InitForKernel.S index bb5ef99cda..30c10babc8 100644 --- a/src/kernel/InitForKernel.S +++ b/src/kernel/InitForKernel.S @@ -15,7 +15,7 @@ IMPORT_FUNC "InitForKernel",0x2C6E9FE9,sceKernelGetChunk #endif #ifdef F_InitForKernel_0004 - IMPORT_FUNC "InitForKernel",0x33D30F49,InitForKernel_33D30F49 + IMPORT_FUNC "InitForKernel",0x33D30F49,sceKernelShowIntrHandlerInfo #endif #ifdef F_InitForKernel_0005 IMPORT_FUNC_WITH_ALIAS "InitForKernel",0x7233B5BC,sceKernelApplicationType,sceKernelInitKeyConfig @@ -24,17 +24,17 @@ IMPORT_FUNC "InitForKernel",0x7A2333AD,sceKernelInitApitype #endif #ifdef F_InitForKernel_0007 - IMPORT_FUNC "InitForKernel",0x9F9AE99C,InitForKernel_9F9AE99C + IMPORT_FUNC "InitForKernel",0x9F9AE99C,sceKernelSetInitCallback #endif #ifdef F_InitForKernel_0008 IMPORT_FUNC "InitForKernel",0xA6E71B93,sceKernelInitFileName #endif #ifdef F_InitForKernel_0009 - IMPORT_FUNC "InitForKernel",0xC4F1BA33,InitForKernel_C4F1BA33 + IMPORT_FUNC "InitForKernel",0xC4F1BA33,sceKernelStartIntrLogging #endif #ifdef F_InitForKernel_0010 IMPORT_FUNC "InitForKernel",0xCE88E870,sceKernelReleaseChunk #endif #ifdef F_InitForKernel_0011 - IMPORT_FUNC "InitForKernel",0xFD0F25AD,InitForKernel_FD0F25AD + IMPORT_FUNC "InitForKernel",0xFD0F25AD,sceKernelShowIntrMaskTime #endif diff --git a/src/kernel/pspintrman_kernel.h b/src/kernel/pspintrman_kernel.h index 5eacc32f1e..94da9e8532 100644 --- a/src/kernel/pspintrman_kernel.h +++ b/src/kernel/pspintrman_kernel.h @@ -72,6 +72,15 @@ int sceKernelDisableIntr(int intno); */ int sceKernelIsIntrContext(void); +/** + * Query system call number of `function`. + * + * @param[in] function A function pointer of the function to get the syscall number. + * + * @return System call number if `>= 0`, `< 0` on error. + */ +int sceKernelQuerySystemCall(void *function); + #ifdef __cplusplus } #endif