Editing System calls
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
PS4 kernel is based on FreeBSD 9.0; a list of FreeBSD 9.0 system calls can be found [http://fxr.watson.org/fxr/source/kern/syscalls.master?v=FREEBSD9 here]. | |||
Compatibility system calls, and some others, have been disabled. | |||
The first custom Sony system call comes immediately after the last FreeBSD system call, wait6, and is number 533. | |||
The final custom Sony system call is 617. | |||
Calling any system calls higher than 617 gives the same result as calling a compatibility or unimplemented system call, "There is not enough free system memory" error. | |||
Of these 85 (617 - 532), 9 always return 0x4e, ENOSYS, leaving us with just 76 which are usable (the disabled 9 may only be callable from development units). | |||
'''Functions of custom Sony system calls''' | |||
Known calls include those relating to: | |||
# Modules | |||
# Memory | |||
# Sandboxing | |||
# Semaphores | |||
Other potential calls could be for: | |||
# Mutexes | |||
Other operations, such as file IO and networking are handled through regular FreeBSD system calls. |