IOSU syscalls: Difference between revisions

From WiiUBrew
Jump to navigation Jump to search
Crediar (talk | contribs)
Created page with "{{stub}} There are 2 types of syscalls: 1. Syscalls using undefined ARM instruction. 2. Syscalls using ARM syscall instruction. == Syscalls (via undefined instructions) == ..."
 
Redirected page to IOS
Tag: New redirect
 
(37 intermediate revisions by 10 users not shown)
Line 1: Line 1:
{{stub}}
#REDIRECT [[IOS]]
There are 2 types of syscalls:
 
1. Syscalls using undefined ARM instruction.
 
2. Syscalls using ARM syscall instruction.
 
== Syscalls (via undefined instructions) ==
 
Syscalls are invoked by way of the invalid instruction handler; syscalls take the form 0xE7F000F0 | (syscall_num << 8). (E.g. E7F000F0 is syscall 0, E7F036F0 is syscall 0x36, etc.). IOS has 0x82 available syscalls.
 
(please feel free to contribute your own findings!)
 
{|border=1
|-
! ID # !! Internal name !! Description !! Return value
|-
| 2D || int device_open(const char* device, int mode) || Similar to IOS_Open on PPC, except now internal to the IOS system || Returns an fd or error (negative)
|}

Latest revision as of 02:07, 11 February 2024

Redirect to: