/* Copyright (C) 2011, 2012 The uOFW team See the file COPYING for copying permission. */ #ifndef USERSYSTEMLIB_KERNEL_H #define USERSYSTEMLIB_KERNEL_H #include "common_header.h" #include s32 sceKernelCpuSuspendIntr(void); void sceKernelCpuResumeIntr(s32 intr); void sceKernelCpuResumeIntrWithSync(s32 intr); s32 sceKernelIsCpuIntrSuspended(s32 intr); s32 sceKernelIsCpuIntrEnable(void); /* When patched by the GE module, syscall to sceGeListUpdateStallAddr */ s32 sub_00000208(s32 dlId, void *stall); /* sceGeListUpdateStallAddr designed for 'Genso Suikoden I & II' */ s32 sceGe_lazy_31129B95(s32 dlId, void *stall); s32 sceKernelGetThreadId(void); s32 sceKernelCheckThreadStack(void); 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 *Kernel_Library_FA835CDE(s32 arg0); void *sceKernelMemcpy(void *dst, const void *src, SceSize size); void *sceKernelMemset(void *dst, s32 val, SceSize size); #endif /* USERSYSTEMLIB_KERNEL_H */