SceDeci4pCpup: Difference between revisions

From Vita Development Wiki
Jump to navigation Jump to search
Line 71: Line 71:
|}
|}


=== exec_command ===
=== sceDeci4pCpupExecCommand ===
{| class="wikitable"
{| class="wikitable"
|-
|-
Line 86: Line 86:
// 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(uint32_t cmd_id);
int sceDeci4pCpupExecCommand(uint32_t cmd_id);
</source>
</source>



Revision as of 20:33, 30 October 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

sceDeci4pCpupInquireVersionForDriver

Version NID
0.990-3.60 0xC0AB956B
int sceDeci4pCpupInquireVersionForDriver(int *proto_ver, int *pkg_ver, int *board_ver, int *a4);

sceDeci4pCpupGetCpSerialIdForDriver

Version NID
3.60 0x8139AD4E

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

// buf_size must be 0x80
int sceDeci4pCpupGetCpSerialIdForDriver(char *buf, int buf_size);

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

sceDeci4pCpupExecCommand

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 sceDeci4pCpupExecCommand(uint32_t cmd_id);

sceDeci4pCpupStartUpdateForDriver

Version NID
0.990-3.60 0xDE07478F
int sceDeci4pCpupStartUpdateForDriver(int a1, int a2, int a3);

sceDeci4pCpupTriggerUpdateForDriver

Version NID
0.990-3.60 0xD78403C8
int sceDeci4pCpupTriggerUpdateForDriver(int a1);

sceDeci4pCpupGetProgressForDriver

Version NID
0.990-3.60 0x7998FFD8
int sceDeci4pCpupGetProgressForDriver(int a1, int a2, int a3, int a4);

sceDeci4pCpupTransferUpdatePackageForDriver

Version NID
0.990-3.60 0x90339379
int sceDeci4pCpupTransferUpdatePackageForDriver(int a1, int a2, int a3, int a4);