Editing Syscalls
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 custom system calls == | |||
{| class="wikitable sortable" | {| class="wikitable sortable" | ||
|- | |- | ||
! | ! #syscall ID !! <abbr title="Firmware Version">FW Ver</abbr> !! Name !! Prototype !! Notes | ||
|- | |- | ||
| 99 || <=1.01? || sys_netcontrol || int sys_netcontrol(int fd, uint op, void *buf, uint nbuf) || - | | 99 || <=1.01? || sys_netcontrol || int sys_netcontrol(int fd, uint op, void *buf, uint nbuf) || - | ||
Line 281: | Line 245: | ||
| 643 || >1.76? || sys_set_chicken_switches || - || | | 643 || >1.76? || sys_set_chicken_switches || - || | ||
|- | |- | ||
| 644 || | | 644 || >4.05>3.55? || sys_extend_page_table_pool || - || | ||
|- | |- | ||
| 645 || | | 645 || >1.76? || sys_#645 || - || | ||
|- | |- | ||
| 646 || >1.76? || sys_get_kernel_mem_statistics || - || | | 646 || >1.76? || sys_get_kernel_mem_statistics || - || | ||
Line 347: | Line 311: | ||
| 676 || ?> 5.07? || sys_cpumode_yield || - || | | 676 || ?> 5.07? || sys_cpumode_yield || - || | ||
|- | |- | ||
| 677 || ?>= 6.50? (not present on 6.20) || sys_get_phys_page_size || - || | | 677 || ?>= 6.50? (not present on 6.20) || sys_get_phys_page_size || - || | ||
|} | |} | ||
<nowiki>*</nowiki> Since | <nowiki>*</nowiki> Since 1.76, Sony has removed key information from sys_dynlib_get_info() (syscall 593), eg. it does not return the module's code base address, data base address, code size, or the data size. | ||
<b>Note:</b> All system calls actually have the thread pointer as the first argument (struct thread *td), however since it's common among all system calls it's been omitted for readability. | |||
{{Reverse Engineering}} | {{Reverse Engineering}} | ||
<noinclude>[[Category:Main]]</noinclude> | <noinclude>[[Category:Main]]</noinclude> |