2013-04-25 19:57:39 +00:00
|
|
|
/* Copyright (C) 2011, 2012, 2013 The uOFW team
|
2012-05-06 20:14:38 +00:00
|
|
|
See the file COPYING for copying permission.
|
|
|
|
*/
|
|
|
|
|
2012-08-23 13:37:32 +00:00
|
|
|
#include "common_header.h"
|
2012-05-06 20:14:38 +00:00
|
|
|
|
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);
|
|
|
|
|
2013-04-25 19:57:39 +00:00
|
|
|
#define SCE_KERNEL_POWER_LOCK_DEFAULT (0)
|
|
|
|
int sceKernelPowerLock(int lockType);
|
|
|
|
int sceKernelPowerLockForUser(int lockType);
|
|
|
|
int sceKernelPowerUnlock(int lockType);
|
|
|
|
int sceKernelPowerUnlockForUser(int lockType);
|
|
|
|
|
|
|
|
#define SCE_KERNEL_POWER_TICK_DEFAULT (0) /** Cancel all timers. */
|
|
|
|
#define SCE_KERNEL_POWER_TICK_SUSPEND_ONLY (1) /** Cancel auto-suspend-related timer. */
|
|
|
|
#define SCE_KERNEL_POWER_TICK_LCD_ONLY (6) /** Cancel LCD-related timer .*/
|
|
|
|
int sceKernelPowerTick(int tickType);
|
|
|
|
|
|
|
|
#define SCE_KERNEL_VOLATILE_MEM_DEFAULT (0)
|
|
|
|
int sceKernelVolatileMemLock(int unk, void **ptr, int *size);
|
|
|
|
int sceKernelVolatileMemTryLock(int unk, void **ptr, int *size);
|
|
|
|
int sceKernelVolatileMemUnlock(int unk);
|
|
|
|
|
2013-04-13 19:26:49 +00:00
|
|
|
int sceKernelPowerRebootStart(int);
|
2012-05-06 20:14:38 +00:00
|
|
|
|