Editing LV2 Functions and 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: | ||
[[Category:Software]] | |||
= Functions = | = Functions = | ||
Line 209: | Line 157: | ||
!Function | !Function | ||
!Notes | !Notes | ||
!Offset in 3.55 | !Offset in 3.55 | ||
!Offset in 3.41 | !Offset in 3.41 | ||
Line 219: | Line 166: | ||
|void* alloc(size_t size, int unk) | |void* alloc(size_t size, int unk) | ||
|unk is possibly pool? PSGroove uses 0x27. | |unk is possibly pool? PSGroove uses 0x27. | ||
|0x60b78 | |0x60b78 | ||
|0x62088 | |0x62088 | ||
Line 229: | Line 175: | ||
|void dealloc(void* ptr, int unk) | |void dealloc(void* ptr, int unk) | ||
|unk is possibly pool? Should be the same value of unk given to alloc. | |unk is possibly pool? Should be the same value of unk given to alloc. | ||
|0x60fb4 | |0x60fb4 | ||
|0x624C8 | |0x624C8 | ||
Line 239: | Line 184: | ||
|void process_utils::create_initial_system_process(). | |void process_utils::create_initial_system_process(). | ||
|Called to start the first userspace process, which is normally "sys_init_osd.self" but it can also launch recovery mode or update mode. | |Called to start the first userspace process, which is normally "sys_init_osd.self" but it can also launch recovery mode or update mode. | ||
| | | | ||
|0x287D50 | |0x287D50 | ||
Line 250: | Line 194: | ||
|This function does not return. | |This function does not return. | ||
(It seems that the offset point to a location that will cause panic after, not the real panic function, use with caution) | (It seems that the offset point to a location that will cause panic after, not the real panic function, use with caution) | ||
| | | | ||
|0x288568 | |0x288568 | ||
Line 260: | Line 203: | ||
|USBGetDeviceDescriptor | |USBGetDeviceDescriptor | ||
|USB function | |USB function | ||
| | | | ||
|0xd2998 | |0xd2998 | ||
Line 269: | Line 211: | ||
|- | |- | ||
|USBOpenEndpoint | |USBOpenEndpoint | ||
| | | | ||
| | | | ||
Line 279: | Line 220: | ||
|- | |- | ||
|USBControlTransfer | |USBControlTransfer | ||
| | | | ||
| | | | ||
Line 289: | Line 229: | ||
|- | |- | ||
|USBRegisterDriver | |USBRegisterDriver | ||
| | | | ||
| | | | ||
Line 304: | Line 243: | ||
|- | |- | ||
! FW version !! Alloc !! Free !! Syscall<br />Table !! Mem_base !! TOC !! Copy<br />to<br />User !! Notes | ! FW version !! Alloc !! Free !! Syscall<br />Table !! Mem_base !! TOC !! Copy<br />to<br />User !! Notes | ||
|- | |- | ||
| 3.56 Retail || 0x60b24 || 0x60f60 || 0x346570 || 0xef60 || 0x330540 || || | | 3.56 Retail || 0x60b24 || 0x60f60 || 0x346570 || 0xef60 || 0x330540 || || | ||
Line 364: | Line 299: | ||
|- | |- | ||
| 1.02 Retail || || || 0x322428 || || || || | | 1.02 Retail || || || 0x322428 || || || || | ||
|- | |- | ||
| 1.00 DEX || || || 0x3206e0 || || || || | | 1.00 DEX || || || 0x3206e0 || || || || | ||
Line 374: | Line 307: | ||
=== LV2 Syscalls === | === LV2 Syscalls === | ||
{| class="wikitable | {| class="wikitable sortable" | ||
|- | |- | ||
! Dec | ! Dec | ||
! Hex | ! Hex | ||
! | ! <abbr title="Firmware Type Specific (CEX,DEX,..)">fw_type</abbr> | ||
! <abbr title="Additional Settings/Flags required (Control Flags,Product Mode,..)">needed_flags</abbr> | ! <abbr title="Additional Settings/Flags required (Control Flags,Product Mode,..)">needed_flags</abbr> | ||
! Name | ! Name | ||
Line 387: | Line 320: | ||
| 1 | | 1 | ||
| 0x001 | | 0x001 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_process_getpid | | sys_process_getpid | ||
Line 394: | Line 327: | ||
| 2 | | 2 | ||
| 0x002 | | 0x002 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| {{Root}} | | {{Root}} | ||
| sys_process_wait_for_child | | sys_process_wait_for_child | ||
| 3 params | | 3 params | ||
|- | |- | ||
| 3 | | 3 | ||
| 0x003 | | 0x003 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | sys_process_? | ||
| | | 1 param = "cellProcessElf" | ||
|- | |- | ||
| 4 | | 4 | ||
| 0x004 | | 0x004 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| {{Dbg}} | | {{Dbg}} | ||
| sys_process_get_status | | sys_process_get_status | ||
| | | 1 param | ||
|- | |- | ||
| 5 | | 5 | ||
| 0x005 | | 0x005 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| {{Dbg}} | | {{Dbg}} | ||
| sys_process_detach_child | | sys_process_detach_child | ||
Line 422: | Line 355: | ||
| 6 | | 6 | ||
| 0x006 | | 0x006 | ||
| | |||
| | | | ||
| | | sys_process_create_program_segment | ||
| | |||
| | |||
|- | |- | ||
| | | 12 | ||
| | | 0x00B | ||
| | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_process_get_number_of_object | |||
| int sys_process_get_number_of_object(uint32_t object, size_t * nump); | |||
|- | |- | ||
| | | 13 | ||
| | | 0x00C | ||
| | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_process_get_id | |||
| int sys_process_get_id(uint32_t object, uint32_t * buff, size_t size, size_t * set_size); | |||
|- | |- | ||
| | | 14 | ||
| 0x00D | |||
| {{CEX}} {{DEX}} | |||
| 0x00D | |||
| | |||
| | | | ||
| sys_process_is_spu_lock_line_reservation_address | |||
| int sys_process_is_spu_lock_line_reservation_address(sys_addr_t addr, uint64_t flags); | |||
|- | |- | ||
| 18 | | 18 | ||
| 0x012 | | 0x012 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_process_getppid | | sys_process_getppid | ||
Line 506: | Line 390: | ||
| 19 | | 19 | ||
| 0x013 | | 0x013 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_process_kill | | sys_process_kill | ||
| int sys_process_kill(sys_pid_t pid); | | int sys_process_kill(sys_pid_t pid); | ||
|- | |- | ||
| 21 | | 21 | ||
| 0x015 | | 0x015 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| {{Dbg}} | | {{Dbg}} | ||
| | | CreateSystemSoftwareProcess | ||
| | | 7 param | ||
|- | |- | ||
| 22 | | 22 | ||
| 0x016 | | 0x016 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | sys_process_exit | ||
| void | | void sys_process_exit(int error_code,0,0) | ||
|- | |- | ||
| 23 | | 23 | ||
| 0x017 | | 0x017 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| {{Dbg}} | | {{Dbg}} | ||
| sys_process_wait_for_child2 | | sys_process_wait_for_child2 | ||
Line 541: | Line 418: | ||
| 24 | | 24 | ||
| 0x018 | | 0x018 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| {{Dbg}} | | {{Dbg}} | ||
| | | | ||
| 8 params | | 8 params | ||
|- | |- | ||
| 25 | | 25 | ||
| 0x019 | | 0x019 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_process_get_sdk_version | | sys_process_get_sdk_version | ||
| | | 2 params :sys_pid_t pid, uint8_t outbuf[4] | ||
|- | |- | ||
| 26 | | 26 | ||
| 0x01A | | 0x01A | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | | ||
| | | 3 params (calls syscall 22) | ||
|- | |- | ||
| 27 | | 27 | ||
| 0x01B | | 0x01B | ||
| {{ | | {{CEX}} {{DEX}} | ||
| {{Dbg}} | | {{Dbg}} | ||
| | | | ||
| 8 params | | 8 params | ||
|- | |- | ||
| 28 | | 28 | ||
| 0x01C | | 0x01C | ||
| {{ | | {{CEX}} {{DEX}} | ||
| {{Root}} | | {{Root}} | ||
| | | | ||
| | | 1 params | ||
|- | |- | ||
| 29 | | 29 | ||
| 0x01D | | 0x01D | ||
| {{ | | {{CEX}} {{DEX}} | ||
| {{Root}} | | {{Root}} | ||
| | | | ||
| | | 4 params | ||
|- | |- | ||
| 30 | | 30 | ||
| 0x01E | | 0x01E | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | sys_process_get_paramsfo | ||
| int | | int sys_process_get_paramsfo(uint8_t buffer[0x40]); returns infos from sfo.sample: 00000000 01 42 4C 45 53 38 30 36 30 38 00 00 00 00 00 00 �BLES80608...... | ||
|- | |- | ||
| 31 | | 31 | ||
| 0x01F | | 0x01F | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_process_get_ppu_guid | | sys_process_get_ppu_guid | ||
| sys_addr_t sys_process_get_ppu_guid(void); | | sys_addr_t sys_process_get_ppu_guid(void); | ||
|- | |- | ||
| 41 | | 41 | ||
| 0x029 | | 0x029 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | |||
| | | | ||
| | | 1 param: Error-Code | ||
|- | |- | ||
| | ! colspan="6" id="sys_ppu_thread Syscalls"|[[#sys_ppu_thread Syscalls]] (43-58) | ||
|- | |- | ||
| 43 | | 43 | ||
| 0x02B | | 0x02B | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_ppu_thread_yield | | sys_ppu_thread_yield | ||
Line 621: | Line 490: | ||
| 44 | | 44 | ||
| 0x02C | | 0x02C | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_ppu_thread_join | | sys_ppu_thread_join | ||
Line 628: | Line 497: | ||
| 45 | | 45 | ||
| 0x02D | | 0x02D | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_ppu_thread_detach | | sys_ppu_thread_detach | ||
Line 635: | Line 504: | ||
| 46 | | 46 | ||
| 0x02E | | 0x02E | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_ppu_thread_get_join_state | | sys_ppu_thread_get_join_state | ||
Line 642: | Line 511: | ||
| 47 | | 47 | ||
| 0x02F | | 0x02F | ||
| {{ | | {{CEX}} {{DEX}} | ||
| {{Dbg}} | | {{Dbg}} | ||
| sys_ppu_thread_set_priority | | sys_ppu_thread_set_priority | ||
Line 649: | Line 518: | ||
| 48 | | 48 | ||
| 0x030 | | 0x030 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_ppu_thread_get_priority | | sys_ppu_thread_get_priority | ||
Line 656: | Line 525: | ||
| 49 | | 49 | ||
| 0x031 | | 0x031 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_ppu_thread_get_stack_information | | sys_ppu_thread_get_stack_information | ||
Line 663: | Line 532: | ||
| 50 | | 50 | ||
| 0x032 | | 0x032 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| {{Root}} | | {{Root}} | ||
| | | | ||
| | | | ||
|- | |- | ||
| 51 | | 51 | ||
| 0x033 | | 0x033 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| {{Root}} | | {{Root}} | ||
| | | | ||
| | | | ||
|- | |- | ||
| 52 | | 52 | ||
| 0x034 | | 0x034 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| {{Dbg}} | | {{Dbg}} | ||
| | | | ||
| | | "flpt_readnw_thread" | ||
|- | |- | ||
| 53 | | 53 | ||
| 0x035 | | 0x035 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | |||
| | |||
| | | | ||
|- | |- | ||
| 54 | | 54 | ||
| 0x036 | | 0x036 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| {{Root}} | | {{Root}} | ||
| | | | ||
| | | | ||
|- | |- | ||
| 55 | | 55 | ||
| 0x037 | | 0x037 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| {{Root}} | | {{Root}} | ||
| | | | ||
| | | | ||
|- | |- | ||
| 56 | | 56 | ||
| 0x038 | | 0x038 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_ppu_thread_rename | | sys_ppu_thread_rename | ||
Line 712: | Line 581: | ||
| 57 | | 57 | ||
| 0x039 | | 0x039 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_ppu_thread_recover_page_fault | | sys_ppu_thread_recover_page_fault | ||
Line 719: | Line 588: | ||
| 58 | | 58 | ||
| 0x03A | | 0x03A | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_ppu_thread_get_page_fault_context | | sys_ppu_thread_get_page_fault_context | ||
| int sys_ppu_thread_get_page_fault_context(sys_ppu_thread_t thread_id, sys_ppu_thread_icontext_t * ctxp); | | int sys_ppu_thread_get_page_fault_context(sys_ppu_thread_t thread_id, sys_ppu_thread_icontext_t * ctxp); | ||
|- | |- | ||
! colspan="6" id="sys_trace Syscalls"|[[#sys_trace Syscalls]] ( | ! colspan="6" id="sys_trace Syscalls"|[[#sys_trace Syscalls]] (67-69+77) | ||
|- | |- | ||
| 60 | | 60 | ||
| 0x03C | | 0x03C | ||
| | | {{DEX}} | ||
| | | | ||
| sys_trace_create | | sys_trace_create | ||
Line 735: | Line 604: | ||
| 61 | | 61 | ||
| 0x03D | | 0x03D | ||
| | | {{DEX}} | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| 62 | | 62 | ||
| 0x03E | | 0x03E | ||
| | | {{DEX}} | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| 63 | | 63 | ||
| 0x03F | | 0x03F | ||
| | | {{DEX}} | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| 64 | | 64 | ||
| 0x040 | | 0x040 | ||
| | | {{DEX}} | ||
| | | | ||
| | | syscall_sys_trace_destroy | ||
| | | | ||
|- | |- | ||
| 65 | | 65 | ||
| 0x041 | | 0x041 | ||
| | | {{DEX}} | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| 66 | | 66 | ||
| 0x042 | | 0x042 | ||
| | | {{DEX}} | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| 67 | | 67 | ||
| 0x043 | | 0x043 | ||
| | | {{DEX}} | ||
| | | | ||
| sys_trace_allocate_buffer | | sys_trace_allocate_buffer | ||
Line 784: | Line 653: | ||
| 68 | | 68 | ||
| 0x044 | | 0x044 | ||
| | | {{DEX}} | ||
| | | | ||
| sys_trace_free_buffer | | sys_trace_free_buffer | ||
Line 791: | Line 660: | ||
| 69 | | 69 | ||
| 0x045 | | 0x045 | ||
| | | {{DEX}} | ||
| | | | ||
| sys_trace_create2 | | sys_trace_create2 | ||
Line 800: | Line 669: | ||
| 70 | | 70 | ||
| 0x046 | | 0x046 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_timer_create | | sys_timer_create | ||
Line 807: | Line 676: | ||
| 71 | | 71 | ||
| 0x047 | | 0x047 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_timer_destroy | | sys_timer_destroy | ||
Line 814: | Line 683: | ||
| 72 | | 72 | ||
| 0x048 | | 0x048 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_timer_get_information | | sys_timer_get_information | ||
Line 821: | Line 690: | ||
| 73 | | 73 | ||
| 0x049 | | 0x049 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_timer_start | | sys_timer_start | ||
Line 828: | Line 697: | ||
| 74 | | 74 | ||
| 0x04A | | 0x04A | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_timer_stop | | sys_timer_stop | ||
Line 835: | Line 704: | ||
| 75 | | 75 | ||
| 0x04B | | 0x04B | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_timer_connect_event_queue | | sys_timer_connect_event_queue | ||
Line 842: | Line 711: | ||
| 76 | | 76 | ||
| 0x04C | | 0x04C | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_timer_disconnect_event_queue | | sys_timer_disconnect_event_queue | ||
| int sys_timer_disconnect_event_queue(sys_timer_t timer_id); | | int sys_timer_disconnect_event_queue(sys_timer_t timer_id); | ||
|- | |- | ||
! colspan="6" id="sys_trace Syscalls"|[[#sys_trace Syscalls]] ( | ! colspan="6" id="sys_trace Syscalls"|[[#sys_trace Syscalls]] (67-69+77) | ||
|- | |- | ||
| 77 | | 77 | ||
| 0x04D | | 0x04D | ||
| | | {{DEX}} | ||
| | | | ||
| sys_trace_create2_in_cbepm | | sys_trace_create2_in_cbepm | ||
| | | | ||
|- | |- | ||
Line 867: | Line 729: | ||
| 80 | | 80 | ||
| 0x050 | | 0x050 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_interrupt_tag_create | | sys_interrupt_tag_create | ||
Line 874: | Line 736: | ||
| 81 | | 81 | ||
| 0x051 | | 0x051 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_interrupt_tag_destroy | | sys_interrupt_tag_destroy | ||
Line 883: | Line 745: | ||
| 82 | | 82 | ||
| 0x052 | | 0x052 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_event_flag_create | | sys_event_flag_create | ||
Line 890: | Line 752: | ||
| 83 | | 83 | ||
| 0x053 | | 0x053 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_event_flag_destroy | | sys_event_flag_destroy | ||
Line 899: | Line 761: | ||
| 84 | | 84 | ||
| 0x054 | | 0x054 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_interrupt_thread_establish | | sys_interrupt_thread_establish | ||
Line 908: | Line 770: | ||
| 85 | | 85 | ||
| 0x055 | | 0x055 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_event_flag_wait | | sys_event_flag_wait | ||
Line 915: | Line 777: | ||
| 86 | | 86 | ||
| 0x056 | | 0x056 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_event_flag_trywait | | sys_event_flag_trywait | ||
Line 922: | Line 784: | ||
| 87 | | 87 | ||
| 0x057 | | 0x057 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_event_flag_set | | sys_event_flag_set | ||
Line 931: | Line 793: | ||
| 88 | | 88 | ||
| 0x058 | | 0x058 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_interrupt_thread_eoi | | sys_interrupt_thread_eoi | ||
Line 938: | Line 800: | ||
| 89 | | 89 | ||
| 0x059 | | 0x059 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_interrupt_thread_disestablish | | sys_interrupt_thread_disestablish | ||
Line 947: | Line 809: | ||
| 90 | | 90 | ||
| 0x05A | | 0x05A | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_semaphore_create | | sys_semaphore_create | ||
Line 954: | Line 816: | ||
| 91 | | 91 | ||
| 0x05B | | 0x05B | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_semaphore_destroy | | sys_semaphore_destroy | ||
Line 961: | Line 823: | ||
| 92 | | 92 | ||
| 0x05C | | 0x05C | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_semaphore_wait | | sys_semaphore_wait | ||
Line 968: | Line 830: | ||
| 93 | | 93 | ||
| 0x05D | | 0x05D | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_semaphore_trywait | | sys_semaphore_trywait | ||
Line 975: | Line 837: | ||
| 94 | | 94 | ||
| 0x05E | | 0x05E | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_semaphore_post | | sys_semaphore_post | ||
Line 984: | Line 846: | ||
| 95 | | 95 | ||
| 0x05F | | 0x05F | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | sys_lwmutex_create | ||
| int | | int sys_lwmutex_create(sys_lwmutex_t *lwmutex, sys_lwmutex_attribute_t *attr) | ||
|- | |- | ||
| 96 | | 96 | ||
| 0x060 | | 0x060 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | sys_lwmutex_destroy | ||
| int | | int sys_lwmutex_destroy(sys_lwmutex_t *lwmutex) | ||
|- | |- | ||
| 97 | | 97 | ||
| 0x061 | | 0x061 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | sys_lwmutex_lock | ||
| int | | int sys_lwmutex_lock(sys_lwmutex_t *lwmutex, usecond_t timeout) | ||
|- | |- | ||
| 98 | | 98 | ||
| 0x062 | | 0x062 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | sys_lwmutex_trylock | ||
| int | | int sys_lwmutex_trylock(sys_lwmutex_t *lwmutex) | ||
|- | |- | ||
| 99 | | 99 | ||
| 0x063 | | 0x063 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | sys_lwmutex_unlock | ||
| int | | int sys_lwmutex_unlock(sys_lwmutex_t *lwmutex) | ||
|- | |- | ||
! colspan="6" id="sys_mutex Syscalls"|[[#sys_mutex Syscalls]] (100-104) | ! colspan="6" id="sys_mutex Syscalls"|[[#sys_mutex Syscalls]] (100-104) | ||
Line 1,021: | Line 883: | ||
| 100 | | 100 | ||
| 0x064 | | 0x064 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_mutex_create | | sys_mutex_create | ||
Line 1,028: | Line 890: | ||
| 101 | | 101 | ||
| 0x065 | | 0x065 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_mutex_destroy | | sys_mutex_destroy | ||
Line 1,035: | Line 897: | ||
| 102 | | 102 | ||
| 0x066 | | 0x066 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_mutex_lock | | sys_mutex_lock | ||
Line 1,042: | Line 904: | ||
| 103 | | 103 | ||
| 0x067 | | 0x067 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_mutex_trylock | | sys_mutex_trylock | ||
Line 1,049: | Line 911: | ||
| 104 | | 104 | ||
| 0x068 | | 0x068 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_mutex_unlock | | sys_mutex_unlock | ||
Line 1,058: | Line 920: | ||
| 105 | | 105 | ||
| 0x069 | | 0x069 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_cond_create | | sys_cond_create | ||
Line 1,065: | Line 927: | ||
| 106 | | 106 | ||
| 0x06A | | 0x06A | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_cond_destroy | | sys_cond_destroy | ||
Line 1,072: | Line 934: | ||
| 107 | | 107 | ||
| 0x06B | | 0x06B | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_cond_wait | | sys_cond_wait | ||
Line 1,079: | Line 941: | ||
| 108 | | 108 | ||
| 0x06C | | 0x06C | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_cond_signal | | sys_cond_signal | ||
Line 1,086: | Line 948: | ||
| 109 | | 109 | ||
| 0x06D | | 0x06D | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_cond_signal_all | | sys_cond_signal_all | ||
Line 1,093: | Line 955: | ||
| 110 | | 110 | ||
| 0x06E | | 0x06E | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_cond_signal_to | | sys_cond_signal_to | ||
Line 1,102: | Line 964: | ||
| 111 | | 111 | ||
| 0x06F | | 0x06F | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | sys_lwcond_create | ||
| int | | int sys_lwcond_create(sys_lwcond_t *lwcond, sys_lwmutex_t *lwmutex, sys_lwcond_attribute_t *attr) | ||
|- | |- | ||
| 112 | | 112 | ||
| 0x070 | | 0x070 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | sys_lwcond_destroy | ||
| int | | int sys_lwcond_destroy(sys_lwcond_t *lwcond) | ||
|- | |- | ||
| 113 | | 113 | ||
| 0x071 | | 0x071 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | sys_lwcond_queue_wait | ||
| | | 3 params | ||
|- | |- | ||
! colspan="6" id="sys_semaphore Syscalls"|[[#sys_semaphore Syscalls]] (90-94+114) | ! colspan="6" id="sys_semaphore Syscalls"|[[#sys_semaphore Syscalls]] (90-94+114) | ||
Line 1,125: | Line 987: | ||
| 114 | | 114 | ||
| 0x072 | | 0x072 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_semaphore_get_value | | sys_semaphore_get_value | ||
Line 1,132: | Line 994: | ||
| 115 | | 115 | ||
| 0x073 | | 0x073 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | |||
| | | | ||
| | | 4 params | ||
|- | |- | ||
| 116 | | 116 | ||
| 0x074 | | 0x074 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | |||
| | | | ||
| | | 3 params | ||
|- | |- | ||
| 117 | | 117 | ||
| 0x075 | | 0x075 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | | ||
| | | 1 params : sys_lwmutex_t *lwmutex | ||
|- | |- | ||
! colspan="6" id="sys_event Syscalls"|[[#sys_event Syscalls]] (82+83+85-87+118+128-140) | ! colspan="6" id="sys_event Syscalls"|[[#sys_event Syscalls]] (82+83+85-87+118+128-140) | ||
Line 1,156: | Line 1,017: | ||
| 118 | | 118 | ||
| 0x076 | | 0x076 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_event_flag_clear | | sys_event_flag_clear | ||
Line 1,163: | Line 1,024: | ||
| 119 | | 119 | ||
| 0x077 | | 0x077 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| {{Root}} | | {{Root}} | ||
| | | | ||
| | | 1 Param: uint8_t outbuffer[8], rtc related | ||
|- | |- | ||
! colspan="6" id="sys_rwlock Syscalls"|[[#sys_rwlock Syscalls]] (120-127+148) | ! colspan="6" id="sys_rwlock Syscalls"|[[#sys_rwlock Syscalls]] (120-127+148) | ||
Line 1,172: | Line 1,033: | ||
| 120 | | 120 | ||
| 0x078 | | 0x078 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_rwlock_create | | sys_rwlock_create | ||
Line 1,179: | Line 1,040: | ||
| 121 | | 121 | ||
| 0x079 | | 0x079 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_rwlock_destroy | | sys_rwlock_destroy | ||
Line 1,186: | Line 1,047: | ||
| 122 | | 122 | ||
| 0x07A | | 0x07A | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_rwlock_rlock | | sys_rwlock_rlock | ||
Line 1,193: | Line 1,054: | ||
| 123 | | 123 | ||
| 0x07B | | 0x07B | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_rwlock_tryrlock | | sys_rwlock_tryrlock | ||
Line 1,200: | Line 1,061: | ||
| 124 | | 124 | ||
| 0x07C | | 0x07C | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_rwlock_runlock | | sys_rwlock_runlock | ||
Line 1,207: | Line 1,068: | ||
| 125 | | 125 | ||
| 0x07D | | 0x07D | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_rwlock_wlock | | sys_rwlock_wlock | ||
Line 1,214: | Line 1,075: | ||
| 126 | | 126 | ||
| 0x07E | | 0x07E | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_rwlock_trywlock | | sys_rwlock_trywlock | ||
Line 1,221: | Line 1,082: | ||
| 127 | | 127 | ||
| 0x07F | | 0x07F | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_rwlock_wunlock | | sys_rwlock_wunlock | ||
Line 1,230: | Line 1,091: | ||
| 128 | | 128 | ||
| 0x080 | | 0x080 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_event_queue_create | | sys_event_queue_create | ||
Line 1,237: | Line 1,098: | ||
| 129 | | 129 | ||
| 0x081 | | 0x081 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_event_queue_destroy | | sys_event_queue_destroy | ||
Line 1,244: | Line 1,105: | ||
| 130 | | 130 | ||
| 0x082 | | 0x082 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_event_queue_receive | | sys_event_queue_receive | ||
Line 1,251: | Line 1,112: | ||
| 131 | | 131 | ||
| 0x083 | | 0x083 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_event_queue_tryreceive | | sys_event_queue_tryreceive | ||
Line 1,258: | Line 1,119: | ||
| 132 | | 132 | ||
| 0x084 | | 0x084 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_event_flag_cancel | | sys_event_flag_cancel | ||
Line 1,265: | Line 1,126: | ||
| 133 | | 133 | ||
| 0x085 | | 0x085 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_event_queue_drain | | sys_event_queue_drain | ||
Line 1,272: | Line 1,133: | ||
| 134 | | 134 | ||
| 0x086 | | 0x086 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_event_port_create | | sys_event_port_create | ||
Line 1,279: | Line 1,140: | ||
| 135 | | 135 | ||
| 0x087 | | 0x087 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_event_port_destroy | | sys_event_port_destroy | ||
Line 1,286: | Line 1,147: | ||
| 136 | | 136 | ||
| 0x088 | | 0x088 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_event_port_connect_local | | sys_event_port_connect_local | ||
Line 1,293: | Line 1,154: | ||
| 137 | | 137 | ||
| 0x089 | | 0x089 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_event_port_disconnect | | sys_event_port_disconnect | ||
Line 1,300: | Line 1,161: | ||
| 138 | | 138 | ||
| 0x08A | | 0x08A | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_event_port_send | | sys_event_port_send | ||
Line 1,307: | Line 1,168: | ||
| 139 | | 139 | ||
| 0x08B | | 0x08B | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_event_flag_get | | sys_event_flag_get | ||
Line 1,314: | Line 1,175: | ||
| 140 | | 140 | ||
| 0x08C | | 0x08C | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_event_port_connect_ipc | | sys_event_port_connect_ipc | ||
| int sys_event_port_connect_ipc(sys_event_port_t eport_id, | | int sys_event_port_connect_ipc(sys_event_port_t eport_id, ??); | ||
|- | |- | ||
! colspan="6" id="sys_timer Syscalls"|[[#sys_timer Syscalls]] (70-76+141+142) | ! colspan="6" id="sys_timer Syscalls"|[[#sys_timer Syscalls]] (70-76+141+142) | ||
Line 1,323: | Line 1,184: | ||
| 141 | | 141 | ||
| 0x08D | | 0x08D | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_timer_usleep | | sys_timer_usleep | ||
Line 1,330: | Line 1,191: | ||
| 142 | | 142 | ||
| 0x08E | | 0x08E | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_timer_sleep | | sys_timer_sleep | ||
| int sys_timer_sleep(second_t sleep_time); | | int sys_timer_sleep(second_t sleep_time); | ||
|- | |- | ||
| 143 | | 143 | ||
| 0x08F | | 0x08F | ||
| {{ | | {{CEX}} {{DEX}} | ||
| {{Root}} | | {{Root}} | ||
| | | | ||
| | | 2 Params | ||
|- | |- | ||
| 144 | | 144 | ||
| 0x090 | | 0x090 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | | ||
| | | 2 Params | ||
|- | |||
! colspan="6" id="sys_time Syscalls"|[[#sys_time Syscalls]] (145-147) | |||
|- | |- | ||
| 145 | | 145 | ||
| 0x091 | | 0x091 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_time_get_current_time | | sys_time_get_current_time | ||
Line 1,360: | Line 1,221: | ||
| 146 | | 146 | ||
| 0x092 | | 0x092 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| {{Root}} | | {{Root}} | ||
| | | sys_time_get_system_time | ||
| | | system_time_t sys_time_get_system_time(void) | ||
|- | |- | ||
| 147 | | 147 | ||
| 0x093 | | 0x093 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_time_get_timebase_frequency | | sys_time_get_timebase_frequency | ||
Line 1,376: | Line 1,237: | ||
| 148 | | 148 | ||
| 0x094 | | 0x094 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_rwlock_trywlock | | sys_rwlock_trywlock | ||
Line 1,385: | Line 1,246: | ||
| 150 | | 150 | ||
| 0x096 | | 0x096 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_raw_spu_create_interrupt_tag | | sys_raw_spu_create_interrupt_tag | ||
Line 1,392: | Line 1,253: | ||
| 151 | | 151 | ||
| 0x097 | | 0x097 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_raw_spu_set_int_mask | | sys_raw_spu_set_int_mask | ||
Line 1,399: | Line 1,260: | ||
| 152 | | 152 | ||
| 0x098 | | 0x098 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_raw_spu_get_int_mask | | sys_raw_spu_get_int_mask | ||
Line 1,406: | Line 1,267: | ||
| 153 | | 153 | ||
| 0x099 | | 0x099 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_raw_spu_set_int_stat | | sys_raw_spu_set_int_stat | ||
Line 1,413: | Line 1,274: | ||
| 154 | | 154 | ||
| 0x09A | | 0x09A | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_raw_spu_get_int_stat | | sys_raw_spu_get_int_stat | ||
| int sys_raw_spu_get_int_stat(sys_raw_spu_t id, sys_class_id_t class_id, uint64_t *stat) | | int sys_raw_spu_get_int_stat(sys_raw_spu_t id, sys_class_id_t class_id, uint64_t *stat) | ||
|- | |- | ||
| 156 | | 156 | ||
| 0x09C | | 0x09C | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_spu_image_open | | sys_spu_image_open | ||
Line 1,434: | Line 1,288: | ||
| 157 | | 157 | ||
| 0x09D | | 0x09D | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_spu_image_import | | sys_spu_image_import | ||
Line 1,441: | Line 1,295: | ||
| 158 | | 158 | ||
| 0x09E | | 0x09E | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_spu_image_close | | sys_spu_image_close | ||
Line 1,448: | Line 1,302: | ||
| 159 | | 159 | ||
| 0x09F | | 0x09F | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | | ||
| | | 3 Params | ||
|- | |- | ||
| 160 | | 160 | ||
| 0x0A0 | | 0x0A0 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_raw_spu_create | | sys_raw_spu_create | ||
Line 1,463: | Line 1,316: | ||
| 161 | | 161 | ||
| 0x0A1 | | 0x0A1 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_raw_spu_destroy | | sys_raw_spu_destroy | ||
Line 1,470: | Line 1,323: | ||
| 163 | | 163 | ||
| 0x0A3 | | 0x0A3 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_raw_spu_read_puint_mb | | sys_raw_spu_read_puint_mb | ||
Line 1,477: | Line 1,330: | ||
| 165 | | 165 | ||
| 0x0A5 | | 0x0A5 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_spu_thread_get_exit_status | | sys_spu_thread_get_exit_status | ||
Line 1,484: | Line 1,337: | ||
| 166 | | 166 | ||
| 0x0A6 | | 0x0A6 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_spu_thread_set_argument | | sys_spu_thread_set_argument | ||
Line 1,491: | Line 1,344: | ||
| 167 | | 167 | ||
| 0x0A7 | | 0x0A7 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_spu_thread_group_start_on_exit | | sys_spu_thread_group_start_on_exit | ||
Line 1,498: | Line 1,351: | ||
| 169 | | 169 | ||
| 0x0A9 | | 0x0A9 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_spu_initialize | | sys_spu_initialize | ||
| int sys_spu_initialize( | | int sys_spu_initialize(unsigned int max_usable_spu, unsigned int max_raw_spu) | ||
|- | |- | ||
| 170 | | 170 | ||
| 0x0AA | | 0x0AA | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_spu_thread_group_create | | sys_spu_thread_group_create | ||
| int sys_spu_thread_group_create(sys_spu_thread_group_t *id, | | int sys_spu_thread_group_create(sys_spu_thread_group_t *id, unsigned int num, int prio, sys_spu_thread_group_attribute_t *attr) | ||
|- | |- | ||
| 171 | | 171 | ||
| 0x0AB | | 0x0AB | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_spu_thread_group_destroy | | sys_spu_thread_group_destroy | ||
Line 1,519: | Line 1,372: | ||
| 172 | | 172 | ||
| 0x0AC | | 0x0AC | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_spu_thread_initialize | | sys_spu_thread_initialize | ||
| int sys_spu_thread_initialize(sys_spu_thread_t *thread, sys_spu_thread_group_t group, | | int sys_spu_thread_initialize(sys_spu_thread_t *thread,sys_spu_thread_group_t group,uint spu_num,sys_spu_image_t *img,sys_spu_thread_attribute_t *attr,sys_spu_thread_argument_t *arg) | ||
|- | |- | ||
| 173 | | 173 | ||
| 0x0AD | | 0x0AD | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_spu_thread_group_start | | sys_spu_thread_group_start | ||
Line 1,533: | Line 1,386: | ||
| 174 | | 174 | ||
| 0x0AE | | 0x0AE | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_spu_thread_group_suspend | | sys_spu_thread_group_suspend | ||
Line 1,540: | Line 1,393: | ||
| 175 | | 175 | ||
| 0x0AF | | 0x0AF | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_spu_thread_group_resume | | sys_spu_thread_group_resume | ||
Line 1,547: | Line 1,400: | ||
| 176 | | 176 | ||
| 0x0B0 | | 0x0B0 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_spu_thread_group_yield | | sys_spu_thread_group_yield | ||
Line 1,554: | Line 1,407: | ||
| 177 | | 177 | ||
| 0x0B1 | | 0x0B1 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_spu_thread_group_terminate | | sys_spu_thread_group_terminate | ||
Line 1,561: | Line 1,414: | ||
| 178 | | 178 | ||
| 0x0B2 | | 0x0B2 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_spu_thread_group_join | | sys_spu_thread_group_join | ||
Line 1,568: | Line 1,421: | ||
| 179 | | 179 | ||
| 0x0B3 | | 0x0B3 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_spu_thread_group_set_priority | | sys_spu_thread_group_set_priority | ||
Line 1,575: | Line 1,428: | ||
| 180 | | 180 | ||
| 0x0B4 | | 0x0B4 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_spu_thread_group_get_priority | | sys_spu_thread_group_get_priority | ||
Line 1,582: | Line 1,435: | ||
| 181 | | 181 | ||
| 0x0B5 | | 0x0B5 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_spu_thread_write_ls | | sys_spu_thread_write_ls | ||
Line 1,589: | Line 1,442: | ||
| 182 | | 182 | ||
| 0x0B6 | | 0x0B6 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_spu_thread_read_ls | | sys_spu_thread_read_ls | ||
| int sys_spu_thread_read_ls(sys_spu_thread_t id, uint32_t address, uint64_t *value, size_t type) | | int sys_spu_thread_read_ls(sys_spu_thread_t id, uint32_t address, uint64_t *value, size_t type) | ||
|- | |- | ||
| 184 | | 184 | ||
| 0x0B8 | | 0x0B8 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_spu_thread_write_snr | | sys_spu_thread_write_snr | ||
Line 1,610: | Line 1,456: | ||
| 185 | | 185 | ||
| 0x0B9 | | 0x0B9 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_spu_thread_group_connect_event | | sys_spu_thread_group_connect_event | ||
Line 1,617: | Line 1,463: | ||
| 186 | | 186 | ||
| 0x0BA | | 0x0BA | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_spu_thread_group_disconnect_event | | sys_spu_thread_group_disconnect_event | ||
Line 1,624: | Line 1,470: | ||
| 187 | | 187 | ||
| 0x0BB | | 0x0BB | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_spu_thread_set_spu_cfg | | sys_spu_thread_set_spu_cfg | ||
Line 1,631: | Line 1,477: | ||
| 188 | | 188 | ||
| 0x0BC | | 0x0BC | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_spu_thread_get_spu_cfg | | sys_spu_thread_get_spu_cfg | ||
| int sys_spu_thread_get_spu_cfg(sys_spu_thread_t id, uint64_t *value) | | int sys_spu_thread_get_spu_cfg(sys_spu_thread_t id, uint64_t *value) | ||
|- | |- | ||
| 190 | |||
| 190 | |||
| 0x0BE | | 0x0BE | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_spu_thread_write_spu_mb | | sys_spu_thread_write_spu_mb | ||
Line 1,652: | Line 1,491: | ||
| 191 | | 191 | ||
| 0x0BF | | 0x0BF | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_spu_thread_connect_event | | sys_spu_thread_connect_event | ||
Line 1,659: | Line 1,498: | ||
| 192 | | 192 | ||
| 0x0C0 | | 0x0C0 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_spu_thread_disconnect_event | | sys_spu_thread_disconnect_event | ||
Line 1,666: | Line 1,505: | ||
| 193 | | 193 | ||
| 0x0C1 | | 0x0C1 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_spu_thread_bind_queue | | sys_spu_thread_bind_queue | ||
Line 1,673: | Line 1,512: | ||
| 194 | | 194 | ||
| 0x0C2 | | 0x0C2 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_spu_thread_unbind_queue | | sys_spu_thread_unbind_queue | ||
Line 1,680: | Line 1,519: | ||
| 196 | | 196 | ||
| 0x0C4 | | 0x0C4 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_raw_spu_set_spu_cfg | | sys_raw_spu_set_spu_cfg | ||
Line 1,687: | Line 1,526: | ||
| 197 | | 197 | ||
| 0x0C5 | | 0x0C5 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_raw_spu_get_spu_cfg | | sys_raw_spu_get_spu_cfg | ||
Line 1,694: | Line 1,533: | ||
| 198 | | 198 | ||
| 0x0C6 | | 0x0C6 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_spu_thread_recover_page_fault | | sys_spu_thread_recover_page_fault | ||
Line 1,701: | Line 1,540: | ||
| 199 | | 199 | ||
| 0x0C7 | | 0x0C7 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_raw_spu_recover_page_fault | | sys_raw_spu_recover_page_fault | ||
| int sys_raw_spu_recover_page_fault(sys_raw_spu_t id) | | int sys_raw_spu_recover_page_fault(sys_raw_spu_t id) | ||
|- | |- | ||
| | | 230 | ||
| | | 0x0E6 | ||
| | | {{CEX}} {{DEX}} | ||
| | | {{Root}} | ||
| ( | | sys_isoself_spu_create | ||
| int sys_isoself_spu_create(sys_raw_spu_t *id, uint8_t *source_spe, in?: args?,0,0,0) | |||
|- | |- | ||
| | | 231 | ||
| | | 0x0E7 | ||
| | | {{CEX}} {{DEX}} | ||
| | | {{Root}} | ||
| ( | | sys_isoself_spu_destroy | ||
| int sys_isoself_spu_destroy(sys_raw_spu_t id) | |||
|- | |- | ||
| | | 232 | ||
| | | 0x0E8 | ||
| | | {{CEX}} {{DEX}} | ||
| | | {{Root}} | ||
| ( | | sys_isoself_spu_start | ||
| int sys_isoself_spu_start(sys_raw_spu_t id) | |||
|- | |- | ||
| | | 233 | ||
| | | 0x0E9 | ||
| | | {{CEX}} {{DEX}} | ||
| | | {{Root}} | ||
| ( | | sys_isoself_spu_create_interrupt_tag | ||
| int sys_isoself_spu_create_interrupt_tag(sys_raw_spu_t id, uint32_t class_id, uint32_t hwthread, sys_interrupt_tag_t *intrtag) | |||
|- | |- | ||
| | | 234 | ||
| | | 0x0EA | ||
| | | {{CEX}} {{DEX}} | ||
| | | {{Root}} | ||
| ( | | sys_isoself_spu_set_int_mask | ||
| int sys_isoself_spu_set_int_mask(sys_raw_spu_t id, uint32_t class_id, uint64_t mask) | |||
|- | |- | ||
| | | 235 | ||
| | | 0x0EB | ||
| | | {{CEX}} {{DEX}} | ||
| | | {{Root}} | ||
| ( | | sys_isoself_spu_get_int_mask | ||
| int sys_isoself_spu_get_int_mask(sys_raw_spu_t id, uint32_t class_id, uint64_t *mask) | |||
|- | |- | ||
| | | 236 | ||
| | | 0x0EC | ||
| | | {{CEX}} {{DEX}} | ||
| | | {{Root}} | ||
| ( | | sys_isoself_spu_set_int_stat | ||
| int sys_isoself_spu_set_int_stat(sys_raw_spu_t id, uint32_t class_id, uint64_t stat) | |||
|- | |- | ||
| | | 237 | ||
| | | 0x0ED | ||
| | | {{CEX}} {{DEX}} | ||
| | | {{Root}} | ||
| ( | | sys_isoself_spu_get_int_stat | ||
| int sys_isoself_spu_get_int_stat(sys_raw_spu_t id, uint32_t class_id, uint64_t * stat) | |||
|- | |- | ||
| | | 238 | ||
| | | 0x0EE | ||
| | | {{CEX}} {{DEX}} | ||
| | | {{Root}} | ||
| | | sys_isoself_spu_set_spu_cfg | ||
| | | 2 Params | ||
|- | |- | ||
| | | 239 | ||
| | | 0x0EF | ||
| | | {{CEX}} {{DEX}} | ||
| | | {{Root}} | ||
| | | sys_isoself_spu_get_spu_cfg | ||
| | | 2 Params | ||
|- | |- | ||
| | | 240 | ||
| | | 0x0F0 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | {{Root}} | ||
| | | sys_isoself_spu_read_puint_mb | ||
| int sys_isoself_spu_read_puint_mb(sys_raw_spu_t id, uint32_t * value) | |||
| int | |||
|- | |- | ||
| | | 244 | ||
| | | 0x0F4 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | {{Root}} | ||
| | | sys_spu_thread_group_system_set_next_group | ||
| int sys_spu_thread_group_system_set_next_group(void) | |||
| int | |||
|- | |- | ||
| | | 245 | ||
| | | 0x0F5 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| {{Root}} | |||
| sys_spu_thread_group_system_unset_next_group | |||
| int sys_spu_thread_group_system_unset_next_group(void) | |||
| {{ | |||
| | |||
| ( | |||
|- | |- | ||
| | | 246 | ||
| | | 0x0F6 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| {{Root}} | | {{Root}} | ||
| | | sys_spu_thread_group_system_set_switch_group | ||
| int | | int sys_spu_thread_group_system_set_switch_group(void) | ||
|- | |- | ||
| | | 247 | ||
| | | 0x0F7 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| {{Root}} | | {{Root}} | ||
| | | sys_spu_thread_group_system_unset_switch_group | ||
| int | | int sys_spu_thread_group_system_unset_switch_group(void) | ||
|- | |- | ||
| | | 248 | ||
| | | 0x0F8 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| {{Root}} | | {{Root}} | ||
| | | | ||
| | | 5 Params | ||
|- | |- | ||
| | | 249 | ||
| | | 0x0F9 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| {{Root}} | | {{Root}} | ||
| | | | ||
| | | 1 Param | ||
|- | |- | ||
| | | 250 | ||
| | | 0x0FA | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | sys_spu_thread_group_set_cooperative_victims | ||
| | | 2 Params | ||
|- | |- | ||
| | | 251 | ||
| | | 0x0FB | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | |||
| | | sys_spu_thread_group_connect_event_all_threads | ||
| int | | int sys_spu_thread_group_connect_event_all_threads(sys_spu_thread_group_t id, sys_event_queue_t eq, uint64_t req, uint8_t *spup) | ||
|- | |||
| 252 | |||
| 0x0FC | |||
| {{CEX}} {{DEX}} | |||
| | |||
| sys_spu_thread_group_disconnect_event_all_threads | |||
| int sys_spu_thread_group_disconnect_event_all_threads(sys_spu_thread_group_t id, uint8_t spup) | |||
|- | |- | ||
| | | 253 | ||
| | | 0x0FD | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | | ||
| | | 2 Params | ||
|- | |- | ||
| | | 254 | ||
| | | 0x0FE | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | sys_spu_thread_group_log | ||
| int | | int sys_spu_thread_group_log(int command, int *stat) | ||
|- | |- | ||
| | | 260 | ||
| | | 0x104 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | sys_spu_image_open_by_fd | ||
| int | | int sys_spu_image_open_by_fd(sys_spu_image_t *img, int fd, off64_t offset) | ||
|- | |- | ||
| | ! colspan="6" id="sys_vm/sys_memory/sys_mmapper Syscalls"|[[#sys_vm/sys_memory/sys_mmapper Syscalls]] (300-352) | ||
|- | |- | ||
| | | 300 | ||
| | | 0x12C | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | sys_vm_memory_map | ||
| int | | int sys_vm_memory_map(size_t vsize, size_t psize, sys_memory_container_t container, uint64_t flag, uint64_t policy, sys_addr_t * addr); | ||
|- | |- | ||
| | | 301 | ||
| | | 0x12D | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | sys_vm_unmap | ||
| int | | int sys_vm_unmap(sys_addr_t addr); | ||
|- | |- | ||
| | | 302 | ||
| | | 0x12E | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | sys_vm_append_memory | ||
| int | | int sys_vm_append_memory(sys_addr_t addr, size_t size); | ||
|- | |- | ||
| | | 303 | ||
| | | 0x12F | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | sys_vm_return_memory | ||
| int | | int sys_vm_return_memory(sys_addr_t addr, size_t size); | ||
|- | |- | ||
| | | 304 | ||
| | | 0x130 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | sys_vm_lock | ||
| int | | int sys_vm_lock(sys_addr_t addr, size_t size); | ||
|- | |- | ||
| | | 305 | ||
| | | 0x131 | ||
| | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | sys_vm_unlock | ||
| int | | int sys_vm_unlock(sys_addr_t addr, size_t size); | ||
|- | |- | ||
| | | 306 | ||
| | | 0x132 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | sys_vm_touch | ||
| int | | int sys_vm_touch(sys_addr_t addr, size_t size); | ||
|- | |- | ||
| | | 307 | ||
| | | 0x133 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | sys_vm_flush | ||
| int | | int sys_vm_flush(sys_addr_t addr, size_t size); | ||
|- | |- | ||
| | | 308 | ||
| | | 0x134 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | sys_vm_invalidate | ||
| int | | int sys_vm_invalidate(sys_addr_t addr, size_t size); | ||
|- | |- | ||
| | | 309 | ||
| | | 0x135 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | sys_vm_store | ||
| int | | int sys_vm_store(sys_addr_t addr, size_t size); | ||
|- | |- | ||
| | | 310 | ||
| | | 0x136 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | sys_vm_sync | ||
| int | | int sys_vm_sync(sys_addr_t addr, size_t size); | ||
|- | |- | ||
| | | 311 | ||
| | | 0x137 | ||
| | | {{CEX}} {{DEX}} | ||
| | | | ||
| ( | | sys_vm_test | ||
| int sys_vm_test(sys_addr_t addr, size_t size, uint64_t * result); | |||
|- | |- | ||
| | | 312 | ||
| | | 0x138 | ||
| | | {{CEX}} {{DEX}} | ||
| | | | ||
| ( | | sys_vm_get_statistics | ||
| int sys_vm_get_statistics(sys_addr_t addr, sys_vm_statistics_t * stat); | |||
|- | |- | ||
| 313 | |||
| 0x139 | |||
| {{CEX}} {{DEX}} | |||
| | |||
| | |||
| 6 Params | |||
|- | |- | ||
| | | 314 | ||
| | | 0x13A | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | | ||
| | | 2 Params | ||
|- | |- | ||
| | | 315 | ||
| | | 0x13B | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | |||
| | | | ||
| | | 1 Param | ||
| int | |- | ||
| 324 | |||
| 0x144 | |||
| {{CEX}} {{DEX}} | |||
| {{dbg}} | |||
| sys_memory_container_create | |||
| int sys_memory_container_create(sys_memory_container_t * cid, size_t yield_size); | |||
|- | |- | ||
| | | 325 | ||
| | | 0x145 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | {{dbg}} | ||
| sys_memory_container_destroy | |||
| int | | int sys_memory_container_destroy(sys_memory_container_t cid); | ||
|- | |- | ||
| | | 326 | ||
| | | 0x146 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | sys_mmapper_allocate_fixed_address | ||
| int | | int sys_mmapper_allocate_fixed_address(void); | ||
|- | |- | ||
| | | 327 | ||
| | | 0x147 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | sys_mmapper_enable_page_fault_notification | ||
| int | | int sys_mmapper_enable_page_fault_notification(sys_addr_t start_addr, sys_event_queue_t queue_id); | ||
|- | |- | ||
| | | 328 | ||
| | | 0x148 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | |||
| | | | ||
| | | 7 Params | ||
|- | |- | ||
| | | 329 | ||
| | | 0x149 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | sys_mmapper_free_shared_memory | ||
| int | | int sys_mmapper_free_shared_memory(sys_addr_t start_addr); | ||
|- | |- | ||
| | | 330 | ||
| | | 0x14A | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | sys_mmapper_allocate_address | ||
| int | | int sys_mmapper_allocate_address(size_t size, uint64_t flags, size_t alignment, sys_addr_t * alloc_addr); | ||
|- | |- | ||
| | | 331 | ||
| | | 0x14B | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | sys_mmapper_free_address | ||
| int | | int sys_mmapper_free_address(sys_addr_t start_addr); | ||
|- | |- | ||
| | | 332 | ||
| | | 0x14C | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | sys_mmapper_allocate_shared_memory | ||
| | | 4 Params: (size_t size, uint64_t flags, size_t alignment, sys_addr_t * alloc_addr) ? | ||
|- | |- | ||
| | | 333 | ||
| | | 0x14D | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | sys_mmapper_set_shared_memory_flag | ||
| int | | int sys_mmapper_set_shared_memory_flag(sys_addr_t, flags) ?; | ||
|- | |||
| 334 | |||
| 0x14E | |||
| {{CEX}} {{DEX}} | |||
| | |||
| sys_mmapper_map_shared_memory | |||
| 3 Params: (sys_addr_t start_addr, sys_memory_t mem_id, uint64_t flags) ? | |||
|- | |- | ||
| | | 335 | ||
| | | 0x14F | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | sys_mmapper_unmap_shared_memory | ||
| | | 2 Params: (sys_addr_t start_addr,sys_memory_t *mem_id ) ? | ||
|- | |- | ||
| | | 336 | ||
| | | 0x150 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | sys_mmapper_change_address_access_right | ||
| | | int sys_mmapper_change_address_access_right(sys_addr_t start_addr, uint64_t flags); | ||
|- | |- | ||
| | | 337 | ||
| | | 0x151 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_mmapper_search_and_map | |||
| int sys_mmapper_search_and_map(sys_addr_t start_addr, sys_memory_t mem_id, uint64_t flags, sys_addr_t * alloc_addr); | |||
|- | |||
| 338 | |||
| 0x152 | |||
| {{CEX}} {{DEX}} | |||
| | | | ||
| 2 Params | | sys_mmapper_get_shared_memory_attribute | ||
| 2 Params: | |||
|- | |- | ||
| | | 339 | ||
| | | 0x153 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | | ||
| | | 5 Params | ||
|- | |- | ||
| | | 340 | ||
| | | 0x154 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | |||
| | |||
| 2 Params | |||
|- | |||
| 341 | |||
| 0x155 | |||
| {{CEX}} {{DEX}} | |||
| | |||
| sys_memory_container_create | | sys_memory_container_create | ||
| int sys_memory_container_create(sys_memory_container_t * cid, size_t yield_size); | | int sys_memory_container_create(sys_memory_container_t * cid, size_t yield_size); | ||
|- | |- | ||
| | | 342 | ||
| | | 0x156 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_memory_container_destroy | | sys_memory_container_destroy | ||
| int sys_memory_container_destroy(sys_memory_container_t cid); | | int sys_memory_container_destroy(sys_memory_container_t cid); | ||
|- | |- | ||
| | | 343 | ||
| | | 0x157 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | sys_memory_container_get_size | ||
| int | | int sys_memory_container_get_size(sys_memory_info_t * mem_info, sys_memory_container_t cid); | ||
|- | |- | ||
| | | 344 | ||
| | | 0x158 | ||
| | | | ||
| | | | ||
| | | sys_memory_budget_set | ||
| | | | ||
|- | |- | ||
| | | 345 | ||
| | | 0x159 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | |||
| | | | ||
| | | 3 Params | ||
|- | |- | ||
| | | 346 | ||
| | | 0x15A | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | |||
| | | | ||
| | | | ||
|- | |- | ||
| | | 348 | ||
| | | 0x15C | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | sys_memory_allocate | ||
| int | | int sys_memory_allocate(size_t size, uint64_t flags, sys_addr_t * alloc_addr); | ||
|- | |- | ||
| | | 349 | ||
| | | 0x15D | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | sys_memory_free | ||
| int | | int sys_memory_free(sys_addr_t start_addr); | ||
|- | |- | ||
| | | 350 | ||
| | | 0x15E | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | sys_memory_allocate_from_container | ||
| int | | int sys_memory_allocate_from_container(size_t size, sys_memory_container_t container, uint64_t flags, sys_addr_t * alloc_addr); | ||
|- | |- | ||
| | | 351 | ||
| | | 0x15F | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | sys_memory_get_page_attribute | ||
| int | | int sys_memory_get_page_attribute(sys_addr_t addr, sys_page_attr_t * attr); | ||
|- | |- | ||
| | | 352 | ||
| | | 0x160 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | sys_memory_get_user_memory_size | ||
| int | | int sys_memory_get_user_memory_size(sys_memory_info_t * mem_info); | ||
|- | |- | ||
| | | 353 | ||
| | | 0x161 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | sys_memory_(get)_stat(us/istics?) | ||
| | | 1 Param: out:uint64_t buffer | ||
|- | |- | ||
| | | 354 | ||
| | | 0x162 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| {{Root}} | |||
| | | | ||
| | | 3 Params | ||
|- | |- | ||
| | | 355 | ||
| | | 0x163 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| {{Root}} | |||
| | | | ||
| | | 1 Param | ||
|- | |- | ||
| | | 356 | ||
| | | 0x164 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | sys_memory_allocate_colored | ||
| | | 4 Params | ||
|- | |- | ||
| | | 357 | ||
| | | 0x165 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | | ||
| 2 Params | | 2 Params | ||
|- | |- | ||
| | | 358 | ||
| | | 0x166 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | |||
| | | | ||
| | | 5 Params | ||
|- | |- | ||
| | | 359 | ||
| | | 0x167 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | | ||
| | | 2 Params | ||
|- | |- | ||
| | | 360 | ||
| | | 0x168 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | | ||
| | | 7 Params | ||
|- | |- | ||
| | | 361 | ||
| | | 0x169 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | sys_memory_allocate_from_container_colored | ||
| | | 5 Params | ||
|- | |- | ||
| | | 362 | ||
| | | 0x16A | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_mmapper_allocate_memory_from_container | |||
| sys_mmapper_allocate_memory_from_container(size_t size, sys_memory_container_t container, uint64_t flags, sys_memory_t *mem_id) | |||
|- | |- | ||
| | | 363 | ||
| | | 0x16B | ||
| {{CEX}} {{DEX}} | |||
| | | | ||
| | | | ||
| | | 6 Params | ||
|- | |- | ||
| | ! colspan="6" id="sys_av Syscalls"|[[#sys_av Syscalls]] (367-370) | ||
|- | |- | ||
| | | 367 | ||
| | | 0x16F | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | {{Root}} | ||
| | | prolly sys_avset_initialize | ||
| syscall(367, void) | |||
|- | |- | ||
| | | 368 | ||
| | | 0x170 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | {{Root}} | ||
| | | prolly sys_avset_receive | ||
| sys_avset_receive(out: uint8_t buffer[SizeToReceive], int SizeToReceive (0x400/0x800), 0/1) | |||
|- | |- | ||
| | | 369 | ||
| | | 0x171 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | {{Root}} | ||
| | | prolly sys_avset_send | ||
| sys_avset_send(const void *buf, uint64_t size, uint64_t flags)<!--///* | |||
* lv2_av_send | |||
*/ | |||
static inline int lv2_av_send(const void *buf, uint64_t size, uint64_t flags) | |||
{ | |||
return Lv2Syscall3(369, (uint64_t) buf, size, flags); | |||
}//--> | |||
|- | |- | ||
| | | 370 | ||
| | | 0x172 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| {{Root}} | |||
| | | | ||
| | | 1 Param: out: buffer[0x10] | ||
|- | |- | ||
| | | 371 | ||
| | | 0x173 | ||
| | | | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| | ! colspan="6" id="sys_game Syscalls"|[[#sys_game Syscalls]] (372-376+410-412) | ||
|- | |- | ||
| | | 372 | ||
| | | 0x174 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | sys_game_watchdog_start | ||
| 1 param | |||
|- | |- | ||
| | | 373 | ||
| | | 0x175 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | sys_game_watchdog_stop | ||
| | | int sys_game_watchdog_stop(void) | ||
|- | |- | ||
| | | 374 | ||
| | | 0x176 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | sys_game_watchdog_clear | ||
| | | int sys_game_watchdog_clear(void) | ||
|- | |- | ||
| | | 375 | ||
| | | 0x177 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | {{Root}} | ||
| | | sys_game_set_system_sw_version | ||
| int sys_game_set_system_sw_version(uint64_t version) | |||
|- | |- | ||
| | | 376 | ||
| | | 0x178 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | {{Root}} | ||
| ( | | sys_game_get_system_sw_version | ||
| int sys_game_get_system_sw_version(void) | |||
|- | |- | ||
| | ! colspan="6" id="sys_sm/sys_ctrl Syscalls"|[[#sys_sm/sys_ctrl Syscalls]] (378-396) | ||
|- | |- | ||
| | | 377 | ||
| | | 0x179 | ||
| | | {{CEX}} {{DEX}} | ||
| {{Root}} | | {{Root}} | ||
| | | sys_sm_set_shop_mode | ||
| | | 1 Param: 0/1, HV System Manager access - ServiceID 39 (SET_SHOP_DEMO_MODE) | ||
|- | |- | ||
| | | 378 | ||
| | | 0x17A | ||
| {{ | | {{CEX}} {{DEX}} | ||
| {{Root}} | | {{Root}} | ||
| | | sys_sm_get_ext_event2 | ||
| | | 4 Param, <br>IsConsoleHot?=sc378(uint8_t [8],uint8_t [8], uint8_t [8], 0/1), v1==7 -> yesHOT | ||
|- | |- | ||
| | | 379 | ||
| | | 0x17B | ||
| {{ | | {{CEX}} {{DEX}} | ||
| {{Root}} | | {{Root}} | ||
| | | sys_sm_shutdown | ||
| | | system_call_4(379,0x200,0,0,0); // 0x1100/0x100 = turn off, 0x1200/0x200 = reboot, 0x8201/0x8202 = load next/previous? lpar <br> HV System Manager access - ServiceID 1 (REQUEST)<!--///* | ||
* | * lv2_sm_shutdown | ||
*/ | |||
static inline int lv2_sm_shutdown(uint16_t op, const void *buf, uint64_t size) | |||
{ | |||
return Lv2Syscall3(379, op, (uint64_t) buf, size); | |||
}//--> | |||
|- | |||
| 380 | |||
| 0x17C | |||
| {{CEX}} {{DEX}} | |||
| {{Dbg}} | |||
| sys_sm_get_params | |||
| alias sys_get_system_parameter, 4 Params: all buffer[0x8] <!--///* | |||
* lv2_sm_get_params | |||
*/ | */ | ||
static inline int | static inline int lv2_sm_get_params(uint64_t *unknown1, uint64_t *unknown2, | ||
uint64_t *unknown3, uint64_t *unknown4) | |||
{ | { | ||
return | return Lv2Syscall4(380, (uint64_t) unknown1, (uint64_t) unknown2, | ||
(uint64_t) unknown3, (uint64_t) unknown4); | |||
}//--> | }//--> | ||
|- | |- | ||
| | | 381 | ||
| | | 0x17D | ||
| {{ | | {{CEX}} {{DEX}} | ||
| {{Root}} | |||
| | |||
| 2Params: syscall(381,uint8_t out_buff[0x600], 0x600); <br> returns system configuration? | |||
|- | |||
| 382 | |||
| 0x17E | |||
| {{CEX}} {{DEX}} | |||
| {{Root}} | |||
| sys_sm_clear?_rtc_alarm | |||
| int syscall(382, void); | |||
|- | |||
| 383 | |||
| 0x17F | |||
| {{CEX}} {{DEX}} | |||
| {{Root}} | | {{Root}} | ||
| | | sys_game_get_temperature | ||
| int | | int sys_game_get_temperature(0/1,uint32_t *temperature) <br> HV System Manager access - ServiceID 13 (TEMPERATURE) | ||
|- | |- | ||
| 384 | |||
| 0x180 | |||
| {{CEX}} {{DEX}} | |||
| {{Root}} | |||
| sys_sm_get_tzpb | |||
| syscall(384,uint64_t *tzpb); (uint8_t [0x20]) used by sys_game_get_temperature) <br> HV System Manager access - ServiceID 15 | |||
|- | |- | ||
| | | 385 | ||
| | | 0x181 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| {{Root}} | |||
| | | | ||
| | | 2 Params: r3(1,2,3) , uint8_t[1] , HV System Manager access - ServiceID 17 <br> gets Rootability value of .self? | ||
|- | |- | ||
| | | 386 | ||
| | | 0x182 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | {{Root}} | ||
| | | sys_sm_control_led? | ||
| Controls Power LED - Parameters: value1,value2 <!--///* | |||
* lv2_sm_control_led | |||
*/ | |||
static inline int lv2_sm_control_led(uint8_t p, uint8_t s) | |||
{ | |||
return Lv2Syscall2(386, p, s); | |||
}//--> Value1 = 0,1,2 (red, green, red+green combined: looks like yellow); Value2 = 0,1,2 (off,on,blink) | |||
|- | |- | ||
| | | 387 | ||
| | | 0x183 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | {{Dbg}} | ||
| | | sys_sm_get_platform_info? | ||
| syscall(387, uint8_t platform_info[0x18]) / OS Version, Revision, System Software Version? <!--///* | |||
* lv2_get_platform_info | |||
*/ | |||
static inline int lv2_get_platform_info(struct platform_info *info) | |||
{ | |||
return Lv2Syscall1(387, (uint64_t) info); | |||
}//--> | |||
|- | |- | ||
| | | 388 | ||
| | | 0x184 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| {{Root}} | | {{Root}} | ||
| | | sys_sm_ring_buzzer_too | ||
| | | HV System Manager access - ServiceID 21 (RING_BUZZER) | ||
|- | |||
| 389 | |||
| 0x185 | |||
| {{CEX}} {{DEX}} | |||
| {{Productmode}} | |||
| sys_sm_ | |||
| 3 Params (all 3 uint8_t*), HV System Manager access - ServiceID 25 (FAN_POLICY) | |||
|- | |- | ||
| | | 390 | ||
| | | 0x186 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| {{Root}} | | {{Root}} | ||
| | | sys_sm_request_error_log? | ||
| | | 4 Params, HV System Manager access - ServiceID 26 (REQUEST_ERROR_LOG) | ||
|- | |- | ||
| 391 | |||
| 0x187 | |||
| {{CEX}} {{DEX}} | |||
| {{Root}} | |||
| sys_sm_request_be_count? | |||
| 4 Params, HV System Manager access - ServiceID 28 (REQUEST_BE_COUNT): out:uint8_t[1],out:uint8_t[4],out:uint8_t[4],out:uint8_t[4] | |||
|- | |- | ||
| | | 392 | ||
| | | 0x188 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| {{Root}} | | {{Root}} | ||
| | | lv2_sm_ring_buzzer? | ||
| int | | 3 Params: PacketID=0x1004, field2, field4 [[http://ps3devwiki.com/index.php?title=Hypervisor_Reverse_Engineering#Parameters_6 Parameters]]<!--///* | ||
* lv2_sm_ring_buzzer | |||
*/ | |||
static inline int lv2_sm_ring_buzzer(uint64_t unknown1, uint8_t unknown2, uint32_t unknown3) | |||
{ | |||
return Lv2Syscall3(392, unknown1, unknown2, unknown3); | |||
}//--> | |||
|- | |- | ||
| | | 393 | ||
| | | 0x189 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| {{Root}} | | {{Root}} | ||
| | | sys_sm_get_model? | ||
| | | gets hw? model: syscall(393,uint8_t out1[2], uint8_t out2[8]) <!--///* | ||
* lv2_get_sys_hw_config | |||
*/ | |||
static inline int lv2_get_sys_hw_config(uint8_t *res, uint64_t *val) | |||
{ | |||
return Lv2Syscall2(393, (uint64_t) res, (uint64_t) val); | |||
}//--> | |||
|- | |- | ||
| | | 394 | ||
| | | 0x18A | ||
| {{ | | {{CEX}} {{DEX}} | ||
| {{Root}} | | {{Root}} | ||
| | | sys_sm_request_scVersion? | ||
| | | uint8_t SoftID[8],old_PatchID[8],new_PatchID[8]; lv2syscall3(394, (uint64_t)SoftID, (uint64_t)old_PatchID, (uint64_t)new_PatchID);<br />HV System Manager access - ServiceID 30 (REQUEST_SC_VERSION) [[http://www.ps3devwiki.com/wiki/System_Controller_Firmware#.27info0.27 SC Firmware]] | ||
HV System Manager access - ServiceID | |||
|- | |- | ||
| | | 395 | ||
| | | 0x18B | ||
| {{ | | {{CEX}} {{DEX}} | ||
| {{ | | {{Productmode}} | ||
| | | sys_sm_request_system_event_log? | ||
| | | 6 Params, HV System Manager access - ServiceID 32 (REQUEST_SYSTEM_EVENT_LOG) | ||
|- | |- | ||
| | | 396 | ||
| | | 0x18C | ||
| {{ | | {{CEX}} {{DEX}} | ||
| {{Root}} | | {{Root}} | ||
| | | sys_sm_set_rtc_alarm | ||
| | | 1 Param, HV System Manager access - ServiceID 34+38 (RTC_ALARM) | ||
|- | |- | ||
| | | 397 | ||
| | | 0x18D | ||
| {{ | | {{CEX}} {{DEX}} | ||
| {{Root}} | | {{Root}} | ||
| | | sys_sm_get_rtc_alarm | ||
| | | 1 Param, HV System Manager access - ServiceID 36 | ||
|- | |- | ||
| | | 398 | ||
| | | 0x18E | ||
| {{ | | {{CEX}} {{DEX}} | ||
| {{Root}} | | {{Root}} | ||
| | | | ||
| int | | 2 Params,int lv2_lv1_log_write(const char *s, unsigned int len) <!--///* | ||
* lv2_lv1_log_write | |||
*/ | |||
static inline int lv2_lv1_log_write(const char *s, unsigned int len) | |||
{ | |||
return Lv2Syscall2(398, (uint64_t) s, len); | |||
}//--> | |||
|- | |- | ||
| | | 400 | ||
| | | 0x190 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| {{ | | {{Productmode}} | ||
| | | | ||
| | | 3 Params, HV System Manager access - ServiceID 32 (REQUEST_SYSTEM_EVENT_LOG) <br> (Requires Product Mode) | ||
|- | |- | ||
| | | 401 | ||
| | | 0x191 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| {{Root}} | | {{Root}} | ||
| | | | ||
| | | 2 Params, HV System Manager access - ServiceID 40 (BOOT_PARAMETER) | ||
|- | |- | ||
! colspan="6" id="sys_tty Syscalls"|[[#sys_tty Syscalls]] (402-403) | |||
|- | |- | ||
| | | 402 | ||
| | | 0x192 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | |||
| | | sys_tty_read | ||
| | | int sys_tty_read(unsigned int ch, void *buf, unsigned int len, unsigned int *preadlen); | ||
|- | |||
| 403 | |||
| 0x193 | |||
| {{CEX}} {{DEX}} | |||
| | |||
| sys_tty_write | |||
| int sys_tty_write(unsigned int ch, const void *buf, unsigned int len, unsigned int *pwritelen); | |||
|- | |- | ||
| | | 404 | ||
| | | 0x194 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| {{Root}} | | {{Root}} | ||
| | | | ||
| 2 Params,HV System Manager access - ServiceID | | 2 Params: out:uint8_t [8], out:uint8_t [1], HV System Manager access - ServiceID 42 (BOOT_PARAMETER) <br> [Network Settings for Debug] related, returns single/dual setting flag? | ||
|- | |- | ||
| | | 405 | ||
| | | 0x195 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| {{Productmode}} | | {{Productmode}} | ||
| | | | ||
| | | 2 Params: out:uint8_t [2],out:uint8_t[1], HV System Manager access - ServiceID 44 | ||
|- | |- | ||
| | | 406 | ||
| | | 0x196 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| {{ | | {{Productmode}} | ||
| | | | ||
| | | 2 Params: r3(0x01,0x02,0x04,0x08,0x10,0x20,0x40,0x80,0x100) ,out:uint8_t[1], HV System Manager access - ServiceID 46 | ||
|- | |- | ||
| | | 407 | ||
| | | 0x197 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| {{ | | {{Productmode}} | ||
| | | | ||
| | | 1 Param: out:uint8_t [1], HV System Manager access - ServiceID 48 | ||
|- | |- | ||
| | | 408 | ||
| | | 0x198 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| {{ | | {{Productmode}} | ||
| | | | ||
| | | 1 Param: out:uint8_t [0x20] | ||
|- | |- | ||
| | | 409 | ||
| | | 0x199 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| {{ | | {{Productmode}} | ||
| | | | ||
| | | 5 Params, HV System Manager access - ServiceID 50 (FAN_POLICY) | ||
|- | |- | ||
| | ! colspan="6" id="sys_game Syscalls"|[[#sys_game Syscalls]] (372-376+410-412) | ||
|- | |- | ||
| | | 410 | ||
| | | 0x19A | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | sys_game_board_storage_read | ||
| | | 2 Params,out:uint8_t[0x10], uint8_t[1], HV System Manager access - ServiceID 54 | ||
|- | |- | ||
| | | 411 | ||
| | | 0x19B | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | sys_game_board_storage_write | ||
| | | 2 Params,in:uint8_t[0x10],uint8_t[1], HV System Manager access - ServiceID 52 | ||
|- | |- | ||
| | | 412 | ||
| | | 0x19C | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | sys_game_get_rtc_status | ||
| | | | ||
|- | |- | ||
| | | 413 | ||
| | | 0x19D | ||
| {{ | | {{CEX}} {{DEX}} | ||
| {{Root}} | | {{Root}} | ||
| | | | ||
| | | 3 Params, HV System Manager access - ServiceID 56: out:uint8_t[1],out:uint8_t[1],out:uint8_t[1] | ||
|- | |- | ||
| | | 414 | ||
| | | 0x19E | ||
| | | {{CEX}} {{DEX}} | ||
| | | {{Root}} | ||
| | | | ||
| 3 Params,in:packetid ,in:uint8_t[0x20],out:uint8_t[1], HV System Manager access - ServiceID 58 | |||
|- | |- | ||
| | | 415 | ||
| | | 0x19F | ||
| | | {{CEX}} {{DEX}} | ||
| {{Root}} | | {{Root}} | ||
| | | | ||
| | | 3 Params,in:packetid,out:uint8_t[0x20],out:uint8_t[1], HV System Manager access - ServiceID 60 | ||
|- | |- | ||
! colspan="6" id=" | ! colspan="6" id="sys_overlay Syscalls"|[[#sys_overlay Syscalls]] (450-457) | ||
|- | |- | ||
| | | 450 | ||
| | | 0x1C2 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | sys_overlay_load_module | ||
| int | | int sys_overlay_load_module(sys_overlay_t * ovlmid, const char *path, uint64_t flags, sys_addr_t * entry) | ||
|- | |- | ||
| | | 451 | ||
| | | 0x1C3 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | sys_overlay_unload_module | ||
| int | | int sys_overlay_unload_module(sys_overlay_t ovlmid) | ||
|- | |- | ||
| | | 452 | ||
| | | 0x1C4 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | sys_overlay_get_module_list | ||
| int sys_overlay_get_module_list(sys_pid_t pid, size_t ovlmids_num, sys_overlay_t * ovlmids, size_t * num_of_modules) | |||
|- | |- | ||
| | | 453 | ||
| | | 0x1C5 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | sys_overlay_get_module_info | ||
| int sys_overlay_get_module_info(sys_pid_t pid,sys_overlay_t ovlmid, sys_overlay_module_info_t * info) | |||
|- | |- | ||
| | | 454 | ||
| | | 0x1C6 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | sys_overlay_load_module_by_fd | ||
| int sys_overlay_load_module_by_fd(sys_overlay_t * ovlmid, int fd, off64_t offset, uint64_t flags, sys_addr_t * entry) | |||
|- | |- | ||
| | | 455 | ||
| | | 0x1C7 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | sys_overlay_get_module_info2 | ||
| int sys_overlay_get_module_info2(sys_pid_t pid, sys_overlay_t ovlmid, sys_overlay_module_info2_t * info) | |||
|- | |- | ||
| | | 456 | ||
| | | 0x1C8 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | sys_overlay_get_sdk_version | ||
| | | 2 Params | ||
|- | |- | ||
| | | 457 | ||
| | | 0x1C9 | ||
| | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | sys_overlay_get_module_dbg_info | ||
| | | 3 Params: (sys_pid_t pid, sys_overlay_t ovlmid, sys_overlay_module_dbg_t * info) ? | ||
|- | |- | ||
| | | 458 | ||
| | | 0x1CA | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | sys_overlay_get_module_dbg_info too | ||
| | | 3 Params: | ||
|- | |- | ||
| | ! colspan="6" id="sys_prx Syscalls"|[[#sys_prx Syscalls]] (460-499) | ||
|- | |- | ||
| | | 460 | ||
| | | 0x1CC | ||
| | | {{DEX}} | ||
| {{Root}} | | {{Root}} | ||
| | |||
| | |||
|- | |||
| 461 | |||
| 0x1CD | |||
| {{CEX}} {{DEX}} | |||
| | | | ||
| | | sys_prx_get_module_id_by_address | ||
| sys_prx_id_t sys_prx_get_module_id_by_address(void* addr) | |||
|- | |- | ||
| | | 463 | ||
| | | 0x1CF | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | sys_prx_load_module_by_fd | ||
| sys_prx_id_t sys_prx_load_module_by_fd(int fd, off64_t offset, sys_prx_flags_t flags, sys_prx_load_module_option_t pOpt) | |||
|- | |- | ||
| | | 464 | ||
| | | 0x1D0 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | sys_prx_load_module_on_memcontainer_by_fd | ||
| sys_prx_id_t sys_prx_load_module_on_memcontainer_by_fd(int fd,off64_t offset,sys_memory_container_t mem_container,sys_prx_flags_t flags,sys_prx_load_module_option_t pOpt) | |||
|- | |- | ||
| 465 | |||
| | | 0x1D1 | ||
| {{CEX}} {{DEX}} | |||
| {{ | |||
| | | | ||
| | | sys_prx_load_module_list | ||
| int | | int sys_prx_load_module_list(int n, const char **path_list, uint64_t flags, sys_prx_load_module_list_option_t * pOpt, sys_prx_id_t * idlist) | ||
|- | |- | ||
| | | 466 | ||
| | | 0x1D2 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | sys_prx_load_module_list_on_memcontainer | ||
| int | | sys_prx_id_t sys_prx_load_module_by_fd(int fd, off64_t offset, uint64_t flags, sys_prx_load_module_option_t * pOpt) | ||
|- | |- | ||
| | | 467 | ||
| | | 0x1D3 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | sys_prx_get_ppu_guid | ||
| | | sys_addr_t sys_prx_get_ppu_guid(sys_prx_id_t id) | ||
|- | |- | ||
| | | 468 | ||
| | | 0x1D4 | ||
| {{ | | {{DEX}} | ||
| {{Root}} | |||
| | |||
| | |||
|- | |||
| 470 | |||
| 0x1D6 | |||
| {{CEX}} {{DEX}} | |||
| {{Root}} | |||
| | | | ||
| int syscall 470 (uint32_t type?, void* npd? [0x60]) | |||
| int | |||
|- | |- | ||
| | | 471 | ||
| | | 0x1D7 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| {{Root}} | |||
| | | | ||
| int syscall_471(uint32_t type, char* titleID, void* klicensee, uint8_t* actdat, uint8_t* rif, int32_t licenseType, uint8_t* magicVersion);<!--//The function has different parameters depending if the content is debug, free or paid: | |||
| int | FREE: syscall471(npd.type, &npd.titleID, freeklicensee, NULL, NULL, npd.license, &npd); | ||
PAID: syscall471(npd.type, &npd.titleID, NULL, &actdat.keyTable[rif.actDatIndex], &rif.key, npd.license, &npd);//--> | |||
|- | |- | ||
| | | 472 | ||
| | | 0x1D8 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| {{Root}} | |||
| | | | ||
| | | 2 Params: | ||
|- | |- | ||
| | | 473 | ||
| | | 0x1D9 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | |||
| | |||
| | | | ||
|- | |- | ||
| | | 474 | ||
| | | 0x1DA | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | |||
| | | | ||
| | | | ||
|- | |- | ||
| 475 | |||
| 0x1DB | |||
| {{CEX}} {{DEX}} | |||
| {{Root}} | |||
| | |||
| int syscall_475(uint32_t type, void* npd?, void* klicensee, uint8_t* actdat, uint8_t* rif, uint8_t magicVersion) | |||
|- | |- | ||
| | | 476 | ||
| | | 0x1DC | ||
| {{ | | {{CEX}} {{DEX}} | ||
| {{Root}} | | {{Root}} | ||
| | | | ||
| | | can only be either syscall476 (1,0) or syscall476 (0,1) | ||
|- | |- | ||
| | | 480 | ||
| | | 0x1E0 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | sys_prx_load_module | ||
| sys_prx_id_t | | sys_prx_id_t sys_prx_load_module(const char* path, sys_prx_flags_t flags, sys_prx_load_module_option_t pOpt) | ||
|- | |- | ||
| | | 481 | ||
| | | 0x1E1 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_prx_start_module | |||
| int sys_prx_start_module(sys_prx_id_t id, size_t args, void *argp, int *modres, sys_prx_flags_t flags, sys_prx_start_module_option_t pOpt) | |||
|- | |||
| 482 | |||
| 0x1E2 | |||
| {{CEX}} {{DEX}} | |||
| | | | ||
| | | sys_prx_stop_module | ||
| int sys_prx_stop_module(sys_prx_id_t id, size_t args, void *argp, int *modres, sys_prx_flags_t flags, sys_prx_stop_module_option_t pOpt) | |||
|- | |- | ||
| | | 483 | ||
| | | 0x1E3 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | sys_prx_unload_module | ||
| sys_prx_id_t | | int sys_prx_unload_module(sys_prx_id_t id, sys_prx_flags_t flags, sys_prx_unload_module_option_t pOpt); | ||
|- | |- | ||
| | | 484 | ||
| | | 0x1E4 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | sys_prx_register_module | ||
| | | int sys_prx_register_module(const sys_prx_register_module_option_t * pOpt) | ||
|- | |- | ||
| | | 485 | ||
| | | 0x1E5 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | |||
| sys_prx_query_module | |||
| | | | ||
|- | |- | ||
| | | 486 | ||
| | | 0x1E6 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | sys_prx_register_library | ||
| | | int sys_prx_register_library(void* library) | ||
|- | |- | ||
| | | 487 | ||
| | | 0x1E7 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | sys_prx_unregister_library | ||
| | | int sys_prx_unregister_library(void* library) | ||
|- | |- | ||
| | | 488 | ||
| | | 0x1E8 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | sys_prx_link_library | ||
| | | | ||
|- | |- | ||
| | | 489 | ||
| | | 0x1E9 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | sys_prx_unlink_library | ||
| | | | ||
|- | |- | ||
| | | 490 | ||
| | | 0x1EA | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | sys_prx_query_library | ||
| | | | ||
|- | |- | ||
| | | 492 | ||
| | | 0x1EC | ||
| {{ | | {{CEX}} {{DEX}} | ||
| {{ | | {{Dbg}} | ||
| | | | ||
| | | 4 Params: | ||
|- | |||
| 493 | |||
| 0x1ED | |||
| {{CEX}} {{DEX}} | |||
| {{Dbg}} | |||
| sys_prx_dbg_get_module_info | |||
| 3 Params: | |||
|- | |- | ||
| | | 494 | ||
| | | 0x1EE | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_prx_get_module_list | |||
| int sys_prx_get_module_list(sys_prx_flags_t flags, sys_prx_get_module_list_t *pInfo); | |||
|- | |||
| 495 | |||
| 0x1EF | |||
| {{CEX}} {{DEX}} | |||
| | | | ||
| sys_prx_get_module_info | |||
| int sys_prx_get_module_info(sys_prx_id_t id, sys_prx_flags_t flags, sys_prx_module_info_t *pInfo) | |||
|- | |- | ||
| | | 496 | ||
| | | 0x1F0 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_prx_get_module_id_by_name | |||
| sys_prx_id_t sys_prx_get_module_id_by_name(const char* name, sys_prx_flags_t flags, sys_prx_get_module_id_by_name_option_t *pOpt) | |||
|- | |- | ||
| | | 497 | ||
| | | 0x1F1 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | sys_prx_load_module_on_memcontainer | ||
| | | sys_prx_id_t sys_prx_load_module_on_memcontainer(const char* path, sys_memory_container_t mem_container, sys_prx_flags_t flags, sys_prx_load_module_option_t pOpt) | ||
|- | |- | ||
| | | 498 | ||
| | | 0x1F2 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_prx_start | |||
| | | | ||
|- | |- | ||
| | | 499 | ||
| | | 0x1F3 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | sys_prx_stop | ||
| | | 0 Params | ||
|- | |- | ||
| | | 500 | ||
| | | 0x1F4 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | | ||
| | | 2 Params | ||
|- | |- | ||
| | | 501 | ||
| | | 0x1F5 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | | ||
| | | 1 Param | ||
|- | |- | ||
| | | 502 | ||
| | | 0x1F6 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| {{Root}} | |||
| | | | ||
| | | 4 Params | ||
|- | |- | ||
| | | 503 | ||
| | | 0x1F7 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | |||
| | | | ||
| | | 4 Params | ||
|- | |- | ||
| | | 504 | ||
| | | 0x1F8 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| {{Root}} | |||
| | | | ||
| | | 3 Params | ||
|- | |- | ||
| | | 505 | ||
| | | 0x1F9 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| {{Root}} | |||
| | | | ||
| | | 3 Params | ||
|- | |- | ||
| | | 506 | ||
| | | 0x1FA | ||
| {{ | | {{CEX}} {{DEX}} | ||
| {{Root}} | |||
| | | | ||
| | | 2 Params | ||
|- | |- | ||
| | | 507 | ||
| | | 0x1FB | ||
| {{ | | {{CEX}} {{DEX}} | ||
| {{Root}} | |||
| | | | ||
| | | 2 Params | ||
|- | |- | ||
| | | 508 | ||
| | | 0x1FC | ||
| {{ | | {{CEX}} {{DEX}} | ||
| {{ | | {{Root}} | ||
| | | | ||
| | | 1 Param: sys_pid_t pid (for example current pid) | ||
|- | |- | ||
| | | 509 | ||
| | | 0x1FD | ||
| {{ | | {{CEX}} {{DEX}} | ||
| {{ | | {{Root}} | ||
| | | | ||
| | | 1 Param | ||
|- | |- | ||
| | | 510 | ||
| | | 0x1FE | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | | ||
| int syscall(510, void), returns pid?/threadid? | |||
| int | |||
|- | |- | ||
| | | 511 | ||
| | | 0x1FF | ||
| {{ | | {{CEX}} {{DEX}} | ||
| {{Root}} | |||
| | | | ||
| | | 1 Param | ||
|- | |- | ||
| | | 512 | ||
| | | 0x200 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| {{Root}} | |||
| | | | ||
| | | 1 Param : int syscall(512,sys_pid_t pid), simple root-flag check?; | ||
|- | |||
|-! colspan="6" id="sys_config Syscalls"|[[#sys_config Syscalls]] | |||
|- | |- | ||
| | | 513 | ||
| | | 0x201 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | |||
| | | | ||
| | | 4 Params | ||
|- | |- | ||
| | | 514 | ||
| | | 0x202 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | |||
| | | | ||
| | | 3 Params | ||
|- | |- | ||
| 516 | |||
| 0x204 | |||
| {{CEX}} {{DEX}} | |||
| | |||
| sys_config_open | |||
| 2 Params : (sys_event_queue_t * equeue_id, uint64_t *out) | |||
|- | |- | ||
| | | 517 | ||
| | | 0x205 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | sys_config_close | ||
| | | sys_config_close(sys_event_queue_t * equeue_id); | ||
|- | |- | ||
| | | 518 | ||
| | | 0x206 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | sys_config_get_service_event | ||
| | | 4 Params: | ||
|- | |- | ||
| | | 519 | ||
| | | 0x207 | ||
| | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | sys_config_add_service_listener | ||
| | | 6 Params | ||
|- | |- | ||
| | | 520 | ||
| | | 0x208 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | sys_config_remove_service_listener | ||
| | | 2 Params | ||
|- | |- | ||
| | | 521 | ||
| | | 0x209 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | sys_config_register_service | ||
| | | 7 Params | ||
|- | |- | ||
| | | 522 | ||
| | | 0x20A | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | sys_config_unregister_service | ||
| 2 Params | | 2 Params | ||
|- | |- | ||
| | | 523 | ||
| | | 0x20B | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | 524 | ||
| | | 0x20C | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | 525 | ||
| | | 0x20D | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | |||
| | |||
| | | | ||
|- | |- | ||
| | | 530 | ||
| | | 0x212 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | |||
| | |||
| | |||
| | |||
| | | | ||
|- | |- | ||
| | | 531 | ||
| | | 0x213 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | 532 | ||
| | | 0x214 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | |||
| | | | ||
| | | | ||
|- | |- | ||
| | | 533 | ||
| | | 0x215 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | 534 | ||
| | | 0x216 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | 535 | ||
| | | 0x217 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | |||
| | | | ||
| | | | ||
|- | |- | ||
| | | 536 | ||
| | | 0x218 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | 537 | ||
| | | 0x219 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | 538 | ||
| | | 0x21A | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | 539 | ||
| | | 0x21B | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| 540 | | 540 | ||
| 0x21C | | 0x21C | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | |||
| | |||
| | | | ||
|- | |- | ||
| 541 | | 541 | ||
| 0x21D | | 0x21D | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | |||
| | |||
| | | | ||
|- | |- | ||
| 542 | | 542 | ||
| 0x21E | | 0x21E | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | |||
| | |||
| | | | ||
|- | |- | ||
| 543 | | 543 | ||
| 0x21F | | 0x21F | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | |||
| | |||
| | | | ||
|- | |- | ||
| 544 | | 544 | ||
| 0x220 | | 0x220 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | |||
| | |||
| | | | ||
|- | |- | ||
| 545 | | 545 | ||
| 0x221 | | 0x221 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | |||
| | |||
| | | | ||
|- | |- | ||
| 546 | | 546 | ||
| 0x222 | | 0x222 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | |||
| | |||
| | | | ||
|- | |- | ||
| 547 | | 547 | ||
| 0x223 | | 0x223 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | |||
| | |||
| | | | ||
|- | |- | ||
| 548 | | 548 | ||
| 0x224 | | 0x224 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | |||
| | |||
| | | | ||
|- | |- | ||
| 549 | | 549 | ||
| 0x225 | | 0x225 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | |||
| | |||
| | | | ||
|- | |- | ||
| 550 | | 550 | ||
| 0x226 | | 0x226 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | |||
| | |||
| | | | ||
|- | |- | ||
| 551 | | 551 | ||
| 0x227 | | 0x227 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | |||
| | |||
| | | | ||
|- | |- | ||
| 552 | | 552 | ||
| 0x228 | | 0x228 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | |||
| | |||
| | | | ||
|- | |- | ||
| 553 | | 553 | ||
| 0x229 | | 0x229 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | |||
| | | | ||
| | | | ||
|- | |- | ||
| 554 | | 554 | ||
| 0x22A | | 0x22A | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | |||
| | | | ||
| | | | ||
|- | |- | ||
| 555 | | 555 | ||
| 0x22B | | 0x22B | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | |||
| | | | ||
| | | | ||
|- | |- | ||
| 556 | | 556 | ||
| 0x22C | | 0x22C | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | |||
| | |||
| | | | ||
|- | |- | ||
| 557 | | 557 | ||
| 0x22D | | 0x22D | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | |||
| | | | ||
| | | | ||
|- | |- | ||
| 558 | | 558 | ||
| 0x22E | | 0x22E | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | |||
| | |||
| | | | ||
|- | |- | ||
| 559 | | 559 | ||
| 0x22F | | 0x22F | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | |||
| | |||
| | | | ||
|- | |- | ||
! colspan="6" id="sys_gl819 Syscalls"|[[#sys_gl819 Syscalls]] Cardcontroller cf/sd/mmc/sm/ms | ! colspan="6" id="sys_gl819 Syscalls"|[[#sys_gl819 Syscalls]] Cardcontroller cf/sd/mmc/sm/ms | ||
Line 3,522: | Line 3,187: | ||
| 560 | | 560 | ||
| 0x230 | | 0x230 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| {{Root}} | | {{Root}} | ||
| | | | ||
| | | | ||
|- | |- | ||
| 561 | | 561 | ||
| 0x231 | | 0x231 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| {{Root}} | | {{Root}} | ||
| | | | ||
| 1 Param: out:uint8_t [4] | | 1 Param: out:uint8_t [4] | ||
|- | |- | ||
| 562 | | 562 | ||
| 0x232 | | 0x232 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| {{Root}} | | {{Root}} | ||
| | | | ||
Line 3,543: | Line 3,208: | ||
| 563 | | 563 | ||
| 0x233 | | 0x233 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | | ||
Line 3,550: | Line 3,215: | ||
| 564 | | 564 | ||
| 0x234 | | 0x234 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | | ||
Line 3,557: | Line 3,222: | ||
| 565 | | 565 | ||
| 0x235 | | 0x235 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | | ||
Line 3,564: | Line 3,229: | ||
| 566 | | 566 | ||
| 0x236 | | 0x236 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | | ||
Line 3,571: | Line 3,236: | ||
| 567 | | 567 | ||
| 0x237 | | 0x237 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | | ||
Line 3,578: | Line 3,243: | ||
| 568 | | 568 | ||
| 0x238 | | 0x238 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | | ||
Line 3,585: | Line 3,250: | ||
| 569 | | 569 | ||
| 0x239 | | 0x239 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| 570 | | 570 | ||
| 0x23A | | 0x23A | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| 571 | | 571 | ||
| 0x23B | | 0x23B | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | |||
| | |||
| | | | ||
|- | |- | ||
| 572 | | 572 | ||
| 0x23C | | 0x23C | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | |||
| | |||
| | | | ||
|- | |- | ||
| 573 | | 573 | ||
| 0x23D | | 0x23D | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | |||
| | |||
| | | | ||
|- | |- | ||
| 574 | | 574 | ||
| 0x23E | | 0x23E | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | |||
| | |||
| | | | ||
|- | |- | ||
| 575 | | 575 | ||
| 0x23F | | 0x23F | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | |||
| | |||
| | | | ||
|- | |- | ||
| 577 | | 577 | ||
| 0x241 | | 0x241 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| {{Root}} {{Productmode}} | | {{Root}} {{Productmode}} | ||
| | | | ||
| | | | ||
|- | |- | ||
| 578 | | 578 | ||
| 0x242 | | 0x242 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| 580 | | 580 | ||
| 0x244 | | 0x244 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | | ||
| | | | ||
Line 3,667: | Line 3,320: | ||
| 581 | | 581 | ||
| 0x245 | | 0x245 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | | ||
| | | | ||
Line 3,674: | Line 3,327: | ||
| 582 | | 582 | ||
| 0x246 | | 0x246 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | | ||
| | | | ||
Line 3,681: | Line 3,334: | ||
| 583 | | 583 | ||
| 0x247 | | 0x247 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | | ||
| gets Bluetooth Firmware Version: syscall(0x247, out:uint8_t [2]) | | gets Bluetooth Firmware Version: syscall(0x247, out:uint8_t [2]) | ||
|- | |||
! colspan="6" id="sys_dfu Syscalls"|[[#sys_dfu Syscalls]] | |||
|- | |- | ||
| 584 | | 584 | ||
| 0x248 | | 0x248 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| 585 | | 585 | ||
| 0x249 | | 0x249 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| 586 | | 586 | ||
| 0x24A | | 0x24A | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| 587 | | 587 | ||
| 0x24B | | 0x24B | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| 588 | | 588 | ||
| 0x24C | | 0x24C | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| 589 | | 589 | ||
| 0x24D | | 0x24D | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| 590 | | 590 | ||
| 0x24E | | 0x24E | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| 591 | | 591 | ||
| 0x24F | | 0x24F | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | | ||
| | | panic | ||
|- | |- | ||
| 592 | | 592 | ||
| 0x250 | | 0x250 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | |||
| | |||
| | | | ||
|- | |- | ||
| 593 | | 593 | ||
| 0x251 | | 0x251 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| 594 | | 594 | ||
| 0x252 | | 0x252 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | |||
| | |||
| | | | ||
|- | |- | ||
| 595 | | 595 | ||
| 0x253 | | 0x253 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | |||
| | |||
| | | | ||
|- | |- | ||
| 596 | | 596 | ||
| 0x254 | | 0x254 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | |||
| | |||
| | | | ||
|- | |- | ||
| 597 | | 597 | ||
| 0x255 | | 0x255 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | | ||
| syscall(597,void) | bt_cancel_connect_accept_controller() | | syscall(597,void) | bt_cancel_connect_accept_controller() | ||
|- | |- | ||
| 598 | | 598 | ||
| 0x256 | | 0x256 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | | ||
| 0 Param | | 0 Param | ||
Line 3,793: | Line 3,448: | ||
| 599 | | 599 | ||
| 0x257 | | 0x257 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | | ||
| 2 Params: out:uint8_t[2], out:uint8_t[2] | | 2 Params: out:uint8_t[2], out:uint8_t[2] | ||
Line 3,802: | Line 3,457: | ||
| 600 | | 600 | ||
| 0x258 | | 0x258 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| {{Root}} | | {{Root}} | ||
| sys_storage_open | | sys_storage_open | ||
| int sys_storage_open(uint64_t id, int | | int sys_storage_open(uint64_t id, int unknown_1, int *fd, int unknown_2) unknown_1=0,unknown_2=0 | ||
|- | |- | ||
| 601 | | 601 | ||
| 0x259 | | 0x259 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_storage_close | | sys_storage_close | ||
Line 3,816: | Line 3,471: | ||
| 602 | | 602 | ||
| 0x25A | | 0x25A | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_storage_read | | sys_storage_read | ||
| int sys_storage_read(int fd, int | | int sys_storage_read(int fd, int unknown_1, uint32_t start_sector, uint32_t sectors, uint8_t *bounce_buf, uint32_t *sectors_read, int unknown_2) unknown_1=0,unknown_2=0 | ||
|- | |- | ||
| 603 | | 603 | ||
| 0x25B | | 0x25B | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_storage_write | | sys_storage_write | ||
Line 3,838: | Line 3,493: | ||
| 604 | | 604 | ||
| 0x25C | | 0x25C | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_storage_send_device_command | | sys_storage_send_device_command | ||
| | | 6 Params: | ||
|- | |- | ||
| 605 | | 605 | ||
| 0x25D | | 0x25D | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_storage_async_configure | | sys_storage_async_configure | ||
Line 3,853: | Line 3,507: | ||
| 606 | | 606 | ||
| 0x25E | | 0x25E | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_storage_async_read | | sys_storage_async_read | ||
Line 3,860: | Line 3,514: | ||
| 607 | | 607 | ||
| 0x25F | | 0x25F | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_storage_async_write | | sys_storage_async_write | ||
Line 3,867: | Line 3,521: | ||
| 608 | | 608 | ||
| 0x260 | | 0x260 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_storage_async_cancel | | sys_storage_async_cancel | ||
Line 3,874: | Line 3,528: | ||
| 609 | | 609 | ||
| 0x261 | | 0x261 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| {{Root}} | | {{Root}} | ||
| sys_storage_get_device_info | | sys_storage_get_device_info | ||
Line 3,881: | Line 3,535: | ||
| 610 | | 610 | ||
| 0x262 | | 0x262 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| {{Root}} | | {{Root}} | ||
| sys_storage_get_device_config | | sys_storage_get_device_config | ||
Line 3,888: | Line 3,542: | ||
| 611 | | 611 | ||
| 0x263 | | 0x263 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| {{Root}} | | {{Root}} | ||
| sys_storage_report_devices | | sys_storage_report_devices | ||
Line 3,895: | Line 3,549: | ||
| 612 | | 612 | ||
| 0x264 | | 0x264 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| {{Root}} | | {{Root}} | ||
| sys_storage_configure_medium_event | | sys_storage_configure_medium_event | ||
Line 3,902: | Line 3,556: | ||
| 613 | | 613 | ||
| 0x265 | | 0x265 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_storage_set_medium_polling_interval | | sys_storage_set_medium_polling_interval | ||
Line 3,909: | Line 3,563: | ||
| 614 | | 614 | ||
| 0x266 | | 0x266 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_storage_create_region | | sys_storage_create_region | ||
Line 3,923: | Line 3,577: | ||
| 615 | | 615 | ||
| 0x267 | | 0x267 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_storage_delete_region | | sys_storage_delete_region | ||
Line 3,936: | Line 3,590: | ||
| 616 | | 616 | ||
| 0x268 | | 0x268 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_storage_execute_device_command | | sys_storage_execute_device_command | ||
Line 3,953: | Line 3,607: | ||
| 617 | | 617 | ||
| 0x269 | | 0x269 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_storage_check_region_acl | | sys_storage_check_region_acl | ||
Line 3,960: | Line 3,614: | ||
| 618 | | 618 | ||
| 0x26A | | 0x26A | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_storage_set_region_acl | | sys_storage_set_region_acl | ||
Line 3,967: | Line 3,621: | ||
| 619 | | 619 | ||
| 0x26B | | 0x26B | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_storage_async_send_device_command | | sys_storage_async_send_device_command | ||
Line 3,974: | Line 3,628: | ||
| 620 | | 620 | ||
| 0x26C | | 0x26C | ||
| {{ | | {{CEX}} {{DEX}} | ||
| {{Root}} | | {{Root}} | ||
| | | | ||
Line 3,981: | Line 3,635: | ||
| 621 | | 621 | ||
| 0x26D | | 0x26D | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_gamepad_ycon_if | | sys_gamepad_ycon_if | ||
| syscall(621,packet_id,uint8_t *in,uint8_t *out) [[Talk:LV2_Functions_and_Syscalls#Syscall_621_.280x26D.29 gamepad_if usage]] | | syscall(621,packet_id,uint8_t *in,uint8_t *out) [[http://ps3devwiki.com/wiki/Talk:LV2_Functions_and_Syscalls#Syscall_621_.280x26D.29 gamepad_if usage]] | ||
|- | |- | ||
| 622 | | 622 | ||
| 0x26E | | 0x26E | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_storage_get_region_offset | | sys_storage_get_region_offset | ||
Line 3,995: | Line 3,649: | ||
| 623 | | 623 | ||
| 0x26F | | 0x26F | ||
| | | | ||
| | | | ||
| sys_storage_set_emulated_speed | | sys_storage_set_emulated_speed | ||
Line 4,004: | Line 3,658: | ||
| 624 | | 624 | ||
| 0x270 | | 0x270 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_io_buffer_create | | sys_io_buffer_create | ||
Line 4,011: | Line 3,665: | ||
| 625 | | 625 | ||
| 0x271 | | 0x271 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_io_buffer_destroy | | sys_io_buffer_destroy | ||
Line 4,018: | Line 3,672: | ||
| 626 | | 626 | ||
| 0x272 | | 0x272 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_io_buffer_allocate | | sys_io_buffer_allocate | ||
Line 4,025: | Line 3,679: | ||
| 627 | | 627 | ||
| 0x273 | | 0x273 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_io_buffer_free | | sys_io_buffer_free | ||
Line 4,034: | Line 3,688: | ||
| 630 | | 630 | ||
| 0x276 | | 0x276 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_gpio_set | | sys_gpio_set | ||
Line 4,041: | Line 3,695: | ||
| 631 | | 631 | ||
| 0x277 | | 0x277 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_gpio_get | | sys_gpio_get | ||
Line 4,049: | Line 3,703: | ||
|- | |- | ||
| 633 | | 633 | ||
| | | 0x278 | ||
| | | | ||
| | | | ||
| sys_fsw_connect_event | | sys_fsw_connect_event | ||
Line 4,056: | Line 3,710: | ||
|- | |- | ||
| 634 | | 634 | ||
| | | 0x279 | ||
| | | | ||
| | | | ||
| sys_fsw_disconnect_event | | sys_fsw_disconnect_event | ||
Line 4,066: | Line 3,720: | ||
| 635 | | 635 | ||
| 0x27B | | 0x27B | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_btsetting_if? | | sys_btsetting_if? | ||
| 2 Params: uint64_t packet_id (0=init,1=finalize,....27) , uint8_t buffer | | 2 Params: uint64_t packet_id (0=init,1=finalize,....27) , uint8_t buffer | ||
Line 4,073: | Line 3,727: | ||
| 636 | | 636 | ||
| 0x27C | | 0x27C | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | | ||
| (BT Database | | (BT Database) | ||
|- | |- | ||
| 637 | | 637 | ||
| 0x27D | | 0x27D | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | | ||
| BT | | BT related | ||
|- | |- | ||
| 638 | | 638 | ||
| 0x27E | | 0x27E | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | | ||
| BT related, 3 Params: packet_id (<7), input, output? | | BT related, 3 Params: packet_id (<7), input, output? | ||
|- | |- | ||
! colspan="6" id="Bluetooth USB Audio Syscalls"|[[#USB | ! colspan="6" id="Bluetooth USB Audio Syscalls"|[[#Bluetooth USB Audio Syscalls]] (639-649) | ||
|- | |- | ||
| 639 | | 639 | ||
| 0x27F | | 0x27F | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | | ||
| "deprecated!" (seems Sony doesnt want/like | | "deprecated!" (seems Sony doesnt want/like Bluetooth Audio USB transmitter/receiver) | ||
|- | |- | ||
| 640 | | 640 | ||
| 0x280 | | 0x280 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | | ||
| "deprecated!" | | "deprecated!" | ||
|- | |- | ||
| | | 649 | ||
| | | 0x289 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | | ||
| | | 1 Params: 0 ; UsbBTAudio/RSX related | ||
|- | |- | ||
| | | 654 | ||
| | | 0x28E | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | | ||
| | | 1 Params: 1=text like "G5B5_Z1R5G5B5" ; UsbBTAudio/RSX related | ||
|- | |- | ||
| | | 655 | ||
| | | 0x28F | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | | ||
| | | 1 Params:; UsbBTAudio/RSX related | ||
|- | |- | ||
| | | 656 | ||
| | | 0x290 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | | ||
| " | | 1 Params: 1=text like "G5B5_Z1R5G5B5" ; UsbBTAudio/RSX related | ||
|- | |- | ||
| | | 659 | ||
| | | 0x293 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | | ||
| " | | 3 Params: 1=text like "G5B5_Z1R5G5B5", 2= 0 or 1, 3= ptr | ||
|- | |- | ||
! colspan="6" id=" | ! colspan="6" id="sys_rsx Syscalls"|[[#sys_rsx Syscalls]] (666-667) | ||
|- | |- | ||
| | | 666 | ||
| | | 0x29A | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | sys_rsx_device_open | ||
| | | 1 Param | ||
|- | |- | ||
| | | 667 | ||
| | | 0x29B | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | sys_rsx_device_close | ||
| | | | ||
|- | |- | ||
| | | 668 | ||
| | | 0x29C | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | sys_rsx_memory_allocate | ||
| | | | ||
|- | |- | ||
| 669 | | 669 | ||
| 0x29D | | 0x29D | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_rsx_memory_free | | sys_rsx_memory_free | ||
| | | | ||
|- | |- | ||
| 670 | | 670 | ||
| 0x29E | | 0x29E | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_rsx_context_allocate | | sys_rsx_context_allocate | ||
| | | | ||
|- | |- | ||
| 671 | | 671 | ||
| 0x29F | | 0x29F | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_rsx_context_free | | sys_rsx_context_free | ||
| | | | ||
|- | |- | ||
| 672 | | 672 | ||
| 0x2A0 | | 0x2A0 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_rsx_context_iomap | | sys_rsx_context_iomap | ||
| | | | ||
|- | |- | ||
| 673 | | 673 | ||
| 0x2A1 | | 0x2A1 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_rsx_context_iounmap | | sys_rsx_context_iounmap | ||
| | | | ||
|- | |- | ||
| 674 | | 674 | ||
| 0x2A2 | | 0x2A2 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_rsx_context_attribute | | sys_rsx_context_attribute | ||
| | | | ||
|- | |- | ||
| 675 | | 675 | ||
| 0x2A3 | | 0x2A3 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_rsx_device_map | | sys_rsx_device_map | ||
| | | | ||
|- | |- | ||
| 676 | | 676 | ||
| 0x2A4 | | 0x2A4 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_rsx_device_unmap | | sys_rsx_device_unmap | ||
| | | | ||
|- | |- | ||
| 677 | | 677 | ||
| 0x2A5 | | 0x2A5 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_rsx_attribute | | sys_rsx_attribute | ||
| | | | ||
|- | |- | ||
| | ! colspan="6" id="sys_iosys Syscalls"|[[#sys_iosys Syscalls]] (698) | ||
|- | |- | ||
| 698 | |||
| | | 0x2BA | ||
| {{CEX}} {{DEX}} | |||
| {{ | |||
| | | | ||
| | | sys_iosys_infra_test_execute | ||
| | | | ||
|- | |- | ||
| | ! colspan="6" id="sys_bdemu Syscalls"|[[#sys_bdemu Syscalls]] (699) | ||
|- | |- | ||
| | | 699 | ||
| | | 0x2BB | ||
| | | {{DEX}} | ||
| | | | ||
| | | sys_bdemu_send_command | ||
| | | | ||
|- | |- | ||
| | ! colspan="6" id="sys_net Syscalls"|[[#sys_net Syscalls]] (700-726) | ||
|- | |- | ||
| | | 700 | ||
| | | 0x2BC | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | sys_net_bnet_accept | ||
| | | | ||
|- | |- | ||
| | | 701 | ||
| | | 0x2BD | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | sys_net_bnet_bind | ||
| | | | ||
|- | |- | ||
| | | 702 | ||
| | | 0x2BE | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | sys_net_bnet_connect | ||
| | | | ||
|- | |- | ||
| | | 703 | ||
| | | 0x2BF | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | sys_net_bnet_getpeername | ||
| | | | ||
|- | |- | ||
| | | 704 | ||
| | | 0x2C0 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | sys_net_bnet_getsockname | ||
| | | | ||
|- | |- | ||
| | | 705 | ||
| | | 0x2C1 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | sys_net_bnet_getsockopt | ||
| | | | ||
|- | |- | ||
| | | 706 | ||
| | | 0x2C2 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_net_bnet_listen | |||
| | | | ||
|- | |- | ||
| | | 707 | ||
| | | 0x2C3 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_net_bnet_recvfrom | |||
| | | | ||
|- | |- | ||
| | | 708 | ||
| | | 0x2C4 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_net_bnet_recvmsg | |||
| | | | ||
|- | |- | ||
| | | 709 | ||
| | | 0x2C5 | ||
| | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | sys_net_bnet_sendmsg | ||
| | |||
| | |||
|- | |- | ||
| | | 710 | ||
| | | 0x2C6 | ||
| {{CEX}} {{DEX}} | |||
| | |||
| sys_net_bnet_sendto | |||
| {{ | |||
| | | | ||
|- | |- | ||
| 711 | |||
| | | 0x2C7 | ||
| {{CEX}} {{DEX}} | |||
| {{ | |||
| | | | ||
| | | sys_net_bnet_setsockop | ||
| | | | ||
|- | |- | ||
| | | 712 | ||
| | | 0x2C8 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | sys_net_bnet_shutdown | ||
| | | | ||
|- | |- | ||
| | | 713 | ||
| | | 0x2C9 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | |||
| sys_net_bnet_socket | |||
| | | | ||
|- | |- | ||
| | | 714 | ||
| | | 0x2CA | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | |||
| sys_net_bnet_close | |||
| | | | ||
|- | |- | ||
| | | 715 | ||
| | | 0x2CB | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | sys_net_bnet_poll | ||
| | | | ||
|- | |- | ||
| | | 716 | ||
| | | 0x2CC | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | sys_net_bnet_select | ||
| | | | ||
|- | |- | ||
| | | 724 | ||
| | | 0x2D4 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | sys_net_bnet_ioctl | ||
| | | | ||
|- | |- | ||
| | | 725 | ||
| | | 0x2D5 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | |||
| sys_net_bnet_sysctl | |||
| | | | ||
|- | |- | ||
| | | 726 | ||
| | | 0x2D6 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | |||
| | | | ||
| | | Gelic Device Cmd, syscall 726(uint16_t cmd, uint8_t *cmdbuf, uint64_t cmdbuf_size) [[http://ps3devwiki.com/wiki/Hypervisor_Reverse_Engineering#Commands_2 Commands]] <!--///* | ||
* lv2_gelic_eurus_control | |||
*/ | |||
static inline int lv2_gelic_eurus_control(uint16_t cmd, uint8_t *cmdbuf, uint64_t cmdbuf_size) | |||
{ | |||
return Lv2Syscall3(726, cmd, (uint64_t) cmdbuf, cmdbuf_size); | |||
}//--> | |||
|- | |- | ||
| | ! colspan="6" id="lv2Fs Syscalls"|[[#lv2Fs Syscalls]] (801-834) | ||
|- | |- | ||
| | | 800 | ||
| | | 0x320 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | | ||
| cellFsAIO? kinda,6 Params: r3=packet id <7,...syscall 0x320 (6,0,*deviceid,4,uint8* out[0x420],0x420) | |||
|- | |- | ||
| | | 801 | ||
| | | 0x321 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| cellFsOpen | |||
| CellFsErrno cellFsOpen(const char *path, int flags, int *fd, const void *arg, uint64_t size); | |||
|- | |- | ||
| | | 802 | ||
| | | 0x322 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | cellFsRead | ||
| | | CellFsErrno cellFsRead(int fd, void *buf, uint64_t nbytes, uint64_t *nread); | ||
|- | |- | ||
| | | 803 | ||
| | | 0x323 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | cellFsWrite | ||
| | | CellFsErrno cellFsWrite(int fd, const void *buf, uint64_t nbytes, uint64_t *nwrite); | ||
|- | |- | ||
| | | 804 | ||
| | | 0x324 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | cellFsClose | ||
| | | CellFsErrno cellFsClose(int fd); | ||
|- | |- | ||
| | | 805 | ||
| | | 0x325 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | cellFsOpenDir | ||
| | | CellFsErrno cellFsOpendir(const char *path, int *fd); | ||
|- | |- | ||
| | | 806 | ||
| | | 0x326 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | cellFsReadDir | ||
| int | | CellFsErrno cellFsReaddir(int fd, CellFsDirent *dir, uint64_t *nread); | ||
|- | |- | ||
| | | 807 | ||
| | | 0x327 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | cellFsCloseDir | ||
| CellFsErrno cellFsClosedir(int fd); | |||
|- | |||
| 808 | |||
| 0x328 | |||
| {{CEX}} {{DEX}} | |||
| | | | ||
| cellFsStat | |||
| CellFsErrno cellFsStat(const char *path, CellFsStat *sb); | |||
|- | |- | ||
| | | 809 | ||
| | | 0x329 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | cellFsFstat | ||
| CellFsErrno cellFsFstat(int fd, CellFsStat *sb); | |||
|- | |||
| 810 | |||
| 0x32A | |||
| {{CEX}} {{DEX}} | |||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | 811 | ||
| | | 0x32B | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| cellFsMkdir | |||
| CellFsErrno cellFsMkdir(const char *path, CellFsMode mode); | |||
|- | |- | ||
| | | 812 | ||
| | | 0x32C | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | cellFsRename | ||
| | | CellFsErrno cellFsRename(const char *from, const char *to); | ||
|- | |- | ||
| 813 | |||
| | | 0x32D | ||
| {{CEX}} {{DEX}} | |||
| {{ | |||
| | | | ||
| | | cellFsRmdir | ||
| | | CellFsErrno cellFsRmdir(const char *path); | ||
|- | |- | ||
| | | 814 | ||
| | | 0x32E | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | cellFsUnlink | ||
| CellFsErrno | | CellFsErrno cellFsUnlink(const char *path); | ||
|- | |- | ||
| | | 815 | ||
| | | 0x32F | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | cellFsUtime | ||
| CellFsErrno | | CellFsErrno cellFsUtime(const char *path, const CellFsUtimbuf *timep); | ||
|- | |- | ||
| | | 816 | ||
| | | 0x330 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | |||
| | | | ||
| | | | ||
|- | |- | ||
| | | 817 | ||
| | | 0x331 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | 818 | ||
| | | 0x332 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | cellFsLSeek | ||
| CellFsErrno | | CellFsErrno cellFsLseek(int fd, int64_t offset, int whence, uint64_t *pos); | ||
|- | |- | ||
| | | 819 | ||
| | | 0x333 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | 820 | ||
| | | 0x334 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | cellFsFSync | ||
| CellFsErrno | | CellFsErrno cellFsFsync(int fd); | ||
|- | |- | ||
| | | 821 | ||
| | | 0x335 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | sys_fs_cellFsFGetBlockSize | ||
| | | | ||
|- | |- | ||
| | | 822 | ||
| | | 0x336 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | 823 | ||
| | | 0x337 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | 824 | ||
| | | 0x338 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| 825 | | 825 | ||
| 0x339 | | 0x339 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | |||
| | |||
| | | | ||
|- | |- | ||
| 826 | | 826 | ||
| 0x33A | | 0x33A | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | |||
| | |||
| | | | ||
|- | |- | ||
| 827 | | 827 | ||
| 0x33B | | 0x33B | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | |||
| | |||
| | | | ||
|- | |- | ||
| 828 | | 828 | ||
| 0x33C | | 0x33C | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | |||
| | |||
| | | | ||
|- | |- | ||
| 829 | | 829 | ||
| 0x33D | | 0x33D | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | |||
| | | | ||
| | | | ||
|- | |- | ||
| 831 | | 831 | ||
| 0x33F | | 0x33F | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | cellFsTruncate | ||
| CellFsErrno | | CellFsErrno cellFsTruncate(const char *path, uint64_t size); | ||
|- | |- | ||
| 832 | | 832 | ||
| 0x340 | | 0x340 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | cellFsFTruncate | ||
| CellFsErrno | | CellFsErrno cellFsFtruncate(int fd, uint64_t size); | ||
|- | |- | ||
| 833 | | 833 | ||
| 0x341 | | 0x341 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | |||
| | |||
| | | | ||
|- | |- | ||
| 834 | | 834 | ||
| 0x342 | | 0x342 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | cellFsChmod | ||
| CellFsErrno | | CellFsErrno cellFsChmod(const char *path, CellFsMode mode); | ||
|- | |- | ||
| 835 | | 835 | ||
| 0x343 | | 0x343 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | |||
| | |||
| | | | ||
|- | |- | ||
| | ! colspan="6" id="sys_storage Syscalls"|[[#sys_storage Syscalls]] (600-623+837+838) | ||
|- | |- | ||
| 837 | | 837 | ||
| 0x345 | | 0x345 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | sys_storage_util_mount(?) | ||
| | | Parameters: Device Name (e.g CELL_FS_IOS:BUILTIN_FLSH1), Device File System (e.g CELL_FS_FAT), Device Path (e.g. /dev_flash), 0, Write Protection (0 or 1), 0, 0, 0 | ||
|- | |- | ||
| 838 | | 838 | ||
| 0x346 | | 0x346 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | sys_storage_util_unmount(?) | ||
| | | Parameters: Device Path (e.g. /dev_flash) | ||
|- | |- | ||
| 839 | | 839 | ||
| 0x347 | | 0x347 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | sys_storage_util_sync(const char *dir) | ||
| <!--///* | |||
* lv2_cell_fs_util_sync | * lv2_cell_fs_util_sync | ||
*/ | */ | ||
Line 4,985: | Line 4,327: | ||
| 840 | | 840 | ||
| 0x348 | | 0x348 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | |||
| | |||
| | | | ||
|- | |- | ||
| 841 | | 841 | ||
| 0x349 | | 0x349 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | sys_storage_util_get_mount_info_size | ||
| | | 1 Param | ||
|- | |- | ||
| 842 | | 842 | ||
| 0x34A | | 0x34A | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | sys_storage_util_get_mount_info | ||
| | | 3 Params | ||
|- | |- | ||
| 843 | | 843 | ||
| 0x34B | | 0x34B | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | |||
| | |||
| | | | ||
|- | |- | ||
| 844 | | 844 | ||
| 0x34C | | 0x34C | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | |||
| | |||
| | | | ||
|- | |- | ||
| 845 | | 845 | ||
| 0x34D | | 0x34D | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | |||
| | |||
| | | | ||
|- | |- | ||
| 846 | | 846 | ||
| 0x34E | | 0x34E | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | |||
| | |||
| | | | ||
|- | |- | ||
| 847 | | 847 | ||
| 0x34F | | 0x34F | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | |||
| | |||
| | | | ||
|- | |- | ||
! colspan="6" id="process socket service syscalls"|[[#process socket service syscalls]] (861-864) | ! colspan="6" id="process socket service syscalls"|[[#process socket service syscalls]] (861-864) | ||
|- | |- | ||
| 861 | | 861 | ||
| 0x35D | | 0x35D | ||
| {{ | | {{CEX}} {{DEX}} | ||
| {{Root}} | | {{Root}} | ||
| | | | ||
| | | | ||
|- | |- | ||
| 862 | | 862 | ||
| 0x35E | | 0x35E | ||
| {{ | | {{CEX}} {{DEX}} | ||
| {{Root}} | | {{Root}} | ||
| | | | ||
| [[ | | [[http://ps3devwiki.com/index.php?title=Hypervisor_Reverse_Engineering#0x2000_-_Virtual_TRM_Manager trm_manager_if (Interface)]] <!--///* | ||
* lv2_ss_vtrm_mgr_if | * lv2_ss_vtrm_mgr_if | ||
*/ | */ | ||
Line 5,076: | Line 4,408: | ||
| 863 | | 863 | ||
| 0x35F | | 0x35F | ||
| {{ | | {{CEX}} {{DEX}} | ||
| {{Root}} | | {{Root}} | ||
| | | | ||
| [[ | | [[http://ps3devwiki.com/index.php?title=Hypervisor_Reverse_Engineering#0x6000_-_Update_Manager update_manager_if (Interface)]]<!--///* | ||
* lv2_ss_update_mgr_if | * lv2_ss_update_mgr_if | ||
*/ | */ | ||
Line 5,090: | Line 4,422: | ||
| 864 | | 864 | ||
| 0x360 | | 0x360 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| {{Dbg}} | | {{Dbg}} | ||
| | | | ||
| [[ | | [[http://ps3devwiki.com/index.php?title=Hypervisor_Reverse_Engineering#0x5000_-_Storage_Manager storage_manager_if (Interface)]] <!--///* | ||
* lv2_ss_stor_mgr_if | * lv2_ss_stor_mgr_if | ||
*/ | */ | ||
Line 5,105: | Line 4,437: | ||
| 865 | | 865 | ||
| 0x361 | | 0x361 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_ss_random_number_generator | | sys_ss_random_number_generator | ||
| | | alias sys_get_random_number <!--///* | ||
* random_number | * random_number | ||
*/ | */ | ||
Line 5,119: | Line 4,451: | ||
| 866 | | 866 | ||
| 0x362 | | 0x362 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| {{Root}} | | {{Root}} | ||
| | | | ||
| [[ | | [[http://ps3devwiki.com/index.php?title=Hypervisor_Reverse_Engineering#0x3000_-_Secure_RTC secure_rtc_manager_if (Interface)]] <!--///* | ||
* lv2_ss_secure_rtc_if | * lv2_ss_secure_rtc_if | ||
*/ | */ | ||
Line 5,132: | Line 4,464: | ||
| 867 | | 867 | ||
| 0x363 | | 0x363 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| {{Root}} | | {{Root}} | ||
| | | sys_get_system_parameter | ||
| [[ | | [[http://ps3devwiki.com/index.php?title=Hypervisor_Reverse_Engineering#0x19000_-_AIM aim_manager_if (Interface)]] <!--///* | ||
* lv2_ss_aim_if | * lv2_ss_aim_if | ||
*/ | */ | ||
Line 5,145: | Line 4,477: | ||
| 868 | | 868 | ||
| 0x364 | | 0x364 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| {{Root | | {{Root}} | ||
| | | | ||
| [[ | | [[http://ps3devwiki.com/index.php?title=Hypervisor_Reverse_Engineering#0x17000_-_Indi_Info_Manager indi_info_manager_if (Interface)]] <!--///* | ||
* lv2_ss_indi_info_mgr_if | * lv2_ss_indi_info_mgr_if | ||
*/ | */ | ||
Line 5,161: | Line 4,493: | ||
| 869 | | 869 | ||
| 0x365 | | 0x365 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| {{Root}} | | {{Root}} | ||
| | | | ||
| | | syscall(869,0x22001 or 0x22002 or 0x22003 or 0x22004, ??) // set rtc related | ||
|- | |- | ||
| 870 | | 870 | ||
| 0x366 | | 0x366 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_ss_get_console_id | | sys_ss_get_console_id | ||
| int sys_ss_get_console_id(uint8_t *buf) //returns [[IDPS]] in buf | | int sys_ss_get_console_id(uint8_t *buf) //returns [[IDPS]] in buf | ||
|- | |- | ||
| 871 | | 871 | ||
| 0x367 | | 0x367 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| {{dbg}} | | {{dbg}} | ||
| sys_ss_access_control_engine | | sys_ss_access_control_engine | ||
| 3 params | | 3 params (1,sys_pid_t,out:uint8_t [8]) / (2 or 3,out:uint8_t [8],0) | ||
|- | |- | ||
| 872 | | 872 | ||
| 0x368 | | 0x368 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_ss_get_open_psid | | sys_ss_get_open_psid | ||
Line 5,193: | Line 4,521: | ||
| 873 | | 873 | ||
| 0x369 | | 0x369 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_ss_get_cache_of_product_mode | | sys_ss_get_cache_of_product_mode | ||
Line 5,200: | Line 4,528: | ||
| 874 | | 874 | ||
| 0x36A | | 0x36A | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_ss_get_cache_of_flash_ext_flag | | sys_ss_get_cache_of_flash_ext_flag | ||
Line 5,213: | Line 4,541: | ||
| 875 | | 875 | ||
| 0x36B | | 0x36B | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_ss_get_boot_device | | sys_ss_get_boot_device | ||
Line 5,220: | Line 4,548: | ||
| 876 | | 876 | ||
| 0x36C | | 0x36C | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_ss_disc_access_control | | sys_ss_disc_access_control | ||
| 2Params: 0x20000(=get_disc_access_control), | | 2Params: 0x20000(=get_disc_access_control),uint8_t [4] / 0x20001(=set_disc_access_control),1 | ||
|- | |- | ||
| 877 | | 877 | ||
| 0x36D | | 0x36D | ||
| {{ | | {{CEX}} {{DEX}} | ||
| {{Root}} | | {{Root}} | ||
| sys_ss_~utoken_if | | sys_ss_~utoken_if | ||
| syscall(877,0x25003=Decrypt or 0x25004 or 0x25005=Encrypt | | syscall(877,0x25003=Decrypt or 0x25004 or 0x25005=Encrypt, uint8_t *token, 0xC50 (size)), [[http://ps3devwiki.com/index.php?title=Hypervisor_Reverse_Engineering#0x25000_-_User_Token_Manager user token related]] | ||
|- | |- | ||
| 878 | | 878 | ||
| 0x36E | | 0x36E | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_ss_ad_sign | | sys_ss_ad_sign | ||
Line 5,241: | Line 4,569: | ||
| 879 | | 879 | ||
| 0x36F | | 0x36F | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| sys_ss_media_id | | sys_ss_media_id | ||
Line 5,250: | Line 4,578: | ||
| 880 | | 880 | ||
| 0x370 | | 0x370 | ||
| | | {{DEX}} | ||
| | | | ||
| sys_deci3_open | | sys_deci3_open | ||
Line 5,257: | Line 4,585: | ||
| 881 | | 881 | ||
| 0x371 | | 0x371 | ||
| | | {{DEX}} | ||
| | | | ||
| sys_deci3_create_event_path | | sys_deci3_create_event_path | ||
Line 5,264: | Line 4,592: | ||
| 882 | | 882 | ||
| 0x372 | | 0x372 | ||
| | | {{DEX}} | ||
| | | | ||
| sys_deci3_close | | sys_deci3_close | ||
Line 5,271: | Line 4,599: | ||
| 883 | | 883 | ||
| 0x373 | | 0x373 | ||
| | | {{DEX}} | ||
| | | | ||
| sys_deci3_send | | sys_deci3_send | ||
Line 5,278: | Line 4,606: | ||
| 884 | | 884 | ||
| 0x374 | | 0x374 | ||
| | | {{DEX}} | ||
| | | | ||
| sys_deci3_receive | | sys_deci3_receive | ||
| int sys_deci3_receive(sys_deci3_session_t session_id, uint8_t * buf, __CSTD size_t size); | | int sys_deci3_receive(sys_deci3_session_t session_id, uint8_t * buf, __CSTD size_t size); | ||
|- | |- | ||
| | ! colspan="6" id="sys_dbg Syscalls"|[[#sys_dbg Syscalls]] (900-970) | ||
| | |- | ||
| {{ | | 900 | ||
| 0x384 | |||
| {{CEX}} {{DEX}} | |||
| | | | ||
| | | sys_dbg_stop_processes | ||
| | | 2 params: sys_pid_t pid, 1 | ||
|- | |- | ||
| | | 902 | ||
| | | 0x386 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | 903 | ||
| | | 0x387 | ||
| {{CEX}} {{DEX}} | |||
| | | | ||
| | | | ||
| | | 2 params: uint64_t *outbuff, val (0 or ... or 8) , sceVSHforceshutdown (outbuff,8) ? | ||
|- | |- | ||
| | | 906 | ||
| | | 0x38A | ||
| {{CEX}} {{DEX}} | |||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | 909 | ||
| | | 0x38D | ||
| {{CEX}} {{DEX}} | |||
| | | | ||
| | | sys_dbg_get_thread_list | ||
| | | 4 Params: sys_pid_t pid,..., uint64_t size,uint64_t *outbuff | ||
|- | |- | ||
| | | 910 | ||
| | | 0x38E | ||
| {{CEX}} {{DEX}} | |||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | 911 | ||
| | | 0x38F | ||
| {{CEX}} {{DEX}} | |||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | 914 | ||
| | | 0x392 | ||
| {{DEX}} | |||
| | | | ||
| sys_dbg_get_process_info | |||
| | | | ||
|- | |- | ||
| | | 918 | ||
| | | 0x396 | ||
| {{DEX}} | |||
| | | | ||
| sys_dbg_read_kernel_event_queue | |||
| | | | ||
|- | |- | ||
| | | 921 | ||
| | | 0x399 | ||
| {{DEX}} | |||
| | | | ||
| sys_dbg_set_process_event_cntl_flag | |||
| | | | ||
|- | |- | ||
| 923 | |||
| | | 0x39B | ||
| | | {{DEX}} | ||
| | |||
| sys_dbg_set_spu_thread_group_event_cntl_flag | |||
| | | | ||
|- | |- | ||
| | | 925 | ||
| | | 0x39D | ||
| | | {{DEX}} | ||
| | | | ||
| | | sys_dbg_get_raw_spu_list | ||
| | | | ||
|- | |- | ||
| | | 932 | ||
| | | 0x3A4 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | |||
| sys_dbg_get_mutex_list | |||
| | | | ||
|- | |- | ||
| | | 933 | ||
| | | 0x3A5 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | 934 | ||
| | | 0x3A6 | ||
| | | {{DEX}} | ||
| | |||
| sys_dbg_get_cond_list | |||
| | | | ||
|- | |- | ||
| | | 935 | ||
| | | 0x3A7 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | 936 | ||
| | | 0x3A8 | ||
| | | {{DEX}} | ||
| | |||
| sys_dbg_get_rwlock_list | |||
| | | | ||
|- | |- | ||
| | | 938 | ||
| | | 0x3AA | ||
| | | {{DEX}} | ||
| | |||
| sys_dbg_get_lwmutex_list | |||
| | | | ||
|- | |- | ||
| | | 939 | ||
| | | 0x3AB | ||
| | | {{DEX}} | ||
| | | | ||
| | | sys_dbg_get_address_from_dabr | ||
| | | int sys_dbg_get_address_from_dabr ( uint64_t *address, uint64_t *flag ); | ||
|- | |- | ||
| | | 940 | ||
| | | 0x3AC | ||
| | | {{DEX}} | ||
| | | | ||
| | | sys_dbg_set_address_to_dabr | ||
| | | int sys_dbg_set_address_to_dabr ( uint64_t address, uint64_t flag ); | ||
|- | |- | ||
| | | 941 | ||
| | | 0x3AD | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | |||
| | | | ||
| | | | ||
|- | |- | ||
| | | 942 | ||
| | | 0x3AE | ||
| | | {{DEX}} | ||
| | |||
| sys_dbg_get_event_queue_list | |||
| | | | ||
|- | |- | ||
| | | 943 | ||
| | | 0x3AF | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | 944 | ||
| | | 0x3B0 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | |||
| | |||
| | | | ||
|- | |- | ||
| | | 945 | ||
| | | 0x3B1 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| {{Dbg}} | |||
| | | | ||
| | | | ||
|- | |- | ||
| | | 946 | ||
| | | 0x3B2 | ||
| | | {{DEX}} | ||
| | | | ||
| | | sys_dbg_get_semaphore_list | ||
| | | | ||
|- | |- | ||
| | | 947 | ||
| | | 0x3B3 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | 948 | ||
| | | 0x3B4 | ||
| | | {{DEX}} | ||
| | | | ||
| | | sys_dbg_get_kernel_thread_list | ||
| | | | ||
|- | |- | ||
| | | 949 | ||
| | | 0x3B5 | ||
| | | {{DEX}} | ||
| | |||
| sys_dbg_get_kernel_thread_info | |||
| | | | ||
|- | |- | ||
| | | 950 | ||
| | | 0x3B6 | ||
| | | {{DEX}} | ||
| | | | ||
| | | sys_dbg_get_lwcond_list | ||
| | | | ||
|- | |- | ||
| | | 951 | ||
| | | 0x3B7 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | |||
| | | | ||
| | | | ||
|- | |- | ||
| | | 952 | ||
| | | 0x3B8 | ||
| | | {{DEX}} | ||
| | | | ||
| | | sys_dbg_create_scratch_data_area_ext | ||
| | | | ||
|- | |- | ||
| | | 954 | ||
| | | 0x3BA | ||
| | | {{DEX}} | ||
| | | | ||
| | | sys_dbg_vm_get_info | ||
| | | | ||
|- | |- | ||
| | | 957 | ||
| | | 0x3BD | ||
| {{ | | {{CEX}} {{DEX}} | ||
| {{Dbg}} | |||
| | | | ||
| | | | ||
|- | |- | ||
| | | 959 | ||
| | | 0x3BF | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | |||
| | | | ||
| | | | ||
|- | |- | ||
| | | 970 | ||
| | | 0x3CA | ||
| | | {{DEX}} | ||
| | | | ||
| | | sys_dbg_get_event_flag_list | ||
| | | | ||
|- | |- | ||
| | | 971 | ||
| | | 0x3CB | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | |||
| | | | ||
| | | | ||
|- | |- | ||
| | | 972 | ||
| | | 0x3CC | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | |||
| | | | ||
| | | | ||
|- | |- | ||
| | | 974 | ||
| | | 0x3CE | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | 975 | ||
| | | 0x3CF | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | |||
| | | | ||
| | | | ||
|- | |- | ||
| | | 976 | ||
| | | 0x3D0 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | |||
| | |||
| | | | ||
|- | |- | ||
| | | 977 | ||
| | | 0x3D1 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | 978 | ||
| | | 0x3D2 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| {{Root}} | |||
| | | | ||
| | | | ||
|- | |- | ||
| | | 979 | ||
| | | 0x3D3 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | |||
| | | | ||
| | | | ||
|- | |- | ||
| | | 980 | ||
| | | 0x3D4 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | 981 | ||
| | | 0x3D5 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| {{Root}} | |||
| | |||
| | | | ||
|- | |- | ||
| | | 982 | ||
| | | 0x3D6 | ||
| | | {{CEX}} {{DEX}} | ||
| | |||
| | |||
| | | | ||
| | | | ||
|- | |- | ||
| | | 983 | ||
| | | 0x3D7 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | 984 | ||
| | | 0x3D8 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | | ||
| seems to return max. 0x10 Randombytes, 2Params: buffer,rand_amount you want | |||
|- | |- | ||
| | | 985 | ||
| | | 0x3D9 | ||
| {{ | | {{CEX}} {{DEX}} | ||
| {{Root}} | |||
| | | | ||
| | | seems to return Console Type, syscall(985,out_buffer,0,0), return values:2=DEX,3=TOOL,1=CEX | ||
|- | |||
| 986 | |||
| 0x3DA | |||
| {{CEX}} {{DEX}} | |||
| {{Root}} {{Dbg}} | |||
| | | | ||
| seems to return Game Application Title ID , syscall(986,out_buffer) | |||
|- | |- | ||
| | | 987 | ||
| | | 0x3DB | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | |||
| | | | ||
| | | smth related? to vsh.self, syscall(987,0 or 1, ??) | ||
|- | |- | ||
| | | 988 | ||
| | | 0x3DC | ||
| {{ | | {{CEX}} | ||
| | | | ||
| | | | ||
| 2 Params: syscall(988,1 or 4 or 8 or 0x10,0) | |||
|- | |- | ||
| | | 989 | ||
| | | 0x3DD | ||
| {{ | | {{CEX}} {{DEX}} | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| | |} | ||
=== Network Syscalls === | |||
| | Networking uses [http://www.ps3devwiki.com/index.php?title=LV2_Functions_and_Syscalls#sys_net_Syscalls syscalls 700-726] | ||
=== File Syscalls === | |||
==== OFLAGS ==== | |||
{| class="wikitable" | |||
!Name | |||
!Value | |||
|- | |- | ||
| | |CELL_FS_O_RDONLY | ||
| | |000000 | ||
|- | |- | ||
| | |CELL_FS_O_WRONLY | ||
| | |000001 | ||
|- | |- | ||
| | |CELL_FS_O_RDWR | ||
| | |000002 | ||
|- | |- | ||
| | |CELL_FS_O_ACCMODE | ||
|000003 | |||
| | |||
|- | |- | ||
| | |CELL_FS_O_CREAT | ||
|000100 | |||
| | |||
|- | |- | ||
| | |CELL_FS_O_EXCL | ||
|000200 | |||
| | |||
|- | |- | ||
| | |CELL_FS_O_TRUNC | ||
|001000 | |||
| | |||
|- | |- | ||
| | |CELL_FS_O_APPEND | ||
|002000 | |||
| | |||
|- | |- | ||
| | |CELL_FS_O_MSELF | ||
|010000 | |||
| | |||
|- | |- | ||
| | |} | ||
| | ==== Classes ==== | ||
{| class="wikitable" | |||
!Name | |||
!Structure | |||
!Packed | |||
|- | |- | ||
| | |cellFsStat | ||
| | |s32 st_mode; s32 st_uid; s32 st_gid; u64 st_access_time; u64 st_modify_time; u64 st_create_time; u64 st_size; u64 st_blksize; | ||
|yes | |||
| | |||
|- | |- | ||
| | |cellFsUtimbuf | ||
|u64 access_time; u64 modify_time; | |||
|no | |||
| | |||
| | |||
|- | |- | ||
| | |cellFsDirent | ||
| | |u8 d_type; u8 d_namlen; char d_name[256]; | ||
|no | |||
| | |||
|- | |- | ||
| | |} | ||
==== Filesystem Syscalls ==== | |||
Filesystem uses [http://www.ps3devwiki.com/index.php?title=LV2_Functions_and_Syscalls#lv2Fs_Syscalls syscalls 700-726] | |||
=== Unofficial Syscalls added === | |||
See also : [http://tortuga-cove.com/forums/viewtopic.php?t=89#p155 Syscalls, what they mean for you and for multiMAN] | |||
since 3.55 Sony fixed memory region restrictions and Write and Execute access permissions so that's why '''lv1 peek''' (lv2_lv1_peek - graf_chokolo) and '''lv1 poke''' (lv2_lv1_poke - graf_chokolo) were created. | |||
{| class="wikitable sortable" | |||
!Number | |||
!Function - Added by | |||
!Notes | |||
|- | |- | ||
| | | 6 | ||
| | | lv2_peek - PL3-DEV, PSGroove v1.1, Payloader3 | ||
| | | r3 is a 64 bit address to read. A 64 bit value will be returned in r3 | ||
| | |- | ||
| | | 7 | ||
| 1 | | lv2_poke - PL3-DEV, PSGroove v1.1, Payloader3 | ||
| r4 is a 64 bit value. r3 is the address to write that value to. | |||
|- | |||
| 8 | |||
| lv2_lv1_peek - graf_chokolo | |||
| r3 is a 64 bit address to read. A 64 bit value will be returned in r3 | |||
|- | |||
| 8 | |||
| Peek - ps3cobra | |||
| r3 is a 64 bit address to read. A 64 bit value will be returned in r3 | |||
|- | |||
| 8 | |||
| Remapper - Hermes4 | |||
| redirections of any paths, including /dev_usb for AVCHD HDD | |||
|- | |||
| 9 | |||
| lv2_lv1_poke - graf_chokolo | |||
| r4 is a 64 bit value. r3 is the address to write that value to. | |||
|- | |- | ||
| | | 10 | ||
| | | lv2_lv1_peek - jfw 'bad idea' | ||
| r3 is a 64 bit address to read. A 64 bit value will be returned in r3 | | r3 is a 64 bit address to read. A 64 bit value will be returned in r3 | ||
|- | |- | ||
| 11 | |||
| lv2_lv1_poke - jfw 'bad idea' | |||
| 11 | |||
| lv2_lv1_poke - jfw 'bad idea' | |||
| r4 is a 64 bit value. r3 is the address to write that value to. | | r4 is a 64 bit value. r3 is the address to write that value to. | ||
|- | |||
| 35 | |||
| Remapper - PL3, PSGroove, PSFreedom | |||
| syscall_35 (char *old_path, char *new_path); | |||
|- | |||
| 36 | |||
| Remapper - Hermes, PSJailbreak | |||
| hardcoded /dev_bdvd & /app_home remapping | |||
|- | |- | ||
| 200 | | 200 | ||
| Run_Payload - Payloader3 | | Run_Payload - Payloader3 | ||
Line 6,453: | Line 5,112: | ||
| 201 | | 201 | ||
| Alloc - Payloader3 | | Alloc - Payloader3 | ||
| | | | ||
|- | |- | ||
Line 6,466: | Line 5,117: | ||
| Free - Payloader3 | | Free - Payloader3 | ||
| | | | ||
|- | |- | ||
|} | |} | ||
---- | ---- | ||
See also: [http://psl1ght.net/wiki/Syscalls psl1ght::Syscalls] | |||