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

Changes

Jump to navigation Jump to search
376 bytes added ,  21:57, 30 September 2015
Added 2 more syscalls and cleared up some stuff
Line 88: Line 88:  
| 0x03 || int get_tid() || Get the current thread's ID || Current threadid
 
| 0x03 || int get_tid() || Get the current thread's ID || Current threadid
 
|-
 
|-
| 0x04 || || ||
+
| 0x04 || void* access_ipc_buffer_pool() || Gets the per-thread IPC buffer pool's address || The IPC buffer pool address value
 
|-
 
|-
 
| 0x05 || int get_pid() || Get the current process' ID || Current processid
 
| 0x05 || int get_pid() || Get the current process' ID || Current processid
Line 126: Line 126:  
| 0x16 || int IOS_DestroyTimer(int timerid) || Destroys the specified timer || 0 on success
 
| 0x16 || int IOS_DestroyTimer(int timerid) || Destroys the specified timer || 0 on success
 
|-
 
|-
| 0x17 || || ||
+
| 0x17 || u32 get_timestamp() || Get the current timestamp || The current timestamp value
 
|-
 
|-
| 0x18 || int time_now() || ||
+
| 0x18 || u32 time_now() || Fetch the current value of the Starbuck's timer || The current value of the timer register
 
|-
 
|-
 
| 0x19 || IOS_GetUpTimeStruct(???) || ||
 
| 0x19 || IOS_GetUpTimeStruct(???) || ||
Line 210: Line 210:  
| 0x40 || int IOS_IoctlvAsync(int fd, u32 request, u32 vector_count_in, u32 vector_count_out, struct iovec *vector, int queueid, ipcmessage *message) || Async implementation of IOS_Ioctlv || 0 on success
 
| 0x40 || int IOS_IoctlvAsync(int fd, u32 request, u32 vector_count_in, u32 vector_count_out, struct iovec *vector, int queueid, ipcmessage *message) || Async implementation of IOS_Ioctlv || 0 on success
 
|-
 
|-
| 0x41 || open_as_async || ||
+
| 0x41 || open_as_async(???) || ||
 
|-
 
|-
| 0x42 || write_as_async || ||
+
| 0x42 || write_as_async(???) || ||
 
|-
 
|-
| 0x43 || ipc_resume || ||
+
| 0x43 || ipc_resume(???) || ||
 
|-
 
|-
| 0x44 || ipc_suspend || ||
+
| 0x44 || ipc_suspend(???) || ||
 
|-
 
|-
| 0x45 || ipc_svcmsg || ||
+
| 0x45 || ipc_svcmsg(???) || ||
 
|-
 
|-
| 0x46 || ipc_resume_async || ||
+
| 0x46 || ipc_resume_async(???) || ||
 
|-
 
|-
| 0x47 || ipc_suspend_async || ||
+
| 0x47 || ipc_suspend_async(???) || ||
 
|-
 
|-
| 0x48 || ipc_svcmsg_async || ||
+
| 0x48 || ipc_svcmsg_async(???) || ||
 
|-
 
|-
 
| 0x49 || int IOS_ResourceReply(void *ipc_handle, u32 result) || Reply back through the IPC handle || 0 on success
 
| 0x49 || int IOS_ResourceReply(void *ipc_handle, u32 result) || Reply back through the IPC handle || 0 on success
Line 242: Line 242:  
| 0x50 || IOS_ClearandEnable(???) || ||
 
| 0x50 || IOS_ClearandEnable(???) || ||
 
|-
 
|-
| 0x51 || access_iobuf_pool(???) || ||
+
| 0x51 || int access_iobuf_pool(int unk) || Unused || Always 0
 
|-
 
|-
 
| 0x52 || struct iobuf *alloc_iobuf(int unk, u32 buf_size) || Allocate an iobuf || NULL on error
 
| 0x52 || struct iobuf *alloc_iobuf(int unk, u32 buf_size) || Allocate an iobuf || NULL on error
Line 248: Line 248:  
| 0x53 || int free_iobuf(struct iobuf *iob) || Free an allocated iobuf || 0 on success
 
| 0x53 || int free_iobuf(struct iobuf *iob) || Free an allocated iobuf || 0 on success
 
|-
 
|-
| 0x54 || iobuf_log_header_info(???) || ||
+
| 0x54 || void iobuf_log_header_info() || Unused || Nothing
 
|-
 
|-
| 0x55 || iobuf_log_buffer_info(???) || ||
+
| 0x55 || void iobuf_log_buffer_info() || Unused || Nothing
 
|-
 
|-
 
| 0x56 || void *extend_iobuf(struct iobuf *iob, unsigned short num) || Extend the data in the buffer by num bytes || Returns a pointer to extended area
 
| 0x56 || void *extend_iobuf(struct iobuf *iob, unsigned short num) || Extend the data in the buffer by num bytes || Returns a pointer to extended area
Line 266: Line 266:  
| 0x5C || void IOS_FlushDCache(void *ptr, unsigned int len) || Flush data cache ||
 
| 0x5C || void IOS_FlushDCache(void *ptr, unsigned int len) || Flush data cache ||
 
|-
 
|-
| 0x5D || disable_memory_protection || ||
+
| 0x5D || disable_memory_protection(???) || ||
 
|-
 
|-
 
| 0x5E || || ||
 
| 0x5E || || ||
108

edits

Navigation menu