Difference between revisions of "SceSyscon"

From Vita Development Wiki
Jump to navigation Jump to search
 
(Swapped Module <-> Library, see revision 1.1 under "Revision History" of "Vita SDK specifications" (https://wiki.henkaku.xyz/vita/File:Vita_SDK_specifications.pdf))
Line 1: Line 1:
== Library ==
+
== Module ==
  
 
=== Known NIDs ===
 
=== Known NIDs ===
Line 9: Line 9:
 
|}
 
|}
  
== Modules ==
+
== Libraries ==
  
 
=== Known NIDs ===
 
=== Known NIDs ===
Line 62: Line 62:
  
  
[[Category:Libraries]]
+
[[Category:Modules]]
 
[[Category:Kernel]]
 
[[Category:Kernel]]

Revision as of 03:43, 9 November 2016

Module

Known NIDs

Version Name World Privilege NID
1.69 SceSyscon Non-secure Kernel 0x250E65E7

Libraries

Known NIDs

Version Name World Visibility NID
1.69 SceSysconForDriver Non-secure Kernel 0x60A35F64

SceSysconForDriver

Send command

Version NID
1.69 (non-secure) 0xE26488B9
int syscon_send_command(uint32_t id, void *args, int size);

Reset device

Version NID
1.69 (non-secure) 0x8A95D35C
int syscon_reset_device(int type, int unk);

The unk argument is usually set to 0x2 or sometimes 0x8002 (which seems to correspond to some request by the UDC and BT drivers).

The type argument determines what to do.

Type Description
0 Power of the device
1 Enter low-power (suspend) state.
17 Suspend and immediately resume (soft reset).