LV2 Functions and Syscalls: Difference between revisions
Jump to navigation
Jump to search
m (→LV2 Syscalls) |
|||
Line 311: | Line 311: | ||
! Dec | ! Dec | ||
! Hex | ! Hex | ||
! <abbr title="Firmware Type Specific (CEX,DEX,..)">fw type</abbr> | |||
! <abbr title="Additional Settings required (Capability Flags,Product Mode,..">+</abbr> | |||
! Name | ! Name | ||
! Notes | ! Notes | ||
|- | |- | ||
! colspan=" | ! colspan="6" id="sys_process Syscalls"|[[#sys_process Syscalls]] (1-31) | ||
|- | |- | ||
| 1 | | 1 | ||
| 0x001 | | 0x001 | ||
| | |||
| | |||
| sys_process_getpid | | sys_process_getpid | ||
| sys_pid_t sys_process_getpid(void); | | sys_pid_t sys_process_getpid(void); | ||
Line 323: | Line 327: | ||
| 2 | | 2 | ||
| 0x002 | | 0x002 | ||
| | |||
| | |||
| sys_process_wait_for_child | | sys_process_wait_for_child | ||
| 3 params | | 3 params | ||
Line 328: | Line 334: | ||
| 3 | | 3 | ||
| 0x003 | | 0x003 | ||
| | |||
| | |||
| sys_process_? | | sys_process_? | ||
| 1 param = "cellProcessElf" | | 1 param = "cellProcessElf" | ||
Line 333: | Line 341: | ||
| 4 | | 4 | ||
| 0x004 | | 0x004 | ||
| | |||
| | |||
| sys_process_get_status | | sys_process_get_status | ||
| 1 param | | 1 param | ||
Line 338: | Line 348: | ||
| 5 | | 5 | ||
| 0x005 | | 0x005 | ||
| | |||
| | |||
| sys_process_detach_child | | sys_process_detach_child | ||
| 1 param | | 1 param | ||
Line 343: | Line 355: | ||
| 6 | | 6 | ||
| 0x006 | | 0x006 | ||
| | |||
| | |||
| sys_process_create_program_segment | | sys_process_create_program_segment | ||
| | | | ||
Line 348: | Line 362: | ||
| 12 | | 12 | ||
| 0x00B | | 0x00B | ||
| | |||
| | |||
| sys_process_get_number_of_object | | sys_process_get_number_of_object | ||
| int sys_process_get_number_of_object(uint32_t object, size_t * nump); | | int sys_process_get_number_of_object(uint32_t object, size_t * nump); | ||
Line 353: | Line 369: | ||
| 13 | | 13 | ||
| 0x00C | | 0x00C | ||
| | |||
| | |||
| sys_process_get_id | | sys_process_get_id | ||
| int sys_process_get_id(uint32_t object, uint32_t * buff, size_t size, size_t * set_size); | | int sys_process_get_id(uint32_t object, uint32_t * buff, size_t size, size_t * set_size); | ||
Line 358: | Line 376: | ||
| 14 | | 14 | ||
| 0x00D | | 0x00D | ||
| | |||
| | |||
| sys_process_is_spu_lock_line_reservation_address | | sys_process_is_spu_lock_line_reservation_address | ||
| int sys_process_is_spu_lock_line_reservation_address(sys_addr_t addr, uint64_t flags); | | int sys_process_is_spu_lock_line_reservation_address(sys_addr_t addr, uint64_t flags); | ||
Line 363: | Line 383: | ||
| 18 | | 18 | ||
| 0x012 | | 0x012 | ||
| | |||
| | |||
| sys_process_getppid | | sys_process_getppid | ||
| sys_pid_t sys_process_getppid(void); | | sys_pid_t sys_process_getppid(void); | ||
Line 368: | Line 390: | ||
| 19 | | 19 | ||
| 0x013 | | 0x013 | ||
| | |||
| | |||
| sys_process_kill | | sys_process_kill | ||
| int sys_process_kill(sys_pid_t pid); | | int sys_process_kill(sys_pid_t pid); | ||
Line 373: | Line 397: | ||
| 21 | | 21 | ||
| 0x015 | | 0x015 | ||
| | |||
| | |||
| CreateSystemSoftwareProcess | | CreateSystemSoftwareProcess | ||
| 7 param | | 7 param | ||
Line 378: | Line 404: | ||
| 22 | | 22 | ||
| 0x016 | | 0x016 | ||
| | |||
| | |||
| sys_process_exit | | sys_process_exit | ||
| void sys_process_exit(int error_code,0,0) | | void sys_process_exit(int error_code,0,0) | ||
Line 383: | Line 411: | ||
| 23 | | 23 | ||
| 0x017 | | 0x017 | ||
| | |||
| | |||
| sys_process_wait_for_child2 | | sys_process_wait_for_child2 | ||
| 6 params | | 6 params | ||
Line 388: | Line 418: | ||
| 24 | | 24 | ||
| 0x018 | | 0x018 | ||
| | |||
| | |||
| | | | ||
| 8 params | | 8 params | ||
Line 393: | Line 425: | ||
| 25 | | 25 | ||
| 0x019 | | 0x019 | ||
| | |||
| | |||
| sys_process_get_sdk_version | | sys_process_get_sdk_version | ||
| 2 params :sys_pid_t pid, *outbuf? | | 2 params :sys_pid_t pid, *outbuf? | ||
Line 398: | Line 432: | ||
| 26 | | 26 | ||
| 0x01A | | 0x01A | ||
| | |||
| | |||
| | | | ||
| 3 params (calls syscall 22) | | 3 params (calls syscall 22) | ||
Line 403: | Line 439: | ||
| 27 | | 27 | ||
| 0x01B | | 0x01B | ||
| | |||
| | |||
| | | | ||
| 8 params | | 8 params | ||
Line 408: | Line 446: | ||
| 28 | | 28 | ||
| 0x01C | | 0x01C | ||
| | |||
| | |||
| | | | ||
| 1 params | | 1 params | ||
Line 413: | Line 453: | ||
| 29 | | 29 | ||
| 0x01D | | 0x01D | ||
| | |||
| | |||
| | | | ||
| 4 params | | 4 params | ||
Line 418: | Line 460: | ||
| 30 | | 30 | ||
| 0x01E | | 0x01E | ||
| | |||
| | |||
| sys_process_get_paramsfo | | sys_process_get_paramsfo | ||
| 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...... | | 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...... | ||
Line 423: | Line 467: | ||
| 31 | | 31 | ||
| 0x01F | | 0x01F | ||
| | |||
| | |||
| 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); | ||
Line 428: | Line 474: | ||
| 41 | | 41 | ||
| 0x029 | | 0x029 | ||
| | |||
| | |||
| | | | ||
| 1 param: Error-Code | | 1 param: Error-Code | ||
|- | |- | ||
! colspan=" | ! colspan="6" id="sys_ppu_thread Syscalls"|[[#sys_ppu_thread Syscalls]] (43-58) | ||
|- | |- | ||
| 43 | | 43 | ||
| 0x02B | | 0x02B | ||
| | |||
| | |||
| sys_ppu_thread_yield | | sys_ppu_thread_yield | ||
| void sys_ppu_thread_yield(void); | | void sys_ppu_thread_yield(void); | ||
Line 440: | Line 490: | ||
| 44 | | 44 | ||
| 0x02C | | 0x02C | ||
| | |||
| | |||
| sys_ppu_thread_join | | sys_ppu_thread_join | ||
| int sys_ppu_thread_join(sys_ppu_thread_t thread_id, uint64_t * vptr); | | int sys_ppu_thread_join(sys_ppu_thread_t thread_id, uint64_t * vptr); | ||
Line 445: | Line 497: | ||
| 45 | | 45 | ||
| 0x02D | | 0x02D | ||
| | |||
| | |||
| sys_ppu_thread_detach | | sys_ppu_thread_detach | ||
| int sys_ppu_thread_detach(sys_ppu_thread_t thread_id); | | int sys_ppu_thread_detach(sys_ppu_thread_t thread_id); | ||
Line 450: | Line 504: | ||
| 46 | | 46 | ||
| 0x02E | | 0x02E | ||
| | |||
| | |||
| sys_ppu_thread_get_join_state | | sys_ppu_thread_get_join_state | ||
| void sys_ppu_thread_get_join_state(int *isjoinable); | | void sys_ppu_thread_get_join_state(int *isjoinable); | ||
Line 455: | Line 511: | ||
| 47 | | 47 | ||
| 0x02F | | 0x02F | ||
| | |||
| | |||
| sys_ppu_thread_set_priority | | sys_ppu_thread_set_priority | ||
| int sys_ppu_thread_set_priority(sys_ppu_thread_t thread_id, int prio); | | int sys_ppu_thread_set_priority(sys_ppu_thread_t thread_id, int prio); | ||
Line 460: | Line 518: | ||
| 48 | | 48 | ||
| 0x030 | | 0x030 | ||
| | |||
| | |||
| sys_ppu_thread_get_priority | | sys_ppu_thread_get_priority | ||
| int sys_ppu_thread_get_priority(sys_ppu_thread_t thread_id, int *prio); | | int sys_ppu_thread_get_priority(sys_ppu_thread_t thread_id, int *prio); | ||
Line 465: | Line 525: | ||
| 49 | | 49 | ||
| 0x031 | | 0x031 | ||
| | |||
| | |||
| sys_ppu_thread_get_stack_information | | sys_ppu_thread_get_stack_information | ||
| int sys_ppu_thread_get_stack_information(sys_ppu_thread_stack_t * info); | | int sys_ppu_thread_get_stack_information(sys_ppu_thread_stack_t * info); | ||
Line 470: | Line 532: | ||
| 50 | | 50 | ||
| 0x032 | | 0x032 | ||
| | |||
| | |||
| | | | ||
| | | | ||
Line 475: | Line 539: | ||
| 51 | | 51 | ||
| 0x033 | | 0x033 | ||
| | |||
| | |||
| | | | ||
| | | | ||
Line 480: | Line 546: | ||
| 52 | | 52 | ||
| 0x034 | | 0x034 | ||
| | |||
| | |||
| | | | ||
| | | | ||
Line 485: | Line 553: | ||
| 53 | | 53 | ||
| 0x035 | | 0x035 | ||
| | |||
| | |||
| | | | ||
| | | | ||
Line 490: | Line 560: | ||
| 54 | | 54 | ||
| 0x036 | | 0x036 | ||
| | |||
| | |||
| | | | ||
| | | | ||
Line 495: | Line 567: | ||
| 55 | | 55 | ||
| 0x037 | | 0x037 | ||
| | |||
| | |||
| | | | ||
| | | | ||
Line 500: | Line 574: | ||
| 56 | | 56 | ||
| 0x038 | | 0x038 | ||
| | |||
| | |||
| sys_ppu_thread_rename | | sys_ppu_thread_rename | ||
| int sys_ppu_thread_rename(sys_ppu_thread_t thread_id, const char *name); | | int sys_ppu_thread_rename(sys_ppu_thread_t thread_id, const char *name); | ||
Line 505: | Line 581: | ||
| 57 | | 57 | ||
| 0x039 | | 0x039 | ||
| | |||
| | |||
| sys_ppu_thread_recover_page_fault | | sys_ppu_thread_recover_page_fault | ||
| int sys_ppu_thread_recover_page_fault(sys_ppu_thread_t thread_id); | | int sys_ppu_thread_recover_page_fault(sys_ppu_thread_t thread_id); | ||
Line 510: | Line 588: | ||
| 58 | | 58 | ||
| 0x03A | | 0x03A | ||
| | |||
| | |||
| 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=" | ! colspan="6" id="sys_trace Syscalls"|[[#sys_trace Syscalls]] (67-69+77) | ||
|- | |- | ||
| 60 | | 60 | ||
| 0x03C | | 0x03C | ||
| | |||
| | |||
| sys_trace_create | | sys_trace_create | ||
| | | | ||
Line 522: | Line 604: | ||
| 64 | | 64 | ||
| 0x040 | | 0x040 | ||
| | |||
| | |||
| syscall_sys_trace_destroy | | syscall_sys_trace_destroy | ||
| | | | ||
Line 527: | Line 611: | ||
| 67 | | 67 | ||
| 0x043 | | 0x043 | ||
| | |||
| | |||
| sys_trace_allocate_buffer | | sys_trace_allocate_buffer | ||
| | | | ||
Line 532: | Line 618: | ||
| 68 | | 68 | ||
| 0x044 | | 0x044 | ||
| | |||
| | |||
| sys_trace_free_buffer | | sys_trace_free_buffer | ||
| | | | ||
Line 537: | Line 625: | ||
| 69 | | 69 | ||
| 0x045 | | 0x045 | ||
| | |||
| | |||
| sys_trace_create2 | | sys_trace_create2 | ||
| | | | ||
|- | |- | ||
! colspan=" | ! colspan="6" id="sys_timer Syscalls"|[[#sys_timer Syscalls]] (70-76+141+142) | ||
|- | |- | ||
| 70 | | 70 | ||
| 0x046 | | 0x046 | ||
| | |||
| | |||
| sys_timer_create | | sys_timer_create | ||
| int sys_timer_create(sys_timer_t * timer_id); | | int sys_timer_create(sys_timer_t * timer_id); | ||
Line 549: | Line 641: | ||
| 71 | | 71 | ||
| 0x047 | | 0x047 | ||
| | |||
| | |||
| sys_timer_destroy | | sys_timer_destroy | ||
| int sys_timer_destroy(sys_timer_t timer_id); | | int sys_timer_destroy(sys_timer_t timer_id); | ||
Line 554: | Line 648: | ||
| 72 | | 72 | ||
| 0x048 | | 0x048 | ||
| | |||
| | |||
| sys_timer_get_information | | sys_timer_get_information | ||
| int sys_timer_get_information(sys_timer_t timer_id, sys_timer_information_t * info); | | int sys_timer_get_information(sys_timer_t timer_id, sys_timer_information_t * info); | ||
Line 559: | Line 655: | ||
| 73 | | 73 | ||
| 0x049 | | 0x049 | ||
| | |||
| | |||
| sys_timer_start | | sys_timer_start | ||
| int sys_timer_start(sys_timer_t timer_id, system_time_t base_time, usecond_t period); | | int sys_timer_start(sys_timer_t timer_id, system_time_t base_time, usecond_t period); | ||
Line 564: | Line 662: | ||
| 74 | | 74 | ||
| 0x04A | | 0x04A | ||
| | |||
| | |||
| sys_timer_stop | | sys_timer_stop | ||
| int sys_timer_stop(sys_timer_t timer_id); | | int sys_timer_stop(sys_timer_t timer_id); | ||
Line 569: | Line 669: | ||
| 75 | | 75 | ||
| 0x04B | | 0x04B | ||
| | |||
| | |||
| sys_timer_connect_event_queue | | sys_timer_connect_event_queue | ||
| int sys_timer_connect_event_queue(sys_timer_t timer_id, sys_event_queue_t queue_id, uint64_t name, uint64_t data1, uint64_t data2); | | int sys_timer_connect_event_queue(sys_timer_t timer_id, sys_event_queue_t queue_id, uint64_t name, uint64_t data1, uint64_t data2); | ||
Line 574: | Line 676: | ||
| 76 | | 76 | ||
| 0x04C | | 0x04C | ||
| | |||
| | |||
| 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=" | ! colspan="6" id="sys_trace Syscalls"|[[#sys_trace Syscalls]] (67-69+77) | ||
|- | |- | ||
| 77 | | 77 | ||
| 0x04D | | 0x04D | ||
| | |||
| | |||
| sys_trace_create2_in_cbepm | | sys_trace_create2_in_cbepm | ||
| | | | ||
|- | |- | ||
! colspan=" | ! colspan="6" id="sys_interrupt Syscalls"|[[#sys_interrupt Syscalls]] (80+81+84+88+89) | ||
|- | |- | ||
| 80 | | 80 | ||
| 0x050 | | 0x050 | ||
| | |||
| | |||
| sys_interrupt_tag_create | | sys_interrupt_tag_create | ||
| int sys_interrupt_tag_create(sys_interrupt_tag_t * intrtag, sys_irqoutlet_id_t irq, sys_hw_thread_t hwthread); | | int sys_interrupt_tag_create(sys_interrupt_tag_t * intrtag, sys_irqoutlet_id_t irq, sys_hw_thread_t hwthread); | ||
Line 593: | Line 701: | ||
| 81 | | 81 | ||
| 0x051 | | 0x051 | ||
| | |||
| | |||
| sys_interrupt_tag_destroy | | sys_interrupt_tag_destroy | ||
| int sys_interrupt_tag_destroy(sys_interrupt_tag_t intrtag); | | int sys_interrupt_tag_destroy(sys_interrupt_tag_t intrtag); | ||
|- | |- | ||
! colspan=" | ! colspan="6" id="sys_event Syscalls"|[[#sys_event Syscalls]] (82+83+85-87+118+128-140) | ||
|- | |- | ||
| 82 | | 82 | ||
| 0x052 | | 0x052 | ||
| | |||
| | |||
| sys_event_flag_create | | sys_event_flag_create | ||
| int sys_event_flag_create(sys_event_flag_t * id, sys_event_flag_attribute_t * attr, uint64_t init); | | int sys_event_flag_create(sys_event_flag_t * id, sys_event_flag_attribute_t * attr, uint64_t init); | ||
Line 605: | Line 717: | ||
| 83 | | 83 | ||
| 0x053 | | 0x053 | ||
| | |||
| | |||
| sys_event_flag_destroy | | sys_event_flag_destroy | ||
| int sys_event_flag_destroy(sys_event_flag_t id); | | int sys_event_flag_destroy(sys_event_flag_t id); | ||
|- | |- | ||
! colspan=" | ! colspan="6" id="sys_interrupt Syscalls"|[[#sys_interrupt Syscalls]] (80+81+84+88+89) | ||
|- | |- | ||
| 84 | | 84 | ||
| 0x054 | | 0x054 | ||
| | |||
| | |||
| sys_interrupt_thread_establish | | sys_interrupt_thread_establish | ||
| int sys_interrupt_thread_establish(sys_interrupt_thread_handle_t * ih, sys_interrupt_tag_t intrtag, uint64_t intrthread, uint64_t arg1, uint64_t arg2); | | int sys_interrupt_thread_establish(sys_interrupt_thread_handle_t * ih, sys_interrupt_tag_t intrtag, uint64_t intrthread, uint64_t arg1, uint64_t arg2); | ||
|- | |- | ||
! colspan=" | ! colspan="6" id="sys_event Syscalls"|[[#sys_event Syscalls]] (82+83+85-87+118+128-140) | ||
|- | |- | ||
| 85 | | 85 | ||
| 0x055 | | 0x055 | ||
| | |||
| | |||
| sys_event_flag_wait | | sys_event_flag_wait | ||
| int sys_event_flag_wait(sys_event_flag_t id, uint64_t bitptn, uint32_t mode, uint64_t * result, usecond_t timeout); | | int sys_event_flag_wait(sys_event_flag_t id, uint64_t bitptn, uint32_t mode, uint64_t * result, usecond_t timeout); | ||
Line 624: | Line 742: | ||
| 86 | | 86 | ||
| 0x056 | | 0x056 | ||
| | |||
| | |||
| sys_event_flag_trywait | | sys_event_flag_trywait | ||
| int sys_event_flag_trywait(sys_event_flag_t id, uint64_t bitptn, uint32_t mode, uint64_t * result); | | int sys_event_flag_trywait(sys_event_flag_t id, uint64_t bitptn, uint32_t mode, uint64_t * result); | ||
Line 629: | Line 749: | ||
| 87 | | 87 | ||
| 0x057 | | 0x057 | ||
| | |||
| | |||
| sys_event_flag_set | | sys_event_flag_set | ||
| int sys_event_flag_set(sys_event_flag_t id, uint64_t bitptn); | | int sys_event_flag_set(sys_event_flag_t id, uint64_t bitptn); | ||
|- | |- | ||
! colspan=" | ! colspan="6" id="sys_interrupt Syscalls"|[[#sys_interrupt Syscalls]] (80+81+84+88+89) | ||
|- | |- | ||
| 88 | | 88 | ||
| 0x058 | | 0x058 | ||
| | |||
| | |||
| sys_interrupt_thread_eoi | | sys_interrupt_thread_eoi | ||
| void sys_interrupt_thread_eoi(void); | | void sys_interrupt_thread_eoi(void); | ||
Line 641: | Line 765: | ||
| 89 | | 89 | ||
| 0x059 | | 0x059 | ||
| | |||
| | |||
| sys_interrupt_thread_disestablish | | sys_interrupt_thread_disestablish | ||
| int sys_interrupt_thread_disestablish(sys_interrupt_thread_handle_t ih); | | int sys_interrupt_thread_disestablish(sys_interrupt_thread_handle_t ih); | ||
|- | |- | ||
! colspan=" | ! colspan="6" id="sys_semaphore Syscalls"|[[#sys_semaphore Syscalls]] (90-94+114) | ||
|- | |- | ||
| 90 | | 90 | ||
| 0x05A | | 0x05A | ||
| | |||
| | |||
| sys_semaphore_create | | sys_semaphore_create | ||
| int sys_semaphore_create(sys_semaphore_t * sem, sys_semaphore_attribute_t * attr, sys_semaphore_value_t initial_val, sys_semaphore_value_t max_val); | | int sys_semaphore_create(sys_semaphore_t * sem, sys_semaphore_attribute_t * attr, sys_semaphore_value_t initial_val, sys_semaphore_value_t max_val); | ||
Line 653: | Line 781: | ||
| 91 | | 91 | ||
| 0x05B | | 0x05B | ||
| | |||
| | |||
| sys_semaphore_destroy | | sys_semaphore_destroy | ||
| int sys_semaphore_destroy(sys_semaphore_t sem); | | int sys_semaphore_destroy(sys_semaphore_t sem); | ||
Line 658: | Line 788: | ||
| 92 | | 92 | ||
| 0x05C | | 0x05C | ||
| | |||
| | |||
| sys_semaphore_wait | | sys_semaphore_wait | ||
| int sys_semaphore_wait(sys_semaphore_t sem, usecond_t timeout); | | int sys_semaphore_wait(sys_semaphore_t sem, usecond_t timeout); | ||
Line 663: | Line 795: | ||
| 93 | | 93 | ||
| 0x05D | | 0x05D | ||
| | |||
| | |||
| sys_semaphore_trywait | | sys_semaphore_trywait | ||
| int sys_semaphore_trywait(sys_semaphore_t sem); | | int sys_semaphore_trywait(sys_semaphore_t sem); | ||
Line 668: | Line 802: | ||
| 94 | | 94 | ||
| 0x05E | | 0x05E | ||
| | |||
| | |||
| sys_semaphore_post | | sys_semaphore_post | ||
| int sys_semaphore_post(sys_semaphore_t sem, sys_semaphore_value_t val); | | int sys_semaphore_post(sys_semaphore_t sem, sys_semaphore_value_t val); | ||
|- | |- | ||
! colspan=" | ! colspan="6" id="sys_lwmutex Syscalls"|[[#sys_lwmutex Syscalls]] (95-99) | ||
|- | |- | ||
| 95 | | 95 | ||
| 0x05F | | 0x05F | ||
| | |||
| | |||
| sys_lwmutex_create | | sys_lwmutex_create | ||
| int sys_lwmutex_create(sys_lwmutex_t *lwmutex, sys_lwmutex_attribute_t *attr) | | int sys_lwmutex_create(sys_lwmutex_t *lwmutex, sys_lwmutex_attribute_t *attr) | ||
Line 680: | Line 818: | ||
| 96 | | 96 | ||
| 0x060 | | 0x060 | ||
| | |||
| | |||
| sys_lwmutex_destroy | | sys_lwmutex_destroy | ||
| int sys_lwmutex_destroy(sys_lwmutex_t *lwmutex) | | int sys_lwmutex_destroy(sys_lwmutex_t *lwmutex) | ||
Line 685: | Line 825: | ||
| 97 | | 97 | ||
| 0x061 | | 0x061 | ||
| | |||
| | |||
| sys_lwmutex_lock | | sys_lwmutex_lock | ||
| int sys_lwmutex_lock(sys_lwmutex_t *lwmutex, usecond_t timeout) | | int sys_lwmutex_lock(sys_lwmutex_t *lwmutex, usecond_t timeout) | ||
Line 690: | Line 832: | ||
| 98 | | 98 | ||
| 0x062 | | 0x062 | ||
| | |||
| | |||
| sys_lwmutex_trylock | | sys_lwmutex_trylock | ||
| int sys_lwmutex_trylock(sys_lwmutex_t *lwmutex) | | int sys_lwmutex_trylock(sys_lwmutex_t *lwmutex) | ||
Line 695: | Line 839: | ||
| 99 | | 99 | ||
| 0x063 | | 0x063 | ||
| | |||
| | |||
| sys_lwmutex_unlock | | sys_lwmutex_unlock | ||
| int sys_lwmutex_unlock(sys_lwmutex_t *lwmutex) | | int sys_lwmutex_unlock(sys_lwmutex_t *lwmutex) | ||
|- | |- | ||
! colspan=" | ! colspan="6" id="sys_mutex Syscalls"|[[#sys_mutex Syscalls]] (100-104) | ||
|- | |- | ||
| 100 | | 100 | ||
| 0x064 | | 0x064 | ||
| | |||
| | |||
| sys_mutex_create | | sys_mutex_create | ||
| int sys_mutex_create(sys_mutex_t * mutex_id, sys_mutex_attribute_t * attr); | | int sys_mutex_create(sys_mutex_t * mutex_id, sys_mutex_attribute_t * attr); | ||
Line 707: | Line 855: | ||
| 101 | | 101 | ||
| 0x065 | | 0x065 | ||
| | |||
| | |||
| sys_mutex_destroy | | sys_mutex_destroy | ||
| int sys_mutex_destroy(sys_mutex_t mutex_id); | | int sys_mutex_destroy(sys_mutex_t mutex_id); | ||
Line 712: | Line 862: | ||
| 102 | | 102 | ||
| 0x066 | | 0x066 | ||
| | |||
| | |||
| sys_mutex_lock | | sys_mutex_lock | ||
| int sys_mutex_lock(sys_mutex_t mutex_id, usecond_t timeout); | | int sys_mutex_lock(sys_mutex_t mutex_id, usecond_t timeout); | ||
Line 717: | Line 869: | ||
| 103 | | 103 | ||
| 0x067 | | 0x067 | ||
| | |||
| | |||
| sys_mutex_trylock | | sys_mutex_trylock | ||
| int sys_mutex_trylock(sys_mutex_t mutex_id); | | int sys_mutex_trylock(sys_mutex_t mutex_id); | ||
Line 722: | Line 876: | ||
| 104 | | 104 | ||
| 0x068 | | 0x068 | ||
| | |||
| | |||
| sys_mutex_unlock | | sys_mutex_unlock | ||
| int sys_mutex_unlock(sys_mutex_t mutex_id); | | int sys_mutex_unlock(sys_mutex_t mutex_id); | ||
|- | |- | ||
! colspan=" | ! colspan="6" id="sys_cond Syscalls"|[[#sys_cond Syscalls]] (105-110) | ||
|- | |- | ||
| 105 | | 105 | ||
| 0x069 | | 0x069 | ||
| | |||
| | |||
| sys_cond_create | | sys_cond_create | ||
| int sys_cond_create(sys_cond_t * cond_id, sys_mutex_t mutex_id, sys_cond_attribute_t * attr); | | int sys_cond_create(sys_cond_t * cond_id, sys_mutex_t mutex_id, sys_cond_attribute_t * attr); | ||
Line 734: | Line 892: | ||
| 106 | | 106 | ||
| 0x06A | | 0x06A | ||
| | |||
| | |||
| sys_cond_destroy | | sys_cond_destroy | ||
| int sys_cond_destroy(sys_cond_t cond_id); | | int sys_cond_destroy(sys_cond_t cond_id); | ||
Line 739: | Line 899: | ||
| 107 | | 107 | ||
| 0x06B | | 0x06B | ||
| | |||
| | |||
| sys_cond_wait | | sys_cond_wait | ||
| int sys_cond_wait(sys_cond_t cond_id, usecond_t timeout); | | int sys_cond_wait(sys_cond_t cond_id, usecond_t timeout); | ||
Line 744: | Line 906: | ||
| 108 | | 108 | ||
| 0x06C | | 0x06C | ||
| | |||
| | |||
| sys_cond_signal | | sys_cond_signal | ||
| int sys_cond_signal(sys_cond_t cond_id); | | int sys_cond_signal(sys_cond_t cond_id); | ||
Line 749: | Line 913: | ||
| 109 | | 109 | ||
| 0x06D | | 0x06D | ||
| | |||
| | |||
| sys_cond_signal_all | | sys_cond_signal_all | ||
| int sys_cond_signal_all(sys_cond_t cond_id); | | int sys_cond_signal_all(sys_cond_t cond_id); | ||
Line 754: | Line 920: | ||
| 110 | | 110 | ||
| 0x06E | | 0x06E | ||
| | |||
| | |||
| sys_cond_signal_to | | sys_cond_signal_to | ||
| int sys_cond_signal_to(sys_cond_t cond_id, sys_ppu_thread_t thread); | | int sys_cond_signal_to(sys_cond_t cond_id, sys_ppu_thread_t thread); | ||
|- | |- | ||
! colspan=" | ! colspan="6" id="sys_lwcond Syscalls"|[[#sys_lwcond Syscalls]] (111+112) | ||
|- | |- | ||
| 111 | | 111 | ||
| 0x06F | | 0x06F | ||
| | |||
| | |||
| sys_lwcond_create | | sys_lwcond_create | ||
| int sys_lwcond_create(sys_lwcond_t *lwcond, sys_lwmutex_t *lwmutex, sys_lwcond_attribute_t *attr) | | int sys_lwcond_create(sys_lwcond_t *lwcond, sys_lwmutex_t *lwmutex, sys_lwcond_attribute_t *attr) | ||
Line 766: | Line 936: | ||
| 112 | | 112 | ||
| 0x070 | | 0x070 | ||
| | |||
| | |||
| sys_lwcond_destroy | | sys_lwcond_destroy | ||
| int sys_lwcond_destroy(sys_lwcond_t *lwcond) | | int sys_lwcond_destroy(sys_lwcond_t *lwcond) | ||
Line 771: | Line 943: | ||
| 113 | | 113 | ||
| 0x071 | | 0x071 | ||
| | |||
| | |||
| sys_lwcond_queue_wait | | sys_lwcond_queue_wait | ||
| 3 params | | 3 params | ||
|- | |- | ||
! colspan=" | ! colspan="6" id="sys_semaphore Syscalls"|[[#sys_semaphore Syscalls]] (90-94+114) | ||
|- | |- | ||
| 114 | | 114 | ||
| 0x072 | | 0x072 | ||
| | |||
| | |||
| sys_semaphore_get_value | | sys_semaphore_get_value | ||
| int sys_semaphore_get_value(sys_semaphore_t sem, sys_semaphore_value_t * val); | | int sys_semaphore_get_value(sys_semaphore_t sem, sys_semaphore_value_t * val); | ||
Line 783: | Line 959: | ||
| 115 | | 115 | ||
| 0x073 | | 0x073 | ||
| | |||
| | |||
| | | | ||
| 4 params | | 4 params | ||
Line 788: | Line 966: | ||
| 116 | | 116 | ||
| 0x074 | | 0x074 | ||
| | |||
| | |||
| | | | ||
| 3 params | | 3 params | ||
Line 793: | Line 973: | ||
| 117 | | 117 | ||
| 0x075 | | 0x075 | ||
| | |||
| | |||
| | | | ||
| 1 params : sys_lwmutex_t *lwmutex | | 1 params : sys_lwmutex_t *lwmutex | ||
|- | |- | ||
! colspan=" | ! colspan="6" id="sys_event Syscalls"|[[#sys_event Syscalls]] (82+83+85-87+118+128-140) | ||
|- | |- | ||
| 118 | | 118 | ||
| 0x076 | | 0x076 | ||
| | |||
| | |||
| sys_event_flag_clear | | sys_event_flag_clear | ||
| int sys_event_flag_clear(sys_event_flag_t id, uint64_t bitptn); | | int sys_event_flag_clear(sys_event_flag_t id, uint64_t bitptn); | ||
Line 805: | Line 989: | ||
| 119 | | 119 | ||
| 0x077 | | 0x077 | ||
| | |||
| | |||
| | | | ||
| 1 Param | | 1 Param | ||
|- | |- | ||
! colspan=" | ! colspan="6" id="sys_rwlock Syscalls"|[[#sys_rwlock Syscalls]] (120-127+148) | ||
|- | |- | ||
| 120 | | 120 | ||
| 0x078 | | 0x078 | ||
| | |||
| | |||
| sys_rwlock_create | | sys_rwlock_create | ||
| int sys_rwlock_create(sys_rwlock_t * rw_lock_id, sys_rwlock_attribute_t * attr); | | int sys_rwlock_create(sys_rwlock_t * rw_lock_id, sys_rwlock_attribute_t * attr); | ||
Line 817: | Line 1,005: | ||
| 121 | | 121 | ||
| 0x079 | | 0x079 | ||
| | |||
| | |||
| sys_rwlock_destroy | | sys_rwlock_destroy | ||
| int sys_rwlock_destroy(sys_rwlock_t rw_lock_id); | | int sys_rwlock_destroy(sys_rwlock_t rw_lock_id); | ||
Line 822: | Line 1,012: | ||
| 122 | | 122 | ||
| 0x07A | | 0x07A | ||
| | |||
| | |||
| sys_rwlock_rlock | | sys_rwlock_rlock | ||
| int sys_rwlock_rlock(sys_rwlock_t rw_lock_id, usecond_t timeout); | | int sys_rwlock_rlock(sys_rwlock_t rw_lock_id, usecond_t timeout); | ||
Line 827: | Line 1,019: | ||
| 123 | | 123 | ||
| 0x07B | | 0x07B | ||
| | |||
| | |||
| sys_rwlock_tryrlock | | sys_rwlock_tryrlock | ||
| int sys_rwlock_tryrlock(sys_rwlock_t rw_lock_id); | | int sys_rwlock_tryrlock(sys_rwlock_t rw_lock_id); | ||
Line 832: | Line 1,026: | ||
| 124 | | 124 | ||
| 0x07C | | 0x07C | ||
| | |||
| | |||
| sys_rwlock_runlock | | sys_rwlock_runlock | ||
| int sys_rwlock_runlock(sys_rwlock_t rw_lock_id); | | int sys_rwlock_runlock(sys_rwlock_t rw_lock_id); | ||
Line 837: | Line 1,033: | ||
| 125 | | 125 | ||
| 0x07D | | 0x07D | ||
| | |||
| | |||
| sys_rwlock_wlock | | sys_rwlock_wlock | ||
| int sys_rwlock_wlock(sys_rwlock_t rw_lock_id, usecond_t timeout); | | int sys_rwlock_wlock(sys_rwlock_t rw_lock_id, usecond_t timeout); | ||
Line 842: | Line 1,040: | ||
| 126 | | 126 | ||
| 0x07E | | 0x07E | ||
| | |||
| | |||
| sys_rwlock_trywlock | | sys_rwlock_trywlock | ||
| int sys_rwlock_trywlock(sys_rwlock_t rw_lock_id); | | int sys_rwlock_trywlock(sys_rwlock_t rw_lock_id); | ||
Line 847: | Line 1,047: | ||
| 127 | | 127 | ||
| 0x07F | | 0x07F | ||
| | |||
| | |||
| sys_rwlock_wunlock | | sys_rwlock_wunlock | ||
| int sys_rwlock_wunlock(sys_rwlock_t rw_lock_id); | | int sys_rwlock_wunlock(sys_rwlock_t rw_lock_id); | ||
|- | |- | ||
! colspan=" | ! colspan="6" id="sys_event Syscalls"|[[#sys_event Syscalls]] (82+83+85-87+118+128-140) | ||
|- | |- | ||
| 128 | | 128 | ||
| 0x080 | | 0x080 | ||
| | |||
| | |||
| sys_event_queue_create | | sys_event_queue_create | ||
| int sys_event_queue_create(sys_event_queue_t * equeue_id, sys_event_queue_attribute_t * attr, sys_ipc_key_t event_queue_key, int size); | | int sys_event_queue_create(sys_event_queue_t * equeue_id, sys_event_queue_attribute_t * attr, sys_ipc_key_t event_queue_key, int size); | ||
Line 859: | Line 1,063: | ||
| 129 | | 129 | ||
| 0x081 | | 0x081 | ||
| | |||
| | |||
| sys_event_queue_destroy | | sys_event_queue_destroy | ||
| int sys_event_queue_destroy(sys_event_queue_t equeue_id, int mode); | | int sys_event_queue_destroy(sys_event_queue_t equeue_id, int mode); | ||
Line 864: | Line 1,070: | ||
| 130 | | 130 | ||
| 0x082 | | 0x082 | ||
| | |||
| | |||
| sys_event_queue_receive | | sys_event_queue_receive | ||
| int sys_event_queue_receive(sys_event_queue_t equeue_id, sys_event_t * event, usecond_t timeout); | | int sys_event_queue_receive(sys_event_queue_t equeue_id, sys_event_t * event, usecond_t timeout); | ||
Line 869: | Line 1,077: | ||
| 131 | | 131 | ||
| 0x083 | | 0x083 | ||
| | |||
| | |||
| sys_event_queue_tryreceive | | sys_event_queue_tryreceive | ||
| int sys_event_queue_tryreceive(sys_event_queue_t equeue_id, sys_event_t * event_array, int size, int *number); | | int sys_event_queue_tryreceive(sys_event_queue_t equeue_id, sys_event_t * event_array, int size, int *number); | ||
Line 874: | Line 1,084: | ||
| 132 | | 132 | ||
| 0x084 | | 0x084 | ||
| | |||
| | |||
| sys_event_flag_cancel | | sys_event_flag_cancel | ||
| int sys_event_flag_cancel(sys_event_flag_t id, int *num); | | int sys_event_flag_cancel(sys_event_flag_t id, int *num); | ||
Line 879: | Line 1,091: | ||
| 133 | | 133 | ||
| 0x085 | | 0x085 | ||
| | |||
| | |||
| sys_event_queue_drain | | sys_event_queue_drain | ||
| int sys_event_queue_drain(sys_event_queue_t equeue_id); | | int sys_event_queue_drain(sys_event_queue_t equeue_id); | ||
Line 884: | Line 1,098: | ||
| 134 | | 134 | ||
| 0x086 | | 0x086 | ||
| | |||
| | |||
| sys_event_port_create | | sys_event_port_create | ||
| int sys_event_port_create(sys_event_port_t * eport_id, int port_type, uint64_t name); | | int sys_event_port_create(sys_event_port_t * eport_id, int port_type, uint64_t name); | ||
Line 889: | Line 1,105: | ||
| 135 | | 135 | ||
| 0x087 | | 0x087 | ||
| | |||
| | |||
| sys_event_port_destroy | | sys_event_port_destroy | ||
| int sys_event_port_destroy(sys_event_port_t eport_id); | | int sys_event_port_destroy(sys_event_port_t eport_id); | ||
Line 894: | Line 1,112: | ||
| 136 | | 136 | ||
| 0x088 | | 0x088 | ||
| | |||
| | |||
| sys_event_port_connect_local | | sys_event_port_connect_local | ||
| int sys_event_port_connect_local(sys_event_port_t event_port_id, sys_event_queue_t event_queue_id); | | int sys_event_port_connect_local(sys_event_port_t event_port_id, sys_event_queue_t event_queue_id); | ||
Line 899: | Line 1,119: | ||
| 137 | | 137 | ||
| 0x089 | | 0x089 | ||
| | |||
| | |||
| sys_event_port_disconnect | | sys_event_port_disconnect | ||
| int sys_event_port_disconnect(sys_event_port_t event_port_id); | | int sys_event_port_disconnect(sys_event_port_t event_port_id); | ||
Line 904: | Line 1,126: | ||
| 138 | | 138 | ||
| 0x08A | | 0x08A | ||
| | |||
| | |||
| sys_event_port_send | | sys_event_port_send | ||
| int sys_event_port_send(sys_event_port_t eport_id, unint64_t data1, uint64_t data2, uint64_t data3); | | int sys_event_port_send(sys_event_port_t eport_id, unint64_t data1, uint64_t data2, uint64_t data3); | ||
Line 909: | Line 1,133: | ||
| 139 | | 139 | ||
| 0x08B | | 0x08B | ||
| | |||
| | |||
| sys_event_flag_get | | sys_event_flag_get | ||
| int sys_event_flag_get(sys_event_flag_t id, uint64_t * bitptn); | | int sys_event_flag_get(sys_event_flag_t id, uint64_t * bitptn); | ||
Line 914: | Line 1,140: | ||
| 140 | | 140 | ||
| 0x08C | | 0x08C | ||
| | |||
| | |||
| 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=" | ! colspan="6" id="sys_timer Syscalls"|[[#sys_timer Syscalls]] (70-76+141+142) | ||
|- | |- | ||
| 141 | | 141 | ||
| 0x08D | | 0x08D | ||
| | |||
| | |||
| sys_timer_usleep | | sys_timer_usleep | ||
| int sys_timer_usleep(usecond_t sleep_time); | | int sys_timer_usleep(usecond_t sleep_time); | ||
Line 926: | Line 1,156: | ||
| 142 | | 142 | ||
| 0x08E | | 0x08E | ||
| | |||
| | |||
| sys_timer_sleep | | sys_timer_sleep | ||
| int sys_timer_sleep(second_t sleep_time); | | int sys_timer_sleep(second_t sleep_time); | ||
Line 931: | Line 1,163: | ||
| 143 | | 143 | ||
| 0x08F | | 0x08F | ||
| | |||
| | |||
| | | | ||
| 2 Params | | 2 Params | ||
Line 936: | Line 1,170: | ||
| 144 | | 144 | ||
| 0x090 | | 0x090 | ||
| | |||
| | |||
| | | | ||
| 2 Params | | 2 Params | ||
|- | |- | ||
! colspan=" | ! colspan="6" id="sys_time Syscalls"|[[#sys_time Syscalls]] (145-147) | ||
|- | |- | ||
| 145 | | 145 | ||
| 0x091 | | 0x091 | ||
| | |||
| | |||
| sys_time_get_current_time | | sys_time_get_current_time | ||
| int sys_time_get_current_time(sys_time_sec_t * sec, sys_time_nsec_t * nsec); | | int sys_time_get_current_time(sys_time_sec_t * sec, sys_time_nsec_t * nsec); | ||
Line 948: | Line 1,186: | ||
| 146 | | 146 | ||
| 0x092 | | 0x092 | ||
| | |||
| | |||
| sys_time_get_system_time | | sys_time_get_system_time | ||
| system_time_t sys_time_get_system_time(void) | | system_time_t sys_time_get_system_time(void) | ||
Line 953: | Line 1,193: | ||
| 147 | | 147 | ||
| 0x093 | | 0x093 | ||
| | |||
| | |||
| sys_time_get_timebase_frequency | | sys_time_get_timebase_frequency | ||
| uint64_t sys_time_get_timebase_frequency(void); | | uint64_t sys_time_get_timebase_frequency(void); | ||
|- | |- | ||
! colspan=" | ! colspan="6" id="sys_rwlock Syscalls"|[[#sys_rwlock Syscalls]] (120-127+148) | ||
|- | |- | ||
| 148 | | 148 | ||
| 0x094 | | 0x094 | ||
| | |||
| | |||
| sys_rwlock_trywlock | | sys_rwlock_trywlock | ||
| int sys_rwlock_trywlock(sys_rwlock_t rw_lock_id); | | int sys_rwlock_trywlock(sys_rwlock_t rw_lock_id); | ||
|- | |- | ||
! colspan=" | ! colspan="6" id="sys_spu/sys_raw_spu Syscalls"|[[#sys_spu/sys_raw_spu Syscalls]] (150-260) | ||
|- | |- | ||
| 150 | | 150 | ||
| 0x096 | | 0x096 | ||
| | |||
| | |||
| sys_raw_spu_create_interrupt_tag | | sys_raw_spu_create_interrupt_tag | ||
| int sys_raw_spu_create_interrupt_tag(sys_raw_spu_t id,sys_class_id_t class_id, sys_hw_thread_t hwthread, sys_interrupt_tag_t *intrtag) | | int sys_raw_spu_create_interrupt_tag(sys_raw_spu_t id,sys_class_id_t class_id, sys_hw_thread_t hwthread, sys_interrupt_tag_t *intrtag) | ||
Line 972: | Line 1,218: | ||
| 151 | | 151 | ||
| 0x097 | | 0x097 | ||
| | |||
| | |||
| sys_raw_spu_set_int_mask | | sys_raw_spu_set_int_mask | ||
| int sys_raw_spu_set_int_mask(sys_raw_spu_t id, sys_class_id_t class_id, uint64_t mask) | | int sys_raw_spu_set_int_mask(sys_raw_spu_t id, sys_class_id_t class_id, uint64_t mask) | ||
Line 977: | Line 1,225: | ||
| 152 | | 152 | ||
| 0x098 | | 0x098 | ||
| | |||
| | |||
| sys_raw_spu_get_int_mask | | sys_raw_spu_get_int_mask | ||
| int sys_raw_spu_get_int_mask(sys_raw_spu_t id, sys_class_id_t class_id, uint64_t *mask) | | int sys_raw_spu_get_int_mask(sys_raw_spu_t id, sys_class_id_t class_id, uint64_t *mask) | ||
Line 982: | Line 1,232: | ||
| 153 | | 153 | ||
| 0x099 | | 0x099 | ||
| | |||
| | |||
| sys_raw_spu_set_int_stat | | sys_raw_spu_set_int_stat | ||
| int sys_raw_spu_set_int_stat(sys_raw_spu_t id, sys_class_id_t class_id, uint64_t stat) | | int sys_raw_spu_set_int_stat(sys_raw_spu_t id, sys_class_id_t class_id, uint64_t stat) | ||
Line 987: | Line 1,239: | ||
| 154 | | 154 | ||
| 0x09A | | 0x09A | ||
| | |||
| | |||
| 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) | ||
Line 992: | Line 1,246: | ||
| 156 | | 156 | ||
| 0x09C | | 0x09C | ||
| | |||
| | |||
| sys_spu_image_open | | sys_spu_image_open | ||
| int sys_spu_image_open(sys_spu_image_t *img, const char *path) | | int sys_spu_image_open(sys_spu_image_t *img, const char *path) | ||
Line 997: | Line 1,253: | ||
| 157 | | 157 | ||
| 0x09D | | 0x09D | ||
| | |||
| | |||
| sys_spu_image_import | | sys_spu_image_import | ||
| int sys_spu_image_import(sys_spu_image_t *img, const void *src, uint32_t type) | | int sys_spu_image_import(sys_spu_image_t *img, const void *src, uint32_t type) | ||
Line 1,002: | Line 1,260: | ||
| 158 | | 158 | ||
| 0x09E | | 0x09E | ||
| | |||
| | |||
| sys_spu_image_close | | sys_spu_image_close | ||
| int sys_spu_image_close(sys_spu_image_t *img); | | int sys_spu_image_close(sys_spu_image_t *img); | ||
Line 1,007: | Line 1,267: | ||
| 159 | | 159 | ||
| 0x09F | | 0x09F | ||
| | |||
| | |||
| | | | ||
| 3 Params | | 3 Params | ||
Line 1,012: | Line 1,274: | ||
| 160 | | 160 | ||
| 0x0A0 | | 0x0A0 | ||
| | |||
| | |||
| sys_raw_spu_create | | sys_raw_spu_create | ||
| int sys_raw_spu_create(sys_raw_spu_t *id, sys_raw_spu_attribute_t *attr) | | int sys_raw_spu_create(sys_raw_spu_t *id, sys_raw_spu_attribute_t *attr) | ||
Line 1,017: | Line 1,281: | ||
| 161 | | 161 | ||
| 0x0A1 | | 0x0A1 | ||
| | |||
| | |||
| sys_raw_spu_destroy | | sys_raw_spu_destroy | ||
| int sys_raw_spu_destroy(sys_raw_spu_t id) | | int sys_raw_spu_destroy(sys_raw_spu_t id) | ||
Line 1,022: | Line 1,288: | ||
| 163 | | 163 | ||
| 0x0A3 | | 0x0A3 | ||
| | |||
| | |||
| sys_raw_spu_read_puint_mb | | sys_raw_spu_read_puint_mb | ||
| int sys_raw_spu_read_puint_mb(sys_raw_spu_t id, uint32_t *value) | | int sys_raw_spu_read_puint_mb(sys_raw_spu_t id, uint32_t *value) | ||
Line 1,027: | Line 1,295: | ||
| 165 | | 165 | ||
| 0x0A5 | | 0x0A5 | ||
| | |||
| | |||
| sys_spu_thread_get_exit_status | | sys_spu_thread_get_exit_status | ||
| int sys_spu_thread_get_exit_status(sys_spu_thread_t id, int *status) | | int sys_spu_thread_get_exit_status(sys_spu_thread_t id, int *status) | ||
Line 1,032: | Line 1,302: | ||
| 166 | | 166 | ||
| 0x0A6 | | 0x0A6 | ||
| | |||
| | |||
| sys_spu_thread_set_argument | | sys_spu_thread_set_argument | ||
| int sys_spu_thread_set_argument(sys_spu_thread_t id, sys_spu_thread_argument_t *arg) | | int sys_spu_thread_set_argument(sys_spu_thread_t id, sys_spu_thread_argument_t *arg) | ||
Line 1,037: | Line 1,309: | ||
| 167 | | 167 | ||
| 0x0A7 | | 0x0A7 | ||
| | |||
| | |||
| sys_spu_thread_group_start_on_exit | | sys_spu_thread_group_start_on_exit | ||
| | | | ||
Line 1,042: | Line 1,316: | ||
| 169 | | 169 | ||
| 0x0A9 | | 0x0A9 | ||
| | |||
| | |||
| sys_spu_initialize | | sys_spu_initialize | ||
| int sys_spu_initialize(unsigned int max_usable_spu, unsigned int max_raw_spu) | | int sys_spu_initialize(unsigned int max_usable_spu, unsigned int max_raw_spu) | ||
Line 1,047: | Line 1,323: | ||
| 170 | | 170 | ||
| 0x0AA | | 0x0AA | ||
| | |||
| | |||
| sys_spu_thread_group_create | | sys_spu_thread_group_create | ||
| int sys_spu_thread_group_create(sys_spu_thread_group_t *id, unsigned int num, int prio, sys_spu_thread_group_attribute_t *attr) | | int sys_spu_thread_group_create(sys_spu_thread_group_t *id, unsigned int num, int prio, sys_spu_thread_group_attribute_t *attr) | ||
Line 1,052: | Line 1,330: | ||
| 171 | | 171 | ||
| 0x0AB | | 0x0AB | ||
| | |||
| | |||
| sys_spu_thread_group_destroy | | sys_spu_thread_group_destroy | ||
| int sys_spu_thread_group_destroy(sys_spu_thread_group_t id) | | int sys_spu_thread_group_destroy(sys_spu_thread_group_t id) | ||
Line 1,057: | Line 1,337: | ||
| 172 | | 172 | ||
| 0x0AC | | 0x0AC | ||
| | |||
| | |||
| sys_spu_thread_initialize | | sys_spu_thread_initialize | ||
| 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) | | 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) | ||
Line 1,062: | Line 1,344: | ||
| 173 | | 173 | ||
| 0x0AD | | 0x0AD | ||
| | |||
| | |||
| sys_spu_thread_group_start | | sys_spu_thread_group_start | ||
| int sys_spu_thread_group_start(sys_spu_thread_group_t id) | | int sys_spu_thread_group_start(sys_spu_thread_group_t id) | ||
Line 1,067: | Line 1,351: | ||
| 174 | | 174 | ||
| 0x0AE | | 0x0AE | ||
| | |||
| | |||
| sys_spu_thread_group_suspend | | sys_spu_thread_group_suspend | ||
| int sys_spu_thread_group_suspend(sys_spu_thread_group_t id) | | int sys_spu_thread_group_suspend(sys_spu_thread_group_t id) | ||
Line 1,072: | Line 1,358: | ||
| 175 | | 175 | ||
| 0x0AF | | 0x0AF | ||
| | |||
| | |||
| sys_spu_thread_group_resume | | sys_spu_thread_group_resume | ||
| int sys_spu_thread_group_resume(sys_spu_thread_group_t id) | | int sys_spu_thread_group_resume(sys_spu_thread_group_t id) | ||
Line 1,077: | Line 1,365: | ||
| 176 | | 176 | ||
| 0x0B0 | | 0x0B0 | ||
| | |||
| | |||
| sys_spu_thread_group_yield | | sys_spu_thread_group_yield | ||
| int sys_spu_thread_group_yield(sys_spu_thread_group_t id) | | int sys_spu_thread_group_yield(sys_spu_thread_group_t id) | ||
Line 1,082: | Line 1,372: | ||
| 177 | | 177 | ||
| 0x0B1 | | 0x0B1 | ||
| | |||
| | |||
| sys_spu_thread_group_terminate | | sys_spu_thread_group_terminate | ||
| int sys_spu_thread_group_terminate(sys_spu_thread_group_t id, int value) | | int sys_spu_thread_group_terminate(sys_spu_thread_group_t id, int value) | ||
Line 1,087: | Line 1,379: | ||
| 178 | | 178 | ||
| 0x0B2 | | 0x0B2 | ||
| | |||
| | |||
| sys_spu_thread_group_join | | sys_spu_thread_group_join | ||
| int sys_spu_thread_group_join(sys_spu_thread_group_t gid, int *cause, int *status) | | int sys_spu_thread_group_join(sys_spu_thread_group_t gid, int *cause, int *status) | ||
Line 1,092: | Line 1,386: | ||
| 179 | | 179 | ||
| 0x0B3 | | 0x0B3 | ||
| | |||
| | |||
| sys_spu_thread_group_set_priority | | sys_spu_thread_group_set_priority | ||
| int sys_spu_thread_group_set_priority(sys_spu_thread_group_t id, int priority) | | int sys_spu_thread_group_set_priority(sys_spu_thread_group_t id, int priority) | ||
Line 1,097: | Line 1,393: | ||
| 180 | | 180 | ||
| 0x0B4 | | 0x0B4 | ||
| | |||
| | |||
| sys_spu_thread_group_get_priority | | sys_spu_thread_group_get_priority | ||
| int sys_spu_thread_group_get_priority(sys_spu_thread_group_t id, int *priority) | | int sys_spu_thread_group_get_priority(sys_spu_thread_group_t id, int *priority) | ||
Line 1,102: | Line 1,400: | ||
| 181 | | 181 | ||
| 0x0B5 | | 0x0B5 | ||
| | |||
| | |||
| sys_spu_thread_write_ls | | sys_spu_thread_write_ls | ||
| int sys_spu_thread_write_ls(sys_spu_thread_t id, uint32_t address, uint64_t value, size_t type) | | int sys_spu_thread_write_ls(sys_spu_thread_t id, uint32_t address, uint64_t value, size_t type) | ||
Line 1,107: | Line 1,407: | ||
| 182 | | 182 | ||
| 0x0B6 | | 0x0B6 | ||
| | |||
| | |||
| 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) | ||
Line 1,112: | Line 1,414: | ||
| 184 | | 184 | ||
| 0x0B8 | | 0x0B8 | ||
| | |||
| | |||
| sys_spu_thread_write_snr | | sys_spu_thread_write_snr | ||
| int sys_spu_thread_write_snr(sys_spu_thread_t id, int number, uint32_t value) | | int sys_spu_thread_write_snr(sys_spu_thread_t id, int number, uint32_t value) | ||
Line 1,117: | Line 1,421: | ||
| 185 | | 185 | ||
| 0x0B9 | | 0x0B9 | ||
| | |||
| | |||
| sys_spu_thread_group_connect_event | | sys_spu_thread_group_connect_event | ||
| int sys_spu_thread_group_connect_event(sys_spu_thread_group_t id, sys_event_queue_t eq, sys_event_type_t et) | | int sys_spu_thread_group_connect_event(sys_spu_thread_group_t id, sys_event_queue_t eq, sys_event_type_t et) | ||
Line 1,122: | Line 1,428: | ||
| 186 | | 186 | ||
| 0x0BA | | 0x0BA | ||
| | |||
| | |||
| sys_spu_thread_group_disconnect_event | | sys_spu_thread_group_disconnect_event | ||
| int sys_spu_thread_group_disconnect_event(sys_spu_thread_group_t id, sys_event_type_t et) | | int sys_spu_thread_group_disconnect_event(sys_spu_thread_group_t id, sys_event_type_t et) | ||
Line 1,127: | Line 1,435: | ||
| 187 | | 187 | ||
| 0x0BB | | 0x0BB | ||
| | |||
| | |||
| sys_spu_thread_set_spu_cfg | | sys_spu_thread_set_spu_cfg | ||
| int sys_spu_thread_set_spu_cfg(sys_spu_thread_t id, uint64_t value) | | int sys_spu_thread_set_spu_cfg(sys_spu_thread_t id, uint64_t value) | ||
Line 1,132: | Line 1,442: | ||
| 188 | | 188 | ||
| 0x0BC | | 0x0BC | ||
| | |||
| | |||
| 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) | ||
Line 1,137: | Line 1,449: | ||
| 190 | | 190 | ||
| 0x0BE | | 0x0BE | ||
| | |||
| | |||
| sys_spu_thread_write_spu_mb | | sys_spu_thread_write_spu_mb | ||
| int sys_spu_thread_write_spu_mb(sys_spu_thread_t id, uint32_t value); | | int sys_spu_thread_write_spu_mb(sys_spu_thread_t id, uint32_t value); | ||
Line 1,142: | Line 1,456: | ||
| 191 | | 191 | ||
| 0x0BF | | 0x0BF | ||
| | |||
| | |||
| sys_spu_thread_connect_event | | sys_spu_thread_connect_event | ||
| int sys_spu_thread_connect_event(sys_spu_thread_t id, sys_event_queue_t eq, sys_event_type_t et, uint8_t spup) | | int sys_spu_thread_connect_event(sys_spu_thread_t id, sys_event_queue_t eq, sys_event_type_t et, uint8_t spup) | ||
Line 1,147: | Line 1,463: | ||
| 192 | | 192 | ||
| 0x0C0 | | 0x0C0 | ||
| | |||
| | |||
| sys_spu_thread_disconnect_event | | sys_spu_thread_disconnect_event | ||
| int sys_spu_thread_disconnect_event(sys_spu_thread_t id, sys_event_type_t et, uint8_t spup) | | int sys_spu_thread_disconnect_event(sys_spu_thread_t id, sys_event_type_t et, uint8_t spup) | ||
Line 1,152: | Line 1,470: | ||
| 193 | | 193 | ||
| 0x0C1 | | 0x0C1 | ||
| | |||
| | |||
| sys_spu_thread_bind_queue | | sys_spu_thread_bind_queue | ||
| int sys_spu_thread_bind_queue(sys_spu_thread_t id,sys_event_queue_t spuq,uint32_t spuq_num) | | int sys_spu_thread_bind_queue(sys_spu_thread_t id,sys_event_queue_t spuq,uint32_t spuq_num) | ||
Line 1,157: | Line 1,477: | ||
| 194 | | 194 | ||
| 0x0C2 | | 0x0C2 | ||
| | |||
| | |||
| sys_spu_thread_unbind_queue | | sys_spu_thread_unbind_queue | ||
| int sys_spu_thread_unbind_queue(sys_spu_thread_t id, uint32_t spuq_num) | | int sys_spu_thread_unbind_queue(sys_spu_thread_t id, uint32_t spuq_num) | ||
Line 1,162: | Line 1,484: | ||
| 196 | | 196 | ||
| 0x0C4 | | 0x0C4 | ||
| | |||
| | |||
| sys_raw_spu_set_spu_cfg | | sys_raw_spu_set_spu_cfg | ||
| int sys_raw_spu_set_spu_cfg(sys_raw_spu_t id, uint32_t value) | | int sys_raw_spu_set_spu_cfg(sys_raw_spu_t id, uint32_t value) | ||
Line 1,167: | Line 1,491: | ||
| 197 | | 197 | ||
| 0x0C5 | | 0x0C5 | ||
| | |||
| | |||
| sys_raw_spu_get_spu_cfg | | sys_raw_spu_get_spu_cfg | ||
| int sys_raw_spu_get_spu_cfg(sys_raw_spu_t id, uint32_t *value) | | int sys_raw_spu_get_spu_cfg(sys_raw_spu_t id, uint32_t *value) | ||
Line 1,172: | Line 1,498: | ||
| 198 | | 198 | ||
| 0x0C6 | | 0x0C6 | ||
| | |||
| | |||
| sys_spu_thread_recover_page_fault | | sys_spu_thread_recover_page_fault | ||
| int sys_spu_thread_recover_page_fault(sys_spu_thread_t id) | | int sys_spu_thread_recover_page_fault(sys_spu_thread_t id) | ||
Line 1,177: | Line 1,505: | ||
| 199 | | 199 | ||
| 0x0C7 | | 0x0C7 | ||
| | |||
| | |||
| 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) | ||
Line 1,182: | Line 1,512: | ||
| 230 | | 230 | ||
| 0x0E6 | | 0x0E6 | ||
| | |||
| | |||
| sys_isoself_spu_create | | sys_isoself_spu_create | ||
| int sys_isoself_spu_create(sys_raw_spu_t *id, uint8_t *source_spe, in?: args?,0,0,0) | | int sys_isoself_spu_create(sys_raw_spu_t *id, uint8_t *source_spe, in?: args?,0,0,0) | ||
Line 1,187: | Line 1,519: | ||
| 231 | | 231 | ||
| 0x0E7 | | 0x0E7 | ||
| | |||
| | |||
| sys_isoself_spu_destroy | | sys_isoself_spu_destroy | ||
| int sys_isoself_spu_destroy(sys_raw_spu_t id) | | int sys_isoself_spu_destroy(sys_raw_spu_t id) | ||
Line 1,192: | Line 1,526: | ||
| 232 | | 232 | ||
| 0x0E8 | | 0x0E8 | ||
| | |||
| | |||
| sys_isoself_spu_start | | sys_isoself_spu_start | ||
| int sys_isoself_spu_start(sys_raw_spu_t id) | | int sys_isoself_spu_start(sys_raw_spu_t id) | ||
Line 1,197: | Line 1,533: | ||
| 233 | | 233 | ||
| 0x0E9 | | 0x0E9 | ||
| | |||
| | |||
| sys_isoself_spu_create_interrupt_tag | | 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) | | int sys_isoself_spu_create_interrupt_tag(sys_raw_spu_t id, uint32_t class_id, uint32_t hwthread, sys_interrupt_tag_t *intrtag) | ||
Line 1,202: | Line 1,540: | ||
| 234 | | 234 | ||
| 0x0EA | | 0x0EA | ||
| | |||
| | |||
| sys_isoself_spu_set_int_mask | | 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) | | int sys_isoself_spu_set_int_mask(sys_raw_spu_t id, uint32_t class_id, uint64_t mask) | ||
Line 1,207: | Line 1,547: | ||
| 235 | | 235 | ||
| 0x0EB | | 0x0EB | ||
| | |||
| | |||
| sys_isoself_spu_get_int_mask | | 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) | | int sys_isoself_spu_get_int_mask(sys_raw_spu_t id, uint32_t class_id, uint64_t *mask) | ||
Line 1,212: | Line 1,554: | ||
| 236 | | 236 | ||
| 0x0EC | | 0x0EC | ||
| | |||
| | |||
| sys_isoself_spu_set_int_stat | | 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) | | int sys_isoself_spu_set_int_stat(sys_raw_spu_t id, uint32_t class_id, uint64_t stat) | ||
Line 1,217: | Line 1,561: | ||
| 237 | | 237 | ||
| 0x0ED | | 0x0ED | ||
| | |||
| | |||
| sys_isoself_spu_get_int_stat | | 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) | | int sys_isoself_spu_get_int_stat(sys_raw_spu_t id, uint32_t class_id, uint64_t * stat) | ||
Line 1,222: | Line 1,568: | ||
| 238 | | 238 | ||
| 0x0EE | | 0x0EE | ||
| | |||
| | |||
| | | | ||
| 2 Params | | 2 Params | ||
Line 1,227: | Line 1,575: | ||
| 239 | | 239 | ||
| 0x0EF | | 0x0EF | ||
| | |||
| | |||
| | | | ||
| 2 Params | | 2 Params | ||
Line 1,232: | Line 1,582: | ||
| 240 | | 240 | ||
| 0x0F0 | | 0x0F0 | ||
| | |||
| | |||
| sys_isoself_spu_read_puint_mb | | sys_isoself_spu_read_puint_mb | ||
| int sys_isoself_spu_read_puint_mb(sys_raw_spu_t id, uint32_t * value) | | int sys_isoself_spu_read_puint_mb(sys_raw_spu_t id, uint32_t * value) | ||
Line 1,237: | Line 1,589: | ||
| 244 | | 244 | ||
| 0x0F4 | | 0x0F4 | ||
| | |||
| | |||
| sys_spu_thread_group_system_set_next_group | | sys_spu_thread_group_system_set_next_group | ||
| int sys_spu_thread_group_system_set_next_group(void) | | int sys_spu_thread_group_system_set_next_group(void) | ||
Line 1,242: | Line 1,596: | ||
| 245 | | 245 | ||
| 0x0F5 | | 0x0F5 | ||
| | |||
| | |||
| sys_spu_thread_group_system_unset_next_group | | sys_spu_thread_group_system_unset_next_group | ||
| int sys_spu_thread_group_system_unset_next_group(void) | | int sys_spu_thread_group_system_unset_next_group(void) | ||
Line 1,247: | Line 1,603: | ||
| 246 | | 246 | ||
| 0x0F6 | | 0x0F6 | ||
| | |||
| | |||
| sys_spu_thread_group_system_set_switch_group | | sys_spu_thread_group_system_set_switch_group | ||
| int sys_spu_thread_group_system_set_switch_group(void) | | int sys_spu_thread_group_system_set_switch_group(void) | ||
Line 1,252: | Line 1,610: | ||
| 247 | | 247 | ||
| 0x0F7 | | 0x0F7 | ||
| | |||
| | |||
| sys_spu_thread_group_system_unset_switch_group | | sys_spu_thread_group_system_unset_switch_group | ||
| int sys_spu_thread_group_system_unset_switch_group(void) | | int sys_spu_thread_group_system_unset_switch_group(void) | ||
Line 1,257: | Line 1,617: | ||
| 248 | | 248 | ||
| 0x0F8 | | 0x0F8 | ||
| | |||
| | |||
| | | | ||
| 5 Params | | 5 Params | ||
Line 1,262: | Line 1,624: | ||
| 249 | | 249 | ||
| 0x0F9 | | 0x0F9 | ||
| | |||
| | |||
| | | | ||
| 1 Param | | 1 Param | ||
Line 1,267: | Line 1,631: | ||
| 250 | | 250 | ||
| 0x0FA | | 0x0FA | ||
| | |||
| | |||
| sys_spu_thread_group_set_cooperative_victims | | sys_spu_thread_group_set_cooperative_victims | ||
| 2 Params | | 2 Params | ||
Line 1,272: | Line 1,638: | ||
| 251 | | 251 | ||
| 0x0FB | | 0x0FB | ||
| | |||
| | |||
| sys_spu_thread_group_connect_event_all_threads | | sys_spu_thread_group_connect_event_all_threads | ||
| 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) | | 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) | ||
Line 1,277: | Line 1,645: | ||
| 252 | | 252 | ||
| 0x0FC | | 0x0FC | ||
| | |||
| | |||
| sys_spu_thread_group_disconnect_event_all_threads | | 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) | | int sys_spu_thread_group_disconnect_event_all_threads(sys_spu_thread_group_t id, uint8_t spup) | ||
Line 1,282: | Line 1,652: | ||
| 253 | | 253 | ||
| 0x0FD | | 0x0FD | ||
| | |||
| | |||
| | | | ||
| 2 Params | | 2 Params | ||
Line 1,287: | Line 1,659: | ||
| 254 | | 254 | ||
| 0x0FE | | 0x0FE | ||
| | |||
| | |||
| sys_spu_thread_group_log | | sys_spu_thread_group_log | ||
| int sys_spu_thread_group_log(int command, int *stat) | | int sys_spu_thread_group_log(int command, int *stat) | ||
Line 1,292: | Line 1,666: | ||
| 260 | | 260 | ||
| 0x104 | | 0x104 | ||
| | |||
| | |||
| sys_spu_image_open_by_fd | | sys_spu_image_open_by_fd | ||
| int sys_spu_image_open_by_fd(sys_spu_image_t *img, int fd, off64_t offset) | | int sys_spu_image_open_by_fd(sys_spu_image_t *img, int fd, off64_t offset) | ||
|- | |- | ||
! colspan=" | ! colspan="6" id="sys_vm/sys_memory/sys_mmapper Syscalls"|[[#sys_vm/sys_memory/sys_mmapper Syscalls]] (300-352) | ||
|- | |- | ||
| 300 | | 300 | ||
| 0x12C | | 0x12C | ||
| | |||
| | |||
| sys_vm_memory_map | | sys_vm_memory_map | ||
| 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); | | 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); | ||
Line 1,304: | Line 1,682: | ||
| 301 | | 301 | ||
| 0x12D | | 0x12D | ||
| | |||
| | |||
| sys_vm_unmap | | sys_vm_unmap | ||
| int sys_vm_unmap(sys_addr_t addr); | | int sys_vm_unmap(sys_addr_t addr); | ||
Line 1,309: | Line 1,689: | ||
| 302 | | 302 | ||
| 0x12E | | 0x12E | ||
| | |||
| | |||
| sys_vm_append_memory | | sys_vm_append_memory | ||
| int sys_vm_append_memory(sys_addr_t addr, size_t size); | | int sys_vm_append_memory(sys_addr_t addr, size_t size); | ||
Line 1,314: | Line 1,696: | ||
| 303 | | 303 | ||
| 0x12F | | 0x12F | ||
| | |||
| | |||
| sys_vm_return_memory | | sys_vm_return_memory | ||
| int sys_vm_return_memory(sys_addr_t addr, size_t size); | | int sys_vm_return_memory(sys_addr_t addr, size_t size); | ||
Line 1,319: | Line 1,703: | ||
| 304 | | 304 | ||
| 0x130 | | 0x130 | ||
| | |||
| | |||
| sys_vm_lock | | sys_vm_lock | ||
| int sys_vm_lock(sys_addr_t addr, size_t size); | | int sys_vm_lock(sys_addr_t addr, size_t size); | ||
Line 1,324: | Line 1,710: | ||
| 305 | | 305 | ||
| 0x131 | | 0x131 | ||
| | |||
| | |||
| sys_vm_unlock | | sys_vm_unlock | ||
| int sys_vm_unlock(sys_addr_t addr, size_t size); | | int sys_vm_unlock(sys_addr_t addr, size_t size); | ||
Line 1,329: | Line 1,717: | ||
| 306 | | 306 | ||
| 0x132 | | 0x132 | ||
| | |||
| | |||
| sys_vm_touch | | sys_vm_touch | ||
| int sys_vm_touch(sys_addr_t addr, size_t size); | | int sys_vm_touch(sys_addr_t addr, size_t size); | ||
Line 1,334: | Line 1,724: | ||
| 307 | | 307 | ||
| 0x133 | | 0x133 | ||
| | |||
| | |||
| sys_vm_flush | | sys_vm_flush | ||
| int sys_vm_flush(sys_addr_t addr, size_t size); | | int sys_vm_flush(sys_addr_t addr, size_t size); | ||
Line 1,339: | Line 1,731: | ||
| 308 | | 308 | ||
| 0x134 | | 0x134 | ||
| | |||
| | |||
| sys_vm_invalidate | | sys_vm_invalidate | ||
| int sys_vm_invalidate(sys_addr_t addr, size_t size); | | int sys_vm_invalidate(sys_addr_t addr, size_t size); | ||
Line 1,344: | Line 1,738: | ||
| 309 | | 309 | ||
| 0x135 | | 0x135 | ||
| | |||
| | |||
| sys_vm_store | | sys_vm_store | ||
| int sys_vm_store(sys_addr_t addr, size_t size); | | int sys_vm_store(sys_addr_t addr, size_t size); | ||
Line 1,349: | Line 1,745: | ||
| 310 | | 310 | ||
| 0x136 | | 0x136 | ||
| | |||
| | |||
| sys_vm_sync | | sys_vm_sync | ||
| int sys_vm_sync(sys_addr_t addr, size_t size); | | int sys_vm_sync(sys_addr_t addr, size_t size); | ||
Line 1,354: | Line 1,752: | ||
| 311 | | 311 | ||
| 0x137 | | 0x137 | ||
| | |||
| | |||
| sys_vm_test | | sys_vm_test | ||
| int sys_vm_test(sys_addr_t addr, size_t size, uint64_t * result); | | int sys_vm_test(sys_addr_t addr, size_t size, uint64_t * result); | ||
Line 1,359: | Line 1,759: | ||
| 312 | | 312 | ||
| 0x138 | | 0x138 | ||
| | |||
| | |||
| sys_vm_get_statistics | | sys_vm_get_statistics | ||
| int sys_vm_get_statistics(sys_addr_t addr, sys_vm_statistics_t * stat); | | int sys_vm_get_statistics(sys_addr_t addr, sys_vm_statistics_t * stat); | ||
Line 1,364: | Line 1,766: | ||
| 313 | | 313 | ||
| 0x139 | | 0x139 | ||
| | |||
| | |||
| | | | ||
| 6 Params | | 6 Params | ||
Line 1,369: | Line 1,773: | ||
| 314 | | 314 | ||
| 0x13A | | 0x13A | ||
| | |||
| | |||
| | | | ||
| 2 Params | | 2 Params | ||
Line 1,374: | Line 1,780: | ||
| 315 | | 315 | ||
| 0x13B | | 0x13B | ||
| | |||
| | |||
| | | | ||
| 1 Param | | 1 Param | ||
Line 1,379: | Line 1,787: | ||
| 324 | | 324 | ||
| 0x144 | | 0x144 | ||
| | |||
| | |||
| 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); | ||
Line 1,384: | Line 1,794: | ||
| 325 | | 325 | ||
| 0x145 | | 0x145 | ||
| | |||
| | |||
| 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); | ||
Line 1,389: | Line 1,801: | ||
| 326 | | 326 | ||
| 0x146 | | 0x146 | ||
| | |||
| | |||
| sys_mmapper_allocate_fixed_address | | sys_mmapper_allocate_fixed_address | ||
| int sys_mmapper_allocate_fixed_address(void); | | int sys_mmapper_allocate_fixed_address(void); | ||
Line 1,394: | Line 1,808: | ||
| 327 | | 327 | ||
| 0x147 | | 0x147 | ||
| | |||
| | |||
| sys_mmapper_enable_page_fault_notification | | sys_mmapper_enable_page_fault_notification | ||
| int sys_mmapper_enable_page_fault_notification(sys_addr_t start_addr, sys_event_queue_t queue_id); | | int sys_mmapper_enable_page_fault_notification(sys_addr_t start_addr, sys_event_queue_t queue_id); | ||
Line 1,399: | Line 1,815: | ||
| 328 | | 328 | ||
| 0x148 | | 0x148 | ||
| | |||
| | |||
| | | | ||
| 7 Params | | 7 Params | ||
Line 1,404: | Line 1,822: | ||
| 329 | | 329 | ||
| 0x149 | | 0x149 | ||
| | |||
| | |||
| sys_mmapper_free_shared_memory | | sys_mmapper_free_shared_memory | ||
| int sys_mmapper_free_shared_memory(sys_addr_t start_addr); | | int sys_mmapper_free_shared_memory(sys_addr_t start_addr); | ||
Line 1,409: | Line 1,829: | ||
| 330 | | 330 | ||
| 0x14A | | 0x14A | ||
| | |||
| | |||
| sys_mmapper_allocate_address | | sys_mmapper_allocate_address | ||
| int sys_mmapper_allocate_address(size_t size, uint64_t flags, size_t alignment, sys_addr_t * alloc_addr); | | int sys_mmapper_allocate_address(size_t size, uint64_t flags, size_t alignment, sys_addr_t * alloc_addr); | ||
Line 1,414: | Line 1,836: | ||
| 331 | | 331 | ||
| 0x14B | | 0x14B | ||
| | |||
| | |||
| sys_mmapper_free_address | | sys_mmapper_free_address | ||
| int sys_mmapper_free_address(sys_addr_t start_addr); | | int sys_mmapper_free_address(sys_addr_t start_addr); | ||
Line 1,419: | Line 1,843: | ||
| 332 | | 332 | ||
| 0x14C | | 0x14C | ||
| | |||
| | |||
| sys_mmapper_allocate_shared_memory | | sys_mmapper_allocate_shared_memory | ||
| 4 Params: (size_t size, uint64_t flags, size_t alignment, sys_addr_t * alloc_addr) ? | | 4 Params: (size_t size, uint64_t flags, size_t alignment, sys_addr_t * alloc_addr) ? | ||
Line 1,424: | Line 1,850: | ||
| 333 | | 333 | ||
| 0x14D | | 0x14D | ||
| | |||
| | |||
| sys_mmapper_set_shared_memory_flag | | sys_mmapper_set_shared_memory_flag | ||
| int sys_mmapper_set_shared_memory_flag(sys_addr_t, flags) ?; | | int sys_mmapper_set_shared_memory_flag(sys_addr_t, flags) ?; | ||
Line 1,429: | Line 1,857: | ||
| 334 | | 334 | ||
| 0x14E | | 0x14E | ||
| | |||
| | |||
| sys_mmapper_map_shared_memory | | sys_mmapper_map_shared_memory | ||
| 3 Params: (sys_addr_t start_addr, sys_memory_t mem_id, uint64_t flags) ? | | 3 Params: (sys_addr_t start_addr, sys_memory_t mem_id, uint64_t flags) ? | ||
Line 1,434: | Line 1,864: | ||
| 335 | | 335 | ||
| 0x14F | | 0x14F | ||
| | |||
| | |||
| sys_mmapper_unmap_shared_memory | | sys_mmapper_unmap_shared_memory | ||
| 2 Params: (sys_addr_t start_addr,sys_memory_t *mem_id ) ? | | 2 Params: (sys_addr_t start_addr,sys_memory_t *mem_id ) ? | ||
Line 1,439: | Line 1,871: | ||
| 336 | | 336 | ||
| 0x150 | | 0x150 | ||
| | |||
| | |||
| sys_mmapper_change_address_access_right | | sys_mmapper_change_address_access_right | ||
| int sys_mmapper_change_address_access_right(sys_addr_t start_addr, uint64_t flags); | | int sys_mmapper_change_address_access_right(sys_addr_t start_addr, uint64_t flags); | ||
Line 1,444: | Line 1,878: | ||
| 337 | | 337 | ||
| 0x151 | | 0x151 | ||
| | |||
| | |||
| sys_mmapper_search_and_map | | 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); | | int sys_mmapper_search_and_map(sys_addr_t start_addr, sys_memory_t mem_id, uint64_t flags, sys_addr_t * alloc_addr); | ||
Line 1,449: | Line 1,885: | ||
| 338 | | 338 | ||
| 0x152 | | 0x152 | ||
| | |||
| | |||
| sys_mmapper_get_shared_memory_attribute | | sys_mmapper_get_shared_memory_attribute | ||
| 2 Params: | | 2 Params: | ||
Line 1,454: | Line 1,892: | ||
| 339 | | 339 | ||
| 0x153 | | 0x153 | ||
| | |||
| | |||
| | | | ||
| 5 Params | | 5 Params | ||
Line 1,459: | Line 1,899: | ||
| 340 | | 340 | ||
| 0x154 | | 0x154 | ||
| | |||
| | |||
| | | | ||
| 2 Params | | 2 Params | ||
Line 1,464: | Line 1,906: | ||
| 341 | | 341 | ||
| 0x155 | | 0x155 | ||
| | |||
| | |||
| 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); | ||
Line 1,469: | Line 1,913: | ||
| 342 | | 342 | ||
| 0x156 | | 0x156 | ||
| | |||
| | |||
| 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); | ||
Line 1,474: | Line 1,920: | ||
| 343 | | 343 | ||
| 0x157 | | 0x157 | ||
| | |||
| | |||
| sys_memory_container_get_size | | sys_memory_container_get_size | ||
| int sys_memory_container_get_size(sys_memory_info_t * mem_info, sys_memory_container_t cid); | | int sys_memory_container_get_size(sys_memory_info_t * mem_info, sys_memory_container_t cid); | ||
Line 1,479: | Line 1,927: | ||
| 344 | | 344 | ||
| 0x158 | | 0x158 | ||
| | |||
| | |||
| sys_memory_budget_set | | sys_memory_budget_set | ||
| | | | ||
Line 1,484: | Line 1,934: | ||
| 345 | | 345 | ||
| 0x159 | | 0x159 | ||
| | |||
| | |||
| | | | ||
| 3 Params | | 3 Params | ||
Line 1,489: | Line 1,941: | ||
| 346 | | 346 | ||
| 0x15A | | 0x15A | ||
| | |||
| | |||
| | | | ||
| | | | ||
Line 1,494: | Line 1,948: | ||
| 348 | | 348 | ||
| 0x15C | | 0x15C | ||
| | |||
| | |||
| sys_memory_allocate | | sys_memory_allocate | ||
| int sys_memory_allocate(size_t size, uint64_t flags, sys_addr_t * alloc_addr); | | int sys_memory_allocate(size_t size, uint64_t flags, sys_addr_t * alloc_addr); | ||
Line 1,499: | Line 1,955: | ||
| 349 | | 349 | ||
| 0x15D | | 0x15D | ||
| | |||
| | |||
| sys_memory_free | | sys_memory_free | ||
| int sys_memory_free(sys_addr_t start_addr); | | int sys_memory_free(sys_addr_t start_addr); | ||
Line 1,504: | Line 1,962: | ||
| 350 | | 350 | ||
| 0x15E | | 0x15E | ||
| | |||
| | |||
| sys_memory_allocate_from_container | | sys_memory_allocate_from_container | ||
| int sys_memory_allocate_from_container(size_t size, sys_memory_container_t container, uint64_t flags, sys_addr_t * alloc_addr); | | int sys_memory_allocate_from_container(size_t size, sys_memory_container_t container, uint64_t flags, sys_addr_t * alloc_addr); | ||
Line 1,509: | Line 1,969: | ||
| 351 | | 351 | ||
| 0x15F | | 0x15F | ||
| | |||
| | |||
| sys_memory_get_page_attribute | | sys_memory_get_page_attribute | ||
| int sys_memory_get_page_attribute(sys_addr_t addr, sys_page_attr_t * attr); | | int sys_memory_get_page_attribute(sys_addr_t addr, sys_page_attr_t * attr); | ||
Line 1,514: | Line 1,976: | ||
| 352 | | 352 | ||
| 0x160 | | 0x160 | ||
| | |||
| | |||
| sys_memory_get_user_memory_size | | sys_memory_get_user_memory_size | ||
| int sys_memory_get_user_memory_size(sys_memory_info_t * mem_info); | | int sys_memory_get_user_memory_size(sys_memory_info_t * mem_info); | ||
Line 1,519: | Line 1,983: | ||
| 353 | | 353 | ||
| 0x161 | | 0x161 | ||
| | |||
| | |||
| sys_memory_(get)_stat(us/istics?) | | sys_memory_(get)_stat(us/istics?) | ||
| 1 Param: out:uint64_t buffer | | 1 Param: out:uint64_t buffer | ||
Line 1,524: | Line 1,990: | ||
| 354 | | 354 | ||
| 0x162 | | 0x162 | ||
| | |||
| | |||
| | | | ||
| 3 Params | | 3 Params | ||
Line 1,529: | Line 1,997: | ||
| 355 | | 355 | ||
| 0x163 | | 0x163 | ||
| | |||
| | |||
| | | | ||
| 1 Param | | 1 Param | ||
Line 1,534: | Line 2,004: | ||
| 356 | | 356 | ||
| 0x164 | | 0x164 | ||
| | |||
| | |||
| sys_memory_allocate_colored | | sys_memory_allocate_colored | ||
| 4 Params | | 4 Params | ||
Line 1,539: | Line 2,011: | ||
| 357 | | 357 | ||
| 0x165 | | 0x165 | ||
| | |||
| | |||
| | | | ||
| 2 Params | | 2 Params | ||
Line 1,544: | Line 2,018: | ||
| 358 | | 358 | ||
| 0x166 | | 0x166 | ||
| | |||
| | |||
| | | | ||
| 5 Params | | 5 Params | ||
Line 1,549: | Line 2,025: | ||
| 359 | | 359 | ||
| 0x167 | | 0x167 | ||
| | |||
| | |||
| | | | ||
| 2 Params | | 2 Params | ||
Line 1,554: | Line 2,032: | ||
| 360 | | 360 | ||
| 0x168 | | 0x168 | ||
| | |||
| | |||
| | | | ||
| 7 Params | | 7 Params | ||
Line 1,559: | Line 2,039: | ||
| 361 | | 361 | ||
| 0x169 | | 0x169 | ||
| | |||
| | |||
| sys_memory_allocate_from_container_colored | | sys_memory_allocate_from_container_colored | ||
| 5 Params | | 5 Params | ||
Line 1,564: | Line 2,046: | ||
| 362 | | 362 | ||
| 0x16A | | 0x16A | ||
| | |||
| | |||
| sys_mmapper_allocate_memory_from_container | | 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) | | sys_mmapper_allocate_memory_from_container(size_t size, sys_memory_container_t container, uint64_t flags, sys_memory_t *mem_id) | ||
Line 1,569: | Line 2,053: | ||
| 363 | | 363 | ||
| 0x16B | | 0x16B | ||
| | |||
| | |||
| | | | ||
| 6 Params | | 6 Params | ||
|- | |- | ||
! colspan=" | ! colspan="6" id="sys_av Syscalls"|[[#sys_av Syscalls]] (367-370) | ||
|- | |- | ||
| 367 | | 367 | ||
| 0x16F | | 0x16F | ||
| | |||
| | |||
| prolly sys_avset_initialize | | prolly sys_avset_initialize | ||
| syscall(367, void) | | syscall(367, void) | ||
Line 1,581: | Line 2,069: | ||
| 368 | | 368 | ||
| 0x170 | | 0x170 | ||
| | |||
| | |||
| prolly sys_avset_receive | | prolly sys_avset_receive | ||
| 3 Params: uint32_t ?,0x400 / 0x800, 1 | | 3 Params: uint32_t ?,0x400 / 0x800, 1 | ||
Line 1,586: | Line 2,076: | ||
| 369 | | 369 | ||
| 0x171 | | 0x171 | ||
| | |||
| | |||
| prolly sys_avset_send | | prolly sys_avset_send | ||
| <!--///* | | <!--///* | ||
Line 1,597: | Line 2,089: | ||
| 370 | | 370 | ||
| 0x172 | | 0x172 | ||
| | |||
| | |||
| | | | ||
| 1 input | | 1 input | ||
Line 1,602: | Line 2,096: | ||
| 371 | | 371 | ||
| 0x173 | | 0x173 | ||
| | |||
| | |||
| | | | ||
| | | | ||
|- | |- | ||
! colspan=" | ! colspan="6" id="sys_game Syscalls"|[[#sys_game Syscalls]] (372-376+410-412) | ||
|- | |- | ||
| 372 | | 372 | ||
| 0x174 | | 0x174 | ||
| | |||
| | |||
| sys_game_watchdog_start | | sys_game_watchdog_start | ||
| 1 param | | 1 param | ||
Line 1,614: | Line 2,112: | ||
| 373 | | 373 | ||
| 0x175 | | 0x175 | ||
| | |||
| | |||
| sys_game_watchdog_stop | | sys_game_watchdog_stop | ||
| int sys_game_watchdog_stop(void) | | int sys_game_watchdog_stop(void) | ||
Line 1,619: | Line 2,119: | ||
| 374 | | 374 | ||
| 0x176 | | 0x176 | ||
| | |||
| | |||
| sys_game_watchdog_clear | | sys_game_watchdog_clear | ||
| int sys_game_watchdog_clear(void) | | int sys_game_watchdog_clear(void) | ||
Line 1,624: | Line 2,126: | ||
| 375 | | 375 | ||
| 0x177 | | 0x177 | ||
| | |||
| | |||
| sys_game_set_system_sw_version | | sys_game_set_system_sw_version | ||
| int sys_game_set_system_sw_version(uint64_t version) | | int sys_game_set_system_sw_version(uint64_t version) | ||
Line 1,629: | Line 2,133: | ||
| 376 | | 376 | ||
| 0x178 | | 0x178 | ||
| | |||
| | |||
| sys_game_get_system_sw_version | | sys_game_get_system_sw_version | ||
| int sys_game_get_system_sw_version(void) | | int sys_game_get_system_sw_version(void) | ||
|- | |- | ||
! colspan=" | ! colspan="6" id="sys_sm/sys_ctrl Syscalls"|[[#sys_sm/sys_ctrl Syscalls]] (378-396) | ||
|- | |- | ||
| 377 | | 377 | ||
| 0x179 | | 0x179 | ||
| | |||
| | |||
| sys_sm_set_shop_mode | | sys_sm_set_shop_mode | ||
| 1 Param: 0/1, HV System Manager access - ServiceID 39 (SET_SHOP_DEMO_MODE) | | 1 Param: 0/1, HV System Manager access - ServiceID 39 (SET_SHOP_DEMO_MODE) | ||
Line 1,641: | Line 2,149: | ||
| 378 | | 378 | ||
| 0x17A | | 0x17A | ||
| | |||
| | |||
| sys_sm_get_ext_event2 | | sys_sm_get_ext_event2 | ||
| 4 Param, <br>IsConsoleHot?=sc378(uint64_t v1,uint64_t v2, uint64_t v3, 1), v1==7 -> yesHOT | | 4 Param, <br>IsConsoleHot?=sc378(uint64_t v1,uint64_t v2, uint64_t v3, 1), v1==7 -> yesHOT | ||
Line 1,646: | Line 2,156: | ||
| 379 | | 379 | ||
| 0x17B | | 0x17B | ||
| | |||
| | |||
| sys_sm_shutdown | | sys_sm_shutdown | ||
| system_call_4(379,0x200,0,0,0); // 0x1100/0x100 = turn off, 0x1200/0x200 = reboot, 0x8201/0x8202 = ? <br> HV System Manager access - ServiceID 1 (REQUEST)<!--///* | | system_call_4(379,0x200,0,0,0); // 0x1100/0x100 = turn off, 0x1200/0x200 = reboot, 0x8201/0x8202 = ? <br> HV System Manager access - ServiceID 1 (REQUEST)<!--///* | ||
Line 1,657: | Line 2,169: | ||
| 380 | | 380 | ||
| 0x17C | | 0x17C | ||
| | |||
| | |||
| sys_sm_get_params | | sys_sm_get_params | ||
| alias sys_get_system_parameter <!--///* | | alias sys_get_system_parameter <!--///* | ||
Line 1,670: | Line 2,184: | ||
| 381 | | 381 | ||
| 0x17D | | 0x17D | ||
| | |||
| | |||
| | | | ||
| 2Params: syscall(381,uint8_t out_buff[0x600], 0x600); <br> returns system configuration? | | 2Params: syscall(381,uint8_t out_buff[0x600], 0x600); <br> returns system configuration? | ||
Line 1,675: | Line 2,191: | ||
| 382 | | 382 | ||
| 0x17E | | 0x17E | ||
| | |||
| | |||
| sys_sm_clear?_rtc_alarm | | sys_sm_clear?_rtc_alarm | ||
| int syscall(382, void); | | int syscall(382, void); | ||
Line 1,680: | Line 2,198: | ||
| 383 | | 383 | ||
| 0x17F | | 0x17F | ||
| | |||
| | |||
| sys_game_get_temperature | | sys_game_get_temperature | ||
| int sys_game_get_temperature(0/1,uint32_t *temperature) <br> HV System Manager access - ServiceID 13 (TEMPERATURE) | | int sys_game_get_temperature(0/1,uint32_t *temperature) <br> HV System Manager access - ServiceID 13 (TEMPERATURE) | ||
Line 1,685: | Line 2,205: | ||
| 384 | | 384 | ||
| 0x180 | | 0x180 | ||
| | |||
| | |||
| sys_sm_get_tzpb | | 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 | | syscall(384,uint64_t *tzpb); (uint8_t [0x20]) used by sys_game_get_temperature) <br> HV System Manager access - ServiceID 15 | ||
Line 1,690: | Line 2,212: | ||
| 385 | | 385 | ||
| 0x181 | | 0x181 | ||
| | |||
| | |||
| | | | ||
| 2 Params: r3(1,2,3) , uint8_t[1] , HV System Manager access - ServiceID 17 <br> gets capability value of .self? | | 2 Params: r3(1,2,3) , uint8_t[1] , HV System Manager access - ServiceID 17 <br> gets capability value of .self? | ||
Line 1,695: | Line 2,219: | ||
| 386 | | 386 | ||
| 0x182 | | 0x182 | ||
| | |||
| | |||
| sys_sm_control_led? | | sys_sm_control_led? | ||
| Controls Power LED - Parameters: value1,value2 <!--///* | | Controls Power LED - Parameters: value1,value2 <!--///* | ||
Line 1,706: | Line 2,232: | ||
| 387 | | 387 | ||
| 0x183 | | 0x183 | ||
| | |||
| | |||
| sys_sm_get_platform_info? | | sys_sm_get_platform_info? | ||
| syscall(387, uint8_t platform_info[0x18]) / OS Version, Revision, System Software Version? <!--///* | | syscall(387, uint8_t platform_info[0x18]) / OS Version, Revision, System Software Version? <!--///* | ||
Line 1,717: | Line 2,245: | ||
| 388 | | 388 | ||
| 0x184 | | 0x184 | ||
| | |||
| | |||
| sys_sm_ring_buzzer_too | | sys_sm_ring_buzzer_too | ||
| HV System Manager access - ServiceID 21 (RING_BUZZER) | | HV System Manager access - ServiceID 21 (RING_BUZZER) | ||
Line 1,722: | Line 2,252: | ||
| 389 | | 389 | ||
| 0x185 | | 0x185 | ||
| | |||
| | |||
| sys_sm_ | | sys_sm_ | ||
| 3 Params (all 3 uint8_t*), HV System Manager access - ServiceID 25 (FAN_POLICY) <br> (Requires Product Mode) | | 3 Params (all 3 uint8_t*), HV System Manager access - ServiceID 25 (FAN_POLICY) <br> (Requires Product Mode) | ||
Line 1,727: | Line 2,259: | ||
| 390 | | 390 | ||
| 0x186 | | 0x186 | ||
| | |||
| | |||
| sys_sm_request_error_log? | | sys_sm_request_error_log? | ||
| 4 Params, HV System Manager access - ServiceID 26 (REQUEST_ERROR_LOG) | | 4 Params, HV System Manager access - ServiceID 26 (REQUEST_ERROR_LOG) | ||
Line 1,732: | Line 2,266: | ||
| 391 | | 391 | ||
| 0x187 | | 0x187 | ||
| | |||
| | |||
| sys_sm_request_be_count? | | 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] | | 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] | ||
Line 1,737: | Line 2,273: | ||
| 392 | | 392 | ||
| 0x188 | | 0x188 | ||
| | |||
| | |||
| lv2_sm_ring_buzzer? | | lv2_sm_ring_buzzer? | ||
| 3 Params: PacketID=0x1004, field2, field4 [[http://ps3devwiki.com/index.php?title=Hypervisor_Reverse_Engineering#Parameters_6 Parameters]]<!--///* | | 3 Params: PacketID=0x1004, field2, field4 [[http://ps3devwiki.com/index.php?title=Hypervisor_Reverse_Engineering#Parameters_6 Parameters]]<!--///* | ||
Line 1,748: | Line 2,286: | ||
| 393 | | 393 | ||
| 0x189 | | 0x189 | ||
| | |||
| | |||
| sys_sm_get_model? | | sys_sm_get_model? | ||
| gets hw? model: syscall(393,uint8_t out1[2], uint8_t out2[8]) <!--///* | | gets hw? model: syscall(393,uint8_t out1[2], uint8_t out2[8]) <!--///* | ||
Line 1,759: | Line 2,299: | ||
| 394 | | 394 | ||
| 0x18A | | 0x18A | ||
| | |||
| | |||
| sys_sm_request_scVersion? | | 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]] | | 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]] | ||
Line 1,764: | Line 2,306: | ||
| 395 | | 395 | ||
| 0x18B | | 0x18B | ||
| | |||
| | |||
| sys_sm_request_system_event_log? | | sys_sm_request_system_event_log? | ||
| 6 Params, HV System Manager access - ServiceID 32 (REQUEST_SYSTEM_EVENT_LOG)<br> (Requires Product mode) | | 6 Params, HV System Manager access - ServiceID 32 (REQUEST_SYSTEM_EVENT_LOG)<br> (Requires Product mode) | ||
Line 1,769: | Line 2,313: | ||
| 396 | | 396 | ||
| 0x18C | | 0x18C | ||
| | |||
| | |||
| sys_sm_set_rtc_alarm | | sys_sm_set_rtc_alarm | ||
| 1 Param, HV System Manager access - ServiceID 34+38 (RTC_ALARM) | | 1 Param, HV System Manager access - ServiceID 34+38 (RTC_ALARM) | ||
Line 1,774: | Line 2,320: | ||
| 397 | | 397 | ||
| 0x18D | | 0x18D | ||
| | |||
| | |||
| sys_sm_compare?_rtc_alarm | | sys_sm_compare?_rtc_alarm | ||
| 1 Param, HV System Manager access - ServiceID 36 | | 1 Param, HV System Manager access - ServiceID 36 | ||
Line 1,779: | Line 2,327: | ||
| 398 | | 398 | ||
| 0x18E | | 0x18E | ||
| | |||
| | |||
| | | | ||
| 2 Params, <!--///* | | 2 Params, <!--///* | ||
Line 1,790: | Line 2,340: | ||
| 400 | | 400 | ||
| 0x190 | | 0x190 | ||
| | |||
| | |||
| | | | ||
| 3 Params, HV System Manager access - ServiceID 32 (REQUEST_SYSTEM_EVENT_LOG) <br> (Requires Product Mode) | | 3 Params, HV System Manager access - ServiceID 32 (REQUEST_SYSTEM_EVENT_LOG) <br> (Requires Product Mode) | ||
Line 1,795: | Line 2,347: | ||
| 401 | | 401 | ||
| 0x191 | | 0x191 | ||
| | |||
| | |||
| | | | ||
| 2 Params, HV System Manager access - ServiceID 40 (BOOT_PARAMETER) | | 2 Params, HV System Manager access - ServiceID 40 (BOOT_PARAMETER) | ||
|- | |- | ||
! colspan=" | ! colspan="6" id="sys_tty Syscalls"|[[#sys_tty Syscalls]] (402-403) | ||
|- | |- | ||
| 402 | | 402 | ||
| 0x192 | | 0x192 | ||
| | |||
| | |||
| sys_tty_read | | sys_tty_read | ||
| int sys_tty_read(unsigned int ch, void *buf, unsigned int len, unsigned int *preadlen); | | int sys_tty_read(unsigned int ch, void *buf, unsigned int len, unsigned int *preadlen); | ||
Line 1,807: | Line 2,363: | ||
| 403 | | 403 | ||
| 0x193 | | 0x193 | ||
| | |||
| | |||
| sys_tty_write | | sys_tty_write | ||
| int sys_tty_write(unsigned int ch, const void *buf, unsigned int len, unsigned int *pwritelen); | | int sys_tty_write(unsigned int ch, const void *buf, unsigned int len, unsigned int *pwritelen); | ||
Line 1,812: | Line 2,370: | ||
| 404 | | 404 | ||
| 0x194 | | 0x194 | ||
| | |||
| | |||
| | | | ||
| 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? | | 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? | ||
Line 1,817: | Line 2,377: | ||
| 405 | | 405 | ||
| 0x195 | | 0x195 | ||
| | |||
| | |||
| | | | ||
| 2 Params: out:uint8_t [2],out:uint8_t[1], HV System Manager access - ServiceID 44 <br> (Requires Product Mode) | | 2 Params: out:uint8_t [2],out:uint8_t[1], HV System Manager access - ServiceID 44 <br> (Requires Product Mode) | ||
Line 1,822: | Line 2,384: | ||
| 406 | | 406 | ||
| 0x196 | | 0x196 | ||
| | |||
| | |||
| | | | ||
| 2 Params: r3(0x01,0x02,0x04,0x08,0x10,0x20,0x40,0x80,0x100) ,out:uint8_t[1], HV System Manager access - ServiceID 46 <br> (Requires Product Mode) | | 2 Params: r3(0x01,0x02,0x04,0x08,0x10,0x20,0x40,0x80,0x100) ,out:uint8_t[1], HV System Manager access - ServiceID 46 <br> (Requires Product Mode) | ||
Line 1,827: | Line 2,391: | ||
| 407 | | 407 | ||
| 0x197 | | 0x197 | ||
| | |||
| | |||
| | | | ||
| 1 Param: out:uint8_t [1], HV System Manager access - ServiceID 48 <br> (Requires Product Mode) | | 1 Param: out:uint8_t [1], HV System Manager access - ServiceID 48 <br> (Requires Product Mode) | ||
Line 1,832: | Line 2,398: | ||
| 408 | | 408 | ||
| 0x198 | | 0x198 | ||
| | |||
| | |||
| | | | ||
| 1 Param: out:uint8_t [0x20] <br> (Requires Product Mode) | | 1 Param: out:uint8_t [0x20] <br> (Requires Product Mode) | ||
Line 1,837: | Line 2,405: | ||
| 409 | | 409 | ||
| 0x199 | | 0x199 | ||
| | |||
| | |||
| | | | ||
| 5 Params, HV System Manager access - ServiceID 50 (FAN_POLICY) <br> (Requires Product Mode) | | 5 Params, HV System Manager access - ServiceID 50 (FAN_POLICY) <br> (Requires Product Mode) | ||
|- | |- | ||
! colspan=" | ! colspan="6" id="sys_game Syscalls"|[[#sys_game Syscalls]] (372-376+410-412) | ||
|- | |- | ||
| 410 | | 410 | ||
| 0x19A | | 0x19A | ||
| | |||
| | |||
| sys_game_board_storage_read | | sys_game_board_storage_read | ||
| 2 Params, HV System Manager access - ServiceID 54 | | 2 Params, HV System Manager access - ServiceID 54 | ||
Line 1,849: | Line 2,421: | ||
| 411 | | 411 | ||
| 0x19B | | 0x19B | ||
| | |||
| | |||
| sys_game_board_storage_write | | sys_game_board_storage_write | ||
| 2 Params, HV System Manager access - ServiceID 52 | | 2 Params, HV System Manager access - ServiceID 52 | ||
Line 1,854: | Line 2,428: | ||
| 412 | | 412 | ||
| 0x19C | | 0x19C | ||
| | |||
| | |||
| sys_game_get_rtc_status | | sys_game_get_rtc_status | ||
| | | | ||
Line 1,859: | Line 2,435: | ||
| 413 | | 413 | ||
| 0x19D | | 0x19D | ||
| | |||
| | |||
| | | | ||
| 3 Params, HV System Manager access - ServiceID 56: out:uint8_t[1],out:uint8_t[1],out:uint8_t[1] | | 3 Params, HV System Manager access - ServiceID 56: out:uint8_t[1],out:uint8_t[1],out:uint8_t[1] | ||
Line 1,864: | Line 2,442: | ||
| 414 | | 414 | ||
| 0x19E | | 0x19E | ||
| | |||
| | |||
| | | | ||
| 3 Params, HV System Manager access - ServiceID 58 | | 3 Params, HV System Manager access - ServiceID 58 | ||
Line 1,869: | Line 2,449: | ||
| 415 | | 415 | ||
| 0x19F | | 0x19F | ||
| | |||
| | |||
| | | | ||
| 3 Params, HV System Manager access - ServiceID 60 | | 3 Params, HV System Manager access - ServiceID 60 | ||
|- | |- | ||
! colspan=" | ! colspan="6" id="sys_overlay Syscalls"|[[#sys_overlay Syscalls]] (450-457) | ||
|- | |- | ||
| 450 | | 450 | ||
| 0x1C2 | | 0x1C2 | ||
| | |||
| | |||
| sys_overlay_load_module | | sys_overlay_load_module | ||
| int sys_overlay_load_module(sys_overlay_t * ovlmid, const char *path, uint64_t flags, sys_addr_t * entry) | | int sys_overlay_load_module(sys_overlay_t * ovlmid, const char *path, uint64_t flags, sys_addr_t * entry) | ||
Line 1,881: | Line 2,465: | ||
| 451 | | 451 | ||
| 0x1C3 | | 0x1C3 | ||
| | |||
| | |||
| sys_overlay_unload_module | | sys_overlay_unload_module | ||
| int sys_overlay_unload_module(sys_overlay_t ovlmid) | | int sys_overlay_unload_module(sys_overlay_t ovlmid) | ||
Line 1,886: | Line 2,472: | ||
| 452 | | 452 | ||
| 0x1C4 | | 0x1C4 | ||
| | |||
| | |||
| sys_overlay_get_module_list | | 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) | | int sys_overlay_get_module_list(sys_pid_t pid, size_t ovlmids_num, sys_overlay_t * ovlmids, size_t * num_of_modules) | ||
Line 1,891: | Line 2,479: | ||
| 453 | | 453 | ||
| 0x1C5 | | 0x1C5 | ||
| | |||
| | |||
| sys_overlay_get_module_info | | 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) | | int sys_overlay_get_module_info(sys_pid_t pid,sys_overlay_t ovlmid, sys_overlay_module_info_t * info) | ||
Line 1,896: | Line 2,486: | ||
| 454 | | 454 | ||
| 0x1C6 | | 0x1C6 | ||
| | |||
| | |||
| sys_overlay_load_module_by_fd | | 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) | | int sys_overlay_load_module_by_fd(sys_overlay_t * ovlmid, int fd, off64_t offset, uint64_t flags, sys_addr_t * entry) | ||
Line 1,901: | Line 2,493: | ||
| 455 | | 455 | ||
| 0x1C7 | | 0x1C7 | ||
| | |||
| | |||
| sys_overlay_get_module_info2 | | 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) | | int sys_overlay_get_module_info2(sys_pid_t pid, sys_overlay_t ovlmid, sys_overlay_module_info2_t * info) | ||
Line 1,906: | Line 2,500: | ||
| 456 | | 456 | ||
| 0x1C8 | | 0x1C8 | ||
| | |||
| | |||
| sys_overlay_get_sdk_version | | sys_overlay_get_sdk_version | ||
| 2 Params | | 2 Params | ||
Line 1,911: | Line 2,507: | ||
| 457 | | 457 | ||
| 0x1C9 | | 0x1C9 | ||
| | |||
| | |||
| sys_overlay_get_module_dbg_info | | sys_overlay_get_module_dbg_info | ||
| 3 Params: (sys_pid_t pid, sys_overlay_t ovlmid, sys_overlay_module_dbg_t * info) ? | | 3 Params: (sys_pid_t pid, sys_overlay_t ovlmid, sys_overlay_module_dbg_t * info) ? | ||
Line 1,916: | Line 2,514: | ||
| 458 | | 458 | ||
| 0x1CA | | 0x1CA | ||
| | |||
| | |||
| sys_overlay_get_module_dbg_info too | | sys_overlay_get_module_dbg_info too | ||
| 3 Params: | | 3 Params: | ||
|- | |- | ||
! colspan=" | ! colspan="6" id="sys_prx Syscalls"|[[#sys_prx Syscalls]] (461-499) | ||
|- | |- | ||
| 461 | | 461 | ||
| 0x1CD | | 0x1CD | ||
| | |||
| | |||
| sys_prx_get_module_id_by_address | | sys_prx_get_module_id_by_address | ||
| sys_prx_id_t sys_prx_get_module_id_by_address(void* addr) | | sys_prx_id_t sys_prx_get_module_id_by_address(void* addr) | ||
Line 1,928: | Line 2,530: | ||
| 463 | | 463 | ||
| 0x1CF | | 0x1CF | ||
| | |||
| | |||
| sys_prx_load_module_by_fd | | 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) | | 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) | ||
Line 1,933: | Line 2,537: | ||
| 464 | | 464 | ||
| 0x1D0 | | 0x1D0 | ||
| | |||
| | |||
| sys_prx_load_module_on_memcontainer_by_fd | | 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) | | 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) | ||
Line 1,938: | Line 2,544: | ||
| 465 | | 465 | ||
| 0x1D1 | | 0x1D1 | ||
| | |||
| | |||
| sys_prx_load_module_list | | sys_prx_load_module_list | ||
| 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) | | 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) | ||
Line 1,943: | Line 2,551: | ||
| 466 | | 466 | ||
| 0x1D2 | | 0x1D2 | ||
| | |||
| | |||
| sys_prx_load_module_list_on_memcontainer | | sys_prx_load_module_list_on_memcontainer | ||
| 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) | | 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) | ||
Line 1,948: | Line 2,558: | ||
| 467 | | 467 | ||
| 0x1D3 | | 0x1D3 | ||
| | |||
| | |||
| sys_prx_get_ppu_guid | | sys_prx_get_ppu_guid | ||
| sys_addr_t sys_prx_get_ppu_guid(sys_prx_id_t id) | | sys_addr_t sys_prx_get_ppu_guid(sys_prx_id_t id) | ||
Line 1,953: | Line 2,565: | ||
| 470 | | 470 | ||
| 0x1D6 | | 0x1D6 | ||
| | |||
| | |||
| | | | ||
| 2 Params: | | 2 Params: | ||
Line 1,958: | Line 2,572: | ||
| 471 | | 471 | ||
| 0x1D7 | | 0x1D7 | ||
| | |||
| | |||
| | | | ||
| 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 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: | ||
Line 1,965: | Line 2,581: | ||
| 472 | | 472 | ||
| 0x1D8 | | 0x1D8 | ||
| | |||
| | |||
| | | | ||
| 2 Params: | | 2 Params: | ||
Line 1,970: | Line 2,588: | ||
| 473 | | 473 | ||
| 0x1D9 | | 0x1D9 | ||
| | |||
| | |||
| | | | ||
| | | | ||
Line 1,975: | Line 2,595: | ||
| 474 | | 474 | ||
| 0x1DA | | 0x1DA | ||
| | |||
| | |||
| | | | ||
| | | | ||
Line 1,980: | Line 2,602: | ||
| 475 | | 475 | ||
| 0x1DB | | 0x1DB | ||
| | |||
| | |||
| | | | ||
| 6 Params: | | 6 Params: | ||
Line 1,985: | Line 2,609: | ||
| 476 | | 476 | ||
| 0x1DC | | 0x1DC | ||
| | |||
| | |||
| | | | ||
| can be syscall476 ( 1,0,0,0,0,0,0,0) or syscall476 ( 0,1,0,0,0,0,0,0) | | can be syscall476 ( 1,0,0,0,0,0,0,0) or syscall476 ( 0,1,0,0,0,0,0,0) | ||
Line 1,990: | Line 2,616: | ||
| 480 | | 480 | ||
| 0x1E0 | | 0x1E0 | ||
| | |||
| | |||
| sys_prx_load_module | | sys_prx_load_module | ||
| sys_prx_id_t sys_prx_load_module(const char* path, sys_prx_flags_t flags, sys_prx_load_module_option_t pOpt) | | sys_prx_id_t sys_prx_load_module(const char* path, sys_prx_flags_t flags, sys_prx_load_module_option_t pOpt) | ||
Line 1,995: | Line 2,623: | ||
| 481 | | 481 | ||
| 0x1E1 | | 0x1E1 | ||
| | |||
| | |||
| sys_prx_start_module | | 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) | | 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) | ||
Line 2,000: | Line 2,630: | ||
| 482 | | 482 | ||
| 0x1E2 | | 0x1E2 | ||
| | |||
| | |||
| sys_prx_stop_module | | 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) | | 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) | ||
Line 2,005: | Line 2,637: | ||
| 483 | | 483 | ||
| 0x1E3 | | 0x1E3 | ||
| | |||
| | |||
| sys_prx_unload_module | | sys_prx_unload_module | ||
| int sys_prx_unload_module(sys_prx_id_t id, sys_prx_flags_t flags, sys_prx_unload_module_option_t pOpt); | | int sys_prx_unload_module(sys_prx_id_t id, sys_prx_flags_t flags, sys_prx_unload_module_option_t pOpt); | ||
Line 2,010: | Line 2,644: | ||
| 484 | | 484 | ||
| 0x1E4 | | 0x1E4 | ||
| | |||
| | |||
| sys_prx_register_module | | sys_prx_register_module | ||
| int sys_prx_register_module(const sys_prx_register_module_option_t * pOpt) | | int sys_prx_register_module(const sys_prx_register_module_option_t * pOpt) | ||
Line 2,015: | Line 2,651: | ||
| 485 | | 485 | ||
| 0x1E5 | | 0x1E5 | ||
| | |||
| | |||
| sys_prx_query_module | | sys_prx_query_module | ||
| | | | ||
Line 2,020: | Line 2,658: | ||
| 486 | | 486 | ||
| 0x1E6 | | 0x1E6 | ||
| | |||
| | |||
| sys_prx_register_library | | sys_prx_register_library | ||
| int sys_prx_register_library(void* library) | | int sys_prx_register_library(void* library) | ||
Line 2,025: | Line 2,665: | ||
| 487 | | 487 | ||
| 0x1E7 | | 0x1E7 | ||
| | |||
| | |||
| sys_prx_unregister_library | | sys_prx_unregister_library | ||
| int sys_prx_unregister_library(void* library) | | int sys_prx_unregister_library(void* library) | ||
Line 2,030: | Line 2,672: | ||
| 488 | | 488 | ||
| 0x1E8 | | 0x1E8 | ||
| | |||
| | |||
| sys_prx_link_library | | sys_prx_link_library | ||
| | | | ||
Line 2,035: | Line 2,679: | ||
| 489 | | 489 | ||
| 0x1E9 | | 0x1E9 | ||
| | |||
| | |||
| sys_prx_unlink_library | | sys_prx_unlink_library | ||
| | | | ||
Line 2,040: | Line 2,686: | ||
| 490 | | 490 | ||
| 0x1EA | | 0x1EA | ||
| | |||
| | |||
| sys_prx_query_library | | sys_prx_query_library | ||
| | | | ||
Line 2,045: | Line 2,693: | ||
| 492 | | 492 | ||
| 0x1EC | | 0x1EC | ||
| | |||
| | |||
| | | | ||
| 4 Params: | | 4 Params: | ||
Line 2,050: | Line 2,700: | ||
| 493 | | 493 | ||
| 0x1ED | | 0x1ED | ||
| | |||
| | |||
| sys_prx_dbg_get_module_info | | sys_prx_dbg_get_module_info | ||
| 3 Params: | | 3 Params: | ||
Line 2,055: | Line 2,707: | ||
| 494 | | 494 | ||
| 0x1EE | | 0x1EE | ||
| | |||
| | |||
| sys_prx_get_module_list | | sys_prx_get_module_list | ||
| int sys_prx_get_module_list(sys_prx_flags_t flags, sys_prx_get_module_list_t *pInfo); | | int sys_prx_get_module_list(sys_prx_flags_t flags, sys_prx_get_module_list_t *pInfo); | ||
Line 2,060: | Line 2,714: | ||
| 495 | | 495 | ||
| 0x1EF | | 0x1EF | ||
| | |||
| | |||
| sys_prx_get_module_info | | 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) | | int sys_prx_get_module_info(sys_prx_id_t id, sys_prx_flags_t flags, sys_prx_module_info_t *pInfo) | ||
Line 2,065: | Line 2,721: | ||
| 496 | | 496 | ||
| 0x1F0 | | 0x1F0 | ||
| | |||
| | |||
| sys_prx_get_module_id_by_name | | 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) | | 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) | ||
Line 2,070: | Line 2,728: | ||
| 497 | | 497 | ||
| 0x1F1 | | 0x1F1 | ||
| | |||
| | |||
| sys_prx_load_module_on_memcontainer | | 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) | | 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) | ||
Line 2,075: | Line 2,735: | ||
| 498 | | 498 | ||
| 0x1F2 | | 0x1F2 | ||
| | |||
| | |||
| sys_prx_start | | sys_prx_start | ||
| | | | ||
Line 2,080: | Line 2,742: | ||
| 499 | | 499 | ||
| 0x1F3 | | 0x1F3 | ||
| | |||
| | |||
| sys_prx_stop | | sys_prx_stop | ||
| | | | ||
Line 2,085: | Line 2,749: | ||
| 500 | | 500 | ||
| 0x1F4 | | 0x1F4 | ||
| | |||
| | |||
| | | | ||
| 2 Params | | 2 Params | ||
Line 2,090: | Line 2,756: | ||
| 501 | | 501 | ||
| 0x1F5 | | 0x1F5 | ||
| | |||
| | |||
| | | | ||
| 1 Param | | 1 Param | ||
Line 2,095: | Line 2,763: | ||
| 502 | | 502 | ||
| 0x1F6 | | 0x1F6 | ||
| | |||
| | |||
| | | | ||
| 3 Params | | 3 Params | ||
Line 2,100: | Line 2,770: | ||
| 503 | | 503 | ||
| 0x1F7 | | 0x1F7 | ||
| | |||
| | |||
| | | | ||
| 4 Params | | 4 Params | ||
Line 2,105: | Line 2,777: | ||
| 504 | | 504 | ||
| 0x1F8 | | 0x1F8 | ||
| | |||
| | |||
| | | | ||
| 3 Params | | 3 Params | ||
Line 2,110: | Line 2,784: | ||
| 505 | | 505 | ||
| 0x1F9 | | 0x1F9 | ||
| | |||
| | |||
| | | | ||
| 3 Params | | 3 Params | ||
Line 2,115: | Line 2,791: | ||
| 506 | | 506 | ||
| 0x1FA | | 0x1FA | ||
| | |||
| | |||
| | | | ||
| 2 Params | | 2 Params | ||
Line 2,120: | Line 2,798: | ||
| 507 | | 507 | ||
| 0x1FB | | 0x1FB | ||
| | |||
| | |||
| | | | ||
| 2 Params | | 2 Params | ||
Line 2,125: | Line 2,805: | ||
| 508 | | 508 | ||
| 0x1FC | | 0x1FC | ||
| | |||
| | |||
| | | | ||
| 1 Param: sys_pid_t pid (for example current pid) | | 1 Param: sys_pid_t pid (for example current pid) | ||
Line 2,130: | Line 2,812: | ||
| 509 | | 509 | ||
| 0x1FD | | 0x1FD | ||
| | |||
| | |||
| | | | ||
| 1 Param | | 1 Param | ||
Line 2,135: | Line 2,819: | ||
| 510 | | 510 | ||
| 0x1FE | | 0x1FE | ||
| | |||
| | |||
| | | | ||
| int syscall(510, void), returns pid?/threadid? | | int syscall(510, void), returns pid?/threadid? | ||
Line 2,140: | Line 2,826: | ||
| 511 | | 511 | ||
| 0x1FF | | 0x1FF | ||
| | |||
| | |||
| | | | ||
| 1 Param | | 1 Param | ||
Line 2,145: | Line 2,833: | ||
| 512 | | 512 | ||
| 0x200 | | 0x200 | ||
| | |||
| | |||
| | | | ||
| 1 Param : int syscall(512,sys_pid_t pid); | | 1 Param : int syscall(512,sys_pid_t pid); | ||
|- | |- | ||
|-! colspan=" | |-! colspan="6" id="sys_config Syscalls"|[[#sys_config Syscalls]] | ||
|- | |- | ||
| 513 | | 513 | ||
| 0x201 | | 0x201 | ||
| | |||
| | |||
| | | | ||
| 4 Params | | 4 Params | ||
Line 2,157: | Line 2,849: | ||
| 514 | | 514 | ||
| 0x202 | | 0x202 | ||
| | |||
| | |||
| | | | ||
| 3 Params | | 3 Params | ||
Line 2,162: | Line 2,856: | ||
| 516 | | 516 | ||
| 0x204 | | 0x204 | ||
| | |||
| | |||
| sys_config_open | | sys_config_open | ||
| 2 Params : (sys_event_queue_t * equeue_id, uint64_t *out) | | 2 Params : (sys_event_queue_t * equeue_id, uint64_t *out) | ||
Line 2,167: | Line 2,863: | ||
| 517 | | 517 | ||
| 0x205 | | 0x205 | ||
| | |||
| | |||
| sys_config_close | | sys_config_close | ||
| sys_config_close(sys_event_queue_t * equeue_id); | | sys_config_close(sys_event_queue_t * equeue_id); | ||
Line 2,172: | Line 2,870: | ||
| 518 | | 518 | ||
| 0x206 | | 0x206 | ||
| | |||
| | |||
| sys_config_get_service_event | | sys_config_get_service_event | ||
| 4 Params: | | 4 Params: | ||
Line 2,177: | Line 2,877: | ||
| 519 | | 519 | ||
| 0x207 | | 0x207 | ||
| | |||
| | |||
| sys_config_add_service_listener | | sys_config_add_service_listener | ||
| 6 Params | | 6 Params | ||
Line 2,182: | Line 2,884: | ||
| 520 | | 520 | ||
| 0x208 | | 0x208 | ||
| | |||
| | |||
| sys_config_remove_service_listener | | sys_config_remove_service_listener | ||
| 2 Params | | 2 Params | ||
Line 2,187: | Line 2,891: | ||
| 521 | | 521 | ||
| 0x209 | | 0x209 | ||
| | |||
| | |||
| sys_config_register_service | | sys_config_register_service | ||
| 7 Params | | 7 Params | ||
Line 2,192: | Line 2,898: | ||
| 522 | | 522 | ||
| 0x20A | | 0x20A | ||
| | |||
| | |||
| sys_config_unregister_service | | sys_config_unregister_service | ||
| 2 Params | | 2 Params | ||
Line 2,197: | Line 2,905: | ||
| 523 | | 523 | ||
| 0x20B | | 0x20B | ||
| | |||
| | |||
| | | | ||
| | | | ||
Line 2,202: | Line 2,912: | ||
| 524 | | 524 | ||
| 0x20C | | 0x20C | ||
| | |||
| | |||
| | | | ||
| | | | ||
Line 2,207: | Line 2,919: | ||
| 525 | | 525 | ||
| 0x20D | | 0x20D | ||
| | |||
| | |||
| | | | ||
| | | | ||
Line 2,212: | Line 2,926: | ||
| 530 | | 530 | ||
| 0x212 | | 0x212 | ||
| | |||
| | |||
| | | | ||
| | | | ||
Line 2,217: | Line 2,933: | ||
| 531 | | 531 | ||
| 0x213 | | 0x213 | ||
| | |||
| | |||
| | | | ||
| | | | ||
Line 2,222: | Line 2,940: | ||
| 532 | | 532 | ||
| 0x214 | | 0x214 | ||
| | |||
| | |||
| | | | ||
| | | | ||
Line 2,227: | Line 2,947: | ||
| 533 | | 533 | ||
| 0x215 | | 0x215 | ||
| | |||
| | |||
| | | | ||
| | | | ||
Line 2,232: | Line 2,954: | ||
| 534 | | 534 | ||
| 0x216 | | 0x216 | ||
| | |||
| | |||
| | | | ||
| | | | ||
Line 2,237: | Line 2,961: | ||
| 535 | | 535 | ||
| 0x217 | | 0x217 | ||
| | |||
| | |||
| | | | ||
| | | | ||
Line 2,242: | Line 2,968: | ||
| 536 | | 536 | ||
| 0x218 | | 0x218 | ||
| | |||
| | |||
| | | | ||
| | | | ||
Line 2,247: | Line 2,975: | ||
| 537 | | 537 | ||
| 0x219 | | 0x219 | ||
| | |||
| | |||
| | | | ||
| | | | ||
Line 2,252: | Line 2,982: | ||
| 538 | | 538 | ||
| 0x21A | | 0x21A | ||
| | |||
| | |||
| | | | ||
| | | | ||
Line 2,257: | Line 2,989: | ||
| 539 | | 539 | ||
| 0x21B | | 0x21B | ||
| | |||
| | |||
| | | | ||
| | | | ||
Line 2,262: | Line 2,996: | ||
| 540 | | 540 | ||
| 0x21C | | 0x21C | ||
| | |||
| | |||
| | | | ||
| | | | ||
Line 2,267: | Line 3,003: | ||
| 541 | | 541 | ||
| 0x21D | | 0x21D | ||
| | |||
| | |||
| | | | ||
| | | | ||
Line 2,272: | Line 3,010: | ||
| 542 | | 542 | ||
| 0x21E | | 0x21E | ||
| | |||
| | |||
| | | | ||
| | | | ||
Line 2,277: | Line 3,017: | ||
| 543 | | 543 | ||
| 0x21F | | 0x21F | ||
| | |||
| | |||
| | | | ||
| | | | ||
Line 2,282: | Line 3,024: | ||
| 544 | | 544 | ||
| 0x220 | | 0x220 | ||
| | |||
| | |||
| | | | ||
| | | | ||
Line 2,287: | Line 3,031: | ||
| 545 | | 545 | ||
| 0x221 | | 0x221 | ||
| | |||
| | |||
| | | | ||
| | | | ||
Line 2,292: | Line 3,038: | ||
| 546 | | 546 | ||
| 0x222 | | 0x222 | ||
| | |||
| | |||
| | | | ||
| | | | ||
Line 2,297: | Line 3,045: | ||
| 547 | | 547 | ||
| 0x223 | | 0x223 | ||
| | |||
| | |||
| | | | ||
| | | | ||
Line 2,302: | Line 3,052: | ||
| 548 | | 548 | ||
| 0x224 | | 0x224 | ||
| | |||
| | |||
| | | | ||
| | | | ||
Line 2,307: | Line 3,059: | ||
| 549 | | 549 | ||
| 0x225 | | 0x225 | ||
| | |||
| | |||
| | | | ||
| | | | ||
Line 2,312: | Line 3,066: | ||
| 550 | | 550 | ||
| 0x226 | | 0x226 | ||
| | |||
| | |||
| | | | ||
| | | | ||
Line 2,317: | Line 3,073: | ||
| 551 | | 551 | ||
| 0x227 | | 0x227 | ||
| | |||
| | |||
| | | | ||
| | | | ||
Line 2,322: | Line 3,080: | ||
| 552 | | 552 | ||
| 0x228 | | 0x228 | ||
| | |||
| | |||
| | | | ||
| | | | ||
Line 2,327: | Line 3,087: | ||
| 553 | | 553 | ||
| 0x229 | | 0x229 | ||
| | |||
| | |||
| | | | ||
| | | | ||
Line 2,332: | Line 3,094: | ||
| 554 | | 554 | ||
| 0x22A | | 0x22A | ||
| | |||
| | |||
| | | | ||
| | | | ||
Line 2,337: | Line 3,101: | ||
| 555 | | 555 | ||
| 0x22B | | 0x22B | ||
| | |||
| | |||
| | | | ||
| | | | ||
Line 2,342: | Line 3,108: | ||
| 556 | | 556 | ||
| 0x22C | | 0x22C | ||
| | |||
| | |||
| | | | ||
| | | | ||
Line 2,347: | Line 3,115: | ||
| 557 | | 557 | ||
| 0x22D | | 0x22D | ||
| | |||
| | |||
| | | | ||
| | | | ||
Line 2,352: | Line 3,122: | ||
| 558 | | 558 | ||
| 0x22E | | 0x22E | ||
| | |||
| | |||
| | | | ||
| | | | ||
Line 2,357: | Line 3,129: | ||
| 559 | | 559 | ||
| 0x22F | | 0x22F | ||
| | |||
| | |||
| | | | ||
| | | | ||
|- | |- | ||
! colspan=" | ! colspan="6" id="sys_gl819 Syscalls"|[[#sys_gl819 Syscalls]] Cardcontroller cf/sd/mmc/sm/ms | ||
|- | |- | ||
| 560 | | 560 | ||
| 0x230 | | 0x230 | ||
| | |||
| | |||
| | | | ||
| | | | ||
Line 2,369: | Line 3,146: | ||
| 561 | | 561 | ||
| 0x231 | | 0x231 | ||
| | |||
| | |||
| | | | ||
| | | | ||
Line 2,374: | Line 3,153: | ||
| 562 | | 562 | ||
| 0x232 | | 0x232 | ||
| | |||
| | |||
| | | | ||
| gets MultiCardReader Firmware Version: syscall(0x232, out:uint8_t [2]) | | gets MultiCardReader Firmware Version: syscall(0x232, out:uint8_t [2]) | ||
Line 2,379: | Line 3,160: | ||
| 563 | | 563 | ||
| 0x233 | | 0x233 | ||
| | |||
| | |||
| | | | ||
| | | | ||
Line 2,384: | Line 3,167: | ||
| 564 | | 564 | ||
| 0x234 | | 0x234 | ||
| | |||
| | |||
| | | | ||
| | | | ||
Line 2,389: | Line 3,174: | ||
| 565 | | 565 | ||
| 0x235 | | 0x235 | ||
| | |||
| | |||
| | | | ||
| | | | ||
Line 2,394: | Line 3,181: | ||
| 566 | | 566 | ||
| 0x236 | | 0x236 | ||
| | |||
| | |||
| | | | ||
| | | | ||
Line 2,399: | Line 3,188: | ||
| 567 | | 567 | ||
| 0x237 | | 0x237 | ||
| | |||
| | |||
| | | | ||
| | | | ||
Line 2,404: | Line 3,195: | ||
| 568 | | 568 | ||
| 0x238 | | 0x238 | ||
| | |||
| | |||
| | | | ||
| | | | ||
Line 2,409: | Line 3,202: | ||
| 569 | | 569 | ||
| 0x239 | | 0x239 | ||
| | |||
| | |||
| | | | ||
| | | | ||
Line 2,414: | Line 3,209: | ||
| 570 | | 570 | ||
| 0x23A | | 0x23A | ||
| | |||
| | |||
| | | | ||
| | | | ||
Line 2,419: | Line 3,216: | ||
| 571 | | 571 | ||
| 0x23B | | 0x23B | ||
| | |||
| | |||
| | | | ||
| | | | ||
Line 2,424: | Line 3,223: | ||
| 572 | | 572 | ||
| 0x23C | | 0x23C | ||
| | |||
| | |||
| | | | ||
| | | | ||
Line 2,429: | Line 3,230: | ||
| 573 | | 573 | ||
| 0x23D | | 0x23D | ||
| | |||
| | |||
| | | | ||
| | | | ||
Line 2,434: | Line 3,237: | ||
| 574 | | 574 | ||
| 0x23E | | 0x23E | ||
| | |||
| | |||
| | | | ||
| | | | ||
Line 2,439: | Line 3,244: | ||
| 575 | | 575 | ||
| 0x23F | | 0x23F | ||
| | |||
| | |||
| | | | ||
| | | | ||
Line 2,444: | Line 3,251: | ||
| 577 | | 577 | ||
| 0x241 | | 0x241 | ||
| | |||
| | |||
| | | | ||
| | | | ||
Line 2,449: | Line 3,258: | ||
| 578 | | 578 | ||
| 0x242 | | 0x242 | ||
| | |||
| | |||
| | | | ||
| | | | ||
Line 2,454: | Line 3,265: | ||
| 580 | | 580 | ||
| 0x244 | | 0x244 | ||
| | |||
| | |||
| | | | ||
| | | | ||
Line 2,459: | Line 3,272: | ||
| 581 | | 581 | ||
| 0x245 | | 0x245 | ||
| | |||
| | |||
| | | | ||
| | | | ||
Line 2,464: | Line 3,279: | ||
| 582 | | 582 | ||
| 0x246 | | 0x246 | ||
| | |||
| | |||
| | | | ||
| | | | ||
Line 2,469: | Line 3,286: | ||
| 583 | | 583 | ||
| 0x247 | | 0x247 | ||
| | |||
| | |||
| | | | ||
| gets Bluetooth Firmware Version: syscall(0x247, out:uint8_t [2]) | | gets Bluetooth Firmware Version: syscall(0x247, out:uint8_t [2]) | ||
|- | |- | ||
! colspan=" | ! colspan="6" id="sys_dfu Syscalls"|[[#sys_dfu Syscalls]] | ||
|- | |- | ||
| 584 | | 584 | ||
| 0x248 | | 0x248 | ||
| | |||
| | |||
| | | | ||
| | | | ||
Line 2,481: | Line 3,302: | ||
| 585 | | 585 | ||
| 0x249 | | 0x249 | ||
| | |||
| | |||
| | | | ||
| | | | ||
Line 2,486: | Line 3,309: | ||
| 586 | | 586 | ||
| 0x24A | | 0x24A | ||
| | |||
| | |||
| | | | ||
| | | | ||
Line 2,491: | Line 3,316: | ||
| 587 | | 587 | ||
| 0x24B | | 0x24B | ||
| | |||
| | |||
| | | | ||
| | | | ||
Line 2,496: | Line 3,323: | ||
| 588 | | 588 | ||
| 0x24C | | 0x24C | ||
| | |||
| | |||
| | | | ||
| | | | ||
Line 2,501: | Line 3,330: | ||
| 589 | | 589 | ||
| 0x24D | | 0x24D | ||
| | |||
| | |||
| | | | ||
| | | | ||
Line 2,506: | Line 3,337: | ||
| 590 | | 590 | ||
| 0x24E | | 0x24E | ||
| | |||
| | |||
| | | | ||
| | | | ||
Line 2,511: | Line 3,344: | ||
| 591 | | 591 | ||
| 0x24F | | 0x24F | ||
| | |||
| | |||
| | | | ||
| | | | ||
Line 2,516: | Line 3,351: | ||
| 592 | | 592 | ||
| 0x250 | | 0x250 | ||
| | |||
| | |||
| | | | ||
| | | | ||
Line 2,521: | Line 3,358: | ||
| 593 | | 593 | ||
| 0x251 | | 0x251 | ||
| | |||
| | |||
| | | | ||
| | | | ||
Line 2,526: | Line 3,365: | ||
| 594 | | 594 | ||
| 0x252 | | 0x252 | ||
| | |||
| | |||
| | | | ||
| | | | ||
Line 2,531: | Line 3,372: | ||
| 595 | | 595 | ||
| 0x253 | | 0x253 | ||
| | |||
| | |||
| | | | ||
| | | | ||
Line 2,536: | Line 3,379: | ||
| 596 | | 596 | ||
| 0x254 | | 0x254 | ||
| | |||
| | |||
| | | | ||
| | | | ||
Line 2,541: | Line 3,386: | ||
| 597 | | 597 | ||
| 0x255 | | 0x255 | ||
| | |||
| | |||
| | | | ||
| syscall(597,void) | bt_cancel_connect_accept_controller() | | syscall(597,void) | bt_cancel_connect_accept_controller() | ||
Line 2,546: | Line 3,393: | ||
| 598 | | 598 | ||
| 0x256 | | 0x256 | ||
| | |||
| | |||
| | | | ||
| 0 Param | | 0 Param | ||
Line 2,551: | Line 3,400: | ||
| 599 | | 599 | ||
| 0x257 | | 0x257 | ||
| | |||
| | |||
| | | | ||
| 2 Params: out:uint8_t[2], out:uint8_t[2] | | 2 Params: out:uint8_t[2], out:uint8_t[2] | ||
|- | |- | ||
! colspan=" | ! colspan="6" id="sys_storage Syscalls"|[[#sys_storage Syscalls]] (600-623+837+838) | ||
|- | |- | ||
| 600 | | 600 | ||
| 0x258 | | 0x258 | ||
| | |||
| | |||
| sys_storage_open | | sys_storage_open | ||
| int sys_storage_open(uint64_t id, int unknown_1, int *fd, int unknown_2) unknown_1=0,unknown_2=0 | | int sys_storage_open(uint64_t id, int unknown_1, int *fd, int unknown_2) unknown_1=0,unknown_2=0 | ||
Line 2,563: | Line 3,416: | ||
| 601 | | 601 | ||
| 0x259 | | 0x259 | ||
| | |||
| | |||
| sys_storage_close | | sys_storage_close | ||
| int sys_storage_close(int fd) | | int sys_storage_close(int fd) | ||
Line 2,568: | Line 3,423: | ||
| 602 | | 602 | ||
| 0x25A | | 0x25A | ||
| | |||
| | |||
| sys_storage_read | | sys_storage_read | ||
| 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 | | 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 | ||
Line 2,573: | Line 3,430: | ||
| 603 | | 603 | ||
| 0x25B | | 0x25B | ||
| | |||
| | |||
| sys_storage_write | | sys_storage_write | ||
| <!--///* | | <!--///* | ||
Line 2,586: | Line 3,445: | ||
| 604 | | 604 | ||
| 0x25C | | 0x25C | ||
| | |||
| | |||
| sys_storage_send_device_command | | sys_storage_send_device_command | ||
| 6 Params: | | 6 Params: | ||
Line 2,591: | Line 3,452: | ||
| 605 | | 605 | ||
| 0x25D | | 0x25D | ||
| | |||
| | |||
| sys_storage_async_configure | | sys_storage_async_configure | ||
| int sys_storage_async_configure(uint32_t fd, sys_io_buffer_t io_buffer, sys_event_queue_t equeue_id, int *unknown) | | int sys_storage_async_configure(uint32_t fd, sys_io_buffer_t io_buffer, sys_event_queue_t equeue_id, int *unknown) | ||
Line 2,596: | Line 3,459: | ||
| 606 | | 606 | ||
| 0x25E | | 0x25E | ||
| | |||
| | |||
| sys_storage_async_read | | sys_storage_async_read | ||
| int sys_storage_async_read(int fd, int unknown_1, uint32_t start_sector, uint32_t sectors, sys_io_block_t bounce_buf, uint64_t user_data, int unknown_2) unknown_1=0, unknown_2=0 | | int sys_storage_async_read(int fd, int unknown_1, uint32_t start_sector, uint32_t sectors, sys_io_block_t bounce_buf, uint64_t user_data, int unknown_2) unknown_1=0, unknown_2=0 | ||
Line 2,601: | Line 3,466: | ||
| 607 | | 607 | ||
| 0x25F | | 0x25F | ||
| | |||
| | |||
| sys_storage_async_write | | sys_storage_async_write | ||
| 7 Params: | | 7 Params: | ||
Line 2,606: | Line 3,473: | ||
| 608 | | 608 | ||
| 0x260 | | 0x260 | ||
| | |||
| | |||
| sys_storage_async_cancel | | sys_storage_async_cancel | ||
| 2 Params | | 2 Params | ||
Line 2,611: | Line 3,480: | ||
| 609 | | 609 | ||
| 0x261 | | 0x261 | ||
| | |||
| | |||
| sys_storage_get_device_info | | sys_storage_get_device_info | ||
| int sys_storage_get_device_info(uint64_t device, uint8_t *buffer), buffer[40]=total sectors,buffer[48]=sector size,buffer[53]=writable | | int sys_storage_get_device_info(uint64_t device, uint8_t *buffer), buffer[40]=total sectors,buffer[48]=sector size,buffer[53]=writable | ||
Line 2,616: | Line 3,487: | ||
| 610 | | 610 | ||
| 0x262 | | 0x262 | ||
| | |||
| | |||
| sys_storage_get_device_config | | sys_storage_get_device_config | ||
| 2 Params: int sys_storage_get_device_config(uint64_t device, uint8_t *config) ? | | 2 Params: int sys_storage_get_device_config(uint64_t device, uint8_t *config) ? | ||
Line 2,621: | Line 3,494: | ||
| 611 | | 611 | ||
| 0x263 | | 0x263 | ||
| | |||
| | |||
| sys_storage_report_devices | | sys_storage_report_devices | ||
| 4 Params: | | 4 Params: | ||
Line 2,626: | Line 3,501: | ||
| 612 | | 612 | ||
| 0x264 | | 0x264 | ||
| | |||
| | |||
| sys_storage_configure_medium_event | | sys_storage_configure_medium_event | ||
| 3 Params | | 3 Params | ||
Line 2,631: | Line 3,508: | ||
| 613 | | 613 | ||
| 0x265 | | 0x265 | ||
| | |||
| | |||
| sys_storage_set_medium_polling_interval | | sys_storage_set_medium_polling_interval | ||
| 2 Params | | 2 Params | ||
Line 2,636: | Line 3,515: | ||
| 614 | | 614 | ||
| 0x266 | | 0x266 | ||
| | |||
| | |||
| sys_storage_create_region | | sys_storage_create_region | ||
| <!--///* | | <!--///* | ||
Line 2,648: | Line 3,529: | ||
| 615 | | 615 | ||
| 0x267 | | 0x267 | ||
| | |||
| | |||
| sys_storage_delete_region | | sys_storage_delete_region | ||
| int sys_storage_delete_region(uint32_t dev_id,uint64_t index);<!--///* | | int sys_storage_delete_region(uint32_t dev_id,uint64_t index);<!--///* | ||
Line 2,659: | Line 3,542: | ||
| 616 | | 616 | ||
| 0x268 | | 0x268 | ||
| | |||
| | |||
| sys_storage_execute_device_command | | sys_storage_execute_device_command | ||
| <!--// | | <!--// | ||
Line 2,674: | Line 3,559: | ||
| 617 | | 617 | ||
| 0x269 | | 0x269 | ||
| | |||
| | |||
| sys_storage_check_region_acl | | sys_storage_check_region_acl | ||
| alias int sys_storage_get_region_acl(device_id, region_id, index, authority, mask); | | alias int sys_storage_get_region_acl(device_id, region_id, index, authority, mask); | ||
Line 2,679: | Line 3,566: | ||
| 618 | | 618 | ||
| 0x26A | | 0x26A | ||
| | |||
| | |||
| sys_storage_set_region_acl | | sys_storage_set_region_acl | ||
| int sys_storage_set_region_acl(device_id, region_id, authority, permission); | | int sys_storage_set_region_acl(device_id, region_id, authority, permission); | ||
Line 2,684: | Line 3,573: | ||
| 619 | | 619 | ||
| 0x26B | | 0x26B | ||
| | |||
| | |||
| sys_storage_async_send_device_command | | sys_storage_async_send_device_command | ||
| | | | ||
Line 2,689: | Line 3,580: | ||
| 620 | | 620 | ||
| 0x26C | | 0x26C | ||
| | |||
| | |||
| | | | ||
| sending storage mediacontrolkey /-command? (param1: ?,0,1,2 or 3;param2;param3;param4;param5) | | sending storage mediacontrolkey /-command? (param1: ?,0,1,2 or 3;param2;param3;param4;param5) | ||
Line 2,694: | Line 3,587: | ||
| 621 | | 621 | ||
| 0x26D | | 0x26D | ||
| | |||
| | |||
| | | | ||
| 3 Params: get smth, syscall(621,9,0,uint8_t *out) (Gamepad relative) | | 3 Params: get smth, syscall(621,9,0,uint8_t *out) (Gamepad relative) | ||
Line 2,699: | Line 3,594: | ||
| 622 | | 622 | ||
| 0x26E | | 0x26E | ||
| | |||
| | |||
| sys_storage_get_region_offset | | sys_storage_get_region_offset | ||
| | | | ||
Line 2,704: | Line 3,601: | ||
| 623 | | 623 | ||
| 0x26F | | 0x26F | ||
| | |||
| | |||
| sys_storage_set_emulated_speed | | sys_storage_set_emulated_speed | ||
| | | | ||
|- | |- | ||
! colspan=" | ! colspan="6" id="sys_io Syscalls"|[[#sys_io Syscalls]] (624-627) | ||
|- | |- | ||
| 624 | | 624 | ||
| 0x270 | | 0x270 | ||
| | |||
| | |||
| sys_io_buffer_create | | sys_io_buffer_create | ||
| int sys_io_buffer_create(int io_block_count, int block_size, int blocks, int unknown_3, sys_io_buffer_t *io_buffer) | | int sys_io_buffer_create(int io_block_count, int block_size, int blocks, int unknown_3, sys_io_buffer_t *io_buffer) | ||
Line 2,716: | Line 3,617: | ||
| 625 | | 625 | ||
| 0x271 | | 0x271 | ||
| | |||
| | |||
| sys_io_buffer_destroy | | sys_io_buffer_destroy | ||
| int sys_io_buffer_destroy(sys_io_buffer_t io_buffer) | | int sys_io_buffer_destroy(sys_io_buffer_t io_buffer) | ||
Line 2,721: | Line 3,624: | ||
| 626 | | 626 | ||
| 0x272 | | 0x272 | ||
| | |||
| | |||
| sys_io_buffer_allocate | | sys_io_buffer_allocate | ||
| int sys_io_buffer_allocate(sys_io_buffer_t io_buffer, sys_io_block_t *block) | | int sys_io_buffer_allocate(sys_io_buffer_t io_buffer, sys_io_block_t *block) | ||
Line 2,726: | Line 3,631: | ||
| 627 | | 627 | ||
| 0x273 | | 0x273 | ||
| | |||
| | |||
| sys_io_buffer_free | | sys_io_buffer_free | ||
| int sys_io_buffer_free(sys_io_buffer_t io_buffer, sys_io_block_t block) | | int sys_io_buffer_free(sys_io_buffer_t io_buffer, sys_io_block_t block) | ||
|- | |- | ||
! colspan=" | ! colspan="6" id="sys_gpio Syscalls"|[[#sys_gpio Syscalls]] (630-631) | ||
|- | |- | ||
| 630 | | 630 | ||
| 0x276 | | 0x276 | ||
| | |||
| | |||
| sys_gpio_set | | sys_gpio_set | ||
| int sys_gpio_set (uint64_t device_id, uint64_t mask, uint64_t value) | | int sys_gpio_set (uint64_t device_id, uint64_t mask, uint64_t value) | ||
Line 2,738: | Line 3,647: | ||
| 631 | | 631 | ||
| 0x277 | | 0x277 | ||
| | |||
| | |||
| sys_gpio_get | | sys_gpio_get | ||
| int sys_gpio_get (uint64_t device_id, uint64_t *value) | | int sys_gpio_get (uint64_t device_id, uint64_t *value) | ||
|- | |- | ||
! colspan=" | ! colspan="6" id="sys_fsw Syscalls"|[[#sys_fsw Syscalls]] (633-634) | ||
|- | |- | ||
| 633 | | 633 | ||
| 0x278 | | 0x278 | ||
| | |||
| | |||
| sys_fsw_connect_event | | sys_fsw_connect_event | ||
| int sys_fsw_connect_event(sys_event_queue_t eq_id) | | int sys_fsw_connect_event(sys_event_queue_t eq_id) | ||
Line 2,750: | Line 3,663: | ||
| 634 | | 634 | ||
| 0x279 | | 0x279 | ||
| | |||
| | |||
| sys_fsw_disconnect_event | | sys_fsw_disconnect_event | ||
| int sys_fsw_disconnect_event(void) | | int sys_fsw_disconnect_event(void) | ||
|- | |- | ||
! colspan=" | ! colspan="6" id="usbbtaudio Syscalls"|[[#usbbtaudio Syscalls]] | ||
|- | |- | ||
| 635 | | 635 | ||
| 0x27B | | 0x27B | ||
| | |||
| | |||
| sys_btsetting_? | | sys_btsetting_? | ||
| 2 Params: var1(0=btsetting_initialize(), 1=btsetting_finalize()),out:buff | | 2 Params: var1(0=btsetting_initialize(), 1=btsetting_finalize()),out:buff | ||
Line 2,762: | Line 3,679: | ||
| 640 | | 640 | ||
| 0x280 | | 0x280 | ||
| | |||
| | |||
| | | | ||
| | | | ||
Line 2,767: | Line 3,686: | ||
| 649 | | 649 | ||
| 0x289 | | 0x289 | ||
| | |||
| | |||
| | | | ||
| 1 Params: 0 ; UsbBTAudio/RSX related | | 1 Params: 0 ; UsbBTAudio/RSX related | ||
Line 2,772: | Line 3,693: | ||
| 654 | | 654 | ||
| 0x28E | | 0x28E | ||
| | |||
| | |||
| | | | ||
| 1 Params: 1=text like "G5B5_Z1R5G5B5" ; UsbBTAudio/RSX related | | 1 Params: 1=text like "G5B5_Z1R5G5B5" ; UsbBTAudio/RSX related | ||
Line 2,777: | Line 3,700: | ||
| 655 | | 655 | ||
| 0x28F | | 0x28F | ||
| | |||
| | |||
| | | | ||
| 1 Params:; UsbBTAudio/RSX related | | 1 Params:; UsbBTAudio/RSX related | ||
Line 2,782: | Line 3,707: | ||
| 656 | | 656 | ||
| 0x290 | | 0x290 | ||
| | |||
| | |||
| | | | ||
| 1 Params: 1=text like "G5B5_Z1R5G5B5" ; UsbBTAudio/RSX related | | 1 Params: 1=text like "G5B5_Z1R5G5B5" ; UsbBTAudio/RSX related | ||
Line 2,787: | Line 3,714: | ||
| 659 | | 659 | ||
| 0x293 | | 0x293 | ||
| | |||
| | |||
| | | | ||
| 3 Params: 1=text like "G5B5_Z1R5G5B5", 2= 0 or 1, 3= ptr | | 3 Params: 1=text like "G5B5_Z1R5G5B5", 2= 0 or 1, 3= ptr | ||
|- | |- | ||
! colspan=" | ! colspan="6" id="sys_rsx Syscalls"|[[#sys_rsx Syscalls]] (666-667) | ||
|- | |- | ||
| 666 | | 666 | ||
| 0x29A | | 0x29A | ||
| | |||
| | |||
| sys_rsx_device_open | | sys_rsx_device_open | ||
| 1 Param | | 1 Param | ||
Line 2,799: | Line 3,730: | ||
| 667 | | 667 | ||
| 0x29B | | 0x29B | ||
| | |||
| | |||
| sys_rsx_device_close | | sys_rsx_device_close | ||
| | | | ||
Line 2,804: | Line 3,737: | ||
| 668 | | 668 | ||
| 0x29C | | 0x29C | ||
| | |||
| | |||
| sys_rsx_memory_allocate | | sys_rsx_memory_allocate | ||
| | | | ||
Line 2,809: | Line 3,744: | ||
| 669 | | 669 | ||
| 0x29D | | 0x29D | ||
| | |||
| | |||
| sys_rsx_memory_free | | sys_rsx_memory_free | ||
| | | | ||
Line 2,814: | Line 3,751: | ||
| 670 | | 670 | ||
| 0x29E | | 0x29E | ||
| | |||
| | |||
| sys_rsx_context_allocate | | sys_rsx_context_allocate | ||
| | | | ||
Line 2,819: | Line 3,758: | ||
| 671 | | 671 | ||
| 0x29F | | 0x29F | ||
| | |||
| | |||
| sys_rsx_context_free | | sys_rsx_context_free | ||
| | | | ||
Line 2,824: | Line 3,765: | ||
| 672 | | 672 | ||
| 0x2A0 | | 0x2A0 | ||
| | |||
| | |||
| sys_rsx_context_iomap | | sys_rsx_context_iomap | ||
| | | | ||
Line 2,829: | Line 3,772: | ||
| 673 | | 673 | ||
| 0x2A1 | | 0x2A1 | ||
| | |||
| | |||
| sys_rsx_context_iounmap | | sys_rsx_context_iounmap | ||
| | | | ||
Line 2,834: | Line 3,779: | ||
| 674 | | 674 | ||
| 0x2A2 | | 0x2A2 | ||
| sys_rsx_context_attribute | | | ||
| | |||
| sys_rsx_context_attribute | |||
| | | | ||
|- | |- | ||
| 675 | | 675 | ||
| 0x2A3 | | 0x2A3 | ||
| | |||
| | |||
| sys_rsx_device_map | | sys_rsx_device_map | ||
| | | | ||
Line 2,844: | Line 3,793: | ||
| 676 | | 676 | ||
| 0x2A4 | | 0x2A4 | ||
| | |||
| | |||
| sys_rsx_device_unmap | | sys_rsx_device_unmap | ||
| | | | ||
Line 2,849: | Line 3,800: | ||
| 677 | | 677 | ||
| 0x2A5 | | 0x2A5 | ||
| | |||
| | |||
| sys_rsx_attribute | | sys_rsx_attribute | ||
| | | | ||
|- | |- | ||
! colspan=" | ! colspan="6" id="sys_iosys Syscalls"|[[#sys_iosys Syscalls]] (698) | ||
|- | |- | ||
| 698 | | 698 | ||
| 0x2BA | | 0x2BA | ||
| | |||
| | |||
| sys_iosys_infra_test_execute | | sys_iosys_infra_test_execute | ||
| | | | ||
|- | |- | ||
! colspan=" | ! colspan="6" id="sys_bdemu Syscalls"|[[#sys_bdemu Syscalls]] (699) | ||
|- | |- | ||
| 699 | | 699 | ||
| 0x2BB | | 0x2BB | ||
| | |||
| | |||
| sys_bdemu_send_command | | sys_bdemu_send_command | ||
| | | | ||
|- | |- | ||
! colspan=" | ! colspan="6" id="sys_net Syscalls"|[[#sys_net Syscalls]] (700-726) | ||
|- | |- | ||
| 700 | | 700 | ||
| 0x2BC | | 0x2BC | ||
| | |||
| | |||
| sys_net_bnet_accept | | sys_net_bnet_accept | ||
| | | | ||
Line 2,875: | Line 3,834: | ||
| 701 | | 701 | ||
| 0x2BD | | 0x2BD | ||
| | |||
| | |||
| sys_net_bnet_bind | | sys_net_bnet_bind | ||
| | | | ||
Line 2,880: | Line 3,841: | ||
| 702 | | 702 | ||
| 0x2BE | | 0x2BE | ||
| | |||
| | |||
| sys_net_bnet_connect | | sys_net_bnet_connect | ||
| | | | ||
Line 2,885: | Line 3,848: | ||
| 703 | | 703 | ||
| 0x2BF | | 0x2BF | ||
| | |||
| | |||
| sys_net_bnet_getpeername | | sys_net_bnet_getpeername | ||
| | | | ||
Line 2,890: | Line 3,855: | ||
| 704 | | 704 | ||
| 0x2C0 | | 0x2C0 | ||
| | |||
| | |||
| sys_net_bnet_getsockname | | sys_net_bnet_getsockname | ||
| | | | ||
Line 2,895: | Line 3,862: | ||
| 705 | | 705 | ||
| 0x2C1 | | 0x2C1 | ||
| | |||
| | |||
| sys_net_bnet_getsockopt | | sys_net_bnet_getsockopt | ||
| | | | ||
Line 2,900: | Line 3,869: | ||
| 706 | | 706 | ||
| 0x2C2 | | 0x2C2 | ||
| | |||
| | |||
| sys_net_bnet_listen | | sys_net_bnet_listen | ||
| | | | ||
Line 2,905: | Line 3,876: | ||
| 707 | | 707 | ||
| 0x2C3 | | 0x2C3 | ||
| | |||
| | |||
| sys_net_bnet_recvfrom | | sys_net_bnet_recvfrom | ||
| | | | ||
Line 2,910: | Line 3,883: | ||
| 708 | | 708 | ||
| 0x2C4 | | 0x2C4 | ||
| | |||
| | |||
| sys_net_bnet_recvmsg | | sys_net_bnet_recvmsg | ||
| | | | ||
Line 2,915: | Line 3,890: | ||
| 709 | | 709 | ||
| 0x2C5 | | 0x2C5 | ||
| | |||
| | |||
| sys_net_bnet_sendmsg | | sys_net_bnet_sendmsg | ||
| | | | ||
Line 2,920: | Line 3,897: | ||
| 710 | | 710 | ||
| 0x2C6 | | 0x2C6 | ||
| | |||
| | |||
| sys_net_bnet_sendto | | sys_net_bnet_sendto | ||
| | | | ||
Line 2,925: | Line 3,904: | ||
| 711 | | 711 | ||
| 0x2C7 | | 0x2C7 | ||
| | |||
| | |||
| sys_net_bnet_setsockop | | sys_net_bnet_setsockop | ||
| | | | ||
Line 2,930: | Line 3,911: | ||
| 712 | | 712 | ||
| 0x2C8 | | 0x2C8 | ||
| | |||
| | |||
| sys_net_bnet_shutdown | | sys_net_bnet_shutdown | ||
| | | | ||
Line 2,935: | Line 3,918: | ||
| 713 | | 713 | ||
| 0x2C9 | | 0x2C9 | ||
| | |||
| | |||
| sys_net_bnet_socket | | sys_net_bnet_socket | ||
| | | | ||
Line 2,940: | Line 3,925: | ||
| 714 | | 714 | ||
| 0x2CA | | 0x2CA | ||
| | |||
| | |||
| sys_net_bnet_close | | sys_net_bnet_close | ||
| | | | ||
Line 2,945: | Line 3,932: | ||
| 715 | | 715 | ||
| 0x2CB | | 0x2CB | ||
| | |||
| | |||
| sys_net_bnet_poll | | sys_net_bnet_poll | ||
| | | | ||
Line 2,950: | Line 3,939: | ||
| 716 | | 716 | ||
| 0x2CC | | 0x2CC | ||
| | |||
| | |||
| sys_net_bnet_select | | sys_net_bnet_select | ||
| | | | ||
Line 2,955: | Line 3,946: | ||
| 724 | | 724 | ||
| 0x2D4 | | 0x2D4 | ||
| | |||
| | |||
| sys_net_bnet_ioctl | | sys_net_bnet_ioctl | ||
| | | | ||
Line 2,960: | Line 3,953: | ||
| 725 | | 725 | ||
| 0x2D5 | | 0x2D5 | ||
| | |||
| | |||
| sys_net_bnet_sysctl | | sys_net_bnet_sysctl | ||
| | | | ||
Line 2,965: | Line 3,960: | ||
| 726 | | 726 | ||
| 0x2D6 | | 0x2D6 | ||
| | |||
| | |||
| | | | ||
| <!--///* | | <!--///* | ||
Line 2,976: | Line 3,973: | ||
| 800 | | 800 | ||
| 0x320 | | 0x320 | ||
| | |||
| | |||
| | | | ||
| | | | ||
|- | |- | ||
! colspan=" | ! colspan="6" id="lv2Fs Syscalls"|[[#lv2Fs Syscalls]] (801-834) | ||
|- | |- | ||
| 801 | | 801 | ||
| 0x321 | | 0x321 | ||
| | |||
| | |||
| cellFsOpen | | cellFsOpen | ||
| CellFsErrno cellFsOpen(const char *path, int flags, int *fd, const void *arg, uint64_t size); | | CellFsErrno cellFsOpen(const char *path, int flags, int *fd, const void *arg, uint64_t size); | ||
Line 2,988: | Line 3,989: | ||
| 802 | | 802 | ||
| 0x322 | | 0x322 | ||
| | |||
| | |||
| cellFsRead | | cellFsRead | ||
| CellFsErrno cellFsRead(int fd, void *buf, uint64_t nbytes, uint64_t *nread); | | CellFsErrno cellFsRead(int fd, void *buf, uint64_t nbytes, uint64_t *nread); | ||
Line 2,993: | Line 3,996: | ||
| 803 | | 803 | ||
| 0x323 | | 0x323 | ||
| | |||
| | |||
| cellFsWrite | | cellFsWrite | ||
| CellFsErrno cellFsWrite(int fd, const void *buf, uint64_t nbytes, uint64_t *nwrite); | | CellFsErrno cellFsWrite(int fd, const void *buf, uint64_t nbytes, uint64_t *nwrite); | ||
Line 2,998: | Line 4,003: | ||
| 804 | | 804 | ||
| 0x324 | | 0x324 | ||
| | |||
| | |||
| cellFsClose | | cellFsClose | ||
| CellFsErrno cellFsClose(int fd); | | CellFsErrno cellFsClose(int fd); | ||
Line 3,003: | Line 4,010: | ||
| 805 | | 805 | ||
| 0x325 | | 0x325 | ||
| | |||
| | |||
| cellFsOpenDir | | cellFsOpenDir | ||
| CellFsErrno cellFsOpendir(const char *path, int *fd); | | CellFsErrno cellFsOpendir(const char *path, int *fd); | ||
Line 3,008: | Line 4,017: | ||
| 806 | | 806 | ||
| 0x326 | | 0x326 | ||
| | |||
| | |||
| cellFsReadDir | | cellFsReadDir | ||
| CellFsErrno cellFsReaddir(int fd, CellFsDirent *dir, uint64_t *nread); | | CellFsErrno cellFsReaddir(int fd, CellFsDirent *dir, uint64_t *nread); | ||
Line 3,013: | Line 4,024: | ||
| 807 | | 807 | ||
| 0x327 | | 0x327 | ||
| | |||
| | |||
| cellFsCloseDir | | cellFsCloseDir | ||
| CellFsErrno cellFsClosedir(int fd); | | CellFsErrno cellFsClosedir(int fd); | ||
Line 3,018: | Line 4,031: | ||
| 808 | | 808 | ||
| 0x328 | | 0x328 | ||
| | |||
| | |||
| cellFsStat | | cellFsStat | ||
| CellFsErrno cellFsStat(const char *path, CellFsStat *sb); | | CellFsErrno cellFsStat(const char *path, CellFsStat *sb); | ||
Line 3,023: | Line 4,038: | ||
| 809 | | 809 | ||
| 0x329 | | 0x329 | ||
| | |||
| | |||
| cellFsFstat | | cellFsFstat | ||
| CellFsErrno cellFsFstat(int fd, CellFsStat *sb); | | CellFsErrno cellFsFstat(int fd, CellFsStat *sb); | ||
Line 3,028: | Line 4,045: | ||
| 810 | | 810 | ||
| 0x32A | | 0x32A | ||
| | |||
| | |||
| | | | ||
| | | | ||
Line 3,033: | Line 4,052: | ||
| 811 | | 811 | ||
| 0x32B | | 0x32B | ||
| | |||
| | |||
| cellFsMkdir | | cellFsMkdir | ||
| CellFsErrno cellFsMkdir(const char *path, CellFsMode mode); | | CellFsErrno cellFsMkdir(const char *path, CellFsMode mode); | ||
Line 3,038: | Line 4,059: | ||
| 812 | | 812 | ||
| 0x32C | | 0x32C | ||
| | |||
| | |||
| cellFsRename | | cellFsRename | ||
| CellFsErrno cellFsRename(const char *from, const char *to); | | CellFsErrno cellFsRename(const char *from, const char *to); | ||
Line 3,043: | Line 4,066: | ||
| 813 | | 813 | ||
| 0x32D | | 0x32D | ||
| | |||
| | |||
| cellFsRmdir | | cellFsRmdir | ||
| CellFsErrno cellFsRmdir(const char *path); | | CellFsErrno cellFsRmdir(const char *path); | ||
Line 3,048: | Line 4,073: | ||
| 814 | | 814 | ||
| 0x32E | | 0x32E | ||
| | |||
| | |||
| cellFsUnlink | | cellFsUnlink | ||
| CellFsErrno cellFsUnlink(const char *path); | | CellFsErrno cellFsUnlink(const char *path); | ||
Line 3,053: | Line 4,080: | ||
| 815 | | 815 | ||
| 0x32F | | 0x32F | ||
| | |||
| | |||
| cellFsUtime | | cellFsUtime | ||
| CellFsErrno cellFsUtime(const char *path, const CellFsUtimbuf *timep); | | CellFsErrno cellFsUtime(const char *path, const CellFsUtimbuf *timep); | ||
Line 3,058: | Line 4,087: | ||
| 816 | | 816 | ||
| 0x330 | | 0x330 | ||
| | |||
| | |||
| | | | ||
| | | | ||
Line 3,063: | Line 4,094: | ||
| 817 | | 817 | ||
| 0x331 | | 0x331 | ||
| | |||
| | |||
| | | | ||
| | | | ||
Line 3,068: | Line 4,101: | ||
| 818 | | 818 | ||
| 0x332 | | 0x332 | ||
| | |||
| | |||
| cellFsLSeek | | cellFsLSeek | ||
| CellFsErrno cellFsLseek(int fd, int64_t offset, int whence, uint64_t *pos); | | CellFsErrno cellFsLseek(int fd, int64_t offset, int whence, uint64_t *pos); | ||
Line 3,073: | Line 4,108: | ||
| 819 | | 819 | ||
| 0x333 | | 0x333 | ||
| | |||
| | |||
| | | | ||
| | | | ||
Line 3,078: | Line 4,115: | ||
| 820 | | 820 | ||
| 0x334 | | 0x334 | ||
| | |||
| | |||
| cellFsFSync | | cellFsFSync | ||
| CellFsErrno cellFsFsync(int fd); | | CellFsErrno cellFsFsync(int fd); | ||
Line 3,083: | Line 4,122: | ||
| 821 | | 821 | ||
| 0x335 | | 0x335 | ||
| | |||
| | |||
| sys_fs_cellFsFGetBlockSize | | sys_fs_cellFsFGetBlockSize | ||
| | | | ||
Line 3,088: | Line 4,129: | ||
| 822 | | 822 | ||
| 0x336 | | 0x336 | ||
| | |||
| | |||
| | | | ||
| | | | ||
Line 3,093: | Line 4,136: | ||
| 823 | | 823 | ||
| 0x337 | | 0x337 | ||
| | |||
| | |||
| | | | ||
| | | | ||
Line 3,098: | Line 4,143: | ||
| 824 | | 824 | ||
| 0x338 | | 0x338 | ||
| | |||
| | |||
| | | | ||
| | | | ||
Line 3,103: | Line 4,150: | ||
| 825 | | 825 | ||
| 0x339 | | 0x339 | ||
| | |||
| | |||
| | | | ||
| | | | ||
Line 3,108: | Line 4,157: | ||
| 826 | | 826 | ||
| 0x33A | | 0x33A | ||
| | |||
| | |||
| | | | ||
| | | | ||
Line 3,113: | Line 4,164: | ||
| 827 | | 827 | ||
| 0x33B | | 0x33B | ||
| | |||
| | |||
| | | | ||
| | | | ||
Line 3,118: | Line 4,171: | ||
| 828 | | 828 | ||
| 0x33C | | 0x33C | ||
| | |||
| | |||
| | | | ||
| | | | ||
Line 3,123: | Line 4,178: | ||
| 829 | | 829 | ||
| 0x33D | | 0x33D | ||
| | |||
| | |||
| | | | ||
| | | | ||
Line 3,128: | Line 4,185: | ||
| 831 | | 831 | ||
| 0x33F | | 0x33F | ||
| | |||
| | |||
| cellFsTruncate | | cellFsTruncate | ||
| CellFsErrno cellFsTruncate(const char *path, uint64_t size); | | CellFsErrno cellFsTruncate(const char *path, uint64_t size); | ||
Line 3,133: | Line 4,192: | ||
| 832 | | 832 | ||
| 0x340 | | 0x340 | ||
| | |||
| | |||
| cellFsFTruncate | | cellFsFTruncate | ||
| CellFsErrno cellFsFtruncate(int fd, uint64_t size); | | CellFsErrno cellFsFtruncate(int fd, uint64_t size); | ||
Line 3,138: | Line 4,199: | ||
| 833 | | 833 | ||
| 0x341 | | 0x341 | ||
| | |||
| | |||
| | | | ||
| | | | ||
Line 3,143: | Line 4,206: | ||
| 834 | | 834 | ||
| 0x342 | | 0x342 | ||
| | |||
| | |||
| cellFsChmod | | cellFsChmod | ||
| CellFsErrno cellFsChmod(const char *path, CellFsMode mode); | | CellFsErrno cellFsChmod(const char *path, CellFsMode mode); | ||
Line 3,148: | Line 4,213: | ||
| 835 | | 835 | ||
| 0x343 | | 0x343 | ||
| | |||
| | |||
| | | | ||
| | | | ||
|- | |- | ||
! colspan=" | ! colspan="6" id="sys_storage Syscalls"|[[#sys_storage Syscalls]] (600-623+837+838) | ||
|- | |- | ||
| 837 | | 837 | ||
| 0x345 | | 0x345 | ||
| | |||
| | |||
| sys_storage_util_mount(?) | | 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 | | 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 | ||
Line 3,160: | Line 4,229: | ||
| 838 | | 838 | ||
| 0x346 | | 0x346 | ||
| | |||
| | |||
| sys_storage_util_unmount(?) | | sys_storage_util_unmount(?) | ||
| Parameters: Device Path (e.g. /dev_flash) | | Parameters: Device Path (e.g. /dev_flash) | ||
Line 3,165: | Line 4,236: | ||
| 839 | | 839 | ||
| 0x347 | | 0x347 | ||
| | |||
| | |||
| sys_storage_util_sync(?) | | sys_storage_util_sync(?) | ||
| <!--///* | | <!--///* | ||
Line 3,176: | Line 4,249: | ||
| 840 | | 840 | ||
| 0x348 | | 0x348 | ||
| | |||
| | |||
| | | | ||
| | | | ||
Line 3,181: | Line 4,256: | ||
| 841 | | 841 | ||
| 0x349 | | 0x349 | ||
| | |||
| | |||
| sys_storage_util_get_mount_info_size | | sys_storage_util_get_mount_info_size | ||
| 1 Param | | 1 Param | ||
Line 3,186: | Line 4,263: | ||
| 842 | | 842 | ||
| 0x34A | | 0x34A | ||
| | |||
| | |||
| sys_storage_util_get_mount_info | | sys_storage_util_get_mount_info | ||
| 3 Params | | 3 Params | ||
Line 3,191: | Line 4,270: | ||
| 843 | | 843 | ||
| 0x34B | | 0x34B | ||
| | |||
| | |||
| | | | ||
| | | | ||
Line 3,196: | Line 4,277: | ||
| 844 | | 844 | ||
| 0x34C | | 0x34C | ||
| | |||
| | |||
| | | | ||
| | | | ||
Line 3,201: | Line 4,284: | ||
| 845 | | 845 | ||
| 0x34D | | 0x34D | ||
| | |||
| | |||
| | | | ||
| | | | ||
Line 3,206: | Line 4,291: | ||
| 846 | | 846 | ||
| 0x34E | | 0x34E | ||
| | |||
| | |||
| | | | ||
| | | | ||
Line 3,211: | Line 4,298: | ||
| 847 | | 847 | ||
| 0x34F | | 0x34F | ||
| | |||
| | |||
| | | | ||
| | | | ||
|- | |- | ||
! colspan=" | ! colspan="6" id="process socket service syscalls"|[[#process socket service syscalls]] (862-864) | ||
|- | |- | ||
| 862 | | 862 | ||
| 0x35E | | 0x35E | ||
| | |||
| | |||
| | | | ||
| [[http://ps3devwiki.com/index.php?title=Hypervisor_Reverse_Engineering#0x2000_-_Virtual_TRM_Manager trm_manager_if (Interface)]] <!--///* | | [[http://ps3devwiki.com/index.php?title=Hypervisor_Reverse_Engineering#0x2000_-_Virtual_TRM_Manager trm_manager_if (Interface)]] <!--///* | ||
Line 3,232: | Line 4,323: | ||
| 863 | | 863 | ||
| 0x35F | | 0x35F | ||
| | |||
| | |||
| | | | ||
| [[http://ps3devwiki.com/index.php?title=Hypervisor_Reverse_Engineering#0x6000_-_Update_Manager update_manager_if (Interface)]]<!--///* | | [[http://ps3devwiki.com/index.php?title=Hypervisor_Reverse_Engineering#0x6000_-_Update_Manager update_manager_if (Interface)]]<!--///* | ||
Line 3,244: | Line 4,337: | ||
| 864 | | 864 | ||
| 0x360 | | 0x360 | ||
| | |||
| | |||
| | | | ||
| [[http://ps3devwiki.com/index.php?title=Hypervisor_Reverse_Engineering#0x5000_-_Storage_Manager storage_manager_if (Interface)]] <!--///* | | [[http://ps3devwiki.com/index.php?title=Hypervisor_Reverse_Engineering#0x5000_-_Storage_Manager storage_manager_if (Interface)]] <!--///* | ||
Line 3,253: | Line 4,348: | ||
}//--> | }//--> | ||
|- | |- | ||
! colspan=" | ! colspan="6" id="sys_ss/sys_get Syscalls"|[[#sys_ss/sys_get Syscalls]] (865-879) | ||
|- | |- | ||
| 865 | | 865 | ||
| 0x361 | | 0x361 | ||
| | |||
| | |||
| sys_ss_random_number_generator | | sys_ss_random_number_generator | ||
| alias sys_get_random_number <!--///* | | alias sys_get_random_number <!--///* | ||
Line 3,269: | Line 4,366: | ||
| 866 | | 866 | ||
| 0x362 | | 0x362 | ||
| | |||
| | |||
| | | | ||
| [[http://ps3devwiki.com/index.php?title=Hypervisor_Reverse_Engineering#0x3000_-_Secure_RTC secure_rtc_manager_if (Interface)]] <!--///* | | [[http://ps3devwiki.com/index.php?title=Hypervisor_Reverse_Engineering#0x3000_-_Secure_RTC secure_rtc_manager_if (Interface)]] <!--///* | ||
Line 3,280: | Line 4,379: | ||
| 867 | | 867 | ||
| 0x363 | | 0x363 | ||
| | |||
| | |||
| sys_get_system_parameter | | sys_get_system_parameter | ||
| [[http://ps3devwiki.com/index.php?title=Hypervisor_Reverse_Engineering#0x19000_-_AIM aim_manager_if (Interface)]] <!--///* | | [[http://ps3devwiki.com/index.php?title=Hypervisor_Reverse_Engineering#0x19000_-_AIM aim_manager_if (Interface)]] <!--///* | ||
Line 3,291: | Line 4,392: | ||
| 868 | | 868 | ||
| 0x364 | | 0x364 | ||
| | |||
| | |||
| | | | ||
| [[http://ps3devwiki.com/index.php?title=Hypervisor_Reverse_Engineering#0x17000_-_Indi_Info_Manager indi_info_manager_if (Interface)]] <!--///* | | [[http://ps3devwiki.com/index.php?title=Hypervisor_Reverse_Engineering#0x17000_-_Indi_Info_Manager indi_info_manager_if (Interface)]] <!--///* | ||
Line 3,305: | Line 4,408: | ||
| 869 | | 869 | ||
| 0x365 | | 0x365 | ||
| | |||
| | |||
| | | | ||
| syscall(869,0x22001 or 0x22002 or 0x22003 or 0x22004, ??) // set rtc related | | syscall(869,0x22001 or 0x22002 or 0x22003 or 0x22004, ??) // set rtc related | ||
Line 3,310: | Line 4,415: | ||
| 870 | | 870 | ||
| 0x366 | | 0x366 | ||
| | |||
| | |||
| 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 | ||
Line 3,315: | Line 4,422: | ||
| 871 | | 871 | ||
| 0x367 | | 0x367 | ||
| | |||
| | |||
| sys_ss_access_control_engine | | sys_ss_access_control_engine | ||
| 3 params (1,sys_pid_t,out:uint8_t [8]) / (2 or 3,out:uint8_t [8],0) | | 3 params (1,sys_pid_t,out:uint8_t [8]) / (2 or 3,out:uint8_t [8],0) | ||
Line 3,320: | Line 4,429: | ||
| 872 | | 872 | ||
| 0x368 | | 0x368 | ||
| | |||
| | |||
| sys_ss_get_open_psid | | sys_ss_get_open_psid | ||
| int sys_ss_get_open_psid(CellSsOpenPSID *ptr) ; typedef struct CellSsOpenPSID { uint64_t high; uint64_t low;} | | int sys_ss_get_open_psid(CellSsOpenPSID *ptr) ; typedef struct CellSsOpenPSID { uint64_t high; uint64_t low;} | ||
Line 3,325: | Line 4,436: | ||
| 873 | | 873 | ||
| 0x369 | | 0x369 | ||
| | |||
| | |||
| sys_ss_get_cache_of_product_mode | | sys_ss_get_cache_of_product_mode | ||
| int sys_ss_get_cache_of_product_mode(uint8_t *ptr [1]); | | int sys_ss_get_cache_of_product_mode(uint8_t *ptr [1]); | ||
Line 3,330: | Line 4,443: | ||
| 874 | | 874 | ||
| 0x36A | | 0x36A | ||
| | |||
| | |||
| sys_ss_get_cache_of_flash_ext_flag | | sys_ss_get_cache_of_flash_ext_flag | ||
| int sys_ss_get_cache_of_flash_ext_flag(uint8_t *flag [1]) <!--///* | | int sys_ss_get_cache_of_flash_ext_flag(uint8_t *flag [1]) <!--///* | ||
Line 3,341: | Line 4,456: | ||
| 875 | | 875 | ||
| 0x36B | | 0x36B | ||
| | |||
| | |||
| sys_ss_get_boot_device | | sys_ss_get_boot_device | ||
| int sys_ss_get_boot_device(uint8_t * buf [8]); | | int sys_ss_get_boot_device(uint8_t * buf [8]); | ||
Line 3,346: | Line 4,463: | ||
| 876 | | 876 | ||
| 0x36C | | 0x36C | ||
| | |||
| | |||
| sys_ss_disc_access_control | | sys_ss_disc_access_control | ||
| 2Params: 0x20000(=get_disc_access_control),uint8_t [4] / 0x20001(=set_disc_access_control),1 | | 2Params: 0x20000(=get_disc_access_control),uint8_t [4] / 0x20001(=set_disc_access_control),1 | ||
Line 3,351: | Line 4,470: | ||
| 877 | | 877 | ||
| 0x36D | | 0x36D | ||
| | |||
| | |||
| sys_ss_~utoken_if | | sys_ss_~utoken_if | ||
| 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]] | | 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]] | ||
Line 3,356: | Line 4,477: | ||
| 878 | | 878 | ||
| 0x36E | | 0x36E | ||
| | |||
| | |||
| sys_ss_ad_sign | | sys_ss_ad_sign | ||
| syscall(878, 0x26001, in_buffer[0x14], out_buffer[0x80]) | | syscall(878, 0x26001, in_buffer[0x14], out_buffer[0x80]) | ||
Line 3,361: | Line 4,484: | ||
| 879 | | 879 | ||
| 0x36F | | 0x36F | ||
| | |||
| | |||
| sys_ss_media_id | | sys_ss_media_id | ||
| syscall(879, 0x10001, out_buffer[0x10]) | | syscall(879, 0x10001, out_buffer[0x10]) | ||
|- | |- | ||
! colspan=" | ! colspan="6" id="sys_deci3 Syscalls"|[[#sys_deci3 Syscalls]] (880-884) | ||
|- | |- | ||
| 880 | | 880 | ||
| 0x370 | | 0x370 | ||
| | |||
| | |||
| sys_deci3_open | | sys_deci3_open | ||
| int sys_deci3_open(sys_deci3_protocol_t protocol, sys_deci3_port_t port, void *option, sys_deci3_session_t * session_id); | | int sys_deci3_open(sys_deci3_protocol_t protocol, sys_deci3_port_t port, void *option, sys_deci3_session_t * session_id); | ||
Line 3,373: | Line 4,500: | ||
| 881 | | 881 | ||
| 0x371 | | 0x371 | ||
| | |||
| | |||
| sys_deci3_create_event_path | | sys_deci3_create_event_path | ||
| int sys_deci3_create_event_path(sys_deci3_session_t session_id, size_t bufsize, sys_event_queue_t event_queue_id); | | int sys_deci3_create_event_path(sys_deci3_session_t session_id, size_t bufsize, sys_event_queue_t event_queue_id); | ||
Line 3,378: | Line 4,507: | ||
| 882 | | 882 | ||
| 0x372 | | 0x372 | ||
| | |||
| | |||
| sys_deci3_close | | sys_deci3_close | ||
| int sys_deci3_close(sys_deci3_session_t session_id); | | int sys_deci3_close(sys_deci3_session_t session_id); | ||
Line 3,383: | Line 4,514: | ||
| 883 | | 883 | ||
| 0x373 | | 0x373 | ||
| | |||
| | |||
| sys_deci3_send | | sys_deci3_send | ||
| int sys_deci3_send(sys_deci3_session_t session_id, uint8_t * buf, __CSTD size_t size); | | int sys_deci3_send(sys_deci3_session_t session_id, uint8_t * buf, __CSTD size_t size); | ||
Line 3,388: | Line 4,521: | ||
| 884 | | 884 | ||
| 0x374 | | 0x374 | ||
| | |||
| | |||
| 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=" | ! colspan="6" id="sys_dbg Syscalls"|[[#sys_dbg Syscalls]] (900-970) | ||
|- | |- | ||
| 900 | | 900 | ||
| 0x384 | | 0x384 | ||
| | |||
| | |||
| sys_dbg_stop_processes | | sys_dbg_stop_processes | ||
| 2 params: sys_pid_t pid, 1 | | 2 params: sys_pid_t pid, 1 | ||
Line 3,400: | Line 4,537: | ||
| 903 | | 903 | ||
| 0x387 | | 0x387 | ||
| | |||
| | |||
| | | | ||
| 2 params: uint64_t *outbuff, val (0 or ... or 8) , sceVSHforceshutdown (outbuff,8) ? | | 2 params: uint64_t *outbuff, val (0 or ... or 8) , sceVSHforceshutdown (outbuff,8) ? | ||
Line 3,405: | Line 4,544: | ||
| 909 | | 909 | ||
| 0x38D | | 0x38D | ||
| | |||
| | |||
| sys_dbg_get_thread_list | | sys_dbg_get_thread_list | ||
| 4 Params: sys_pid_t pid,..., uint64_t size,uint64_t *outbuff | | 4 Params: sys_pid_t pid,..., uint64_t size,uint64_t *outbuff | ||
Line 3,410: | Line 4,551: | ||
| 914 | | 914 | ||
| 0x392 | | 0x392 | ||
| | |||
| | |||
| sys_dbg_get_process_info | | sys_dbg_get_process_info | ||
| | | | ||
Line 3,415: | Line 4,558: | ||
| 918 | | 918 | ||
| 0x396 | | 0x396 | ||
| | |||
| | |||
| sys_dbg_read_kernel_event_queue | | sys_dbg_read_kernel_event_queue | ||
| | | | ||
Line 3,420: | Line 4,565: | ||
| 921 | | 921 | ||
| 0x399 | | 0x399 | ||
| | |||
| | |||
| sys_dbg_set_process_event_cntl_flag | | sys_dbg_set_process_event_cntl_flag | ||
| | | | ||
Line 3,425: | Line 4,572: | ||
| 923 | | 923 | ||
| 0x39B | | 0x39B | ||
| | |||
| | |||
| sys_dbg_set_spu_thread_group_event_cntl_flag | | sys_dbg_set_spu_thread_group_event_cntl_flag | ||
| | | | ||
Line 3,430: | Line 4,579: | ||
| 925 | | 925 | ||
| 0x39D | | 0x39D | ||
| | |||
| | |||
| sys_dbg_get_raw_spu_list | | sys_dbg_get_raw_spu_list | ||
| | | | ||
Line 3,435: | Line 4,586: | ||
| 932 | | 932 | ||
| 0x3A4 | | 0x3A4 | ||
| | |||
| | |||
| sys_dbg_get_mutex_list | | sys_dbg_get_mutex_list | ||
| | | | ||
Line 3,440: | Line 4,593: | ||
| 934 | | 934 | ||
| 0x3A6 | | 0x3A6 | ||
| | |||
| | |||
| sys_dbg_get_cond_list | | sys_dbg_get_cond_list | ||
| | | | ||
Line 3,445: | Line 4,600: | ||
| 936 | | 936 | ||
| 0x3A8 | | 0x3A8 | ||
| | |||
| | |||
| sys_dbg_get_rwlock_list | | sys_dbg_get_rwlock_list | ||
| | | | ||
Line 3,450: | Line 4,607: | ||
| 938 | | 938 | ||
| 0x3AA | | 0x3AA | ||
| | |||
| | |||
| sys_dbg_get_lwmutex_list | | sys_dbg_get_lwmutex_list | ||
| | | | ||
Line 3,455: | Line 4,614: | ||
| 939 | | 939 | ||
| 0x3AB | | 0x3AB | ||
| | |||
| | |||
| sys_dbg_get_address_from_dabr | | sys_dbg_get_address_from_dabr | ||
| int sys_dbg_get_address_from_dabr ( uint64_t *address, uint64_t *flag ); | | int sys_dbg_get_address_from_dabr ( uint64_t *address, uint64_t *flag ); | ||
Line 3,461: | Line 4,622: | ||
| 940 | | 940 | ||
| 0x3AC | | 0x3AC | ||
| | |||
| | |||
| sys_dbg_set_address_to_dabr | | sys_dbg_set_address_to_dabr | ||
| int sys_dbg_set_address_to_dabr ( uint64_t address, uint64_t flag ); | | int sys_dbg_set_address_to_dabr ( uint64_t address, uint64_t flag ); | ||
Line 3,466: | Line 4,629: | ||
| 942 | | 942 | ||
| 0x3AE | | 0x3AE | ||
| | |||
| | |||
| sys_dbg_get_event_queue_list | | sys_dbg_get_event_queue_list | ||
| | | | ||
Line 3,471: | Line 4,636: | ||
| 946 | | 946 | ||
| 0x3B2 | | 0x3B2 | ||
| | |||
| | |||
| sys_dbg_get_semaphore_list | | sys_dbg_get_semaphore_list | ||
| | | | ||
Line 3,476: | Line 4,643: | ||
| 948 | | 948 | ||
| 0x3B4 | | 0x3B4 | ||
| | |||
| | |||
| sys_dbg_get_kernel_thread_list | | sys_dbg_get_kernel_thread_list | ||
| | | | ||
Line 3,481: | Line 4,650: | ||
| 949 | | 949 | ||
| 0x3B5 | | 0x3B5 | ||
| | |||
| | |||
| sys_dbg_get_kernel_thread_info | | sys_dbg_get_kernel_thread_info | ||
| | | | ||
Line 3,486: | Line 4,657: | ||
| 950 | | 950 | ||
| 0x3B6 | | 0x3B6 | ||
| | |||
| | |||
| sys_dbg_get_lwcond_list | | sys_dbg_get_lwcond_list | ||
| | | | ||
Line 3,491: | Line 4,664: | ||
| 951 | | 951 | ||
| 0x3B7 | | 0x3B7 | ||
| | |||
| | |||
| | | | ||
| | | | ||
Line 3,496: | Line 4,671: | ||
| 952 | | 952 | ||
| 0x3B8 | | 0x3B8 | ||
| | |||
| | |||
| sys_dbg_create_scratch_data_area_ext | | sys_dbg_create_scratch_data_area_ext | ||
| | | | ||
Line 3,501: | Line 4,678: | ||
| 954 | | 954 | ||
| 0x3BA | | 0x3BA | ||
| | |||
| | |||
| sys_dbg_vm_get_info | | sys_dbg_vm_get_info | ||
| | | | ||
Line 3,506: | Line 4,685: | ||
| 957 | | 957 | ||
| 0x3BD | | 0x3BD | ||
| | |||
| | |||
| | | | ||
| | | | ||
Line 3,511: | Line 4,692: | ||
| 959 | | 959 | ||
| 0x3BF | | 0x3BF | ||
| | |||
| | |||
| | | | ||
| | | | ||
Line 3,516: | Line 4,699: | ||
| 970 | | 970 | ||
| 0x3CA | | 0x3CA | ||
| | |||
| | |||
| sys_dbg_get_event_flag_list | | sys_dbg_get_event_flag_list | ||
| | | | ||
Line 3,521: | Line 4,706: | ||
| 971 | | 971 | ||
| 0x3CB | | 0x3CB | ||
| | |||
| | |||
| | | | ||
| | | | ||
Line 3,526: | Line 4,713: | ||
| 972 | | 972 | ||
| 0x3CC | | 0x3CC | ||
| | |||
| | |||
| | | | ||
| | | | ||
Line 3,531: | Line 4,720: | ||
| 974 | | 974 | ||
| 0x3CE | | 0x3CE | ||
| | |||
| | |||
| | | | ||
| | | | ||
Line 3,536: | Line 4,727: | ||
| 975 | | 975 | ||
| 0x3CF | | 0x3CF | ||
| | |||
| | |||
| | | | ||
| | | | ||
Line 3,541: | Line 4,734: | ||
| 976 | | 976 | ||
| 0x3D0 | | 0x3D0 | ||
| | |||
| | |||
| | | | ||
| | | | ||
Line 3,546: | Line 4,741: | ||
| 977 | | 977 | ||
| 0x3D1 | | 0x3D1 | ||
| | |||
| | |||
| | | | ||
| | | | ||
Line 3,551: | Line 4,748: | ||
| 978 | | 978 | ||
| 0x3D2 | | 0x3D2 | ||
| | |||
| | |||
| | | | ||
| | | | ||
Line 3,556: | Line 4,755: | ||
| 979 | | 979 | ||
| 0x3D3 | | 0x3D3 | ||
| | |||
| | |||
| | | | ||
| | | | ||
Line 3,561: | Line 4,762: | ||
| 980 | | 980 | ||
| 0x3D4 | | 0x3D4 | ||
| | |||
| | |||
| | | | ||
| | | | ||
Line 3,566: | Line 4,769: | ||
| 981 | | 981 | ||
| 0x3D5 | | 0x3D5 | ||
| | |||
| | |||
| | | | ||
| | | | ||
Line 3,571: | Line 4,776: | ||
| 982 | | 982 | ||
| 0x3D6 | | 0x3D6 | ||
| | |||
| | |||
| | | | ||
| | | | ||
Line 3,576: | Line 4,783: | ||
| 983 | | 983 | ||
| 0x3D7 | | 0x3D7 | ||
| | |||
| | |||
| | | | ||
| | | | ||
Line 3,581: | Line 4,790: | ||
| 984 | | 984 | ||
| 0x3D8 | | 0x3D8 | ||
| | |||
| | |||
| | | | ||
| seems to return max. 0x10 Randombytes, 2Params: buffer,rand_amount you want | | seems to return max. 0x10 Randombytes, 2Params: buffer,rand_amount you want | ||
Line 3,586: | Line 4,797: | ||
| 985 | | 985 | ||
| 0x3D9 | | 0x3D9 | ||
| | |||
| | |||
| | | | ||
| seems to return Console Type, syscall(985,out_buffer,0,0), return values:2=DEX,3=TOOL,1=CEX | | seems to return Console Type, syscall(985,out_buffer,0,0), return values:2=DEX,3=TOOL,1=CEX | ||
Line 3,591: | Line 4,804: | ||
| 986 | | 986 | ||
| 0x3DA | | 0x3DA | ||
| | |||
| | |||
| | | | ||
| seems to return Game Application Title ID , syscall(986,out_buffer) | | seems to return Game Application Title ID , syscall(986,out_buffer) | ||
Line 3,596: | Line 4,811: | ||
| 987 | | 987 | ||
| 0x3DB | | 0x3DB | ||
| | |||
| | |||
| | | | ||
| smth related? to vsh.self, syscall(987,0 or 1, ??) | | smth related? to vsh.self, syscall(987,0 or 1, ??) | ||
Line 3,601: | Line 4,818: | ||
| 988 | | 988 | ||
| 0x3DC | | 0x3DC | ||
| | |||
| | |||
| | | | ||
| 2 Params: syscall(988,1 or 4 or 8 or 0x10,0) | | 2 Params: syscall(988,1 or 4 or 8 or 0x10,0) | ||
Line 3,606: | Line 4,825: | ||
| 989 | | 989 | ||
| 0x3DD | | 0x3DD | ||
| | |||
| | |||
| | | | ||
| | | |
Revision as of 03:50, 14 July 2012
Functions
string.h
Function | Notes | Offset in 3.55 | Offset in 3.41 | Offset in 3.15 | Offset in 3.10 | Offset in 3.01 | Offset in 2.76 |
---|---|---|---|---|---|---|---|
char *strcpy(char *dest, const char *src) | 0x4E684 | 0x4D2F0 | 0x4CDAC | 0X4CDA8 | 0x4AAC4 | 0x469B8 | |
int strlen(char *str) | 0x4E6AC | 0x4D318 | 0X4CDD4 | 0X4CDD0 | 0x4AAEC | 0x469E0 | |
char *strcat(char *destination, const char *source) | 0x4E5B4 | 0x4D220 | 0x4CCDC | ||||
char *strchr(const char* str, char chr) | 0x4E5EC | 0x4D258 | 0x4CD14 | ||||
char *strrchr(const char* str, char chr) | 0x4CEE4 | ||||||
int strcmp(const char *s1, const char *s2) | 0x4E630 | 0x4D29C | 0x4CD58 | ||||
int strncmp(const char *s1, const char *s2, size_t n) | 0x4E6D8 | 0x4D344 | 0X4CE00 | 0X4CDFC | 0x4AB18 | 0x46A0C | |
char *strncpy(char *destination, const char *source, size_t num) | 0x4E74C | 0x4D3B8 | 0x4CE74 | ||||
int memcmp(void *v1, void *v2, size_t n) | 0x4D7E8 | 0x4C454 | 0x4BF10 | ||||
void *memchr(void *s, int c, size_t n) | 0x4BEC0 | ||||||
void *memcpy(void *dest, const void *src, size_t n) | 0x7C3A4 | 0x7C01C | 0X7BE9C | 0X7BE98 | 0x77E84 | 0x7395C | |
void *memset(void *s, int c, size_t n) | 0x4E4D8 | 0x4D144 | 0X4CC00 | 0X4CBFC | 0x4A95C | 0x46850 |
stdio.h
Function | Notes | Offset in 3.55 | Offset in 3.41 | Offset in 3.15 |
---|---|---|---|---|
int snprintf(char *str, size_t size, char *format, ...) | 0x4F86C | 0x4E4D8 | 0x4DF94 | |
int sprintf(char *str, char *format, ...) | 0x4F900 | 0x4E56C | 0x4E028 | |
int printf(char *format, ...) | This prints to the serial debug console. | 0x29285C | 0x28A654 | 0x28A11C |
lv2
Function | Notes | Offset in 3.55 | Offset in 3.41 | Offset in 3.15 | Offset in 3.10 | Offset in 3.01 | Offset in 2.76 |
---|---|---|---|---|---|---|---|
void* alloc(size_t size, int unk) | unk is possibly pool? PSGroove uses 0x27. | 0x60b78 | 0x62088 | 0x61CF0 | 0x61CEC | 0x5DF4C | 0x59D54 |
void dealloc(void* ptr, int unk) | unk is possibly pool? Should be the same value of unk given to alloc. | 0x60fb4 | 0x624C8 | 0x62138 | 0x62134 | 0x5E38C | 0x5A194 |
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. | 0x287D50 | 0x287858 | ||||
void Panic(int unk) | 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) |
0x288568 | 0x288070 | ||||
USBGetDeviceDescriptor | USB function | 0xd2998 | 0xd3474 | 0xCCD2C | |||
USBOpenEndpoint | 0xd29c4 | 0xd34ac | 0xCCD58 | ||||
USBControlTransfer | 0xd292c | 0xd3408 | 0xCCCC0 | ||||
USBRegisterDriver | 0xd22d8 | 0xd2978 | 0xCC6A0 |
Lv2 System Table Offset
FW version | Alloc | Free | Syscall Table |
Mem_base | TOC | Copy to User |
Notes |
---|---|---|---|---|---|---|---|
3.56 Retail | 0x60b24 | 0x60f60 | 0x346570 | 0xef60 | 0x330540 | ||
3.55 Retail | 0x60b78 | 0x60fb4 | 0x346570 | 0x0ef48 | 0x330540 | 0xf6a4 | |
3.55 DEX | 0x64464 | 0x648a0 | 0x361578 | 0xf590 | 0x34ac80 | 0xfcec | |
3.50 Retail | |||||||
3.42 Retail | |||||||
3.41 Retail | 0x62088 | 0x624c8 | 0x2eb128 | 0x50b3c | 0x33e720 | 0xe050 | |
3.41 DEX | 0x65974 | 0x65db4 | 0x303130 | 0x54400 | 0x359320 | 0xe698 | |
3.41 KIOSK | 0x62084 | 0x624c4 | 0x2eb128 | 0x50b3c | |||
3.40 Retail | 0x62084 | 0x624c4 | 0x2eb128 | 0x50b38 | |||
3.30 Retail | 0x62080 | 0x624c0 | 0x2ea728 | 0xe04c | |||
3.21 Retail | 0x61cf0 | 0x62138 | 0x2ea8a0 | 0xe0fc | |||
3.15 Retail | 0x61cf0 | 0x62138 | 0x2ea820 | 0x50608 | 0x33da10 | 0xe0fc | |
3.15 DEX | 0x65704 | 0x65b4c | 0x302828 | 0x53ff4 | 0x3585f0 | 0xe748 | |
3.10 Retail | 0x61cec | 0x62134 | 0x2ea820 | ||||
3.01 Retail | 0x5df4c | 0x5e38c | 0x2cfb40 | ||||
3.00 Retail | |||||||
2.85 Retail | 0x5daf4 | 0x5df34 | 0x2cbec0 | ||||
2.80 Retail | |||||||
2.76 Retail | 0x59d54 | 0x5a194 | 0x2c4318 | 0xe198 | |||
2.70 Retail | 0x59d50 | 0x5a190 | 0x2c4318 | 0xe194 | |||
2.60 Retail | 0x59040 | 0x5944c | 0x2b67c0 | 0xdfdc | |||
2.53 Retail | 0x5903c | 0x59448 | 0x2b5bb8 | 0xdfe0 | |||
2.43 Retail | 0x6c2e0 | 0x6c708 | 0x2d2b18 | 0x1e0e0 | |||
2.43 JIG | 0x31ddb0 | 0x371400 | |||||
2.42 DEX | 0x2ed980 | ||||||
1.92 TOOL | 0x361e40 | ||||||
1.60 TOOL | 0x36c880 | ||||||
1.02 Retail | 0x322428 | ||||||
1.00 DEX | 0x3206e0 |
Syscalls
LV2 Syscalls
Dec | Hex | fw type | + | Name | Notes | |
---|---|---|---|---|---|---|
#sys_process Syscalls (1-31) | ||||||
1 | 0x001 | sys_process_getpid | sys_pid_t sys_process_getpid(void); | |||
2 | 0x002 | sys_process_wait_for_child | 3 params | |||
3 | 0x003 | sys_process_? | 1 param = "cellProcessElf" | |||
4 | 0x004 | sys_process_get_status | 1 param | |||
5 | 0x005 | sys_process_detach_child | 1 param | |||
6 | 0x006 | sys_process_create_program_segment | ||||
12 | 0x00B | sys_process_get_number_of_object | int sys_process_get_number_of_object(uint32_t object, size_t * nump); | |||
13 | 0x00C | sys_process_get_id | int sys_process_get_id(uint32_t object, uint32_t * buff, size_t size, size_t * set_size); | |||
14 | 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 | 0x012 | sys_process_getppid | sys_pid_t sys_process_getppid(void); | |||
19 | 0x013 | sys_process_kill | int sys_process_kill(sys_pid_t pid); | |||
21 | 0x015 | CreateSystemSoftwareProcess | 7 param | |||
22 | 0x016 | sys_process_exit | void sys_process_exit(int error_code,0,0) | |||
23 | 0x017 | sys_process_wait_for_child2 | 6 params | |||
24 | 0x018 | 8 params | ||||
25 | 0x019 | sys_process_get_sdk_version | 2 params :sys_pid_t pid, *outbuf? | |||
26 | 0x01A | 3 params (calls syscall 22) | ||||
27 | 0x01B | 8 params | ||||
28 | 0x01C | 1 params | ||||
29 | 0x01D | 4 params | ||||
30 | 0x01E | sys_process_get_paramsfo | 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 | 0x01F | sys_process_get_ppu_guid | sys_addr_t sys_process_get_ppu_guid(void); | |||
41 | 0x029 | 1 param: Error-Code | ||||
#sys_ppu_thread Syscalls (43-58) | ||||||
43 | 0x02B | sys_ppu_thread_yield | void sys_ppu_thread_yield(void); | |||
44 | 0x02C | sys_ppu_thread_join | int sys_ppu_thread_join(sys_ppu_thread_t thread_id, uint64_t * vptr); | |||
45 | 0x02D | sys_ppu_thread_detach | int sys_ppu_thread_detach(sys_ppu_thread_t thread_id); | |||
46 | 0x02E | sys_ppu_thread_get_join_state | void sys_ppu_thread_get_join_state(int *isjoinable); | |||
47 | 0x02F | sys_ppu_thread_set_priority | int sys_ppu_thread_set_priority(sys_ppu_thread_t thread_id, int prio); | |||
48 | 0x030 | sys_ppu_thread_get_priority | int sys_ppu_thread_get_priority(sys_ppu_thread_t thread_id, int *prio); | |||
49 | 0x031 | sys_ppu_thread_get_stack_information | int sys_ppu_thread_get_stack_information(sys_ppu_thread_stack_t * info); | |||
50 | 0x032 | |||||
51 | 0x033 | |||||
52 | 0x034 | |||||
53 | 0x035 | |||||
54 | 0x036 | |||||
55 | 0x037 | |||||
56 | 0x038 | sys_ppu_thread_rename | int sys_ppu_thread_rename(sys_ppu_thread_t thread_id, const char *name); | |||
57 | 0x039 | sys_ppu_thread_recover_page_fault | int sys_ppu_thread_recover_page_fault(sys_ppu_thread_t thread_id); | |||
58 | 0x03A | 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); | |||
#sys_trace Syscalls (67-69+77) | ||||||
60 | 0x03C | sys_trace_create | ||||
64 | 0x040 | syscall_sys_trace_destroy | ||||
67 | 0x043 | sys_trace_allocate_buffer | ||||
68 | 0x044 | sys_trace_free_buffer | ||||
69 | 0x045 | sys_trace_create2 | ||||
#sys_timer Syscalls (70-76+141+142) | ||||||
70 | 0x046 | sys_timer_create | int sys_timer_create(sys_timer_t * timer_id); | |||
71 | 0x047 | sys_timer_destroy | int sys_timer_destroy(sys_timer_t timer_id); | |||
72 | 0x048 | sys_timer_get_information | int sys_timer_get_information(sys_timer_t timer_id, sys_timer_information_t * info); | |||
73 | 0x049 | sys_timer_start | int sys_timer_start(sys_timer_t timer_id, system_time_t base_time, usecond_t period); | |||
74 | 0x04A | sys_timer_stop | int sys_timer_stop(sys_timer_t timer_id); | |||
75 | 0x04B | sys_timer_connect_event_queue | int sys_timer_connect_event_queue(sys_timer_t timer_id, sys_event_queue_t queue_id, uint64_t name, uint64_t data1, uint64_t data2); | |||
76 | 0x04C | sys_timer_disconnect_event_queue | int sys_timer_disconnect_event_queue(sys_timer_t timer_id); | |||
#sys_trace Syscalls (67-69+77) | ||||||
77 | 0x04D | sys_trace_create2_in_cbepm | ||||
#sys_interrupt Syscalls (80+81+84+88+89) | ||||||
80 | 0x050 | sys_interrupt_tag_create | int sys_interrupt_tag_create(sys_interrupt_tag_t * intrtag, sys_irqoutlet_id_t irq, sys_hw_thread_t hwthread); | |||
81 | 0x051 | sys_interrupt_tag_destroy | int sys_interrupt_tag_destroy(sys_interrupt_tag_t intrtag); | |||
#sys_event Syscalls (82+83+85-87+118+128-140) | ||||||
82 | 0x052 | sys_event_flag_create | int sys_event_flag_create(sys_event_flag_t * id, sys_event_flag_attribute_t * attr, uint64_t init); | |||
83 | 0x053 | sys_event_flag_destroy | int sys_event_flag_destroy(sys_event_flag_t id); | |||
#sys_interrupt Syscalls (80+81+84+88+89) | ||||||
84 | 0x054 | sys_interrupt_thread_establish | int sys_interrupt_thread_establish(sys_interrupt_thread_handle_t * ih, sys_interrupt_tag_t intrtag, uint64_t intrthread, uint64_t arg1, uint64_t arg2); | |||
#sys_event Syscalls (82+83+85-87+118+128-140) | ||||||
85 | 0x055 | sys_event_flag_wait | int sys_event_flag_wait(sys_event_flag_t id, uint64_t bitptn, uint32_t mode, uint64_t * result, usecond_t timeout); | |||
86 | 0x056 | sys_event_flag_trywait | int sys_event_flag_trywait(sys_event_flag_t id, uint64_t bitptn, uint32_t mode, uint64_t * result); | |||
87 | 0x057 | sys_event_flag_set | int sys_event_flag_set(sys_event_flag_t id, uint64_t bitptn); | |||
#sys_interrupt Syscalls (80+81+84+88+89) | ||||||
88 | 0x058 | sys_interrupt_thread_eoi | void sys_interrupt_thread_eoi(void); | |||
89 | 0x059 | sys_interrupt_thread_disestablish | int sys_interrupt_thread_disestablish(sys_interrupt_thread_handle_t ih); | |||
#sys_semaphore Syscalls (90-94+114) | ||||||
90 | 0x05A | sys_semaphore_create | int sys_semaphore_create(sys_semaphore_t * sem, sys_semaphore_attribute_t * attr, sys_semaphore_value_t initial_val, sys_semaphore_value_t max_val); | |||
91 | 0x05B | sys_semaphore_destroy | int sys_semaphore_destroy(sys_semaphore_t sem); | |||
92 | 0x05C | sys_semaphore_wait | int sys_semaphore_wait(sys_semaphore_t sem, usecond_t timeout); | |||
93 | 0x05D | sys_semaphore_trywait | int sys_semaphore_trywait(sys_semaphore_t sem); | |||
94 | 0x05E | sys_semaphore_post | int sys_semaphore_post(sys_semaphore_t sem, sys_semaphore_value_t val); | |||
#sys_lwmutex Syscalls (95-99) | ||||||
95 | 0x05F | sys_lwmutex_create | int sys_lwmutex_create(sys_lwmutex_t *lwmutex, sys_lwmutex_attribute_t *attr) | |||
96 | 0x060 | sys_lwmutex_destroy | int sys_lwmutex_destroy(sys_lwmutex_t *lwmutex) | |||
97 | 0x061 | sys_lwmutex_lock | int sys_lwmutex_lock(sys_lwmutex_t *lwmutex, usecond_t timeout) | |||
98 | 0x062 | sys_lwmutex_trylock | int sys_lwmutex_trylock(sys_lwmutex_t *lwmutex) | |||
99 | 0x063 | sys_lwmutex_unlock | int sys_lwmutex_unlock(sys_lwmutex_t *lwmutex) | |||
#sys_mutex Syscalls (100-104) | ||||||
100 | 0x064 | sys_mutex_create | int sys_mutex_create(sys_mutex_t * mutex_id, sys_mutex_attribute_t * attr); | |||
101 | 0x065 | sys_mutex_destroy | int sys_mutex_destroy(sys_mutex_t mutex_id); | |||
102 | 0x066 | sys_mutex_lock | int sys_mutex_lock(sys_mutex_t mutex_id, usecond_t timeout); | |||
103 | 0x067 | sys_mutex_trylock | int sys_mutex_trylock(sys_mutex_t mutex_id); | |||
104 | 0x068 | sys_mutex_unlock | int sys_mutex_unlock(sys_mutex_t mutex_id); | |||
#sys_cond Syscalls (105-110) | ||||||
105 | 0x069 | sys_cond_create | int sys_cond_create(sys_cond_t * cond_id, sys_mutex_t mutex_id, sys_cond_attribute_t * attr); | |||
106 | 0x06A | sys_cond_destroy | int sys_cond_destroy(sys_cond_t cond_id); | |||
107 | 0x06B | sys_cond_wait | int sys_cond_wait(sys_cond_t cond_id, usecond_t timeout); | |||
108 | 0x06C | sys_cond_signal | int sys_cond_signal(sys_cond_t cond_id); | |||
109 | 0x06D | sys_cond_signal_all | int sys_cond_signal_all(sys_cond_t cond_id); | |||
110 | 0x06E | sys_cond_signal_to | int sys_cond_signal_to(sys_cond_t cond_id, sys_ppu_thread_t thread); | |||
#sys_lwcond Syscalls (111+112) | ||||||
111 | 0x06F | sys_lwcond_create | int sys_lwcond_create(sys_lwcond_t *lwcond, sys_lwmutex_t *lwmutex, sys_lwcond_attribute_t *attr) | |||
112 | 0x070 | sys_lwcond_destroy | int sys_lwcond_destroy(sys_lwcond_t *lwcond) | |||
113 | 0x071 | sys_lwcond_queue_wait | 3 params | |||
#sys_semaphore Syscalls (90-94+114) | ||||||
114 | 0x072 | sys_semaphore_get_value | int sys_semaphore_get_value(sys_semaphore_t sem, sys_semaphore_value_t * val); | |||
115 | 0x073 | 4 params | ||||
116 | 0x074 | 3 params | ||||
117 | 0x075 | 1 params : sys_lwmutex_t *lwmutex | ||||
#sys_event Syscalls (82+83+85-87+118+128-140) | ||||||
118 | 0x076 | sys_event_flag_clear | int sys_event_flag_clear(sys_event_flag_t id, uint64_t bitptn); | |||
119 | 0x077 | 1 Param | ||||
#sys_rwlock Syscalls (120-127+148) | ||||||
120 | 0x078 | sys_rwlock_create | int sys_rwlock_create(sys_rwlock_t * rw_lock_id, sys_rwlock_attribute_t * attr); | |||
121 | 0x079 | sys_rwlock_destroy | int sys_rwlock_destroy(sys_rwlock_t rw_lock_id); | |||
122 | 0x07A | sys_rwlock_rlock | int sys_rwlock_rlock(sys_rwlock_t rw_lock_id, usecond_t timeout); | |||
123 | 0x07B | sys_rwlock_tryrlock | int sys_rwlock_tryrlock(sys_rwlock_t rw_lock_id); | |||
124 | 0x07C | sys_rwlock_runlock | int sys_rwlock_runlock(sys_rwlock_t rw_lock_id); | |||
125 | 0x07D | sys_rwlock_wlock | int sys_rwlock_wlock(sys_rwlock_t rw_lock_id, usecond_t timeout); | |||
126 | 0x07E | sys_rwlock_trywlock | int sys_rwlock_trywlock(sys_rwlock_t rw_lock_id); | |||
127 | 0x07F | sys_rwlock_wunlock | int sys_rwlock_wunlock(sys_rwlock_t rw_lock_id); | |||
#sys_event Syscalls (82+83+85-87+118+128-140) | ||||||
128 | 0x080 | sys_event_queue_create | int sys_event_queue_create(sys_event_queue_t * equeue_id, sys_event_queue_attribute_t * attr, sys_ipc_key_t event_queue_key, int size); | |||
129 | 0x081 | sys_event_queue_destroy | int sys_event_queue_destroy(sys_event_queue_t equeue_id, int mode); | |||
130 | 0x082 | sys_event_queue_receive | int sys_event_queue_receive(sys_event_queue_t equeue_id, sys_event_t * event, usecond_t timeout); | |||
131 | 0x083 | sys_event_queue_tryreceive | int sys_event_queue_tryreceive(sys_event_queue_t equeue_id, sys_event_t * event_array, int size, int *number); | |||
132 | 0x084 | sys_event_flag_cancel | int sys_event_flag_cancel(sys_event_flag_t id, int *num); | |||
133 | 0x085 | sys_event_queue_drain | int sys_event_queue_drain(sys_event_queue_t equeue_id); | |||
134 | 0x086 | sys_event_port_create | int sys_event_port_create(sys_event_port_t * eport_id, int port_type, uint64_t name); | |||
135 | 0x087 | sys_event_port_destroy | int sys_event_port_destroy(sys_event_port_t eport_id); | |||
136 | 0x088 | sys_event_port_connect_local | int sys_event_port_connect_local(sys_event_port_t event_port_id, sys_event_queue_t event_queue_id); | |||
137 | 0x089 | sys_event_port_disconnect | int sys_event_port_disconnect(sys_event_port_t event_port_id); | |||
138 | 0x08A | sys_event_port_send | int sys_event_port_send(sys_event_port_t eport_id, unint64_t data1, uint64_t data2, uint64_t data3); | |||
139 | 0x08B | sys_event_flag_get | int sys_event_flag_get(sys_event_flag_t id, uint64_t * bitptn); | |||
140 | 0x08C | sys_event_port_connect_ipc | int sys_event_port_connect_ipc(sys_event_port_t eport_id, ??); | |||
#sys_timer Syscalls (70-76+141+142) | ||||||
141 | 0x08D | sys_timer_usleep | int sys_timer_usleep(usecond_t sleep_time); | |||
142 | 0x08E | sys_timer_sleep | int sys_timer_sleep(second_t sleep_time); | |||
143 | 0x08F | 2 Params | ||||
144 | 0x090 | 2 Params | ||||
#sys_time Syscalls (145-147) | ||||||
145 | 0x091 | sys_time_get_current_time | int sys_time_get_current_time(sys_time_sec_t * sec, sys_time_nsec_t * nsec); | |||
146 | 0x092 | sys_time_get_system_time | system_time_t sys_time_get_system_time(void) | |||
147 | 0x093 | sys_time_get_timebase_frequency | uint64_t sys_time_get_timebase_frequency(void); | |||
#sys_rwlock Syscalls (120-127+148) | ||||||
148 | 0x094 | sys_rwlock_trywlock | int sys_rwlock_trywlock(sys_rwlock_t rw_lock_id); | |||
#sys_spu/sys_raw_spu Syscalls (150-260) | ||||||
150 | 0x096 | sys_raw_spu_create_interrupt_tag | int sys_raw_spu_create_interrupt_tag(sys_raw_spu_t id,sys_class_id_t class_id, sys_hw_thread_t hwthread, sys_interrupt_tag_t *intrtag) | |||
151 | 0x097 | sys_raw_spu_set_int_mask | int sys_raw_spu_set_int_mask(sys_raw_spu_t id, sys_class_id_t class_id, uint64_t mask) | |||
152 | 0x098 | sys_raw_spu_get_int_mask | int sys_raw_spu_get_int_mask(sys_raw_spu_t id, sys_class_id_t class_id, uint64_t *mask) | |||
153 | 0x099 | sys_raw_spu_set_int_stat | int sys_raw_spu_set_int_stat(sys_raw_spu_t id, sys_class_id_t class_id, uint64_t stat) | |||
154 | 0x09A | 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) | |||
156 | 0x09C | sys_spu_image_open | int sys_spu_image_open(sys_spu_image_t *img, const char *path) | |||
157 | 0x09D | sys_spu_image_import | int sys_spu_image_import(sys_spu_image_t *img, const void *src, uint32_t type) | |||
158 | 0x09E | sys_spu_image_close | int sys_spu_image_close(sys_spu_image_t *img); | |||
159 | 0x09F | 3 Params | ||||
160 | 0x0A0 | sys_raw_spu_create | int sys_raw_spu_create(sys_raw_spu_t *id, sys_raw_spu_attribute_t *attr) | |||
161 | 0x0A1 | sys_raw_spu_destroy | int sys_raw_spu_destroy(sys_raw_spu_t id) | |||
163 | 0x0A3 | sys_raw_spu_read_puint_mb | int sys_raw_spu_read_puint_mb(sys_raw_spu_t id, uint32_t *value) | |||
165 | 0x0A5 | sys_spu_thread_get_exit_status | int sys_spu_thread_get_exit_status(sys_spu_thread_t id, int *status) | |||
166 | 0x0A6 | sys_spu_thread_set_argument | int sys_spu_thread_set_argument(sys_spu_thread_t id, sys_spu_thread_argument_t *arg) | |||
167 | 0x0A7 | sys_spu_thread_group_start_on_exit | ||||
169 | 0x0A9 | sys_spu_initialize | int sys_spu_initialize(unsigned int max_usable_spu, unsigned int max_raw_spu) | |||
170 | 0x0AA | sys_spu_thread_group_create | 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 | 0x0AB | sys_spu_thread_group_destroy | int sys_spu_thread_group_destroy(sys_spu_thread_group_t id) | |||
172 | 0x0AC | sys_spu_thread_initialize | 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 | 0x0AD | sys_spu_thread_group_start | int sys_spu_thread_group_start(sys_spu_thread_group_t id) | |||
174 | 0x0AE | sys_spu_thread_group_suspend | int sys_spu_thread_group_suspend(sys_spu_thread_group_t id) | |||
175 | 0x0AF | sys_spu_thread_group_resume | int sys_spu_thread_group_resume(sys_spu_thread_group_t id) | |||
176 | 0x0B0 | sys_spu_thread_group_yield | int sys_spu_thread_group_yield(sys_spu_thread_group_t id) | |||
177 | 0x0B1 | sys_spu_thread_group_terminate | int sys_spu_thread_group_terminate(sys_spu_thread_group_t id, int value) | |||
178 | 0x0B2 | sys_spu_thread_group_join | int sys_spu_thread_group_join(sys_spu_thread_group_t gid, int *cause, int *status) | |||
179 | 0x0B3 | sys_spu_thread_group_set_priority | int sys_spu_thread_group_set_priority(sys_spu_thread_group_t id, int priority) | |||
180 | 0x0B4 | sys_spu_thread_group_get_priority | int sys_spu_thread_group_get_priority(sys_spu_thread_group_t id, int *priority) | |||
181 | 0x0B5 | sys_spu_thread_write_ls | int sys_spu_thread_write_ls(sys_spu_thread_t id, uint32_t address, uint64_t value, size_t type) | |||
182 | 0x0B6 | 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) | |||
184 | 0x0B8 | sys_spu_thread_write_snr | int sys_spu_thread_write_snr(sys_spu_thread_t id, int number, uint32_t value) | |||
185 | 0x0B9 | sys_spu_thread_group_connect_event | int sys_spu_thread_group_connect_event(sys_spu_thread_group_t id, sys_event_queue_t eq, sys_event_type_t et) | |||
186 | 0x0BA | sys_spu_thread_group_disconnect_event | int sys_spu_thread_group_disconnect_event(sys_spu_thread_group_t id, sys_event_type_t et) | |||
187 | 0x0BB | sys_spu_thread_set_spu_cfg | int sys_spu_thread_set_spu_cfg(sys_spu_thread_t id, uint64_t value) | |||
188 | 0x0BC | sys_spu_thread_get_spu_cfg | int sys_spu_thread_get_spu_cfg(sys_spu_thread_t id, uint64_t *value) | |||
190 | 0x0BE | sys_spu_thread_write_spu_mb | int sys_spu_thread_write_spu_mb(sys_spu_thread_t id, uint32_t value); | |||
191 | 0x0BF | sys_spu_thread_connect_event | int sys_spu_thread_connect_event(sys_spu_thread_t id, sys_event_queue_t eq, sys_event_type_t et, uint8_t spup) | |||
192 | 0x0C0 | sys_spu_thread_disconnect_event | int sys_spu_thread_disconnect_event(sys_spu_thread_t id, sys_event_type_t et, uint8_t spup) | |||
193 | 0x0C1 | sys_spu_thread_bind_queue | int sys_spu_thread_bind_queue(sys_spu_thread_t id,sys_event_queue_t spuq,uint32_t spuq_num) | |||
194 | 0x0C2 | sys_spu_thread_unbind_queue | int sys_spu_thread_unbind_queue(sys_spu_thread_t id, uint32_t spuq_num) | |||
196 | 0x0C4 | sys_raw_spu_set_spu_cfg | int sys_raw_spu_set_spu_cfg(sys_raw_spu_t id, uint32_t value) | |||
197 | 0x0C5 | sys_raw_spu_get_spu_cfg | int sys_raw_spu_get_spu_cfg(sys_raw_spu_t id, uint32_t *value) | |||
198 | 0x0C6 | sys_spu_thread_recover_page_fault | int sys_spu_thread_recover_page_fault(sys_spu_thread_t id) | |||
199 | 0x0C7 | sys_raw_spu_recover_page_fault | int sys_raw_spu_recover_page_fault(sys_raw_spu_t id) | |||
230 | 0x0E6 | 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 | sys_isoself_spu_destroy | int sys_isoself_spu_destroy(sys_raw_spu_t id) | |||
232 | 0x0E8 | sys_isoself_spu_start | int sys_isoself_spu_start(sys_raw_spu_t id) | |||
233 | 0x0E9 | 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 | 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 | 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 | 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 | 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 | 2 Params | ||||
239 | 0x0EF | 2 Params | ||||
240 | 0x0F0 | sys_isoself_spu_read_puint_mb | int sys_isoself_spu_read_puint_mb(sys_raw_spu_t id, uint32_t * value) | |||
244 | 0x0F4 | sys_spu_thread_group_system_set_next_group | int sys_spu_thread_group_system_set_next_group(void) | |||
245 | 0x0F5 | sys_spu_thread_group_system_unset_next_group | int sys_spu_thread_group_system_unset_next_group(void) | |||
246 | 0x0F6 | sys_spu_thread_group_system_set_switch_group | int sys_spu_thread_group_system_set_switch_group(void) | |||
247 | 0x0F7 | sys_spu_thread_group_system_unset_switch_group | int sys_spu_thread_group_system_unset_switch_group(void) | |||
248 | 0x0F8 | 5 Params | ||||
249 | 0x0F9 | 1 Param | ||||
250 | 0x0FA | sys_spu_thread_group_set_cooperative_victims | 2 Params | |||
251 | 0x0FB | sys_spu_thread_group_connect_event_all_threads | 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 | 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 | 2 Params | ||||
254 | 0x0FE | sys_spu_thread_group_log | int sys_spu_thread_group_log(int command, int *stat) | |||
260 | 0x104 | sys_spu_image_open_by_fd | int sys_spu_image_open_by_fd(sys_spu_image_t *img, int fd, off64_t offset) | |||
#sys_vm/sys_memory/sys_mmapper Syscalls (300-352) | ||||||
300 | 0x12C | sys_vm_memory_map | 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 | sys_vm_unmap | int sys_vm_unmap(sys_addr_t addr); | |||
302 | 0x12E | sys_vm_append_memory | int sys_vm_append_memory(sys_addr_t addr, size_t size); | |||
303 | 0x12F | sys_vm_return_memory | int sys_vm_return_memory(sys_addr_t addr, size_t size); | |||
304 | 0x130 | sys_vm_lock | int sys_vm_lock(sys_addr_t addr, size_t size); | |||
305 | 0x131 | sys_vm_unlock | int sys_vm_unlock(sys_addr_t addr, size_t size); | |||
306 | 0x132 | sys_vm_touch | int sys_vm_touch(sys_addr_t addr, size_t size); | |||
307 | 0x133 | sys_vm_flush | int sys_vm_flush(sys_addr_t addr, size_t size); | |||
308 | 0x134 | sys_vm_invalidate | int sys_vm_invalidate(sys_addr_t addr, size_t size); | |||
309 | 0x135 | sys_vm_store | int sys_vm_store(sys_addr_t addr, size_t size); | |||
310 | 0x136 | sys_vm_sync | int sys_vm_sync(sys_addr_t addr, size_t size); | |||
311 | 0x137 | sys_vm_test | int sys_vm_test(sys_addr_t addr, size_t size, uint64_t * result); | |||
312 | 0x138 | sys_vm_get_statistics | int sys_vm_get_statistics(sys_addr_t addr, sys_vm_statistics_t * stat); | |||
313 | 0x139 | 6 Params | ||||
314 | 0x13A | 2 Params | ||||
315 | 0x13B | 1 Param | ||||
324 | 0x144 | sys_memory_container_create | int sys_memory_container_create(sys_memory_container_t * cid, size_t yield_size); | |||
325 | 0x145 | sys_memory_container_destroy | int sys_memory_container_destroy(sys_memory_container_t cid); | |||
326 | 0x146 | sys_mmapper_allocate_fixed_address | int sys_mmapper_allocate_fixed_address(void); | |||
327 | 0x147 | sys_mmapper_enable_page_fault_notification | int sys_mmapper_enable_page_fault_notification(sys_addr_t start_addr, sys_event_queue_t queue_id); | |||
328 | 0x148 | 7 Params | ||||
329 | 0x149 | sys_mmapper_free_shared_memory | int sys_mmapper_free_shared_memory(sys_addr_t start_addr); | |||
330 | 0x14A | sys_mmapper_allocate_address | int sys_mmapper_allocate_address(size_t size, uint64_t flags, size_t alignment, sys_addr_t * alloc_addr); | |||
331 | 0x14B | sys_mmapper_free_address | int sys_mmapper_free_address(sys_addr_t start_addr); | |||
332 | 0x14C | sys_mmapper_allocate_shared_memory | 4 Params: (size_t size, uint64_t flags, size_t alignment, sys_addr_t * alloc_addr) ? | |||
333 | 0x14D | sys_mmapper_set_shared_memory_flag | int sys_mmapper_set_shared_memory_flag(sys_addr_t, flags) ?; | |||
334 | 0x14E | sys_mmapper_map_shared_memory | 3 Params: (sys_addr_t start_addr, sys_memory_t mem_id, uint64_t flags) ? | |||
335 | 0x14F | sys_mmapper_unmap_shared_memory | 2 Params: (sys_addr_t start_addr,sys_memory_t *mem_id ) ? | |||
336 | 0x150 | sys_mmapper_change_address_access_right | int sys_mmapper_change_address_access_right(sys_addr_t start_addr, uint64_t flags); | |||
337 | 0x151 | 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 | sys_mmapper_get_shared_memory_attribute | 2 Params: | |||
339 | 0x153 | 5 Params | ||||
340 | 0x154 | 2 Params | ||||
341 | 0x155 | sys_memory_container_create | int sys_memory_container_create(sys_memory_container_t * cid, size_t yield_size); | |||
342 | 0x156 | sys_memory_container_destroy | int sys_memory_container_destroy(sys_memory_container_t cid); | |||
343 | 0x157 | sys_memory_container_get_size | 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 | 3 Params | ||||
346 | 0x15A | |||||
348 | 0x15C | sys_memory_allocate | int sys_memory_allocate(size_t size, uint64_t flags, sys_addr_t * alloc_addr); | |||
349 | 0x15D | sys_memory_free | int sys_memory_free(sys_addr_t start_addr); | |||
350 | 0x15E | sys_memory_allocate_from_container | int sys_memory_allocate_from_container(size_t size, sys_memory_container_t container, uint64_t flags, sys_addr_t * alloc_addr); | |||
351 | 0x15F | sys_memory_get_page_attribute | int sys_memory_get_page_attribute(sys_addr_t addr, sys_page_attr_t * attr); | |||
352 | 0x160 | sys_memory_get_user_memory_size | int sys_memory_get_user_memory_size(sys_memory_info_t * mem_info); | |||
353 | 0x161 | sys_memory_(get)_stat(us/istics?) | 1 Param: out:uint64_t buffer | |||
354 | 0x162 | 3 Params | ||||
355 | 0x163 | 1 Param | ||||
356 | 0x164 | sys_memory_allocate_colored | 4 Params | |||
357 | 0x165 | 2 Params | ||||
358 | 0x166 | 5 Params | ||||
359 | 0x167 | 2 Params | ||||
360 | 0x168 | 7 Params | ||||
361 | 0x169 | sys_memory_allocate_from_container_colored | 5 Params | |||
362 | 0x16A | 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 | 6 Params | ||||
#sys_av Syscalls (367-370) | ||||||
367 | 0x16F | prolly sys_avset_initialize | syscall(367, void) | |||
368 | 0x170 | prolly sys_avset_receive | 3 Params: uint32_t ?,0x400 / 0x800, 1 | |||
369 | 0x171 | prolly sys_avset_send | ||||
370 | 0x172 | 1 input | ||||
371 | 0x173 | |||||
#sys_game Syscalls (372-376+410-412) | ||||||
372 | 0x174 | sys_game_watchdog_start | 1 param | |||
373 | 0x175 | sys_game_watchdog_stop | int sys_game_watchdog_stop(void) | |||
374 | 0x176 | sys_game_watchdog_clear | int sys_game_watchdog_clear(void) | |||
375 | 0x177 | sys_game_set_system_sw_version | int sys_game_set_system_sw_version(uint64_t version) | |||
376 | 0x178 | sys_game_get_system_sw_version | int sys_game_get_system_sw_version(void) | |||
#sys_sm/sys_ctrl Syscalls (378-396) | ||||||
377 | 0x179 | sys_sm_set_shop_mode | 1 Param: 0/1, HV System Manager access - ServiceID 39 (SET_SHOP_DEMO_MODE) | |||
378 | 0x17A | sys_sm_get_ext_event2 | 4 Param, IsConsoleHot?=sc378(uint64_t v1,uint64_t v2, uint64_t v3, 1), v1==7 -> yesHOT | |||
379 | 0x17B | sys_sm_shutdown | system_call_4(379,0x200,0,0,0); // 0x1100/0x100 = turn off, 0x1200/0x200 = reboot, 0x8201/0x8202 = ? HV System Manager access - ServiceID 1 (REQUEST) | |||
380 | 0x17C | sys_sm_get_params | alias sys_get_system_parameter | |||
381 | 0x17D | 2Params: syscall(381,uint8_t out_buff[0x600], 0x600); returns system configuration? | ||||
382 | 0x17E | sys_sm_clear?_rtc_alarm | int syscall(382, void); | |||
383 | 0x17F | sys_game_get_temperature | int sys_game_get_temperature(0/1,uint32_t *temperature) HV System Manager access - ServiceID 13 (TEMPERATURE) | |||
384 | 0x180 | sys_sm_get_tzpb | syscall(384,uint64_t *tzpb); (uint8_t [0x20]) used by sys_game_get_temperature) HV System Manager access - ServiceID 15 | |||
385 | 0x181 | 2 Params: r3(1,2,3) , uint8_t[1] , HV System Manager access - ServiceID 17 gets capability value of .self? | ||||
386 | 0x182 | sys_sm_control_led? | Controls Power LED - Parameters: value1,value2 Value1 = 0,1,2 (red, green, red+green combined: looks like yellow); Value2 = 0,1,2 (off,on,blink) | |||
387 | 0x183 | sys_sm_get_platform_info? | syscall(387, uint8_t platform_info[0x18]) / OS Version, Revision, System Software Version? | |||
388 | 0x184 | sys_sm_ring_buzzer_too | HV System Manager access - ServiceID 21 (RING_BUZZER) | |||
389 | 0x185 | sys_sm_ | 3 Params (all 3 uint8_t*), HV System Manager access - ServiceID 25 (FAN_POLICY) (Requires Product Mode) | |||
390 | 0x186 | sys_sm_request_error_log? | 4 Params, HV System Manager access - ServiceID 26 (REQUEST_ERROR_LOG) | |||
391 | 0x187 | 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 | lv2_sm_ring_buzzer? | 3 Params: PacketID=0x1004, field2, field4 [Parameters] | |||
393 | 0x189 | sys_sm_get_model? | gets hw? model: syscall(393,uint8_t out1[2], uint8_t out2[8]) | |||
394 | 0x18A | 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); HV System Manager access - ServiceID 30 (REQUEST_SC_VERSION) [SC Firmware] | |||
395 | 0x18B | sys_sm_request_system_event_log? | 6 Params, HV System Manager access - ServiceID 32 (REQUEST_SYSTEM_EVENT_LOG) (Requires Product mode) | |||
396 | 0x18C | sys_sm_set_rtc_alarm | 1 Param, HV System Manager access - ServiceID 34+38 (RTC_ALARM) | |||
397 | 0x18D | sys_sm_compare?_rtc_alarm | 1 Param, HV System Manager access - ServiceID 36 | |||
398 | 0x18E | 2 Params, | ||||
400 | 0x190 | 3 Params, HV System Manager access - ServiceID 32 (REQUEST_SYSTEM_EVENT_LOG) (Requires Product Mode) | ||||
401 | 0x191 | 2 Params, HV System Manager access - ServiceID 40 (BOOT_PARAMETER) | ||||
#sys_tty Syscalls (402-403) | ||||||
402 | 0x192 | sys_tty_read | int sys_tty_read(unsigned int ch, void *buf, unsigned int len, unsigned int *preadlen); | |||
403 | 0x193 | sys_tty_write | int sys_tty_write(unsigned int ch, const void *buf, unsigned int len, unsigned int *pwritelen); | |||
404 | 0x194 | 2 Params: out:uint8_t [8], out:uint8_t [1], HV System Manager access - ServiceID 42 (BOOT_PARAMETER) [Network Settings for Debug] related, returns single/dual setting flag? | ||||
405 | 0x195 | 2 Params: out:uint8_t [2],out:uint8_t[1], HV System Manager access - ServiceID 44 (Requires Product Mode) | ||||
406 | 0x196 | 2 Params: r3(0x01,0x02,0x04,0x08,0x10,0x20,0x40,0x80,0x100) ,out:uint8_t[1], HV System Manager access - ServiceID 46 (Requires Product Mode) | ||||
407 | 0x197 | 1 Param: out:uint8_t [1], HV System Manager access - ServiceID 48 (Requires Product Mode) | ||||
408 | 0x198 | 1 Param: out:uint8_t [0x20] (Requires Product Mode) | ||||
409 | 0x199 | 5 Params, HV System Manager access - ServiceID 50 (FAN_POLICY) (Requires Product Mode) | ||||
#sys_game Syscalls (372-376+410-412) | ||||||
410 | 0x19A | sys_game_board_storage_read | 2 Params, HV System Manager access - ServiceID 54 | |||
411 | 0x19B | sys_game_board_storage_write | 2 Params, HV System Manager access - ServiceID 52 | |||
412 | 0x19C | sys_game_get_rtc_status | ||||
413 | 0x19D | 3 Params, HV System Manager access - ServiceID 56: out:uint8_t[1],out:uint8_t[1],out:uint8_t[1] | ||||
414 | 0x19E | 3 Params, HV System Manager access - ServiceID 58 | ||||
415 | 0x19F | 3 Params, HV System Manager access - ServiceID 60 | ||||
#sys_overlay Syscalls (450-457) | ||||||
450 | 0x1C2 | sys_overlay_load_module | int sys_overlay_load_module(sys_overlay_t * ovlmid, const char *path, uint64_t flags, sys_addr_t * entry) | |||
451 | 0x1C3 | sys_overlay_unload_module | int sys_overlay_unload_module(sys_overlay_t ovlmid) | |||
452 | 0x1C4 | 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 | 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 | 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 | 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 | sys_overlay_get_sdk_version | 2 Params | |||
457 | 0x1C9 | sys_overlay_get_module_dbg_info | 3 Params: (sys_pid_t pid, sys_overlay_t ovlmid, sys_overlay_module_dbg_t * info) ? | |||
458 | 0x1CA | sys_overlay_get_module_dbg_info too | 3 Params: | |||
#sys_prx Syscalls (461-499) | ||||||
461 | 0x1CD | sys_prx_get_module_id_by_address | sys_prx_id_t sys_prx_get_module_id_by_address(void* addr) | |||
463 | 0x1CF | 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 | 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 | sys_prx_load_module_list | 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 | sys_prx_load_module_list_on_memcontainer | 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 | sys_prx_get_ppu_guid | sys_addr_t sys_prx_get_ppu_guid(sys_prx_id_t id) | |||
470 | 0x1D6 | 2 Params: | ||||
471 | 0x1D7 | int syscall_471(uint32_t type, char* titleID, void* klicensee, uint8_t* actdat, uint8_t* rif, int32_t licenseType, uint8_t* magicVersion); | ||||
472 | 0x1D8 | 2 Params: | ||||
473 | 0x1D9 | |||||
474 | 0x1DA | |||||
475 | 0x1DB | 6 Params: | ||||
476 | 0x1DC | can be syscall476 ( 1,0,0,0,0,0,0,0) or syscall476 ( 0,1,0,0,0,0,0,0) | ||||
480 | 0x1E0 | sys_prx_load_module | 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 | 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 | 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 | sys_prx_unload_module | int sys_prx_unload_module(sys_prx_id_t id, sys_prx_flags_t flags, sys_prx_unload_module_option_t pOpt); | |||
484 | 0x1E4 | sys_prx_register_module | int sys_prx_register_module(const sys_prx_register_module_option_t * pOpt) | |||
485 | 0x1E5 | sys_prx_query_module | ||||
486 | 0x1E6 | sys_prx_register_library | int sys_prx_register_library(void* library) | |||
487 | 0x1E7 | sys_prx_unregister_library | int sys_prx_unregister_library(void* library) | |||
488 | 0x1E8 | sys_prx_link_library | ||||
489 | 0x1E9 | sys_prx_unlink_library | ||||
490 | 0x1EA | sys_prx_query_library | ||||
492 | 0x1EC | 4 Params: | ||||
493 | 0x1ED | sys_prx_dbg_get_module_info | 3 Params: | |||
494 | 0x1EE | 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 | 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 | 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 | 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 | sys_prx_start | ||||
499 | 0x1F3 | sys_prx_stop | ||||
500 | 0x1F4 | 2 Params | ||||
501 | 0x1F5 | 1 Param | ||||
502 | 0x1F6 | 3 Params | ||||
503 | 0x1F7 | 4 Params | ||||
504 | 0x1F8 | 3 Params | ||||
505 | 0x1F9 | 3 Params | ||||
506 | 0x1FA | 2 Params | ||||
507 | 0x1FB | 2 Params | ||||
508 | 0x1FC | 1 Param: sys_pid_t pid (for example current pid) | ||||
509 | 0x1FD | 1 Param | ||||
510 | 0x1FE | int syscall(510, void), returns pid?/threadid? | ||||
511 | 0x1FF | 1 Param | ||||
512 | 0x200 | 1 Param : int syscall(512,sys_pid_t pid); | ||||
513 | 0x201 | 4 Params | ||||
514 | 0x202 | 3 Params | ||||
516 | 0x204 | sys_config_open | 2 Params : (sys_event_queue_t * equeue_id, uint64_t *out) | |||
517 | 0x205 | sys_config_close | sys_config_close(sys_event_queue_t * equeue_id); | |||
518 | 0x206 | sys_config_get_service_event | 4 Params: | |||
519 | 0x207 | sys_config_add_service_listener | 6 Params | |||
520 | 0x208 | sys_config_remove_service_listener | 2 Params | |||
521 | 0x209 | sys_config_register_service | 7 Params | |||
522 | 0x20A | sys_config_unregister_service | 2 Params | |||
523 | 0x20B | |||||
524 | 0x20C | |||||
525 | 0x20D | |||||
530 | 0x212 | |||||
531 | 0x213 | |||||
532 | 0x214 | |||||
533 | 0x215 | |||||
534 | 0x216 | |||||
535 | 0x217 | |||||
536 | 0x218 | |||||
537 | 0x219 | |||||
538 | 0x21A | |||||
539 | 0x21B | |||||
540 | 0x21C | |||||
541 | 0x21D | |||||
542 | 0x21E | |||||
543 | 0x21F | |||||
544 | 0x220 | |||||
545 | 0x221 | |||||
546 | 0x222 | |||||
547 | 0x223 | |||||
548 | 0x224 | |||||
549 | 0x225 | |||||
550 | 0x226 | |||||
551 | 0x227 | |||||
552 | 0x228 | |||||
553 | 0x229 | |||||
554 | 0x22A | |||||
555 | 0x22B | |||||
556 | 0x22C | |||||
557 | 0x22D | |||||
558 | 0x22E | |||||
559 | 0x22F | |||||
#sys_gl819 Syscalls Cardcontroller cf/sd/mmc/sm/ms | ||||||
560 | 0x230 | |||||
561 | 0x231 | |||||
562 | 0x232 | gets MultiCardReader Firmware Version: syscall(0x232, out:uint8_t [2]) | ||||
563 | 0x233 | |||||
564 | 0x234 | |||||
565 | 0x235 | |||||
566 | 0x236 | |||||
567 | 0x237 | |||||
568 | 0x238 | |||||
569 | 0x239 | |||||
570 | 0x23A | |||||
571 | 0x23B | |||||
572 | 0x23C | |||||
573 | 0x23D | |||||
574 | 0x23E | |||||
575 | 0x23F | |||||
577 | 0x241 | |||||
578 | 0x242 | |||||
580 | 0x244 | |||||
581 | 0x245 | |||||
582 | 0x246 | |||||
583 | 0x247 | gets Bluetooth Firmware Version: syscall(0x247, out:uint8_t [2]) | ||||
#sys_dfu Syscalls | ||||||
584 | 0x248 | |||||
585 | 0x249 | |||||
586 | 0x24A | |||||
587 | 0x24B | |||||
588 | 0x24C | |||||
589 | 0x24D | |||||
590 | 0x24E | |||||
591 | 0x24F | |||||
592 | 0x250 | |||||
593 | 0x251 | |||||
594 | 0x252 | |||||
595 | 0x253 | |||||
596 | 0x254 | |||||
597 | 0x255 | bt_cancel_connect_accept_controller() | ||||
598 | 0x256 | 0 Param | ||||
599 | 0x257 | 2 Params: out:uint8_t[2], out:uint8_t[2] | ||||
#sys_storage Syscalls (600-623+837+838) | ||||||
600 | 0x258 | sys_storage_open | int sys_storage_open(uint64_t id, int unknown_1, int *fd, int unknown_2) unknown_1=0,unknown_2=0 | |||
601 | 0x259 | sys_storage_close | int sys_storage_close(int fd) | |||
602 | 0x25A | sys_storage_read | 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 | 0x25B | sys_storage_write | ||||
604 | 0x25C | sys_storage_send_device_command | 6 Params: | |||
605 | 0x25D | sys_storage_async_configure | int sys_storage_async_configure(uint32_t fd, sys_io_buffer_t io_buffer, sys_event_queue_t equeue_id, int *unknown) | |||
606 | 0x25E | sys_storage_async_read | int sys_storage_async_read(int fd, int unknown_1, uint32_t start_sector, uint32_t sectors, sys_io_block_t bounce_buf, uint64_t user_data, int unknown_2) unknown_1=0, unknown_2=0 | |||
607 | 0x25F | sys_storage_async_write | 7 Params: | |||
608 | 0x260 | sys_storage_async_cancel | 2 Params | |||
609 | 0x261 | sys_storage_get_device_info | int sys_storage_get_device_info(uint64_t device, uint8_t *buffer), buffer[40]=total sectors,buffer[48]=sector size,buffer[53]=writable | |||
610 | 0x262 | sys_storage_get_device_config | 2 Params: int sys_storage_get_device_config(uint64_t device, uint8_t *config) ? | |||
611 | 0x263 | sys_storage_report_devices | 4 Params: | |||
612 | 0x264 | sys_storage_configure_medium_event | 3 Params | |||
613 | 0x265 | sys_storage_set_medium_polling_interval | 2 Params | |||
614 | 0x266 | sys_storage_create_region | ||||
615 | 0x267 | sys_storage_delete_region | int sys_storage_delete_region(uint32_t dev_id,uint64_t index); | |||
616 | 0x268 | sys_storage_execute_device_command | ||||
617 | 0x269 | sys_storage_check_region_acl | alias int sys_storage_get_region_acl(device_id, region_id, index, authority, mask); | |||
618 | 0x26A | sys_storage_set_region_acl | int sys_storage_set_region_acl(device_id, region_id, authority, permission); | |||
619 | 0x26B | sys_storage_async_send_device_command | ||||
620 | 0x26C | sending storage mediacontrolkey /-command? (param1: ?,0,1,2 or 3;param2;param3;param4;param5) | ||||
621 | 0x26D | 3 Params: get smth, syscall(621,9,0,uint8_t *out) (Gamepad relative) | ||||
622 | 0x26E | sys_storage_get_region_offset | ||||
623 | 0x26F | sys_storage_set_emulated_speed | ||||
#sys_io Syscalls (624-627) | ||||||
624 | 0x270 | sys_io_buffer_create | int sys_io_buffer_create(int io_block_count, int block_size, int blocks, int unknown_3, sys_io_buffer_t *io_buffer) | |||
625 | 0x271 | sys_io_buffer_destroy | int sys_io_buffer_destroy(sys_io_buffer_t io_buffer) | |||
626 | 0x272 | sys_io_buffer_allocate | int sys_io_buffer_allocate(sys_io_buffer_t io_buffer, sys_io_block_t *block) | |||
627 | 0x273 | sys_io_buffer_free | int sys_io_buffer_free(sys_io_buffer_t io_buffer, sys_io_block_t block) | |||
#sys_gpio Syscalls (630-631) | ||||||
630 | 0x276 | sys_gpio_set | int sys_gpio_set (uint64_t device_id, uint64_t mask, uint64_t value) | |||
631 | 0x277 | sys_gpio_get | int sys_gpio_get (uint64_t device_id, uint64_t *value) | |||
#sys_fsw Syscalls (633-634) | ||||||
633 | 0x278 | sys_fsw_connect_event | int sys_fsw_connect_event(sys_event_queue_t eq_id) | |||
634 | 0x279 | sys_fsw_disconnect_event | int sys_fsw_disconnect_event(void) | |||
#usbbtaudio Syscalls | ||||||
635 | 0x27B | sys_btsetting_? | 2 Params: var1(0=btsetting_initialize(), 1=btsetting_finalize()),out:buff | |||
640 | 0x280 | |||||
649 | 0x289 | 1 Params: 0 ; UsbBTAudio/RSX related | ||||
654 | 0x28E | 1 Params: 1=text like "G5B5_Z1R5G5B5" ; UsbBTAudio/RSX related | ||||
655 | 0x28F | 1 Params:; UsbBTAudio/RSX related | ||||
656 | 0x290 | 1 Params: 1=text like "G5B5_Z1R5G5B5" ; UsbBTAudio/RSX related | ||||
659 | 0x293 | 3 Params: 1=text like "G5B5_Z1R5G5B5", 2= 0 or 1, 3= ptr | ||||
#sys_rsx Syscalls (666-667) | ||||||
666 | 0x29A | sys_rsx_device_open | 1 Param | |||
667 | 0x29B | sys_rsx_device_close | ||||
668 | 0x29C | sys_rsx_memory_allocate | ||||
669 | 0x29D | sys_rsx_memory_free | ||||
670 | 0x29E | sys_rsx_context_allocate | ||||
671 | 0x29F | sys_rsx_context_free | ||||
672 | 0x2A0 | sys_rsx_context_iomap | ||||
673 | 0x2A1 | sys_rsx_context_iounmap | ||||
674 | 0x2A2 | sys_rsx_context_attribute | ||||
675 | 0x2A3 | sys_rsx_device_map | ||||
676 | 0x2A4 | sys_rsx_device_unmap | ||||
677 | 0x2A5 | sys_rsx_attribute | ||||
#sys_iosys Syscalls (698) | ||||||
698 | 0x2BA | sys_iosys_infra_test_execute | ||||
#sys_bdemu Syscalls (699) | ||||||
699 | 0x2BB | sys_bdemu_send_command | ||||
#sys_net Syscalls (700-726) | ||||||
700 | 0x2BC | sys_net_bnet_accept | ||||
701 | 0x2BD | sys_net_bnet_bind | ||||
702 | 0x2BE | sys_net_bnet_connect | ||||
703 | 0x2BF | sys_net_bnet_getpeername | ||||
704 | 0x2C0 | sys_net_bnet_getsockname | ||||
705 | 0x2C1 | sys_net_bnet_getsockopt | ||||
706 | 0x2C2 | sys_net_bnet_listen | ||||
707 | 0x2C3 | sys_net_bnet_recvfrom | ||||
708 | 0x2C4 | sys_net_bnet_recvmsg | ||||
709 | 0x2C5 | sys_net_bnet_sendmsg | ||||
710 | 0x2C6 | sys_net_bnet_sendto | ||||
711 | 0x2C7 | sys_net_bnet_setsockop | ||||
712 | 0x2C8 | sys_net_bnet_shutdown | ||||
713 | 0x2C9 | sys_net_bnet_socket | ||||
714 | 0x2CA | sys_net_bnet_close | ||||
715 | 0x2CB | sys_net_bnet_poll | ||||
716 | 0x2CC | sys_net_bnet_select | ||||
724 | 0x2D4 | sys_net_bnet_ioctl | ||||
725 | 0x2D5 | sys_net_bnet_sysctl | ||||
726 | 0x2D6 | |||||
800 | 0x320 | |||||
#lv2Fs Syscalls (801-834) | ||||||
801 | 0x321 | cellFsOpen | CellFsErrno cellFsOpen(const char *path, int flags, int *fd, const void *arg, uint64_t size); | |||
802 | 0x322 | cellFsRead | CellFsErrno cellFsRead(int fd, void *buf, uint64_t nbytes, uint64_t *nread); | |||
803 | 0x323 | cellFsWrite | CellFsErrno cellFsWrite(int fd, const void *buf, uint64_t nbytes, uint64_t *nwrite); | |||
804 | 0x324 | cellFsClose | CellFsErrno cellFsClose(int fd); | |||
805 | 0x325 | cellFsOpenDir | CellFsErrno cellFsOpendir(const char *path, int *fd); | |||
806 | 0x326 | cellFsReadDir | CellFsErrno cellFsReaddir(int fd, CellFsDirent *dir, uint64_t *nread); | |||
807 | 0x327 | cellFsCloseDir | CellFsErrno cellFsClosedir(int fd); | |||
808 | 0x328 | cellFsStat | CellFsErrno cellFsStat(const char *path, CellFsStat *sb); | |||
809 | 0x329 | cellFsFstat | CellFsErrno cellFsFstat(int fd, CellFsStat *sb); | |||
810 | 0x32A | |||||
811 | 0x32B | cellFsMkdir | CellFsErrno cellFsMkdir(const char *path, CellFsMode mode); | |||
812 | 0x32C | cellFsRename | CellFsErrno cellFsRename(const char *from, const char *to); | |||
813 | 0x32D | cellFsRmdir | CellFsErrno cellFsRmdir(const char *path); | |||
814 | 0x32E | cellFsUnlink | CellFsErrno cellFsUnlink(const char *path); | |||
815 | 0x32F | cellFsUtime | CellFsErrno cellFsUtime(const char *path, const CellFsUtimbuf *timep); | |||
816 | 0x330 | |||||
817 | 0x331 | |||||
818 | 0x332 | cellFsLSeek | CellFsErrno cellFsLseek(int fd, int64_t offset, int whence, uint64_t *pos); | |||
819 | 0x333 | |||||
820 | 0x334 | cellFsFSync | CellFsErrno cellFsFsync(int fd); | |||
821 | 0x335 | sys_fs_cellFsFGetBlockSize | ||||
822 | 0x336 | |||||
823 | 0x337 | |||||
824 | 0x338 | |||||
825 | 0x339 | |||||
826 | 0x33A | |||||
827 | 0x33B | |||||
828 | 0x33C | |||||
829 | 0x33D | |||||
831 | 0x33F | cellFsTruncate | CellFsErrno cellFsTruncate(const char *path, uint64_t size); | |||
832 | 0x340 | cellFsFTruncate | CellFsErrno cellFsFtruncate(int fd, uint64_t size); | |||
833 | 0x341 | |||||
834 | 0x342 | cellFsChmod | CellFsErrno cellFsChmod(const char *path, CellFsMode mode); | |||
835 | 0x343 | |||||
#sys_storage Syscalls (600-623+837+838) | ||||||
837 | 0x345 | 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 | 0x346 | sys_storage_util_unmount(?) | Parameters: Device Path (e.g. /dev_flash) | |||
839 | 0x347 | sys_storage_util_sync(?) | Parameter: Device Path (e.g. /dev_hdd0) | |||
840 | 0x348 | |||||
841 | 0x349 | sys_storage_util_get_mount_info_size | 1 Param | |||
842 | 0x34A | sys_storage_util_get_mount_info | 3 Params | |||
843 | 0x34B | |||||
844 | 0x34C | |||||
845 | 0x34D | |||||
846 | 0x34E | |||||
847 | 0x34F | |||||
#process socket service syscalls (862-864) | ||||||
862 | 0x35E | [trm_manager_if (Interface)] | ||||
863 | 0x35F | [update_manager_if (Interface)] | ||||
864 | 0x360 | [storage_manager_if (Interface)] | ||||
#sys_ss/sys_get Syscalls (865-879) | ||||||
865 | 0x361 | sys_ss_random_number_generator | alias sys_get_random_number | |||
866 | 0x362 | [secure_rtc_manager_if (Interface)] | ||||
867 | 0x363 | sys_get_system_parameter | [aim_manager_if (Interface)] | |||
868 | 0x364 | [indi_info_manager_if (Interface)] | ||||
869 | 0x365 | syscall(869,0x22001 or 0x22002 or 0x22003 or 0x22004, ??) // set rtc related | ||||
870 | 0x366 | sys_ss_get_console_id | int sys_ss_get_console_id(uint8_t *buf) //returns IDPS in buf | |||
871 | 0x367 | sys_ss_access_control_engine | 3 params (1,sys_pid_t,out:uint8_t [8]) / (2 or 3,out:uint8_t [8],0) | |||
872 | 0x368 | sys_ss_get_open_psid | int sys_ss_get_open_psid(CellSsOpenPSID *ptr) ; typedef struct CellSsOpenPSID { uint64_t high; uint64_t low;} | |||
873 | 0x369 | sys_ss_get_cache_of_product_mode | int sys_ss_get_cache_of_product_mode(uint8_t *ptr [1]); | |||
874 | 0x36A | sys_ss_get_cache_of_flash_ext_flag | int sys_ss_get_cache_of_flash_ext_flag(uint8_t *flag [1]) | |||
875 | 0x36B | sys_ss_get_boot_device | int sys_ss_get_boot_device(uint8_t * buf [8]); | |||
876 | 0x36C | sys_ss_disc_access_control | 2Params: 0x20000(=get_disc_access_control),uint8_t [4] / 0x20001(=set_disc_access_control),1 | |||
877 | 0x36D | sys_ss_~utoken_if | syscall(877,0x25003=Decrypt or 0x25004 or 0x25005=Encrypt, uint8_t *token, 0xC50 (size)), [user token related] | |||
878 | 0x36E | sys_ss_ad_sign | syscall(878, 0x26001, in_buffer[0x14], out_buffer[0x80]) | |||
879 | 0x36F | sys_ss_media_id | syscall(879, 0x10001, out_buffer[0x10]) | |||
#sys_deci3 Syscalls (880-884) | ||||||
880 | 0x370 | sys_deci3_open | int sys_deci3_open(sys_deci3_protocol_t protocol, sys_deci3_port_t port, void *option, sys_deci3_session_t * session_id); | |||
881 | 0x371 | sys_deci3_create_event_path | int sys_deci3_create_event_path(sys_deci3_session_t session_id, size_t bufsize, sys_event_queue_t event_queue_id); | |||
882 | 0x372 | sys_deci3_close | int sys_deci3_close(sys_deci3_session_t session_id); | |||
883 | 0x373 | sys_deci3_send | int sys_deci3_send(sys_deci3_session_t session_id, uint8_t * buf, __CSTD size_t size); | |||
884 | 0x374 | sys_deci3_receive | int sys_deci3_receive(sys_deci3_session_t session_id, uint8_t * buf, __CSTD size_t size); | |||
#sys_dbg Syscalls (900-970) | ||||||
900 | 0x384 | sys_dbg_stop_processes | 2 params: sys_pid_t pid, 1 | |||
903 | 0x387 | 2 params: uint64_t *outbuff, val (0 or ... or 8) , sceVSHforceshutdown (outbuff,8) ? | ||||
909 | 0x38D | sys_dbg_get_thread_list | 4 Params: sys_pid_t pid,..., uint64_t size,uint64_t *outbuff | |||
914 | 0x392 | sys_dbg_get_process_info | ||||
918 | 0x396 | sys_dbg_read_kernel_event_queue | ||||
921 | 0x399 | sys_dbg_set_process_event_cntl_flag | ||||
923 | 0x39B | sys_dbg_set_spu_thread_group_event_cntl_flag | ||||
925 | 0x39D | sys_dbg_get_raw_spu_list | ||||
932 | 0x3A4 | sys_dbg_get_mutex_list | ||||
934 | 0x3A6 | sys_dbg_get_cond_list | ||||
936 | 0x3A8 | sys_dbg_get_rwlock_list | ||||
938 | 0x3AA | sys_dbg_get_lwmutex_list | ||||
939 | 0x3AB | sys_dbg_get_address_from_dabr | int sys_dbg_get_address_from_dabr ( uint64_t *address, uint64_t *flag ); | |||
940 | 0x3AC | sys_dbg_set_address_to_dabr | int sys_dbg_set_address_to_dabr ( uint64_t address, uint64_t flag ); | |||
942 | 0x3AE | sys_dbg_get_event_queue_list | ||||
946 | 0x3B2 | sys_dbg_get_semaphore_list | ||||
948 | 0x3B4 | sys_dbg_get_kernel_thread_list | ||||
949 | 0x3B5 | sys_dbg_get_kernel_thread_info | ||||
950 | 0x3B6 | sys_dbg_get_lwcond_list | ||||
951 | 0x3B7 | |||||
952 | 0x3B8 | sys_dbg_create_scratch_data_area_ext | ||||
954 | 0x3BA | sys_dbg_vm_get_info | ||||
957 | 0x3BD | |||||
959 | 0x3BF | |||||
970 | 0x3CA | sys_dbg_get_event_flag_list | ||||
971 | 0x3CB | |||||
972 | 0x3CC | |||||
974 | 0x3CE | |||||
975 | 0x3CF | |||||
976 | 0x3D0 | |||||
977 | 0x3D1 | |||||
978 | 0x3D2 | |||||
979 | 0x3D3 | |||||
980 | 0x3D4 | |||||
981 | 0x3D5 | |||||
982 | 0x3D6 | |||||
983 | 0x3D7 | |||||
984 | 0x3D8 | seems to return max. 0x10 Randombytes, 2Params: buffer,rand_amount you want | ||||
985 | 0x3D9 | seems to return Console Type, syscall(985,out_buffer,0,0), return values:2=DEX,3=TOOL,1=CEX | ||||
986 | 0x3DA | seems to return Game Application Title ID , syscall(986,out_buffer) | ||||
987 | 0x3DB | smth related? to vsh.self, syscall(987,0 or 1, ??) | ||||
988 | 0x3DC | 2 Params: syscall(988,1 or 4 or 8 or 0x10,0) | ||||
989 | 0x3DD |
Network Syscalls
Networking uses syscalls 700-726
File Syscalls
OFLAGS
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
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 syscalls 700-726
Unofficial Syscalls added
See also : 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.
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 | 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 |
11 | lv2_lv1_poke - jfw 'bad idea' | 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 | Run_Payload - Payloader3 | |
201 | Alloc - Payloader3 | |
202 | Free - Payloader3 |
See also: psl1ght::Syscalls