Editing Talk:LV2 Functions and Syscalls
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 57: | Line 57: | ||
syscall(861,packet_id, r4,r5,r6,r7,r8,r9,r10)<br> | syscall(861,packet_id, r4,r5,r6,r7,r8,r9,r10)<br> | ||
Note: access to this Syscall | Note: access to this Syscall requries 0x40 Root Control Flags, else 0x80010003 | ||
{| class="wikitable FCK__ShowTableBorders" | {| class="wikitable FCK__ShowTableBorders" | ||
Line 129: | Line 129: | ||
syscall(862,packet_id, r4,r5,r6,r7)<br> | syscall(862,packet_id, r4,r5,r6,r7)<br> | ||
Note: access to this Syscall | Note: access to this Syscall requries 0x40 Root Control Flags, else 0x80010003 | ||
{| class="wikitable FCK__ShowTableBorders" | {| class="wikitable FCK__ShowTableBorders" | ||
Line 210: | Line 210: | ||
syscall(863,packet_id, r4,r5,r6,r7,r8,r9) <br> | syscall(863,packet_id, r4,r5,r6,r7,r8,r9) <br> | ||
Note: access to this Syscall | Note: access to this Syscall requries 0x40 Root Control Flags, else 0x80010003 | ||
{| class="wikitable FCK__ShowTableBorders" | {| class="wikitable FCK__ShowTableBorders" | ||
Line 276: | Line 276: | ||
syscall(864,packet_id, r4) <br> | syscall(864,packet_id, r4) <br> | ||
Note: access to this Syscall | Note: access to this Syscall requries at least 0x20 Debug Control Flags, else 0x80010003 | ||
{| class="wikitable FCK__ShowTableBorders" | {| class="wikitable FCK__ShowTableBorders" | ||
Line 344: | Line 344: | ||
syscall(867,packet_id, r4) <br> | syscall(867,packet_id, r4) <br> | ||
Note: access to this Syscall | Note: access to this Syscall requries 0x40 Root Control Flags, else 0x80010003 | ||
{| class="wikitable FCK__ShowTableBorders" | {| class="wikitable FCK__ShowTableBorders" | ||
Line 371: | Line 371: | ||
syscall(868,packet_id, r4,r5,r6,r7) <br> | syscall(868,packet_id, r4,r5,r6,r7) <br> | ||
Note: access to this Syscall | Note: access to this Syscall requries 0x40 Root Control Flags, but allows 0x20 Debug Flags and certain authentication id's for first packet_id | ||
{| class="wikitable FCK__ShowTableBorders" | {| class="wikitable FCK__ShowTableBorders" | ||
Line 452: | Line 452: | ||
syscall(869,packet_id, r4) <br> | syscall(869,packet_id, r4) <br> | ||
Note: access to this Syscall | Note: access to this Syscall requries 0x40 Root Control Flags and possibly restricted to certain authentication id's, else 0x80010003 | ||
{| class="wikitable FCK__ShowTableBorders" | {| class="wikitable FCK__ShowTableBorders" | ||
Line 493: | Line 493: | ||
| 3 | | 3 | ||
| syscall(871,3,sys_pid_t id) | | syscall(871,3,sys_pid_t id) | ||
| this packet_id | | this packet_id requries 0x20 Debug Control Flags, else 0x80010003, but returns 0x8001009 | ||
|} | |} | ||
Line 517: | Line 517: | ||
syscall(877,packet_id, r4,size) <br> | syscall(877,packet_id, r4,size) <br> | ||
Note: access to this Syscall | Note: access to this Syscall requries 0x40 Root Control Flags, else 0x80010003 | ||
{| class="wikitable FCK__ShowTableBorders" | {| class="wikitable FCK__ShowTableBorders" | ||
Line 549: | Line 549: | ||
|- | |- | ||
|} | |} | ||
=== Syscall 879 (0x36F) Media ID === | === Syscall 879 (0x36F) Media ID === | ||
Line 572: | Line 569: | ||
these lv2 syscalls are present, but neither ordinal nor branches are known yet | these lv2 syscalls are present, but neither ordinal nor branches are known yet | ||
sys_usbbtaudio_start_recording_ex | sys_usbbtaudio_start_recording_ex | ||
sys_lwcond_attribute_name_set | |||
sys_lwmutex_attribute_name_set | |||
sys_event_flag_attribute_name_set | |||
sys_semaphore_attribute_name_set | |||
sys_cond_attribute_name_set | |||
sys_mutex_attribute_name_set | |||
sys_raw_spu_mmio_read_ls (no real lv2 syscall, reading mmio address) | sys_raw_spu_mmio_read_ls (no real lv2 syscall, reading mmio address) | ||
sys_raw_spu_mmio_write_ls (no real lv2 syscall, reading mmio address) | sys_raw_spu_mmio_write_ls (no real lv2 syscall, reading mmio address) | ||
sys_raw_spu_mmio_read (no real lv2 syscall, reading mmio address) | sys_raw_spu_mmio_read (no real lv2 syscall, reading mmio address) | ||
sys_raw_spu_mmio_write (no real lv2 syscall, reading mmio address) | sys_raw_spu_mmio_write (no real lv2 syscall, reading mmio address) | ||
sys_event_queue_attribute_name_set | |||
sys_lwcond_signal | |||
sys_lwcond_signal_all | |||
sys_lwcond_signal_to | |||
sys_lwcond_wait | |||
sys_spu_elf_get_segments | sys_spu_elf_get_segments | ||
sys_raw_spu_image_load | sys_raw_spu_image_load | ||
sys_mmapper_allocate_memory | |||
sys_ppu_thread_unregister_atexit | sys_ppu_thread_unregister_atexit | ||
sys_ppu_thread_once | sys_ppu_thread_once | ||
Line 585: | Line 594: | ||
sys_process_atexitspawn | sys_process_atexitspawn | ||
sys_game_process_exitspawn2 | sys_game_process_exitspawn2 | ||
sys_process_is_stack | sys_process_is_stack | ||
debug syscalls | debug syscalls | ||
Line 8,213: | Line 8,222: | ||
https://pastebin.com/aTRaFstS | https://pastebin.com/aTRaFstS | ||
= | === LV2 Syscalls Merged Table === | ||
= | |||
= | |||
{| class="wikitable sortable" | {| class="wikitable sortable" | ||
|- | |- | ||
! | ! Dec | ||
! | ! Hex | ||
! <abbr title="Firmware Type Specific (CEX,DEX,..)">fw_type</abbr> | |||
! <abbr title="Additional Settings/Flags required (Control Flags,Product Mode,..)">needed_flags</abbr> | |||
! Name | |||
! Notes | |||
|- | |- | ||
| | ! colspan="6" id="sys_process Syscalls"|[[#sys_process Syscalls]] (1-31) | ||
|- | |- | ||
| | | 1 | ||
| | | 0x001 | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| sys_process_getpid | |||
| sys_pid_t sys_process_getpid(void); | |||
|- | |- | ||
| | | 2 | ||
| | | 0x002 | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| {{Root}} | |||
| sys_process_wait_for_child | |||
| 3 params: sys_pid_t, uint32_t *status, unk=0 | |||
|- | |- | ||
| | | 3 | ||
| | | 0x003 | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| sys_process_exit | |||
| int sys_process_exit(int) | |||
|- | |- | ||
| | | 4 | ||
| | | 0x004 | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| {{Dbg}} | |||
| sys_process_get_status | |||
| int sys_process_get_status(sys_pid_t pid) | |||
|- | |- | ||
| | | 5 | ||
| | | 0x005 | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| {{Dbg}} | |||
| sys_process_detach_child | |||
| 1 param | |||
|- | |- | ||
| | | 6 | ||
| | | 0x006 | ||
| ?? | |||
| ?? | |||
| syscall_sys_process_create_program_segment | |||
| ?? | |||
|- | |- | ||
| | | 7 | ||
| | | 0x007 | ||
| ?? | |||
| ?? | |||
| syscall_sys_process_destroy_program_segment | |||
| ?? | |||
|- | |- | ||
| | | 8 | ||
| | | 0x008 | ||
| ?? | |||
| ?? | |||
| syscall_sys_process_authenticate_program_segment | |||
| ?? | |||
|- | |- | ||
| | | 9 | ||
| | | 0x009 | ||
| ?? | |||
| ?? | |||
| syscall_sys_process_load_program_segment | |||
| ?? | |||
|- | |- | ||
| | | 10 | ||
| | | 0x00A | ||
| ?? | |||
| ?? | |||
| syscall_sys_process_unload_program_segment | |||
| ?? | |||
|- | |- | ||
| | | 11 | ||
| | | 0x00B | ||
| ?? | |||
| ?? | |||
| syscall_sys_process_find_and_load_program_segment | |||
| ?? | |||
|- | |- | ||
| | | 12 | ||
| | | 0x00C | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| sys_process_get_number_of_object | |||
| int sys_process_get_number_of_object(uint32_t object_type, uint32_t* count); | |||
|- | |- | ||
| | | 13 | ||
| | | 0x00D | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| sys_process_get_id | |||
| int sys_process_get_id(uint32_t object, uint32_t * buff, size_t size, size_t * set_size); | |||
|- | |- | ||
| | | 14 | ||
| | | 0x00E | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| sys_process_is_spu_lock_line_reservation_address | |||
| int sys_process_is_spu_lock_line_reservation_address(sys_addr_t addr, uint64_t flags); | |||
|- | |- | ||
| | | 15 | ||
| | | 0x00F | ||
| ?? | |||
| ?? | |||
| syscall_sys_process_create | |||
| ?? | |||
|- | |- | ||
| | | 18 | ||
| | | 0x012 | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| sys_process_getppid | |||
| sys_pid_t sys_process_getppid(void); | |||
|- | |- | ||
| | | 19 | ||
| | | 0x013 | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| sys_process_kill | |||
| int sys_process_kill(sys_pid_t pid); | |||
|- | |- | ||
| | | 20 | ||
| | | 0x014 | ||
| ?? | |||
| ?? | |||
| syscall_sys_process_create_primary_ppu_thread_tls | |||
| ?? | |||
|- | |- | ||
| | | 21 | ||
| | | 0x015 | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| {{Dbg}} | |||
| _sys_process_spawn | |||
| int sys_process_spawn(int *pid, int prio, uint64_t flags, void *stack, int stack_size, int unk1, int unk2) | |||
|- | |- | ||
| | | 22 | ||
| | | 0x016 | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| sys_process_exit | |||
| void sys_process_exit(int error_code,0,0) | |||
|- | |- | ||
| | | 23 | ||
| | | 0x017 | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| {{Dbg}} | |||
| sys_process_wait_for_child2 | |||
| 6 params | |||
|- | |- | ||
| | | 24 | ||
| | | 0x018 | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| {{Dbg}} | |||
| | |||
| 8 params, spawns a self | |||
|- | |- | ||
| | | 25 | ||
| | | 0x019 | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| sys_process_get_sdk_version | |||
| 2 params :sys_pid_t pid, uint8_t outbuf[4] | |||
|- | |- | ||
| | | 26 | ||
| | | 0x01A | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| _sys_process_exit as well | |||
| 4 params (calls sys_process_exit) | |||
|- | |- | ||
| | | 27 | ||
| | | 0x01B | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| {{Dbg}} | |||
| | |||
| 8 params, spawns a self | |||
|- | |- | ||
| | | 28 | ||
| | | 0x01C | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| {{Root}} | |||
| _sys_process_get_number_of_object as well kinda | |||
| int sys_process_get_number_of_object(uint32_t object) | |||
|- | |- | ||
| | | 29 | ||
| | | 0x01D | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| {{Root}} | |||
| sys_process_get_id as well | |||
| same as syscall13 just with root flag check, same input etc. | |||
|- | |- | ||
| | | 30 | ||
| | | 0x01E | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| _sys_process_get_paramsfo | |||
| int _sys_process_get_paramsfo(uint8_t buffer[0x40]); (more info: [[#sys_process_get_paramsfo]]) | |||
|- | |- | ||
| | | 31 | ||
| | | 0x01F | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| sys_process_get_ppu_guid | |||
| sys_addr_t sys_process_get_ppu_guid(void); | |||
|- | |- | ||
| | ! colspan="6" id="sys_ppu_thread Syscalls"|[[#sys_ppu_thread Syscalls]] (40-58) | ||
|- | |- | ||
| | | 41 | ||
| | | 0x029 | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| sys_ppu_thread_exit | |||
| int sys_ppu_thread_exit(int errorcode) | |||
|- | |- | ||
| | | 43 | ||
| | | 0x02B | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| sys_ppu_thread_yield | |||
| void sys_ppu_thread_yield(void); | |||
|- | |- | ||
| | | 44 | ||
| | | 0x02C | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| sys_ppu_thread_join | |||
| int sys_ppu_thread_join(sys_ppu_thread_t thread_id, uint64_t * vptr); | |||
|- | |- | ||
| | | 45 | ||
| | | 0x02D | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| sys_ppu_thread_detach | |||
| int sys_ppu_thread_detach(sys_ppu_thread_t thread_id); | |||
|- | |- | ||
| | | 46 | ||
| | | 0x02E | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| sys_ppu_thread_get_join_state | |||
| void sys_ppu_thread_get_join_state(int *isjoinable); | |||
|- | |- | ||
| | | 47 | ||
| | | 0x02F | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| {{Dbg}} | |||
| sys_ppu_thread_set_priority | |||
| int sys_ppu_thread_set_priority(sys_ppu_thread_t thread_id, int prio); <br> Flags are checked when 3071 > prio < 3199 | |||
|- | |- | ||
| | | 48 | ||
| | | 0x030 | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| sys_ppu_thread_get_priority | |||
| int sys_ppu_thread_get_priority(sys_ppu_thread_t thread_id, int *prio); | |||
|- | |- | ||
| | | 49 | ||
| | | 0x031 | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| sys_ppu_thread_get_stack_information | |||
| int sys_ppu_thread_get_stack_information(sys_ppu_thread_stack_t * info); | |||
|- | |- | ||
| | | 50 | ||
| | | 0x032 | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| {{Root}} | |||
| sys_ppu_thread_stop | |||
| int sys_ppu_thread_stop(sys_ppu_thread_t thread_id); | |||
|- | |- | ||
| | | 51 | ||
| | | 0x033 | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| {{Root}} | |||
| sys_ppu_thread_restart | |||
| int sys_ppu_thread_restart(void); | |||
|- | |- | ||
| | | 52 | ||
| | | 0x034 | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| {{Dbg}} | |||
| sys_ppu_thread_create | |||
| int sys_ppu_thread_create(sys_ppu_thread_t *thread_id, & void (*entry)(uint64_t), uint64_t arg, 0, int prio, size_t stacksize, uint64_t flags, const char *threadname); | |||
|- | |- | ||
| | | 53 | ||
| | | 0x035 | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| sys_ppu_thread_start | |||
| int sys_ppu_thread_start(sys_ppu_thread_t thread_id); | |||
|- | |- | ||
| | | 54 | ||
| | | 0x036 | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| {{Root}} | |||
| | |||
| syscall(0x036, 0x109/0x111, out: uint8[4]), pu_thread get (kernel) allocation information | |||
|- | |- | ||
| | | 55 | ||
| | | 0x037 | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| {{Root}} | |||
| | |||
| syscall(0x037, 0x111, 0> int <0x100), pu_thread set (kernel) allocation? information | |||
|- | |- | ||
| | | 56 | ||
| | | 0x038 | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| sys_ppu_thread_rename | |||
| int sys_ppu_thread_rename(sys_ppu_thread_t thread_id, const char *name); | |||
|- | |- | ||
| | | 57 | ||
| | | 0x039 | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| sys_ppu_thread_recover_page_fault | |||
| int sys_ppu_thread_recover_page_fault(sys_ppu_thread_t thread_id); | |||
|- | |- | ||
| | | 58 | ||
| | | 0x03A | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| 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); | |||
|- | |- | ||
| | ! colspan="6" id="sys_trace Syscalls"|[[#sys_trace Syscalls]] (60-69+77) | ||
|- | |- | ||
| | | 60 | ||
| | | 0x03C | ||
| {{DEX}} {{DECR}} | |||
| | |||
| sys_trace_create | |||
| | |||
|- | |- | ||
| | | 61 | ||
| | | 0x03D | ||
| {{DEX}} {{DECR}} | |||
| | |||
| sys_trace_start | |||
| | |||
|- | |- | ||
| | | 62 | ||
| | | 0x03E | ||
| {{DEX}} {{DECR}} | |||
| | |||
| sys_trace_stop | |||
| | |||
|- | |- | ||
| | | 63 | ||
| | | 0x03F | ||
| {{DEX}} {{DECR}} | |||
| | |||
| sys_trace_update_top_index | |||
| | |||
|- | |- | ||
| | | 64 | ||
| | | 0x040 | ||
| {{DEX}} {{DECR}} | |||
| | |||
| sys_trace_destroy | |||
| | |||
|- | |- | ||
| | | 65 | ||
| | | 0x041 | ||
| {{DEX}} {{DECR}} | |||
| | |||
| sys_trace_drain | |||
| | |||
|- | |- | ||
| | | 66 | ||
| | | 0x042 | ||
| {{DEX}} {{DECR}} | |||
| | |||
| sys_trace_attach_process | |||
| | |||
|- | |- | ||
| | | 67 | ||
| | | 0x043 | ||
| {{DEX}} {{DECR}} | |||
| | |||
| sys_trace_allocate_buffer | |||
| | |||
|- | |- | ||
| | | 68 | ||
| | | 0x044 | ||
| {{DEX}} {{DECR}} | |||
| | |||
| sys_trace_free_buffer | |||
| | |||
|- | |- | ||
| | | 69 | ||
| | | 0x045 | ||
| {{DEX}} {{DECR}} | |||
| | |||
| sys_trace_create2 | |||
| | |||
|- | |- | ||
| | ! colspan="6" id="sys_timer Syscalls"|[[#sys_timer Syscalls]] (70-76+141+142) | ||
|- | |- | ||
| | | 70 | ||
| | | 0x046 | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| sys_timer_create | |||
| int sys_timer_create(sys_timer_t * timer_id); | |||
|- | |- | ||
| | | 71 | ||
| | | 0x047 | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| sys_timer_destroy | |||
| int sys_timer_destroy(sys_timer_t timer_id); | |||
|- | |- | ||
| | | 72 | ||
| | | 0x048 | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| sys_timer_get_information | |||
| int sys_timer_get_information(sys_timer_t timer_id, sys_timer_information_t * info); | |||
|- | |- | ||
| | | 73 | ||
| | | 0x049 | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| sys_timer_start | |||
| int sys_timer_start(sys_timer_t timer_id, system_time_t base_time, usecond_t period); | |||
|- | |- | ||
| | | 74 | ||
| | | 0x04A | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| sys_timer_stop | |||
| int sys_timer_stop(sys_timer_t timer_id); | |||
|- | |- | ||
| | | 75 | ||
| | | 0x04B | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| 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 | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| sys_timer_disconnect_event_queue | |||
| int sys_timer_disconnect_event_queue(sys_timer_t timer_id); | |||
|- | |- | ||
| | ! colspan="6" id="sys_trace Syscalls"|[[#sys_trace Syscalls]] (60-69+77) | ||
|- | |- | ||
| | | 77 | ||
| | | 0x04D | ||
| {{DEX}} {{DECR}} | |||
| | |||
| sys_trace_create2_in_cbepm | |||
| | |||
|- | |- | ||
| | | 78 | ||
| | | 0x04E | ||
| {{DECR}} | |||
| | |||
| sys_trace_ | |||
| | |||
|- | |- | ||
| | ! colspan="6" id="sys_interrupt Syscalls"|[[#sys_interrupt Syscalls]] (80+81+84+88+89) | ||
|- | |- | ||
| | | 80 | ||
| | | 0x050 | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| 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 | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| sys_interrupt_tag_destroy | |||
| int sys_interrupt_tag_destroy(sys_interrupt_tag_t intrtag); | |||
|- | |- | ||
| | ! colspan="6" id="sys_event Syscalls"|[[#sys_event Syscalls]] (82+83+85-87+118+128-140) | ||
|- | |- | ||
| | | 82 | ||
| | | 0x052 | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| 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 | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| sys_event_flag_destroy | |||
| int sys_event_flag_destroy(sys_event_flag_t id); | |||
|- | |- | ||
| | ! colspan="6" id="sys_interrupt Syscalls"|[[#sys_interrupt Syscalls]] (80+81+84+88+89) | ||
|- | |- | ||
| | | 84 | ||
| | | 0x054 | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| 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); | |||
|- | |- | ||
| | ! colspan="6" id="sys_event Syscalls"|[[#sys_event Syscalls]] (82+83+85-87+118+128-140) | ||
|- | |- | ||
| | | 85 | ||
| | | 0x055 | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| 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 | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| 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 | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| sys_event_flag_set | |||
| int sys_event_flag_set(sys_event_flag_t id, uint64_t bitptn); | |||
|- | |- | ||
| | ! colspan="6" id="sys_interrupt Syscalls"|[[#sys_interrupt Syscalls]] (80+81+84+88+89) | ||
|- | |- | ||
| | | 88 | ||
| | | 0x058 | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| sys_interrupt_thread_eoi | |||
| void sys_interrupt_thread_eoi(void); | |||
|- | |- | ||
| | | 89 | ||
| | | 0x059 | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| sys_interrupt_thread_disestablish | |||
| int sys_interrupt_thread_disestablish(sys_interrupt_thread_handle_t ih); | |||
|- | |- | ||
| | ! colspan="6" id="sys_semaphore Syscalls"|[[#sys_semaphore Syscalls]] (90-94+114) | ||
|- | |- | ||
| | | 90 | ||
| | | 0x05A | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| 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 | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| sys_semaphore_destroy | |||
| int sys_semaphore_destroy(sys_semaphore_t sem); | |||
|- | |- | ||
| | | 92 | ||
| | | 0x05C | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| sys_semaphore_wait | |||
| int sys_semaphore_wait(sys_semaphore_t sem, usecond_t timeout); | |||
|- | |- | ||
| | | 93 | ||
| | | 0x05D | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| sys_semaphore_trywait | |||
| int sys_semaphore_trywait(sys_semaphore_t sem); | |||
|- | |- | ||
| | | 94 | ||
| | | 0x05E | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| sys_semaphore_post | |||
| int sys_semaphore_post(sys_semaphore_t sem, sys_semaphore_value_t val); | |||
|- | |- | ||
| | ! colspan="6" id="sys_lwmutex Syscalls"|[[#sys_lwmutex Syscalls]] (95-99) | ||
|- | |- | ||
| | | 95 | ||
| | | 0x05F | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| sys_lwmutex_create | |||
| int sys_lwmutex_create(sys_lwmutex_t *lwmutex, sys_lwmutex_attribute_t *attr) | |||
|- | |- | ||
| | | 96 | ||
| | | 0x060 | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| sys_lwmutex_destroy | |||
| int sys_lwmutex_destroy(sys_lwmutex_t *lwmutex) | |||
|- | |- | ||
| | | 97 | ||
| | | 0x061 | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| sys_lwmutex_lock | |||
| int sys_lwmutex_lock(sys_lwmutex_t *lwmutex, usecond_t timeout) | |||
|- | |- | ||
| | | 98 | ||
| | | 0x062 | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| sys_lwmutex_trylock | |||
| int sys_lwmutex_trylock(sys_lwmutex_t *lwmutex) | |||
|- | |- | ||
| | | 99 | ||
| | | 0x063 | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| sys_lwmutex_unlock | |||
| int sys_lwmutex_unlock(sys_lwmutex_t *lwmutex) | |||
|- | |- | ||
| | ! colspan="6" id="sys_mutex Syscalls"|[[#sys_mutex Syscalls]] (100-104) | ||
|- | |- | ||
| | | 100 | ||
| | | 0x064 | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| sys_mutex_create | |||
| int sys_mutex_create(sys_mutex_t * mutex_id, sys_mutex_attribute_t * attr); | |||
|- | |- | ||
| | | 101 | ||
| | | 0x065 | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| sys_mutex_destroy | |||
| int sys_mutex_destroy(sys_mutex_t mutex_id); | |||
|- | |- | ||
| | | 102 | ||
| | | 0x066 | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| sys_mutex_lock | |||
| int sys_mutex_lock(sys_mutex_t mutex_id, usecond_t timeout); | |||
|- | |- | ||
| | | 103 | ||
| | | 0x067 | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| sys_mutex_trylock | |||
| int sys_mutex_trylock(sys_mutex_t mutex_id); | |||
|- | |- | ||
| | | 104 | ||
| | | 0x068 | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| sys_mutex_unlock | |||
| int sys_mutex_unlock(sys_mutex_t mutex_id); | |||
|- | |- | ||
| | ! colspan="6" id="sys_cond Syscalls"|[[#sys_cond Syscalls]] (105-110) | ||
|- | |- | ||
| | | 105 | ||
| | | 0x069 | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| sys_cond_create | |||
| int sys_cond_create(sys_cond_t * cond_id, sys_mutex_t mutex_id, sys_cond_attribute_t * attr); | |||
|- | |- | ||
| | | 106 | ||
| | | 0x06A | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| sys_cond_destroy | |||
| int sys_cond_destroy(sys_cond_t cond_id); | |||
|- | |- | ||
| | | 107 | ||
| | | 0x06B | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| sys_cond_wait | |||
| int sys_cond_wait(sys_cond_t cond_id, usecond_t timeout); | |||
|- | |- | ||
| | | 108 | ||
| | | 0x06C | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| sys_cond_signal | |||
| int sys_cond_signal(sys_cond_t cond_id); | |||
|- | |- | ||
| | | 109 | ||
| | | 0x06D | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| sys_cond_signal_all | |||
| int sys_cond_signal_all(sys_cond_t cond_id); | |||
|- | |- | ||
| | | 110 | ||
| | | 0x06E | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| sys_cond_signal_to | |||
| int sys_cond_signal_to(sys_cond_t cond_id, sys_ppu_thread_t thread); | |||
|- | |- | ||
| | ! colspan="6" id="sys_lwcond Syscalls"|[[#sys_lwcond Syscalls]] (111+112) | ||
|- | |- | ||
| | | 111 | ||
| | | 0x06F | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| sys_lwcond_create | |||
| int sys_lwcond_create(sys_lwcond_t *lwcond, sys_lwmutex_t *lwmutex, sys_lwcond_attribute_t *attr) | |||
|- | |- | ||
| | | 112 | ||
| | | 0x070 | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| sys_lwcond_destroy | |||
| int sys_lwcond_destroy(sys_lwcond_t *lwcond) | |||
|- | |- | ||
| | | 113 | ||
| | | 0x071 | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| sys_lwcond_queue_wait | |||
| 3 params | |||
|- | |- | ||
| | ! colspan="6" id="sys_semaphore Syscalls"|[[#sys_semaphore Syscalls]] (90-94+114) | ||
|- | |- | ||
| | | 114 | ||
| | | 0x072 | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| sys_semaphore_get_value | |||
| int sys_semaphore_get_value(sys_semaphore_t sem, sys_semaphore_value_t * val); | |||
|- | |- | ||
| | | 115 | ||
| | | 0x073 | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| | |||
| 4 params | |||
|- | |- | ||
| | | 116 | ||
| | | 0x074 | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| | |||
| 3 params | |||
|- | |- | ||
| | | 117 | ||
| | | 0x075 | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| | |||
| 1 params : sys_lwmutex_t *lwmutex | |||
|- | |- | ||
| | ! colspan="6" id="sys_event Syscalls"|[[#sys_event Syscalls]] (82+83+85-87+118+128-140) | ||
|- | |- | ||
| | | 118 | ||
| | | 0x076 | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| sys_event_flag_clear | |||
| int sys_event_flag_clear(sys_event_flag_t id, uint64_t bitptn); | |||
|- | |- | ||
| | | 119 | ||
| | | 0x077 | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| {{Root}} | |||
| | |||
| int syscall(119, uint64_t *real_time_clock); Gets ps3 real time clock value, hvsc232 | |||
|- | |- | ||
| | ! colspan="6" id="sys_rwlock Syscalls"|[[#sys_rwlock Syscalls]] (120-127+148) | ||
|- | |- | ||
| | | 120 | ||
| | | 0x078 | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| sys_rwlock_create | |||
| int sys_rwlock_create(sys_rwlock_t * rw_lock_id, sys_rwlock_attribute_t * attr); | |||
|- | |- | ||
| | | 121 | ||
| | | 0x079 | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| sys_rwlock_destroy | |||
| int sys_rwlock_destroy(sys_rwlock_t rw_lock_id); | |||
|- | |- | ||
| | | 122 | ||
| | | 0x07A | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| sys_rwlock_rlock | |||
| int sys_rwlock_rlock(sys_rwlock_t rw_lock_id, usecond_t timeout); | |||
|- | |- | ||
| | | 123 | ||
| | | 0x07B | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| sys_rwlock_tryrlock | |||
| int sys_rwlock_tryrlock(sys_rwlock_t rw_lock_id); | |||
|- | |- | ||
| | | 124 | ||
| | | 0x07C | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| sys_rwlock_runlock | |||
| int sys_rwlock_runlock(sys_rwlock_t rw_lock_id); | |||
|- | |- | ||
| | | 125 | ||
| | | 0x07D | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| sys_rwlock_wlock | |||
| int sys_rwlock_wlock(sys_rwlock_t rw_lock_id, usecond_t timeout); | |||
|- | |- | ||
| | | 126 | ||
| | | 0x07E | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| sys_rwlock_trywlock | |||
| int sys_rwlock_trywlock(sys_rwlock_t rw_lock_id); | |||
|- | |- | ||
| | | 127 | ||
| | | 0x07F | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| sys_rwlock_wunlock | |||
| int sys_rwlock_wunlock(sys_rwlock_t rw_lock_id); | |||
|- | |- | ||
| | ! colspan="6" id="sys_event Syscalls"|[[#sys_event Syscalls]] (82+83+85-87+118+128-140) | ||
|- | |- | ||
| | | 128 | ||
| | | 0x080 | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| 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 | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| sys_event_queue_destroy | |||
| int sys_event_queue_destroy(sys_event_queue_t equeue_id, int mode); | |||
|- | |- | ||
| | | 130 | ||
| | | 0x082 | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| sys_event_queue_receive | |||
| int sys_event_queue_receive(sys_event_queue_t equeue_id, sys_event_t * event, usecond_t timeout); | |||
|- | |- | ||
| | | 131 | ||
| | | 0x083 | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| 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 | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| sys_event_flag_cancel | |||
| int sys_event_flag_cancel(sys_event_flag_t id, int *num); | |||
|- | |- | ||
| | | 133 | ||
| | | 0x085 | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| sys_event_queue_drain | |||
| int sys_event_queue_drain(sys_event_queue_t equeue_id); | |||
|- | |- | ||
| | | 134 | ||
| | | 0x086 | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| sys_event_port_create | |||
| int sys_event_port_create(sys_event_port_t * eport_id, int port_type, uint64_t name); | |||
|- | |- | ||
| | | 135 | ||
| | | 0x087 | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| sys_event_port_destroy | |||
| int sys_event_port_destroy(sys_event_port_t eport_id); | |||
|- | |- | ||
| | | 136 | ||
| | | 0x088 | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| 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 | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| sys_event_port_disconnect | |||
| int sys_event_port_disconnect(sys_event_port_t event_port_id); | |||
|- | |- | ||
| | | 138 | ||
| | | 0x08A | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| 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 | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| sys_event_flag_get | |||
| int sys_event_flag_get(sys_event_flag_t id, uint64_t * bitptn); | |||
|- | |- | ||
| | | 140 | ||
| | | 0x08C | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| sys_event_port_connect_ipc | |||
| int sys_event_port_connect_ipc(sys_event_port_t eport_id, sys_ipc_key_t event_queue_key); | |||
|- | |- | ||
| | ! colspan="6" id="sys_timer Syscalls"|[[#sys_timer Syscalls]] (70-76+141+142) | ||
|- | |- | ||
| | | 141 | ||
| | | 0x08D | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| sys_timer_usleep | |||
| int sys_timer_usleep(usecond_t sleep_time); | |||
|- | |- | ||
| | | 142 | ||
| | | 0x08E | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| sys_timer_sleep | |||
| int sys_timer_sleep(second_t sleep_time); | |||
|- | |- | ||
| | ! colspan="6" id="sys_time Syscalls"|[[#sys_time Syscalls]] (143-147) | ||
|- | |- | ||
| | | 143 | ||
| | | 0x08F | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| {{Root}} | |||
| sys_time_set_timezone | |||
| int sys_time_set_timezone(int timezone, int summertime) | |||
|- | |- | ||
| | | 144 | ||
| | | 0x090 | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| sys_time_get_timezone | |||
| int sys_time_get_timezone(int *timezone, int *summertime) | |||
|- | |- | ||
| | | 145 | ||
| | | 0x091 | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| sys_time_get_current_time | |||
| int sys_time_get_current_time(sys_time_sec_t * sec, sys_time_nsec_t * nsec); | |||
|- | |- | ||
| | | 146 | ||
| | | 0x092 | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| {{Root}} | |||
| sys_time_set_current_time | |||
| int sys_time_set_current_time(uint64_t sec, uint64_t nsec); | |||
|- | |- | ||
| | | 147 | ||
| | | 0x093 | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| sys_time_get_timebase_frequency | |||
| uint64_t sys_time_get_timebase_frequency(void); | |||
|- | |- | ||
| | ! colspan="6" id="sys_rwlock Syscalls"|[[#sys_rwlock Syscalls]] (120-127+148) | ||
|- | |- | ||
| | | 148 | ||
| | | 0x094 | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| sys_rwlock_trywlock | |||
| int sys_rwlock_trywlock(sys_rwlock_t rw_lock_id); | |||
|- | |- | ||
| | ! colspan="6" id="sys_spu/sys_raw_spu Syscalls"|[[#sys_spu/sys_raw_spu Syscalls]] (150-260) | ||
|- | |- | ||
| | | 150 | ||
| | | 0x096 | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| 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 | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| 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 | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| 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 | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| 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 | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| 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) | |||
|- | |- | ||
| | | 155 | ||
| | | 0x09B | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| sys_spu_image_get_information? | |||
| int sys_spu_image_get_information?(sys_spu_image_t *img, out:uint[4],out:uint[4]) | |||
|- | |- | ||
| | | 156 | ||
| | | 0x09C | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| sys_spu_image_open | |||
| int sys_spu_image_open(sys_spu_image_t *img, const char *path) | |||
|- | |- | ||
| | | 157 | ||
| | | 0x09D | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| sys_spu_image_import | |||
| int sys_spu_image_import(sys_spu_image_t *img, const void *src, uint32_t type) | |||
|- | |- | ||
| | | 158 | ||
| | | 0x09E | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| sys_spu_image_close | |||
| int sys_spu_image_close(sys_spu_image_t *img); | |||
|- | |- | ||
| | | 159 | ||
| | | 0x09F | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| sys_raw_spu_load | |||
| 3 Params ( sys_spu_image_t * img, sys_addr_t alloc_addr, int size? ), needs much more proper information | |||
|- | |- | ||
| | | 160 | ||
| | | 0x0A0 | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| sys_raw_spu_create | |||
| int sys_raw_spu_create(sys_raw_spu_t *id, sys_raw_spu_attribute_t *attr) | |||
|- | |- | ||
| | | 161 | ||
| | | 0x0A1 | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| sys_raw_spu_destroy | |||
| int sys_raw_spu_destroy(sys_raw_spu_t id) | |||
|- | |- | ||
| | | 163 | ||
| | | 0x0A3 | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| sys_raw_spu_read_puint_mb | |||
| int sys_raw_spu_read_puint_mb(sys_raw_spu_t id, uint32_t *value) | |||
|- | |- | ||
| | | 165 | ||
| | | 0x0A5 | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| sys_spu_thread_get_exit_status | |||
| int sys_spu_thread_get_exit_status(sys_spu_thread_t id, int *status) | |||
|- | |- | ||
| | | 166 | ||
| | | 0x0A6 | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| sys_spu_thread_set_argument | |||
| int sys_spu_thread_set_argument(sys_spu_thread_t id, sys_spu_thread_argument_t *arg) | |||
|- | |- | ||
| | | 167 | ||
| | | 0x0A7 | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| sys_spu_thread_group_start_on_exit | |||
| | |||
|- | |- | ||
| | | 169 | ||
| | | 0x0A9 | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| sys_spu_initialize | |||
| int sys_spu_initialize(unsigned int max_usable_spu, unsigned int max_raw_spu) | |||
|- | |- | ||
| | | 170 | ||
| | | 0x0AA | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| 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 | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| sys_spu_thread_group_destroy | |||
| int sys_spu_thread_group_destroy(sys_spu_thread_group_t id) | |||
|- | |- | ||
| | | 172 | ||
| | | 0x0AC | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| 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 | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| sys_spu_thread_group_start | |||
| int sys_spu_thread_group_start(sys_spu_thread_group_t id) | |||
|- | |- | ||
| | | 174 | ||
| | | 0x0AE | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| sys_spu_thread_group_suspend | |||
| int sys_spu_thread_group_suspend(sys_spu_thread_group_t id) | |||
|- | |- | ||
| | | 175 | ||
| | | 0x0AF | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| sys_spu_thread_group_resume | |||
| int sys_spu_thread_group_resume(sys_spu_thread_group_t id) | |||
|- | |- | ||
| | | 176 | ||
| | | 0x0B0 | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| sys_spu_thread_group_yield | |||
| int sys_spu_thread_group_yield(sys_spu_thread_group_t id) | |||
|- | |- | ||
| | | 177 | ||
| | | 0x0B1 | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| sys_spu_thread_group_terminate | |||
| int sys_spu_thread_group_terminate(sys_spu_thread_group_t id, int value) | |||
|- | |- | ||
| | | 178 | ||
| | | 0x0B2 | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| sys_spu_thread_group_join | |||
| int sys_spu_thread_group_join(sys_spu_thread_group_t gid, int *cause, int *status) | |||
|- | |- | ||
| | | 179 | ||
| | | 0x0B3 | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| sys_spu_thread_group_set_priority | |||
| int sys_spu_thread_group_set_priority(sys_spu_thread_group_t id, int priority) | |||
|- | |- | ||
| | | 180 | ||
| | | 0x0B4 | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| sys_spu_thread_group_get_priority | |||
| int sys_spu_thread_group_get_priority(sys_spu_thread_group_t id, int *priority) | |||
|- | |- | ||
| | | 181 | ||
| | | 0x0B5 | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| 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 | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| 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 | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| sys_spu_thread_write_snr | |||
| int sys_spu_thread_write_snr(sys_spu_thread_t id, int number, uint32_t value) | |||
|- | |- | ||
| | | 185 | ||
| | | 0x0B9 | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| 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 | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| 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 | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| sys_spu_thread_set_spu_cfg | |||
| int sys_spu_thread_set_spu_cfg(sys_spu_thread_t id, uint64_t value) | |||
|- | |- | ||
| | | 188 | ||
| | | 0x0BC | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| sys_spu_thread_get_spu_cfg | |||
| int sys_spu_thread_get_spu_cfg(sys_spu_thread_t id, uint64_t *value) | |||
|- | |- | ||
| | | 190 | ||
| | | 0x0BE | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| sys_spu_thread_write_spu_mb | |||
| int sys_spu_thread_write_spu_mb(sys_spu_thread_t id, uint32_t value); | |||
|- | |- | ||
| | | 191 | ||
| | | 0x0BF | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| 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 | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| 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 | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| 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 | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| sys_spu_thread_unbind_queue | |||
| int sys_spu_thread_unbind_queue(sys_spu_thread_t id, uint32_t spuq_num) | |||
|- | |- | ||
| | | 196 | ||
| | | 0x0C4 | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| sys_raw_spu_set_spu_cfg | |||
| int sys_raw_spu_set_spu_cfg(sys_raw_spu_t id, uint32_t value) | |||
|- | |- | ||
| | | 197 | ||
| | | 0x0C5 | ||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| sys_raw_spu_get_spu_cfg | |||
| int sys_raw_spu_get_spu_cfg(sys_raw_spu_t id, uint32_t *value) | |||
|- | |- | ||
|} | | 198 | ||
| 0x0C6 | |||
| {{CEX}}{{DEX}}{{DECR}} | |||
| | |||
| sys_spu_thread_recover_page_fault | |||
| int sys_spu_thread_recover_page_fault(sys_spu_thread_t id) | |||
|- | |- | ||
| | | 199 | ||
| | | 0x0C7 | ||
| | | {{CEX}}{{DEX}}{{DECR}} | ||
| | | | ||
| | | sys_raw_spu_recover_page_fault | ||
| | | int sys_raw_spu_recover_page_fault(sys_raw_spu_t id) | ||
|- | |- | ||
| 200 | |||
| 0x0C8 | |||
| ?? | |||
| ?? | |||
| syscall_console_putc | |||
| ?? | |||
|} | |} |