summaryrefslogtreecommitdiff
path: root/include/kernel/syscon.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--include/kernel/syscon.h14
1 files changed, 12 insertions, 2 deletions
diff --git a/include/kernel/syscon.h b/include/kernel/syscon.h
index 225f798..c5bae25 100644
--- a/include/kernel/syscon.h
+++ b/include/kernel/syscon.h
@@ -104,7 +104,7 @@ int sceSysconCmdSync(SceSysconPacket *packet, int noWait);
*
* @return 0 on success.
*/
-int sceSysconResetDevice(int type, int mode);
+int sceSysconSetPowerMode(int type, int mode);
int sceSysconReadCommand(unsigned short cmd, void *buffer, unsigned int size);
int sceSysconSendCommand(unsigned short cmd, const void *buffer, unsigned int size);
@@ -133,7 +133,7 @@ int sceSysconCtrlLED(int led, int enable);
*
* @return 0 on success.
*/
-int sceSysconCtrlMsPower(int power);
+int sceSysconCtrlRMRPower(int power);
/**
* Set the SD power.
@@ -200,6 +200,16 @@ int sceSysconLoadConfigstorageScript(unsigned short, const void *buff, unsigned
int sceSysconVerifyConfigstorageScript(unsigned short, const void *buff, unsigned int size);
/**
+ * Set the alarm callback, that will be ran when the alarm timer is passed.
+ *
+ * @param callback The callback function.
+ * @param argp The second argument that will be passed to the callback.
+ *
+ * @return 0.
+ */
+int sceSysconSetAlarmCallback(SceSysconCallback callback, void *argp);
+
+/**
* Set the low battery callback, that will be ran when the battery is low.
*
* @param callback The callback function.