In memory of Ben “bushing” Byer, who passed away on Monday, February 8th, 2016.

Changes

Jump to navigation Jump to search
238 bytes added ,  17:09, 16 September 2015
Documenting more syscalls
Line 144: Line 144:  
| 0x1F || || ||
 
| 0x1F || || ||
 
|-
 
|-
| 0x20 || || ||
+
| 0x20 || int check_otp() || Checks if the first word in bank 1 is 0x8000000 || 0 on success
 
|-
 
|-
 
| 0x21 || int check_jtag() || Get the current status of the JTAG || 0 if JTAG is enabled or -4 if disabled
 
| 0x21 || int check_jtag() || Get the current status of the JTAG || 0 if JTAG is enabled or -4 if disabled
 
|-
 
|-
| 0x22 || || ||
+
| 0x22 || int read_otp(int index, void *out_buf, u32 size) || Read data from the OTP || 0 on success
 
|-
 
|-
 
| 0x23 || int heap_create(void *ptr, int size) || Create a new heap at ptr of size bytes || The heapid or error (negative value)
 
| 0x23 || int heap_create(void *ptr, int size) || Create a new heap at ptr of size bytes || The heapid or error (negative value)
Line 226: Line 226:  
| 0x48 || ipc_svcmsg_async || ||
 
| 0x48 || ipc_svcmsg_async || ||
 
|-
 
|-
| 0x49 || IOS_ResourceReply(???) || ||
+
| 0x49 || int IOS_ResourceReply(void *ipc_handle, u32 result) || Reply back through the IPC handle || 0 on success
 
|-
 
|-
 
| 0x4A || || ||
 
| 0x4A || || ||
108

edits

Navigation menu