Changes

Jump to: navigation, search

IOS/Syscalls

850 bytes added, 02:50, 1 June 2009
fill in some gaps
| 1b || BOOL device_register(char* device, u32 messagequeue) || Registers device to the device tree, so it can be opened (from Starlet and PPC) || Returns 0 on success, else error
|-
| 1c || u32 s32 device_open(char* device, int mode) || Similar to IOS_Open on PPC, except now internal to the IOS system || Returns an fd
|-
| 1d || s32 device_close(int s32 fd)
|-
| 1e || s32 device_read(s32 fd, void *buf, s32 len)
|-
| 1f || s32 device_write(s32 fd, void *buf, s32 len)
|-
| 20 || s32 device_seek(s32 fd, s32 where, s32 whence)
|-
| 21 || s32 device_ioctl(s32 fd, u32 request, void *input_buffer, u32 input_buffer_len, void *output_buffer, u32 output_buffer_len)
|-
| 22 || s32 device_ioctlv(int s32 fd, int u32 request, int u32 bytes_in, int u32 bytes_out, [[IOS/struct iovec|struct iovec]] *vector)
|-
| 23 || s32 device_open_async(char* device, int mode, void *callback)
|-
| 24 || s32 device_close_async(s32 fd, void *callback)
|-
| 25 || s32 device_read_async(s32 fd, void *buf, s32 len, void *callback)
|-
| 26 || s32 device_write_async(s32 fd, void *buf, s32 len, void *callback)
|-
| 27 || s32 device_seek_async(s32 fd, s32 where, s32 whence, void *callback)
|-
| 28 || s32 device_ioctl_async(s32 fd, u32 request, void *input_buffer, u32 input_buffer_len, void *output_buffer, u32 output_buffer_len, void *callback
|-
| 29 || s32 device_ioctlv_async(s32 fd, u32 request, u32 bytes_in, u32 bytes_out, [[IOS/struct iovec|struct iovec]] *vector, void *callback)
|-
| 2a || int IOS_ResourceReply([[IOS/ressource_request| struct ios_ressource_request]] *request, int retval) || return from a cmd on a [[IOS| ressource]]
| 5c || IOSC_DeleteObject
|-
| 5d || set_public_key(7 arguments)
|-
| 5e || es_syscall_5ecrypto_syscall_5e (7 arguments)
|-
| 5f || es_syscall_5fcrypto_syscall_5f
|-
| 60 || es_syscall_60crypto_syscall_60
|-
| 61 || get_keyid
|-
| 62 || es_syscall_62crypto_syscall_62
|-
| 63 || get_key || Used to get entries from the keyring. R0 is key index:
| 65 || sha
|-
| 66 || aes_async(7 args)
|-
| 67 || aes(5 args)
|-
| 68 || es_syscall_68crypto_syscall_68 (7 args)
|-
| 69 || es_syscall_69crypto_syscall_69 (5 args)
|-
| 6a || es_syscall_6acrypto_syscall_6a (7 args)
|-
| 6b || aes_decrypt(int keyid, void *iv, void *in, int len, void *out)
| 6c || hmac_async
|-
| 6d || es_syscall_6dcrypto_syscall_6d (8 args)
|-
| 6e || get_ng_cert(10 args)
|-
| 6f || key_set_permission_mask
|-
| 70 || es_syscall_70crypto_syscall_70
|-
| 71 || es_syscall_71crypto_syscall_71
|-
| 72 || es_syscall_72crypto_syscall_72
|-
| 73 || es_syscall_73crypto_syscall_73
|-
| 74 || es_syscall_74crypto_syscall_74
|-
| 75 || ??crypto_syscall_75
|-
| 76 || ??crypto_syscall_76
|}

Navigation menu