2012-05-06 20:14:38 +00:00
|
|
|
/* Copyright (C) 2011, 2012 The uOFW team
|
|
|
|
See the file COPYING for copying permission.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "common.h"
|
|
|
|
|
|
|
|
/** The PSP SDK defines this as PSP_POWER_TICK_ALL. Cancels all timers. */
|
|
|
|
#define SCE_KERNEL_POWER_TICK_DEFAULT 0
|
|
|
|
|
2012-05-03 21:37:22 +00:00
|
|
|
int sceKernelRegisterResumeHandler(int reg, int (*handler)(int unk, void *param), void *param);
|
|
|
|
int sceKernelRegisterSuspendHandler(int reg, int (*handler)(int unk, void *param), void *param);
|
|
|
|
|
2012-05-06 20:14:38 +00:00
|
|
|
int sceKernelPowerLock(int);
|
|
|
|
int sceKernelPowerLockForUser(int);
|
|
|
|
int sceKernelPowerUnlock(int);
|
|
|
|
int sceKernelPowerUnlockForUser(int);
|
2012-05-10 16:43:47 +00:00
|
|
|
int sceKernelPowerTick(int);
|
2012-05-06 20:14:38 +00:00
|
|
|
|