Difference between revisions of "SceDeci4pCpup"

From Vita Development Wiki
Jump to navigation Jump to search
Line 79: Line 79:
 
// 4: reboot target and CP without CP update
 
// 4: reboot target and CP without CP update
 
// 5: shutdown target and CP with CP update
 
// 5: shutdown target and CP with CP update
int exec_command(cmd_id);
+
int exec_command(uint32_t cmd_id);
 
</source>
 
</source>

Revision as of 23:10, 9 February 2019

Module

Known NIDs

Version Name World NID
3.60 SceDeci4pCpup Non-secure ?

Libraries

Known NIDs

Version Name World NID
3.60 SceDeci4pCpupForDriver Non-secure 0x5E323A42

SceDeci4pCpupForDriver

sceDeci4pCpupInitForDriver

Version NID
3.60 0xC0AB956B

sceDeci4pCpupGetCpSerialIdForDriver

Version NID
3.60 0x8139AD4E

Reads 0x80 bytes (or 4 bytes at offset 0x80).

unk_4939DA45

Version NID
0.940 0x4939DA45
// values seen:
// a1 = CP RTC
// a2 = 0, = 1
// a3 = activation_key, = 0
int unk_4939DA45(int a1, int a2, int a3);

sceDeci4pCpupGetRtcForDriver

Version NID
0.940 0x2015C7CB

exec_command

Version NID
0.990-3.60 0xBBB991CD
// cmd ids:
// 0: unk
// 1: unk
// 2: prepare safe shutdown
// 4: reboot target and CP without CP update
// 5: shutdown target and CP with CP update
int exec_command(uint32_t cmd_id);