From 0e9ee8b43133af406ec1467dff912b4ac8637e55 Mon Sep 17 00:00:00 2001 From: Yifan Lu Date: Mon, 15 May 2017 22:41:55 -0700 Subject: Added sceKernelPowerLock sceKernelPowerUnlock (#176) --- include/user/kernel/processmgr.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'include/user/kernel/processmgr.h') diff --git a/include/user/kernel/processmgr.h b/include/user/kernel/processmgr.h index c256157..2784d12 100644 --- a/include/user/kernel/processmgr.h +++ b/include/user/kernel/processmgr.h @@ -50,6 +50,24 @@ int sceKernelExitProcess(int res); */ int sceKernelPowerTick(int type); +/*** + * Locks certain timers from triggering. + * + * @param[in] type - One of ::KernelPowerTickType + * + * @return 0 +*/ +int sceKernelPowerLock(int type); + +/*** + * Unlocks certain timers. + * + * @param[in] type - One of ::KernelPowerTickType + * + * @return 0 +*/ +int sceKernelPowerUnlock(int type); + /*** * Get the process time of the current process. * -- cgit v1.2.3