Files
vitasdk-odin/Kernel/Processmgr.odin
T

50 lines
1.4 KiB
Odin
Raw Normal View History

2024-05-11 23:24:13 +02:00
package kernel
import "core:c"
import sce "../common"
foreign import processmgr "system:SceProcessmgr_stub"
foreign processmgr {
/**
* Cancel specified idle timers to prevent entering in power save processing.
*
* @param[in] type - One of ::SceKernelPowerTickType
*
* @return 0
*/
2024-05-13 16:04:23 +02:00
sceKernelPowerTick :: proc(type: SceKernelPowerTickType) -> c.int ---
2024-05-11 23:24:13 +02:00
/**
* Locks certain timers from triggering.
*
* @param[in] type - One of ::SceKernelPowerTickType
*
* @return 0
*/
2024-05-13 16:04:23 +02:00
sceKernelPowerLock :: proc(type: SceKernelPowerTickType) -> c.int ---
2024-05-11 23:24:13 +02:00
/**
* Unlocks certain timers.
*
* @param[in] type - One of ::SceKernelPowerTickType
*
* @return 0
*/
2024-05-13 16:04:23 +02:00
sceKernelPowerUnlock :: proc(type: SceKernelPowerTickType) -> c.int ---
2024-05-11 23:24:13 +02:00
2024-05-13 16:04:23 +02:00
sceKernelGetCurrentProcess :: proc() -> sce.UID ---
sceKernelGetRemoteProcessTime :: proc(processId: sce.UID, pClock: ^sce.KernelSysClock) -> sce.Int32 ---
2024-05-11 23:24:13 +02:00
2024-05-13 16:04:23 +02:00
sceKernelGetStderr :: proc() -> sce.UID ---
sceKernelGetStdin :: proc() -> sce.UID ---
sceKernelGetStdout :: proc() -> sce.UID ---
2024-05-11 23:24:13 +02:00
2024-05-13 16:04:23 +02:00
sceKernelGetProcessParam :: proc() -> rawptr ---
2024-05-11 23:24:13 +02:00
2024-05-13 16:04:23 +02:00
sceKernelLibcClock :: proc() -> SceKernelClock ---
sceKernelLibcTime :: proc(tloc: ^SceKernelTime) -> SceKernelTime ---
2024-05-11 23:24:13 +02:00
2024-05-13 16:04:23 +02:00
sceKernelLibcGettimeofday :: proc(tv: ^SceKernelTimeval, tz: ^SceKernelTimezone) -> c.int ---
2024-05-11 23:24:13 +02:00
}