Editing LV2 Functions and Syscalls

Jump to navigation Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
[[Category:Software]]
= Structures =
= Structures =
<source lang="cpp">
<pre>
struct sys_process_info_t __attribute__ ((packed)) {
struct sys_process_info_t __attribute__ ((packed)) {
process_id_t pid;
process_id_t pid;
Line 12: Line 13:
uint8_t osabi_type;
uint8_t osabi_type;
uint8_t pad[3];
uint8_t pad[3];
uint64_t interrupt_bitmap_mask;
uint64_t param_0x28;
uint32_t dbg_trace_id;
uint32_t param_0x30;
};
};
 
</pre>
 
struct sys_prx_load_module_option_t {
uint64_t size; /* sizeof(this) */
};
 
struct sys_prx_dbg_get_module_list_t {
uint64_t size; /* sizeof(this) *//* 8 */
uint32_t unk0;
uint32_t max;
sys_prx_user_p_prx_id_t idlist;
uint32_t count;
sys_prx_user_p_stop_level_t levellist;
uint32_t unk1;
} sys_prx_dbg_get_module_list_t;
 
struct sys_prx_start_t {
uint64_t flag; // flag ?
uint64_t mode; // mode ?
uint64_t entry; //either first arg of pe_func or casted to sys_prx_entry_t (see sys/prx.h)
int64_t modres;
uint64_t pe_func; //casted to sys_prx_entry_pe_t (see sys/prx.h)
};
 
struct np_drm_info_t {
uint32_t magic;
uint32_t version;
uint32_t drm_type;
uint32_t type;
uint8_t content_id[0x30];
struct CellRtcTick validity_start;
struct CellRtcTick validity_end;
struct CellRtcTick current_tick;
struct CellRtcTick current_secure_tick;
};
</source>


= Functions =
= Functions =
Line 304: Line 270:
|-
|-
! FW version !! Alloc !! Free !! Syscall<br />Table !! Mem_base !! TOC !! Copy<br />to<br />User !! Notes
! FW version !! Alloc !! Free !! Syscall<br />Table !! Mem_base !! TOC !! Copy<br />to<br />User !! Notes
|-
| 4.82 Retail || || || 0x363BE0 || || 0x34FBB0 ||  ||
|-
| 4.81 Retail || || || 0x363BE0 || || 0x34FBB0 ||  ||
|-
|-
| 3.56 Retail || 0x60b24 || 0x60f60 || 0x346570 || 0xef60 || 0x330540 ||  ||  
| 3.56 Retail || 0x60b24 || 0x60f60 || 0x346570 || 0xef60 || 0x330540 ||  ||  
Line 364: Line 326:
|-
|-
| 1.02 Retail || || || 0x322428 ||  ||  ||  ||  
| 1.02 Retail || || || 0x322428 ||  ||  ||  ||  
|-
| 1.50 DEX || || || 0x3384A8 ||  || 0x392850 ||  ||
|-
|-
| 1.00 DEX || || || 0x3206e0 ||  ||  ||  ||  
| 1.00 DEX || || || 0x3206e0 ||  ||  ||  ||  
Line 374: Line 334:


=== LV2 Syscalls ===
=== LV2 Syscalls ===
{| class="wikitable mw-datatable sortable" style="line-height:110%;"
{| class="wikitable sortable"
|-
|-
! Dec
! Dec
! Hex
! Hex
! style="width:95px" | <abbr title="Firmware Type Specific (CEX,DEX,..)">fw_type</abbr>
! <abbr title="Firmware Type Specific (CEX,DEX,..)">fw_type</abbr>
! <abbr title="Additional Settings/Flags required (Control Flags,Product Mode,..)">needed_flags</abbr>
! <abbr title="Additional Settings/Flags required (Control Flags,Product Mode,..)">needed_flags</abbr>
! Name
! Name
Line 387: Line 347:
| 1
| 1
| 0x001
| 0x001
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_process_getpid
| sys_process_getpid
Line 394: Line 354:
| 2
| 2
| 0x002
| 0x002
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
| sys_process_wait_for_child
| sys_process_wait_for_child
Line 401: Line 361:
| 3
| 3
| 0x003
| 0x003
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_process_exit
| sys_process_exit
Line 408: Line 368:
| 4
| 4
| 0x004
| 0x004
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Dbg}}
| {{Dbg}}
| sys_process_get_status
| sys_process_get_status
| int sys_process_get_status(sys_pid_t pid)
| 1 param
|-
|-
| 5
| 5
| 0x005
| 0x005
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Dbg}}
| {{Dbg}}
| sys_process_detach_child
| sys_process_detach_child
| 1 param
| 1 param
|-
|-
| 6
| 12
| 0x006
| 0x00B
|
| {{CEX}}{{DEX}}{{DECR}}
|
| (sys_process_create_program_segment)
|
|
| sys_process_get_number_of_object
| int sys_process_get_number_of_object(uint32_t object_type, uint32_t* count);
|-
|-
| 7
| 13
| 0x007
| 0x00C
|
| {{CEX}}{{DEX}}{{DECR}}
|
| (sys_process_destroy_program_segment)
|
|
| sys_process_get_id
| int sys_process_get_id(uint32_t object, uint32_t * buff, size_t size, size_t * set_size);
|-
|-
| 8
| 14
| 0x008
| 0x00D
|
| {{CEX}}{{DEX}}{{DECR}}
|
| (sys_process_authenticate_program_segment)
|
|
| sys_process_is_spu_lock_line_reservation_address
| int sys_process_is_spu_lock_line_reservation_address(sys_addr_t addr, uint64_t flags);
|-
|-
| 9
| 18
| 0x009
| 0x012
|
| {{CEX}}{{DEX}}{{DECR}}
|
| (sys_process_load_program_segment)
|
|
| sys_process_getppid
| sys_pid_t sys_process_getppid(void);
|-
|-
| 10
| 19
| 0x00A
| 0x013
|
| {{CEX}}{{DEX}}{{DECR}}
|
| (sys_process_unload_program_segment)
|
|
| sys_process_kill
| int sys_process_kill(sys_pid_t pid);
|-
|-
| 11
| 21
| 0x00B
| 0x015
|
| {{CEX}}{{DEX}}{{DECR}}
|
| {{Dbg}}
| (sys_process_find_program_segment)
| _sys_process_spawn
|
| 7 param
|-
|-
| 12
| 22
| 0x00C
| 0x016
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_process_get_number_of_object
| sys_process_exit
| int sys_process_get_number_of_object(uint32_t object_type, uint32_t* count);
| void sys_process_exit(int error_code,0,0)
|-
|-
| 13
| 23
| 0x00D
| 0x017
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
| {{Dbg}}
| sys_process_get_id
| sys_process_wait_for_child2
| int sys_process_get_id(uint32_t object, uint32_t * buff, size_t size, size_t * set_size);
| 6 params
|-
|-
| 14
| 24
| 0x00E
| 0x018
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Dbg}}
|
|
| sys_process_is_spu_lock_line_reservation_address
| 8 params, spawns a self
| int sys_process_is_spu_lock_line_reservation_address(sys_addr_t addr, uint64_t flags);
|-
|-
| 15
| 25
| 0x00F
| 0x019
|
| {{CEX}}{{DEX}}{{DECR}}
|
| (sys_process_create)
|
|
| sys_process_get_sdk_version
| 2 params :sys_pid_t pid, uint8_t outbuf[4]
|-
|-
| 17
| 26
| 0x011
| 0x01A
|
| {{CEX}}{{DEX}}{{DECR}}
|
| (sys_process_create_primary_ppu_thread)
|
|
| _sys_process_exit as well
| 4 params (calls sys_process_exit)
|-
|-
| 18
| 27
| 0x012
| 0x01B
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Dbg}}
|
|
| sys_process_getppid
| 8 params, spawns a self
| sys_pid_t sys_process_getppid(void);
|-
| 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.
|-
|-
| 19
| 30
| 0x013
| 0x01E
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_process_kill
| _sys_process_get_paramsfo
| int sys_process_kill(sys_pid_t pid);
| 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......
|-
|-
| 20
| 31
| 0x014
| 0x01F
|
| {{CEX}}{{DEX}}{{DECR}}
|
| (sys_process_create_primary_ppu_thread_tls)
|
|
| sys_process_get_ppu_guid
| sys_addr_t sys_process_get_ppu_guid(void);
|-
|-
| 21
! colspan="6" id="sys_ppu_thread Syscalls"|[[#sys_ppu_thread Syscalls]] (40-58)
| 0x015
| {{DECR}} {{DEX}} {{CEX}}
| {{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
| 41
| 0x016
| 0x029
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_process_exit2
| sys_ppu_thread_exit
| void sys_process_exit2(int error_code,0,0)
| int sys_ppu_thread_exit(int errorcode)
|-
|-
| 23
| 43
| 0x017
| 0x02B
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Dbg}}
|
| sys_process_wait_for_child2
| sys_ppu_thread_yield
| 6 params
| void sys_ppu_thread_yield(void);
|-
|-
| 24
| 44
| 0x018
| 0x02C
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Dbg}}
|
|
| 8 params, spawns a self
| sys_ppu_thread_join
| int sys_ppu_thread_join(sys_ppu_thread_t thread_id, uint64_t * vptr);
|-
|-
| 25
| 45
| 0x019
| 0x02D
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
|
| sys_process_get_sdk_version
| sys_ppu_thread_detach
| int sys_process_get_sdk_version(sys_pid_t pid, uint32_t* sdk_version)
| int sys_ppu_thread_detach(sys_ppu_thread_t thread_id);
Only needs root permission if 'pid' is not the current process.
|-
|-
| 26
| 46
| 0x01A
| 0x02E
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| _sys_process_exit as well
| sys_ppu_thread_get_join_state
| 4 params (calls sys_process_exit)
| void sys_ppu_thread_get_join_state(int *isjoinable);
|-
|-
| 27
| 47
| 0x01B
| 0x02F
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Dbg}}
| {{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}}
|
|
| 8 params, spawns a self
| sys_ppu_thread_get_priority
| int sys_ppu_thread_get_priority(sys_ppu_thread_t thread_id, int *prio);
|-
|-
| 28
| 49
| 0x01C
| 0x031
| {{DECR}} {{DEX}} {{CEX}}
| {{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}}
| {{Root}}
| _sys_process_get_number_of_object as well kinda
| sys_ppu_thread_stop
| int sys_process_get_number_of_object(uint32_t object)
| int sys_ppu_thread_stop(sys_ppu_thread_t thread_id);
|-
|-
| 29
| 51
| 0x01D
| 0x033
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
| sys_process_get_id as well
| sys_ppu_thread_restart
| same as syscall13 just with root flag check, same input etc.
| 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);
|-
|-
| 30
| 53
| 0x01E
| 0x035
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| _sys_process_get_paramsfo
| sys_ppu_thread_start
| int _sys_process_get_paramsfo(uint8_t buffer[0x40]); (more info: [[#sys_process_get_paramsfo]])
| int sys_ppu_thread_start(sys_ppu_thread_t thread_id);
|-
|-
| 31
| 54
| 0x01F
| 0x036
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
|
|
| sys_process_get_ppu_guid
| syscall(0x036, 0x109/0x111, out: uint8[4]), pu_thread get (kernel) allocation information
| sys_addr_t sys_process_get_ppu_guid(void);
|-
|-
! colspan="6" id="sys_ppu_thread Syscalls"|[[#sys_ppu_thread Syscalls]] (40-58)
| 55
|-
| 0x037
| 41
| {{CEX}}{{DEX}}{{DECR}}
| 0x029
| {{Root}}
| {{DECR}} {{DEX}} {{CEX}}
|
|
| sys_ppu_thread_exit
| syscall(0x037, 0x111, 0> int <0x100), pu_thread set (kernel) allocation? information
| int sys_ppu_thread_exit(int errorcode)
|-
|-
| 42
| 56
| 0x02A
| 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_get_id)
| 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);
|-
|-
| 43
! colspan="6" id="sys_trace Syscalls"|[[#sys_trace Syscalls]] (67-69+77)
| 0x02B
|-
| {{DECR}} {{DEX}} {{CEX}}
| 60
| 0x03C
| {{DEX}} {{DECR}}
|
| sys_trace_create
|
|
| sys_ppu_thread_yield
| void sys_ppu_thread_yield(void);
|-
|-
| 44
| 61
| 0x02C
| 0x03D
| {{DECR}} {{DEX}} {{CEX}}
| {{DEX}} {{DECR}}
|
|
| sys_ppu_thread_join
| sys_trace_start
| int sys_ppu_thread_join(sys_ppu_thread_t thread_id, uint64_t * vptr);
|-
| 45
| 0x02D
| {{DECR}} {{DEX}} {{CEX}}
|
|
| sys_ppu_thread_detach
| int sys_ppu_thread_detach(sys_ppu_thread_t thread_id);
|-
|-
| 46
| 62
| 0x02E
| 0x03E
| {{DECR}} {{DEX}} {{CEX}}
| {{DEX}} {{DECR}}
|
| sys_trace_stop
|
|
| sys_ppu_thread_get_join_state
| void sys_ppu_thread_get_join_state(int *isjoinable);
|-
|-
| 47
| 63
| 0x02F
| 0x03F
| {{DECR}} {{DEX}} {{CEX}}
| {{DEX}} {{DECR}}
| {{Dbg}}
|
| sys_ppu_thread_set_priority
| sys_trace_update_top_index
| int sys_ppu_thread_set_priority(sys_ppu_thread_t thread_id, int prio); <br> Flags are checked when 3071 > prio < 3199
|
|-
|-
| 48
| 64
| 0x030
| 0x040
| {{DECR}} {{DEX}} {{CEX}}
| {{DEX}} {{DECR}}
|
| sys_trace_destroy
|
|
| sys_ppu_thread_get_priority
| int sys_ppu_thread_get_priority(sys_ppu_thread_t thread_id, int *prio);
|-
|-
| 49
| 65
| 0x031
| 0x041
| {{DECR}} {{DEX}} {{CEX}}
| {{DEX}} {{DECR}}
|
| sys_trace_drain
|
|
| sys_ppu_thread_get_stack_information
| int sys_ppu_thread_get_stack_information(sys_ppu_thread_stack_t * info);
|-
|-
| 50
| 66
| 0x032
| 0x042
| {{DECR}} {{DEX}} {{CEX}}
| {{DEX}} {{DECR}}
| {{Root}}
|
| sys_ppu_thread_stop
| sys_trace_attach_process
| int sys_ppu_thread_stop(sys_ppu_thread_t thread_id);
|
|-
|-
| 51
| 67
| 0x033
| 0x043
| {{DECR}} {{DEX}} {{CEX}}
| {{DEX}} {{DECR}}
| {{Root}}
|
| sys_ppu_thread_restart
| sys_trace_allocate_buffer
| int sys_ppu_thread_restart(void);
|
|-
|-
| 52
| 68
| 0x034
| 0x044
| {{DECR}} {{DEX}} {{CEX}}
| {{DEX}} {{DECR}}
| {{Dbg}}
|
| sys_ppu_thread_create
| sys_trace_free_buffer
| 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
| 69
| 0x035
| 0x045
| {{DECR}} {{DEX}} {{CEX}}
| {{DEX}} {{DECR}}
|
|
| sys_ppu_thread_start
| sys_trace_create2
| int sys_ppu_thread_start(sys_ppu_thread_t thread_id);
|-
| 54
| 0x036
| {{DECR}} {{DEX}} {{CEX}}
| {{Root}}
|
|
| syscall(0x036, 0x109/0x111, out: uint8[4]), pu_thread get (kernel) allocation information
|-
|-
| 55
! colspan="6" id="sys_timer Syscalls"|[[#sys_timer Syscalls]] (70-76+141+142)
| 0x037
| {{DECR}} {{DEX}} {{CEX}}
| {{Root}}
|
| syscall(0x037, 0x111, 0> int <0x100), pu_thread set (kernel) allocation? information
|-
|-
| 56
| 70
| 0x038
| 0x046
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_ppu_thread_rename
| sys_timer_create
| int sys_ppu_thread_rename(sys_ppu_thread_t thread_id, const char *name);
| int sys_timer_create(sys_timer_t * timer_id);
|-
|-
| 57
| 71
| 0x039
| 0x047
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_ppu_thread_recover_page_fault
| sys_timer_destroy
| int sys_ppu_thread_recover_page_fault(sys_ppu_thread_t thread_id);
| int sys_timer_destroy(sys_timer_t timer_id);
|-
|-
| 58
| 72
| 0x03A
| 0x048
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_ppu_thread_get_page_fault_context
| sys_timer_get_information
| int sys_ppu_thread_get_page_fault_context(sys_ppu_thread_t thread_id, sys_ppu_thread_icontext_t * ctxp);
| int sys_timer_get_information(sys_timer_t timer_id, sys_timer_information_t * info);
|-
|-
! colspan="6" id="sys_trace Syscalls"|[[#sys_trace Syscalls]] (60-69+77)
| 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);
|-
|-
| 60
| 74
| 0x03C
| 0x04A
| {{DECR}} {{DEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_trace_create
| 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);
|-
|-
| 61
| 76
| 0x03D
| 0x04C
| {{DECR}} {{DEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
| sys_trace_start
|
|
| 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]] (67-69+77)
|-
|-
| 62
| 77
| 0x03E
| 0x04D
| {{DECR}} {{DEX}}
| {{DEX}} {{DECR}}
|
|
| sys_trace_stop
| sys_trace_create2_in_cbepm
|
|
|-
|-
| 63
| 78
| 0x03F
| 0x04E
| {{DECR}} {{DEX}}
| {{DECR}}
|
|
| sys_trace_update_top_index
| sys_trace_
|
|
|-
|-
| 64
! colspan="6" id="sys_interrupt Syscalls"|[[#sys_interrupt Syscalls]] (80+81+84+88+89)
| 0x040
|-
| {{DECR}} {{DEX}}
| 80
|
| 0x050
| sys_trace_destroy
| {{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);
|-
|-
| 65
| 81
| 0x041
| 0x051
| {{DECR}} {{DEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
| sys_trace_drain
|
|
| sys_interrupt_tag_destroy
| int sys_interrupt_tag_destroy(sys_interrupt_tag_t intrtag);
|-
|-
| 66
! colspan="6" id="sys_event Syscalls"|[[#sys_event Syscalls]] (82+83+85-87+118+128-140)
| 0x042
| {{DECR}} {{DEX}}
|
| sys_trace_attach_process
|
|-
|-
| 67
| 82
| 0x043
| 0x052
| {{DECR}} {{DEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
| sys_trace_allocate_buffer
|
|
| sys_event_flag_create
| int sys_event_flag_create(sys_event_flag_t * id, sys_event_flag_attribute_t * attr, uint64_t init);
|-
|-
| 68
| 83
| 0x044
| 0x053
| {{DECR}} {{DEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
| sys_trace_free_buffer
|
|
| sys_event_flag_destroy
| int sys_event_flag_destroy(sys_event_flag_t id);
|-
|-
| 69
! colspan="6" id="sys_interrupt Syscalls"|[[#sys_interrupt Syscalls]] (80+81+84+88+89)
| 0x045
|-
| {{DECR}} {{DEX}}
| 84
|
| 0x054
| sys_trace_create2
| {{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_timer Syscalls"|[[#sys_timer Syscalls]] (70-76+141+142)
! colspan="6" id="sys_event Syscalls"|[[#sys_event Syscalls]] (82+83+85-87+118+128-140)
|-
|-
| 70
| 85
| 0x046
| 0x055
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_timer_create
| sys_event_flag_wait
| int sys_timer_create(sys_timer_t * timer_id);
| int sys_event_flag_wait(sys_event_flag_t id, uint64_t bitptn, uint32_t mode, uint64_t * result, usecond_t timeout);
|-
|-
| 71
| 86
| 0x047
| 0x056
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_timer_destroy
| sys_event_flag_trywait
| int sys_timer_destroy(sys_timer_t timer_id);
| int sys_event_flag_trywait(sys_event_flag_t id, uint64_t bitptn, uint32_t mode, uint64_t * result);
|-
|-
| 72
| 87
| 0x048
| 0x057
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_timer_get_information
| sys_event_flag_set
| int sys_timer_get_information(sys_timer_t timer_id, sys_timer_information_t * info);
| 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)
|-
|-
| 73
| 88
| 0x049
| 0x058
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_timer_start
| sys_interrupt_thread_eoi
| int sys_timer_start(sys_timer_t timer_id, system_time_t base_time, usecond_t period);
| void sys_interrupt_thread_eoi(void);
|-
|-
| 74
| 89
| 0x04A
| 0x059
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_timer_stop
| sys_interrupt_thread_disestablish
| int sys_timer_stop(sys_timer_t timer_id);
| int sys_interrupt_thread_disestablish(sys_interrupt_thread_handle_t ih);
|-
! colspan="6" id="sys_semaphore Syscalls"|[[#sys_semaphore Syscalls]] (90-94+114)
|-
|-
| 75
| 90
| 0x04B
| 0x05A
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_timer_connect_event_queue
| sys_semaphore_create
| 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_semaphore_create(sys_semaphore_t * sem, sys_semaphore_attribute_t * attr, sys_semaphore_value_t initial_val, sys_semaphore_value_t max_val);
|-
|-
| 76
| 91
| 0x04C
| 0x05B
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_timer_disconnect_event_queue
| sys_semaphore_destroy
| int sys_timer_disconnect_event_queue(sys_timer_t timer_id);
| int sys_semaphore_destroy(sys_semaphore_t sem);
|-
|-
! colspan="6" id="sys_trace Syscalls"|[[#sys_trace Syscalls]] (60-69+77)
| 92
| 0x05C
| {{CEX}}{{DEX}}{{DECR}}
|
| sys_semaphore_wait
| int sys_semaphore_wait(sys_semaphore_t sem, usecond_t timeout);
|-
|-
| 77
| 93
| 0x04D
| 0x05D
| {{DECR}} {{DEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
| sys_trace_create2_in_cbepm
|
|
| sys_semaphore_trywait
| int sys_semaphore_trywait(sys_semaphore_t sem);
|-
|-
| 78
| 94
| 0x04E
| 0x05E
| {{DECR}}
| {{CEX}}{{DEX}}{{DECR}}
|
| sys_trace_
|
|
| sys_semaphore_post
| int sys_semaphore_post(sys_semaphore_t sem, sys_semaphore_value_t val);
|-
|-
! colspan="6" id="sys_interrupt Syscalls"|[[#sys_interrupt Syscalls]] (80+81+84+88+89)
! colspan="6" id="sys_lwmutex Syscalls"|[[#sys_lwmutex Syscalls]] (95-99)
|-
|-
| 80
| 95
| 0x050
| 0x05F
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_interrupt_tag_create
| sys_lwmutex_create
| int sys_interrupt_tag_create(sys_interrupt_tag_t * intrtag, sys_irqoutlet_id_t irq, sys_hw_thread_t hwthread);
| int sys_lwmutex_create(sys_lwmutex_t *lwmutex, sys_lwmutex_attribute_t *attr)
|-
|-
| 81
| 96
| 0x051
| 0x060
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_interrupt_tag_destroy
| sys_lwmutex_destroy
| int sys_interrupt_tag_destroy(sys_interrupt_tag_t intrtag);
| int sys_lwmutex_destroy(sys_lwmutex_t *lwmutex)
|-
|-
! colspan="6" id="sys_event Syscalls"|[[#sys_event Syscalls]] (82+83+85-87+118+128-140)
| 97
| 0x061
| {{CEX}}{{DEX}}{{DECR}}
|
| sys_lwmutex_lock
| int sys_lwmutex_lock(sys_lwmutex_t *lwmutex, usecond_t timeout)
|-
|-
| 82
| 98
| 0x052
| 0x062
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_event_flag_create
| sys_lwmutex_trylock
| int sys_event_flag_create(sys_event_flag_t * id, sys_event_flag_attribute_t * attr, uint64_t init);
| int sys_lwmutex_trylock(sys_lwmutex_t *lwmutex)
|-
|-
| 83
| 99
| 0x053
| 0x063
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_event_flag_destroy
| sys_lwmutex_unlock
| int sys_event_flag_destroy(sys_event_flag_t id);
| int sys_lwmutex_unlock(sys_lwmutex_t *lwmutex)
|-
|-
! colspan="6" id="sys_interrupt Syscalls"|[[#sys_interrupt Syscalls]] (80+81+84+88+89)
! colspan="6" id="sys_mutex Syscalls"|[[#sys_mutex Syscalls]] (100-104)
|-
|-
| 84
| 100
| 0x054
| 0x064
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_interrupt_thread_establish
| sys_mutex_create
| 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_mutex_create(sys_mutex_t * mutex_id, sys_mutex_attribute_t * attr);
|-
|-
! colspan="6" id="sys_event Syscalls"|[[#sys_event Syscalls]] (82+83+85-87+118+128-140)
| 101
|-
| 0x065
| 85
| {{CEX}}{{DEX}}{{DECR}}
| 0x055
| {{DECR}} {{DEX}} {{CEX}}
|
|
| sys_event_flag_wait
| sys_mutex_destroy
| int sys_event_flag_wait(sys_event_flag_t id, uint64_t bitptn, uint32_t mode, uint64_t * result, usecond_t timeout);
| 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);
|-
|-
| 86
| 103
| 0x056
| 0x067
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_event_flag_trywait
| sys_mutex_trylock
| int sys_event_flag_trywait(sys_event_flag_t id, uint64_t bitptn, uint32_t mode, uint64_t * result);
| int sys_mutex_trylock(sys_mutex_t mutex_id);
|-
|-
| 87
| 104
| 0x057
| 0x068
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_event_flag_set
| sys_mutex_unlock
| int sys_event_flag_set(sys_event_flag_t id, uint64_t bitptn);
| int sys_mutex_unlock(sys_mutex_t mutex_id);
|-
|-
! colspan="6" id="sys_interrupt Syscalls"|[[#sys_interrupt Syscalls]] (80+81+84+88+89)
! colspan="6" id="sys_cond Syscalls"|[[#sys_cond Syscalls]] (105-110)
|-
|-
| 88
| 105
| 0x058
| 0x069
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_interrupt_thread_eoi
| sys_cond_create
| void sys_interrupt_thread_eoi(void);
| int sys_cond_create(sys_cond_t * cond_id, sys_mutex_t mutex_id, sys_cond_attribute_t * attr);
|-
|-
| 89
| 106
| 0x059
| 0x06A
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_interrupt_thread_disestablish
| sys_cond_destroy
| int sys_interrupt_thread_disestablish(sys_interrupt_thread_handle_t ih);
| int sys_cond_destroy(sys_cond_t cond_id);
|-
|-
! colspan="6" id="sys_semaphore Syscalls"|[[#sys_semaphore Syscalls]] (90-94+114)
| 107
|-
| 0x06B
| 90
| {{CEX}}{{DEX}}{{DECR}}
| 0x05A
| {{DECR}} {{DEX}} {{CEX}}
|
|
| sys_semaphore_create
| sys_cond_wait
| 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_cond_wait(sys_cond_t cond_id, usecond_t timeout);
|-
|-
| 91
| 108
| 0x05B
| 0x06C
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_semaphore_destroy
| sys_cond_signal
| int sys_semaphore_destroy(sys_semaphore_t sem);
| int sys_cond_signal(sys_cond_t cond_id);
|-
|-
| 92
| 109
| 0x05C
| 0x06D
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_semaphore_wait
| sys_cond_signal_all
| int sys_semaphore_wait(sys_semaphore_t sem, usecond_t timeout);
| int sys_cond_signal_all(sys_cond_t cond_id);
|-
|-
| 93
| 110
| 0x05D
| 0x06E
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_semaphore_trywait
| sys_cond_signal_to
| int sys_semaphore_trywait(sys_semaphore_t sem);
| 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)
|-
|-
| 94
| 111
| 0x05E
| 0x06F
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_semaphore_post
| sys_lwcond_create
| int sys_semaphore_post(sys_semaphore_t sem, sys_semaphore_value_t val);
| int sys_lwcond_create(sys_lwcond_t *lwcond, sys_lwmutex_t *lwmutex, sys_lwcond_attribute_t *attr)
|-
|-
! colspan="6" id="sys_lwmutex Syscalls"|[[#sys_lwmutex Syscalls]] (95-99)
| 112
|-
| 0x070
| 95
| {{CEX}}{{DEX}}{{DECR}}
| 0x05F
| {{DECR}} {{DEX}} {{CEX}}
|
|
| _sys_lwmutex_create
| sys_lwcond_destroy
| int _sys_lwmutex_create(sys_lwmutex_pseudo_id_t* lwmutex, sys_protocol_t protocol, sys_lwmutex_t *control, int has_name, uint64_t name)
| int sys_lwcond_destroy(sys_lwcond_t *lwcond)
|-
|-
| 96
| 113
| 0x060
| 0x071
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| _sys_lwmutex_destroy
| sys_lwcond_queue_wait
| int _sys_lwmutex_destroy(sys_lwmutex_pseudo_id_t lwmutex)
| 3 params
|-
! colspan="6" id="sys_semaphore Syscalls"|[[#sys_semaphore Syscalls]] (90-94+114)
|-
|-
| 97
| 114
| 0x061
| 0x072
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| _sys_lwmutex_lock
| sys_semaphore_get_value
| int _sys_lwmutex_lock(sys_lwmutex_pseudo_id_t lwmutex, usecond_t timeout)
| int sys_semaphore_get_value(sys_semaphore_t sem, sys_semaphore_value_t * val);
|-
|-
| 98
| 115
| 0x062
| 0x073
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
|
| _sys_lwmutex_unlock
| 4 params
| int _sys_lwmutex_unlock(sys_lwmutex_pseudo_id_t lwmutex)
|-
|-
| 99
| 116
| 0x063
| 0x074
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
|
| _sys_lwmutex_trylock
| 3 params
| int _sys_lwmutex_trylock(sys_lwmutex_pseudo_id_t lwmutex)
|-
|-
! colspan="6" id="sys_mutex Syscalls"|[[#sys_mutex Syscalls]] (100-104)
| 117
|-
| 0x075
| 100
| {{CEX}}{{DEX}}{{DECR}}
| 0x064
| {{DECR}} {{DEX}} {{CEX}}
|
|
| sys_mutex_create
| int sys_mutex_create(sys_mutex_t * mutex_id, sys_mutex_attribute_t * attr);
|-
| 101
| 0x065
| {{DECR}} {{DEX}} {{CEX}}
|
|
| sys_mutex_destroy
| 1 params : sys_lwmutex_t *lwmutex
| int sys_mutex_destroy(sys_mutex_t mutex_id);
|-
|-
| 102
! colspan="6" id="sys_event Syscalls"|[[#sys_event Syscalls]] (82+83+85-87+118+128-140)
| 0x066
| {{DECR}} {{DEX}} {{CEX}}
|
| sys_mutex_lock
| int sys_mutex_lock(sys_mutex_t mutex_id, usecond_t timeout);
|-
|-
| 103
| 118
| 0x067
| 0x076
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_mutex_trylock
| sys_event_flag_clear
| int sys_mutex_trylock(sys_mutex_t mutex_id);
| int sys_event_flag_clear(sys_event_flag_t id, uint64_t bitptn);
|-
|-
| 104
| 119
| 0x068
| 0x077
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
|
|
| sys_mutex_unlock
| int syscall(119, uint64_t *real_time_clock); Gets ps3 real time clock value, hvsc232
| int sys_mutex_unlock(sys_mutex_t mutex_id);
|-
|-
! colspan="6" id="sys_cond Syscalls"|[[#sys_cond Syscalls]] (105-110)
! colspan="6" id="sys_rwlock Syscalls"|[[#sys_rwlock Syscalls]] (120-127+148)
|-
|-
| 105
| 120
| 0x069
| 0x078
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_cond_create
| sys_rwlock_create
| int sys_cond_create(sys_cond_t * cond_id, sys_mutex_t mutex_id, sys_cond_attribute_t * attr);
| int sys_rwlock_create(sys_rwlock_t * rw_lock_id, sys_rwlock_attribute_t * attr);
|-
|-
| 106
| 121
| 0x06A
| 0x079
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_cond_destroy
| sys_rwlock_destroy
| int sys_cond_destroy(sys_cond_t cond_id);
| int sys_rwlock_destroy(sys_rwlock_t rw_lock_id);
|-
|-
| 107
| 122
| 0x06B
| 0x07A
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_cond_wait
| sys_rwlock_rlock
| int sys_cond_wait(sys_cond_t cond_id, usecond_t timeout);
| int sys_rwlock_rlock(sys_rwlock_t rw_lock_id, usecond_t timeout);
|-
|-
| 108
| 123
| 0x06C
| 0x07B
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_cond_signal
| sys_rwlock_tryrlock
| int sys_cond_signal(sys_cond_t cond_id);
| int sys_rwlock_tryrlock(sys_rwlock_t rw_lock_id);
|-
|-
| 109
| 124
| 0x06D
| 0x07C
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_cond_signal_all
| sys_rwlock_runlock
| int sys_cond_signal_all(sys_cond_t cond_id);
| int sys_rwlock_runlock(sys_rwlock_t rw_lock_id);
|-
|-
| 110
| 125
| 0x06E
| 0x07D
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_cond_signal_to
| sys_rwlock_wlock
| int sys_cond_signal_to(sys_cond_t cond_id, sys_ppu_thread_t thread);
| int sys_rwlock_wlock(sys_rwlock_t rw_lock_id, usecond_t timeout);
|-
|-
! colspan="6" id="sys_lwcond Syscalls"|[[#sys_lwcond Syscalls]] (111+112)
| 126
| 0x07E
| {{CEX}}{{DEX}}{{DECR}}
|
| sys_rwlock_trywlock
| int sys_rwlock_trywlock(sys_rwlock_t rw_lock_id);
|-
|-
| 111
| 127
| 0x06F
| 0x07F
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| _sys_lwcond_create
| sys_rwlock_wunlock
| int _sys_lwcond_create(sys_lwcond_pseudo_id_t *lwcond, sys_lwmutex_pseudo_id_t lwmutex, sys_lwcond_t *control, uint64_t name)
| 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)
|-
|-
| 112
| 128
| 0x070
| 0x080
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| _sys_lwcond_destroy
| sys_event_queue_create
| int _sys_lwcond_destroy(sys_lwcond_pseudo_id_t lwcond)
| 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);
|-
|-
| 113
| 129
| 0x071
| 0x081
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| _sys_lwcond_queue_wait
| sys_event_queue_destroy
| int _sys_lwcond_queue_wait(sys_lwcond_pseudo_id_t lwcond, sys_lwmutex_pseudo_id_t lwmutex, usecond_t timeout)
| int sys_event_queue_destroy(sys_event_queue_t equeue_id, int mode);
|-
|-
! colspan="6" id="sys_semaphore Syscalls"|[[#sys_semaphore Syscalls]] (90-94+114)
| 130
|-
| 0x082
| 114
| {{CEX}}{{DEX}}{{DECR}}
| 0x072
|
| {{DECR}} {{DEX}} {{CEX}}
| sys_event_queue_receive
|
| int sys_event_queue_receive(sys_event_queue_t equeue_id, sys_event_t * event, usecond_t timeout);
| sys_semaphore_get_value
| int sys_semaphore_get_value(sys_semaphore_t sem, sys_semaphore_value_t * val);
|-
|-
| 115
| 131
| 0x073
| 0x083
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| _sys_lwcond_signal
| sys_event_queue_tryreceive
| int _sys_lwcond_signal(sys_lwcond_pseudo_id_t lwcond, sys_lwmutex_pseudo_id_t lwmutex, sys_ppu_thread_t ppu_thread_id, uint32_t mode)
| int sys_event_queue_tryreceive(sys_event_queue_t equeue_id, sys_event_t * event_array, int size, int *number);
|-
|-
| 116
| 132
| 0x074
| 0x084
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| _sys_lwcond_signal_all
| sys_event_flag_cancel
| int _sys_lwcond_signal_all(sys_lwcond_pseudo_id_t lwcond, sys_lwmutex_pseudo_id_t lwmutex, uint32_t mode)
| int sys_event_flag_cancel(sys_event_flag_t id, int *num);
|-
|-
| 117
| 133
| 0x075
| 0x085
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| _sys_lwmutex_unlock2
| sys_event_queue_drain
| int _sys_lwmutex_unlock2(sys_lwmutex_pseudo_id_t lwmutex)
| int sys_event_queue_drain(sys_event_queue_t equeue_id);
Sets a different "unlocked" flag than _sys_lwmutex_unlock.
|-
|-
! colspan="6" id="sys_event Syscalls"|[[#sys_event Syscalls]] (82+83+85-87+118+128-140)
| 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);
|-
|-
| 118
| 135
| 0x076
| 0x087
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_event_flag_clear
| sys_event_port_destroy
| int sys_event_flag_clear(sys_event_flag_t id, uint64_t bitptn);
| int sys_event_port_destroy(sys_event_port_t eport_id);
|-
|-
| 119
| 136
| 0x077
| 0x088
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
|
| sys_time_get_rtc
| sys_event_port_connect_local
| int syscall(119, uint64_t *real_time_clock); Gets ps3 real time clock value, hvsc232
| int sys_event_port_connect_local(sys_event_port_t event_port_id, sys_event_queue_t event_queue_id);
|-
|-
! colspan="6" id="sys_rwlock Syscalls"|[[#sys_rwlock Syscalls]] (120-127+148)
| 137
| 0x089
| {{CEX}}{{DEX}}{{DECR}}
|
| sys_event_port_disconnect
| int sys_event_port_disconnect(sys_event_port_t event_port_id);
|-
|-
| 120
| 138
| 0x078
| 0x08A
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_rwlock_create
| sys_event_port_send
| int sys_rwlock_create(sys_rwlock_t * rw_lock_id, sys_rwlock_attribute_t * attr);
| int sys_event_port_send(sys_event_port_t eport_id, unint64_t data1, uint64_t data2, uint64_t data3);
|-
|-
| 121
| 139
| 0x079
| 0x08B
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_rwlock_destroy
| sys_event_flag_get
| int sys_rwlock_destroy(sys_rwlock_t rw_lock_id);
| int sys_event_flag_get(sys_event_flag_t id, uint64_t * bitptn);
|-
|-
| 122
| 140
| 0x07A
| 0x08C
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_rwlock_rlock
| sys_event_port_connect_ipc
| int sys_rwlock_rlock(sys_rwlock_t rw_lock_id, usecond_t timeout);
| int sys_event_port_connect_ipc(sys_event_port_t eport_id, ??);
|-
|-
| 123
! colspan="6" id="sys_timer Syscalls"|[[#sys_timer Syscalls]] (70-76+141+142)
| 0x07B
| {{DECR}} {{DEX}} {{CEX}}
|
| sys_rwlock_tryrlock
| int sys_rwlock_tryrlock(sys_rwlock_t rw_lock_id);
|-
|-
| 124
| 141
| 0x07C
| 0x08D
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_rwlock_runlock
| sys_timer_usleep
| int sys_rwlock_runlock(sys_rwlock_t rw_lock_id);
| int sys_timer_usleep(usecond_t sleep_time);
|-
|-
| 125
| 142
| 0x07D
| 0x08E
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_rwlock_wlock
| sys_timer_sleep
| int sys_rwlock_wlock(sys_rwlock_t rw_lock_id, usecond_t timeout);
| 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)
|-
|-
| 126
| 144
| 0x07E
| 0x090
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_rwlock_trywlock
| sys_time_get_timezone
| int sys_rwlock_trywlock(sys_rwlock_t rw_lock_id);
| int sys_time_get_timezone(int *timezone, int *summertime)
|-
|-
| 127
| 145
| 0x07F
| 0x091
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_rwlock_wunlock
| sys_time_get_current_time
| int sys_rwlock_wunlock(sys_rwlock_t rw_lock_id);
| int sys_time_get_current_time(sys_time_sec_t * sec, sys_time_nsec_t * nsec);
|-
|-
! colspan="6" id="sys_event Syscalls"|[[#sys_event Syscalls]] (82+83+85-87+118+128-140)
| 146
| 0x092
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| sys_time_set_current_time
| int sys_time_set_current_time(uint64_t sec, uint64_t nsec);
|-
|-
| 128
| 147
| 0x080
| 0x093
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_event_queue_create
| sys_time_get_timebase_frequency
| 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);
| uint64_t sys_time_get_timebase_frequency(void);
|-
|-
| 129
! colspan="6" id="sys_rwlock Syscalls"|[[#sys_rwlock Syscalls]] (120-127+148)
| 0x081
|-
| {{DECR}} {{DEX}} {{CEX}}
| 148
| 0x094
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_event_queue_destroy
| sys_rwlock_trywlock
| int sys_event_queue_destroy(sys_event_queue_t equeue_id, int mode);
| int sys_rwlock_trywlock(sys_rwlock_t rw_lock_id);
|-
|-
| 130
! colspan="6" id="sys_spu/sys_raw_spu Syscalls"|[[#sys_spu/sys_raw_spu Syscalls]] (150-260)
| 0x082
| {{DECR}} {{DEX}} {{CEX}}
|
| sys_event_queue_receive
| int sys_event_queue_receive(sys_event_queue_t equeue_id, sys_event_t * event, usecond_t timeout);
|-
|-
| 131
| 150
| 0x083
| 0x096
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_event_queue_tryreceive
| sys_raw_spu_create_interrupt_tag
| int sys_event_queue_tryreceive(sys_event_queue_t equeue_id, sys_event_t * event_array, int size, int *number);
| 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)
|-
|-
| 132
| 151
| 0x084
| 0x097
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_event_flag_cancel
| sys_raw_spu_set_int_mask
| int sys_event_flag_cancel(sys_event_flag_t id, int *num);
| int sys_raw_spu_set_int_mask(sys_raw_spu_t id, sys_class_id_t class_id, uint64_t mask)
|-
|-
| 133
| 152
| 0x085
| 0x098
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_event_queue_drain
| sys_raw_spu_get_int_mask
| int sys_event_queue_drain(sys_event_queue_t equeue_id);
| int sys_raw_spu_get_int_mask(sys_raw_spu_t id, sys_class_id_t class_id, uint64_t *mask)
|-
|-
| 134
| 153
| 0x086
| 0x099
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_event_port_create
| sys_raw_spu_set_int_stat
| int sys_event_port_create(sys_event_port_t * eport_id, int port_type, uint64_t name);
| int sys_raw_spu_set_int_stat(sys_raw_spu_t id, sys_class_id_t class_id, uint64_t stat)
|-
|-
| 135
| 154
| 0x087
| 0x09A
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_event_port_destroy
| sys_raw_spu_get_int_stat
| int sys_event_port_destroy(sys_event_port_t eport_id);
| int sys_raw_spu_get_int_stat(sys_raw_spu_t id, sys_class_id_t class_id, uint64_t *stat)
|-
|-
| 136
| 155
| 0x088
| 0x09B
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_event_port_connect_local
| sys_spu_image_get_information?
| int sys_event_port_connect_local(sys_event_port_t event_port_id, sys_event_queue_t event_queue_id);
| int sys_spu_image_get_information?(sys_spu_image_t *img, out:uint[4],out:uint[4])
|-
|-
| 137
| 156
| 0x089
| 0x09C
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_event_port_disconnect
| sys_spu_image_open
| int sys_event_port_disconnect(sys_event_port_t event_port_id);
| int sys_spu_image_open(sys_spu_image_t *img, const char *path)
|-
|-
| 138
| 157
| 0x08A
| 0x09D
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_event_port_send
| sys_spu_image_import
| int sys_event_port_send(sys_event_port_t eport_id, unint64_t data1, uint64_t data2, uint64_t data3);
| int sys_spu_image_import(sys_spu_image_t *img, const void *src, uint32_t type)
|-
|-
| 139
| 158
| 0x08B
| 0x09E
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_event_flag_get
| sys_spu_image_close
| int sys_event_flag_get(sys_event_flag_t id, uint64_t * bitptn);
| int sys_spu_image_close(sys_spu_image_t *img);
|-
|-
| 140
| 159
| 0x08C
| 0x09F
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_event_port_connect_ipc
| sys_raw_spu_load
| int sys_event_port_connect_ipc(sys_event_port_t eport_id, sys_ipc_key_t event_queue_key);
| 3 Params ( sys_spu_image_t * img, sys_addr_t alloc_addr, int size? ), needs much more proper information
|-
|-
! colspan="6" id="sys_timer Syscalls"|[[#sys_timer Syscalls]] (70-76+141+142)
| 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)
|-
|-
| 141
| 161
| 0x08D
| 0x0A1
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_timer_usleep
| sys_raw_spu_destroy
| int sys_timer_usleep(usecond_t sleep_time);
| int sys_raw_spu_destroy(sys_raw_spu_t id)
|-
|-
| 142
| 163
| 0x08E
| 0x0A3
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_timer_sleep
| sys_raw_spu_read_puint_mb
| int sys_timer_sleep(second_t sleep_time);
| int sys_raw_spu_read_puint_mb(sys_raw_spu_t id, uint32_t *value)
|-
|-
! colspan="6" id="sys_time Syscalls"|[[#sys_time Syscalls]] (143-147)
| 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)
|-
|-
| 143
| 166
| 0x08F
| 0x0A6
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| sys_time_set_timezone
| int sys_time_set_timezone(int timezone, int summertime)
|-
| 144
| 0x090
| {{DECR}} {{DEX}} {{CEX}}
|
|
| sys_time_get_timezone
| sys_spu_thread_set_argument
| int sys_time_get_timezone(int *timezone, int *summertime)
| int sys_spu_thread_set_argument(sys_spu_thread_t id, sys_spu_thread_argument_t *arg)
|-
|-
| 145
| 167
| 0x091
| 0x0A7
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
| sys_spu_thread_group_start_on_exit
|
|
| sys_time_get_current_time
| int sys_time_get_current_time(sys_time_sec_t * sec, sys_time_nsec_t * nsec);
|-
|-
| 146
| 169
| 0x092
| 0x0A9
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
|
| sys_time_set_current_time
| sys_spu_initialize
| int sys_time_set_current_time(uint64_t sec, uint64_t nsec);
| int sys_spu_initialize(unsigned int max_usable_spu, unsigned int max_raw_spu)
|-
|-
| 147
| 170
| 0x093
| 0x0AA
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_time_get_timebase_frequency
| sys_spu_thread_group_create
| uint64_t sys_time_get_timebase_frequency(void);
| int sys_spu_thread_group_create(sys_spu_thread_group_t *id, unsigned int num, int prio, sys_spu_thread_group_attribute_t *attr)
|-
|-
! colspan="6" id="sys_rwlock Syscalls"|[[#sys_rwlock Syscalls]] (120-127+148)
| 171
|-
| 0x0AB
| 148
| {{CEX}}{{DEX}}{{DECR}}
| 0x094
| {{DECR}} {{DEX}} {{CEX}}
|
|
| sys_rwlock_trywlock
| sys_spu_thread_group_destroy
| int sys_rwlock_trywlock(sys_rwlock_t rw_lock_id);
| int sys_spu_thread_group_destroy(sys_spu_thread_group_t id)
|-
|-
! colspan="6" id="sys_spu/sys_raw_spu Syscalls"|[[#sys_spu/sys_raw_spu Syscalls]] (150-260)
| 172
|-
| 0x0AC
| 150
| {{CEX}}{{DEX}}{{DECR}}
| 0x096
| {{DECR}} {{DEX}} {{CEX}}
|
|
| sys_raw_spu_create_interrupt_tag
| sys_spu_thread_initialize
| 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_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)
|-
|-
| 151
| 173
| 0x097
| 0x0AD
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_raw_spu_set_int_mask
| sys_spu_thread_group_start
| int sys_raw_spu_set_int_mask(sys_raw_spu_t id, sys_class_id_t class_id, uint64_t mask)
| int sys_spu_thread_group_start(sys_spu_thread_group_t id)
|-
|-
| 152
| 174
| 0x098
| 0x0AE
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_raw_spu_get_int_mask
| sys_spu_thread_group_suspend
| int sys_raw_spu_get_int_mask(sys_raw_spu_t id, sys_class_id_t class_id, uint64_t *mask)
| int sys_spu_thread_group_suspend(sys_spu_thread_group_t id)
|-
|-
| 153
| 175
| 0x099
| 0x0AF
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_raw_spu_set_int_stat
| sys_spu_thread_group_resume
| int sys_raw_spu_set_int_stat(sys_raw_spu_t id, sys_class_id_t class_id, uint64_t stat)
| int sys_spu_thread_group_resume(sys_spu_thread_group_t id)
|-
|-
| 154
| 176
| 0x09A
| 0x0B0
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_raw_spu_get_int_stat
| sys_spu_thread_group_yield
| int sys_raw_spu_get_int_stat(sys_raw_spu_t id, sys_class_id_t class_id, uint64_t *stat)
| int sys_spu_thread_group_yield(sys_spu_thread_group_t id)
|-
|-
| 155
| 177
| 0x09B
| 0x0B1
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_spu_image_get_information
| sys_spu_thread_group_terminate
| int sys_spu_image_get_information(sys_spu_image_t *img, int *entry_point, int *nsegs)
| int sys_spu_thread_group_terminate(sys_spu_thread_group_t id, int value)
|-
|-
| 156
| 178
| 0x09C
| 0x0B2
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_spu_image_open
| sys_spu_thread_group_join
| int sys_spu_image_open(sys_spu_image_t *img, const char *path)
| int sys_spu_thread_group_join(sys_spu_thread_group_t gid, int *cause, int *status)
|-
|-
| 157
| 179
| 0x09D
| 0x0B3
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_spu_image_import
| sys_spu_thread_group_set_priority
| int sys_spu_image_import(sys_spu_image_t *img, const void *src, uint32_t type)
| int sys_spu_thread_group_set_priority(sys_spu_thread_group_t id, int priority)
|-
|-
| 158
| 180
| 0x09E
| 0x0B4
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_spu_image_close
| sys_spu_thread_group_get_priority
| int sys_spu_image_close(sys_spu_image_t *img);
| int sys_spu_thread_group_get_priority(sys_spu_thread_group_t id, int *priority)
|-
|-
| 159
| 181
| 0x09F
| 0x0B5
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_spu_image_get_segments
| sys_spu_thread_write_ls
| int sys_spu_image_get_segments(sys_spu_image_t *img, sys_spu_segment_t* segments, int size)
| int sys_spu_thread_write_ls(sys_spu_thread_t id, uint32_t address, uint64_t value, size_t type)
Used by sys_raw_spu_load liblv2 function.
|-
|-
| 160
| 182
| 0x0A0
| 0x0B6
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_raw_spu_create
| sys_spu_thread_read_ls
| int sys_raw_spu_create(sys_raw_spu_t *id, sys_raw_spu_attribute_t *attr)
| int sys_spu_thread_read_ls(sys_spu_thread_t id, uint32_t address, uint64_t *value, size_t type)
|-
|-
| 161
| 184
| 0x0A1
| 0x0B8
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_raw_spu_destroy
| sys_spu_thread_write_snr
| int sys_raw_spu_destroy(sys_raw_spu_t id)
| int sys_spu_thread_write_snr(sys_spu_thread_t id, int number, uint32_t value)
|-
|-
| 163
| 185
| 0x0A3
| 0x0B9
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_raw_spu_read_puint_mb
| sys_spu_thread_group_connect_event
| int sys_raw_spu_read_puint_mb(sys_raw_spu_t id, uint32_t *value)
| int sys_spu_thread_group_connect_event(sys_spu_thread_group_t id, sys_event_queue_t eq, sys_event_type_t et)
|-
|-
| 165
| 186
| 0x0A5
| 0x0BA
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_spu_thread_get_exit_status
| sys_spu_thread_group_disconnect_event
| int sys_spu_thread_get_exit_status(sys_spu_thread_t id, int *status)
| int sys_spu_thread_group_disconnect_event(sys_spu_thread_group_t id, sys_event_type_t et)
|-
|-
| 166
| 187
| 0x0A6
| 0x0BB
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_spu_thread_set_argument
| sys_spu_thread_set_spu_cfg
| int sys_spu_thread_set_argument(sys_spu_thread_t id, sys_spu_thread_argument_t *arg)
| int sys_spu_thread_set_spu_cfg(sys_spu_thread_t id, uint64_t value)
|-
|-
| 167
| 188
| 0x0A7
| 0x0BC
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
| sys_spu_thread_group_start_on_exit
|
|
| sys_spu_thread_get_spu_cfg
| int sys_spu_thread_get_spu_cfg(sys_spu_thread_t id, uint64_t *value)
|-
|-
| 169
| 190
| 0x0A9
| 0x0BE
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_spu_initialize
| sys_spu_thread_write_spu_mb
| int sys_spu_initialize(uint32_t max_usable_spu, uint32_t max_raw_spu)
| int sys_spu_thread_write_spu_mb(sys_spu_thread_t id, uint32_t value);
|-
|-
| 170
| 191
| 0x0AA
| 0x0BF
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_spu_thread_group_create
| sys_spu_thread_connect_event
| int sys_spu_thread_group_create(sys_spu_thread_group_t *id, uint32_t num, int prio, sys_spu_thread_group_attribute_t *attr)
| int sys_spu_thread_connect_event(sys_spu_thread_t id, sys_event_queue_t eq, sys_event_type_t et, uint8_t spup)
|-
|-
| 171
| 192
| 0x0AB
| 0x0C0
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_spu_thread_group_destroy
| sys_spu_thread_disconnect_event
| int sys_spu_thread_group_destroy(sys_spu_thread_group_t id)
| int sys_spu_thread_disconnect_event(sys_spu_thread_t id, sys_event_type_t et, uint8_t spup)
|-
|-
| 172
| 193
| 0x0AC
| 0x0C1
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_spu_thread_initialize
| sys_spu_thread_bind_queue
| int sys_spu_thread_initialize(sys_spu_thread_t *thread, sys_spu_thread_group_t group, uint32_t spu_num, sys_spu_image_t *img, sys_spu_thread_attribute_t *attr, sys_spu_thread_argument_t *arg)
| int sys_spu_thread_bind_queue(sys_spu_thread_t id,sys_event_queue_t spuq,uint32_t spuq_num)
|-
|-
| 173
| 194
| 0x0AD
| 0x0C2
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_spu_thread_group_start
| sys_spu_thread_unbind_queue
| int sys_spu_thread_group_start(sys_spu_thread_group_t id)
| int sys_spu_thread_unbind_queue(sys_spu_thread_t id, uint32_t spuq_num)
|-
|-
| 174
| 196
| 0x0AE
| 0x0C4
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_spu_thread_group_suspend
| sys_raw_spu_set_spu_cfg
| int sys_spu_thread_group_suspend(sys_spu_thread_group_t id)
| int sys_raw_spu_set_spu_cfg(sys_raw_spu_t id, uint32_t value)
|-
|-
| 175
| 197
| 0x0AF
| 0x0C5
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_spu_thread_group_resume
| sys_raw_spu_get_spu_cfg
| int sys_spu_thread_group_resume(sys_spu_thread_group_t id)
| int sys_raw_spu_get_spu_cfg(sys_raw_spu_t id, uint32_t *value)
|-
|-
| 176
| 198
| 0x0B0
| 0x0C6
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_spu_thread_group_yield
| sys_spu_thread_recover_page_fault
| int sys_spu_thread_group_yield(sys_spu_thread_group_t id)
| int sys_spu_thread_recover_page_fault(sys_spu_thread_t id)
|-
|-
| 177
| 199
| 0x0B1
| 0x0C7
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_spu_thread_group_terminate
| sys_raw_spu_recover_page_fault
| int sys_spu_thread_group_terminate(sys_spu_thread_group_t id, int value)
| int sys_raw_spu_recover_page_fault(sys_raw_spu_t id)
|-
|-
| 178
| 200
| 0x0B2
| 0x0C8
| {{DECR}} {{DEX}} {{CEX}}
|  
|
|
| sys_spu_thread_group_join
|  
| int sys_spu_thread_group_join(sys_spu_thread_group_t gid, int *cause, int *status)
|  
|-
|-
| 179
| 201
| 0x0B3
| 0x0C9
| {{DECR}} {{DEX}} {{CEX}}
|  
|
|
| sys_spu_thread_group_set_priority
|  
| int sys_spu_thread_group_set_priority(sys_spu_thread_group_t id, int priority)
|  
|-
|-
| 180
| 202
| 0x0B4
| 0x0CA
| {{DECR}} {{DEX}} {{CEX}}
|  
|
|
| sys_spu_thread_group_get_priority
|  
| int sys_spu_thread_group_get_priority(sys_spu_thread_group_t id, int *priority)
|  
|-
|-
| 181
| 203
| 0x0B5
| 0x0CB
| {{DECR}} {{DEX}} {{CEX}}
|  
|
|
| 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
| 209
| 0x0B6
| 0x0D1
| {{DECR}} {{DEX}} {{CEX}}
|  
|
|
| 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)
|  
|-
|-
| 183
| 210
| 0x0B7
| 0x0D2
|  
|
|
|
|  
| (sys_spu_thread_enqueue_dma)
|  
|  
|-
|-
| 184
| 211
| 0x0B8
| 0x0D3
| {{DECR}} {{DEX}} {{CEX}}
|  
|
|
| sys_spu_thread_write_snr
|  
| int sys_spu_thread_write_snr(sys_spu_thread_t id, int number, uint32_t value)
|  
|-
|-
| 185
| 212
| 0x0B9
| 0x0D4
| {{DECR}} {{DEX}} {{CEX}}
|  
|
|
| 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
| 213
| 0x0BA
| 0x0D5
| {{DECR}} {{DEX}} {{CEX}}
|  
|
|
| 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
| 214
| 0x0BB
| 0x0D6
| {{DECR}} {{DEX}} {{CEX}}
|  
|
|
| sys_spu_thread_set_spu_cfg
|  
| int sys_spu_thread_set_spu_cfg(sys_spu_thread_t id, uint64_t value)
|  
|-
|-
| 188
| 215
| 0x0BC
| 0x0D7
| {{DECR}} {{DEX}} {{CEX}}
| {{DEX}} {{DECR}}
|
|
| sys_spu_thread_get_spu_cfg
| sys_dbg_mat_set_condition
| int sys_spu_thread_get_spu_cfg(sys_spu_thread_t id, uint64_t *value)
| int sys_dbg_mat_set_condition(sys_addr_t,int)
|-
|-
| 189
| 216
| 0x0BD
| 0x0D8
| {{DEX}} {{DECR}}
|
|
|
| sys_dbg_mat_get_condition
| (sys_spu_thread_read_pu_mb)
| int sys_dbg_mat_get_condition(sys_addr_t,int*)
|
|-
|-
| 190
| 217
| 0x0BE
| 0x0D9
| {{DECR}} {{DEX}} {{CEX}}
| {{DECR}}
|
| {{Dbg}}
| sys_spu_thread_write_spu_mb
|  
| int sys_spu_thread_write_spu_mb(sys_spu_thread_t id, uint32_t value);
|  
|-
|-
| 191
| 218
| 0x0BF
| 0x0DA
| {{DECR}} {{DEX}} {{CEX}}
| {{DECR}}
|
| {{Dbg}}
| 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
| 219
| 0x0C0
| 0x0DB
| {{DECR}} {{DEX}} {{CEX}}
| {{DECR}}
|
| {{Dbg}}
| 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
| 226
| 0x0C1
| 0x0E2
| {{DECR}} {{DEX}} {{CEX}}
|  
|
|
| 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
| 230
| 0x0C2
| 0x0E6
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
| {{Root}}
| sys_spu_thread_unbind_queue
| sys_isolated_spu_create
| int sys_spu_thread_unbind_queue(sys_spu_thread_t id, uint32_t spuq_num)
| int sys_isolated_spu_create(sys_raw_spu_t *id, uint8_t *source_spe, in?: args?,0,0,0)
|-
|-
| 196
| 231
| 0x0C4
| 0x0E7
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
| {{Root}}
| sys_raw_spu_set_spu_cfg
| sys_isolated_spu_destroy
| int sys_raw_spu_set_spu_cfg(sys_raw_spu_t id, uint32_t value)
| int sys_isolated_spu_destroy(sys_raw_spu_t id)
|-
|-
| 197
| 232
| 0x0C5
| 0x0E8
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
| {{Root}}
| sys_raw_spu_get_spu_cfg
| sys_isolated_spu_start
| int sys_raw_spu_get_spu_cfg(sys_raw_spu_t id, uint32_t *value)
| int sys_isolated_spu_start(sys_raw_spu_t id)
|-
|-
| 198
| 233
| 0x0C6
| 0x0E9
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
| {{Root}}
| sys_spu_thread_recover_page_fault
| sys_isolated_spu_create_interrupt_tag
| int sys_spu_thread_recover_page_fault(sys_spu_thread_t id)
| int sys_isolated_spu_create_interrupt_tag(sys_raw_spu_t id, uint32_t class_id, uint32_t hwthread, sys_interrupt_tag_t *intrtag)
|-
|-
| 199
| 234
| 0x0C7
| 0x0EA
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
| {{Root}}
| sys_raw_spu_recover_page_fault
| sys_isolated_spu_set_int_mask
| int sys_raw_spu_recover_page_fault(sys_raw_spu_t id)
| int sys_isolated_spu_set_int_mask(sys_raw_spu_t id, uint32_t class_id, uint64_t mask)
|-
|-
| 200
| 235
| 0x0C8
| 0x0EB
|  
| {{CEX}}{{DEX}}{{DECR}}
|
| {{Root}}
| (console_putc)
| sys_isolated_spu_get_int_mask
|
| int sys_isolated_spu_get_int_mask(sys_raw_spu_t id, uint32_t class_id, uint64_t *mask)
|-
|-
| 201
| 236
| 0x0C9
| 0x0EC
|  
| {{CEX}}{{DEX}}{{DECR}}
|
| {{Root}}
| (console_getc)
| sys_isolated_spu_set_int_stat
|
| int sys_isolated_spu_set_int_stat(sys_raw_spu_t id, uint32_t class_id, uint64_t stat)
|-
|-
| 202
| 237
| 0x0CA
| 0x0ED
|  
| {{CEX}}{{DEX}}{{DECR}}
|
| {{Root}}
| (event_create_port)
| sys_isolated_spu_get_int_stat
|
| int sys_isolated_spu_get_int_stat(sys_raw_spu_t id, uint32_t class_id, uint64_t * stat)
|-
|-
| 203
| 238
| 0x0CB
| 0x0EE
|  
| {{CEX}}{{DEX}}{{DECR}}
|
| {{Root}}
| (event_send_locally)
| sys_isolated_spu_set_spu_cfg
|
| int sys_isolated_spu_set_spu_cfg(sys_spu_thread_t id, uint64_t value)
|-
|-
| 209
| 239
| 0x0D1
| 0x0EF
|  
| {{CEX}}{{DEX}}{{DECR}}
|
| {{Root}}
| (sys_pseudo_fs_read)
| sys_isolated_spu_get_spu_cfg
|
| int sys_isolated_spu_get_spu_cfg(sys_spu_thread_t id, uint64_t * value)
|-
|-
| 210
| 240
| 0x0D2
| 0x0F0
|  
| {{CEX}}{{DEX}}{{DECR}}
|
| {{Root}}
| (sys_pseudo_fs_write)
| sys_isolated_spu_read_puint_mb
|
| int sys_isolated_spu_read_puint_mb(sys_raw_spu_t id, uint32_t * value)
|-
|-
| 211
| 244
| 0x0D3
| 0x0F4
|  
| {{CEX}}{{DEX}}{{DECR}}
|
| {{Root}}
| (sys_pseudo_fs_append)
| sys_spu_thread_group_system_set_next_group
|
| int sys_spu_thread_group_system_set_next_group(void)
|-
|-
| 212
| 245
| 0x0D4
| 0x0F5
|  
| {{CEX}}{{DEX}}{{DECR}}
|
| {{Root}}
| (start_debug)
| sys_spu_thread_group_system_unset_next_group
|
| int sys_spu_thread_group_system_unset_next_group(void)
|-
|-
| 213
| 246
| 0x0D5
| 0x0F6
|  
| {{CEX}}{{DEX}}{{DECR}}
|
| {{Root}}
| (console_write)
| sys_spu_thread_group_system_set_switch_group
|
| int sys_spu_thread_group_system_set_switch_group(void)
|-
|-
| 214
| 247
| 0x0D6
| 0x0F7
|  
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| sys_spu_thread_group_system_unset_switch_group
| int sys_spu_thread_group_system_unset_switch_group(void)
|-
| 248
| 0x0F8
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| sys_spu_thread_group....
| 5 Params: sys_spu_thread_group_t group,.....
|-
| 249
| 0x0F9
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| sys_spu_thread_group....
| int sc249(sys_spu_thread_group_t group)
|-
| 250
| 0x0FA
| {{CEX}}{{DEX}}{{DECR}}
|
|
| (sys_pseudo_fs_get_file_size)
| sys_spu_thread_group_set_cooperative_victims
|  
| 2 Params
|-
|-
| 215
| 251
| 0x0D7
| 0x0FB
| {{DECR}} {{DEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_dbg_mat_set_condition
| sys_spu_thread_group_connect_event_all_threads
(logical_console_open)
| 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_dbg_mat_set_condition(sys_addr_t,int)
|-
|-
| 216
| 252
| 0x0D8
| 0x0FC
| {{DECR}} {{DEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_dbg_mat_get_condition
| sys_spu_thread_group_disconnect_event_all_threads
(logical_console_close)
| int sys_spu_thread_group_disconnect_event_all_threads(sys_spu_thread_group_t id, uint8_t spup)
| int sys_dbg_mat_get_condition(sys_addr_t,int*)
|-
|-
| 217
| 253
| 0x0D9
| 0x0FD
| {{DECR}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Dbg}}
|
| (logical_console_getc)
| sys_spu_thread_group..
|
| 2 Params( sys_spu_thread_group_t id, out:uint8[0x40])
|-
| 254
| 0x0FE
| {{CEX}}{{DEX}}{{DECR}}
|
| sys_spu_thread_group_log
| int sys_spu_thread_group_log(int command, int *stat)
|-
|-
| 218
| 260
| 0x0DA
| 0x104
| {{DECR}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Dbg}}
|
| (logical_console_putc)
| sys_spu_image_open_by_fd
|
| int sys_spu_image_open_by_fd(sys_spu_image_t *img, int fd, off64_t offset)
|-
|-
| 219
! colspan="6" id="sys_vm/sys_memory/sys_mmapper Syscalls"|[[#sys_vm/sys_memory/sys_mmapper Syscalls]] (300-352)
| 0x0DB
| {{DECR}}
| {{Dbg}}
| (logical_console_flush)
|
|-
|-
| 226
| 300
| 0x0E2
| 0x12C
|  
| {{CEX}}{{DEX}}{{DECR}}
|
|
| (get_logical_partition_id)
| 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);
|-
|-
| 230
| 301
| 0x0E6
| 0x12D
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
|
| sys_isolated_spu_create
| sys_vm_unmap
| int sys_isolated_spu_create(sys_raw_spu_t *id, uint8_t *source_spe, in?: args?,0,0,0)
| int sys_vm_unmap(sys_addr_t addr);
|-
|-
| 231
| 302
| 0x0E7
| 0x12E
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
|
| sys_isolated_spu_destroy
| sys_vm_append_memory
| int sys_isolated_spu_destroy(sys_raw_spu_t id)
| int sys_vm_append_memory(sys_addr_t addr, size_t size);
|-
|-
| 232
| 303
| 0x0E8
| 0x12F
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
|
| sys_isolated_spu_start
| sys_vm_return_memory
| int sys_isolated_spu_start(sys_raw_spu_t id)
| int sys_vm_return_memory(sys_addr_t addr, size_t size);
|-
|-
| 233
| 304
| 0x0E9
| 0x130
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
|
| sys_isolated_spu_create_interrupt_tag
| sys_vm_lock
| int sys_isolated_spu_create_interrupt_tag(sys_raw_spu_t id, uint32_t class_id, uint32_t hwthread, sys_interrupt_tag_t *intrtag)
| int sys_vm_lock(sys_addr_t addr, size_t size);
|-
|-
| 234
| 305
| 0x0EA
| 0x131
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
|
| sys_isolated_spu_set_int_mask
| sys_vm_unlock
| int sys_isolated_spu_set_int_mask(sys_raw_spu_t id, uint32_t class_id, uint64_t mask)
| int sys_vm_unlock(sys_addr_t addr, size_t size);
|-
|-
| 235
| 306
| 0x0EB
| 0x132
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
|
| sys_isolated_spu_get_int_mask
| sys_vm_touch
| int sys_isolated_spu_get_int_mask(sys_raw_spu_t id, uint32_t class_id, uint64_t *mask)
| int sys_vm_touch(sys_addr_t addr, size_t size);
|-
|-
| 236
| 307
| 0x0EC
| 0x133
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
|
| sys_isolated_spu_set_int_stat
| sys_vm_flush
| int sys_isolated_spu_set_int_stat(sys_raw_spu_t id, uint32_t class_id, uint64_t stat)
| int sys_vm_flush(sys_addr_t addr, size_t size);
|-
|-
| 237
| 308
| 0x0ED
| 0x134
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
|
| sys_isolated_spu_get_int_stat
| sys_vm_invalidate
| int sys_isolated_spu_get_int_stat(sys_raw_spu_t id, uint32_t class_id, uint64_t * stat)
| int sys_vm_invalidate(sys_addr_t addr, size_t size);
|-
|-
| 238
| 309
| 0x0EE
| 0x135
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
|
| sys_isolated_spu_set_spu_cfg
| sys_vm_store
| int sys_isolated_spu_set_spu_cfg(sys_spu_thread_t id, uint64_t value)
| int sys_vm_store(sys_addr_t addr, size_t size);
|-
|-
| 239
| 310
| 0x0EF
| 0x136
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
|
| sys_isolated_spu_get_spu_cfg
| sys_vm_sync
| int sys_isolated_spu_get_spu_cfg(sys_spu_thread_t id, uint64_t * value)
| int sys_vm_sync(sys_addr_t addr, size_t size);
|-
|-
| 240
| 311
| 0x0F0
| 0x137
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
|
| sys_isolated_spu_read_puint_mb
| sys_vm_test
| int sys_isolated_spu_read_puint_mb(sys_raw_spu_t id, uint32_t * value)
| int sys_vm_test(sys_addr_t addr, size_t size, uint64_t * result);
|-
|-
| 244
| 312
| 0x0F4
| 0x138
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
|
| sys_spu_thread_group_system_set_next_group
| sys_vm_get_statistics
| int sys_spu_thread_group_system_set_next_group(void)
| int sys_vm_get_statistics(sys_addr_t addr, sys_vm_statistics_t * stat);
|-
|-
| 245
| 313
| 0x0F5
| 0x139
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
|
| sys_spu_thread_group_system_unset_next_group
| diff sys_vm_memory_map
| int sys_spu_thread_group_system_unset_next_group(void)
| same Params (size_t vsize, size_t psize, sys_memory_container_t container, uint64_t flag, uint64_t policy, sys_addr_t * addr); apperently maps different vm memory area
|-
|-
| 246
| 314
| 0x0F6
| 0x13A
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
|
| sys_spu_thread_group_system_set_switch_group
|
| int sys_spu_thread_group_system_set_switch_group(void)
| 2 Params
|-
|-
| 247
| 315
| 0x0F7
| 0x13B
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
|
| sys_spu_thread_group_system_unset_switch_group
|
| int sys_spu_thread_group_system_unset_switch_group(void)
| 1 Param
|-
|-
| 248
| 324
| 0x0F8
| 0x144
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{dbg}}
| sys_spu_thread_group....
| sys_memory_container_create
| 5 Params: sys_spu_thread_group_t group,.....
| int sys_memory_container_create(sys_memory_container_t * cid, size_t yield_size);
|-
|-
| 249
| 325
| 0x0F9
| 0x145
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{dbg}}
| sys_spu_thread_group....
| sys_memory_container_destroy
| int sc249(sys_spu_thread_group_t group)
| int sys_memory_container_destroy(sys_memory_container_t cid);
|-
|-
| 250
| 326
| 0x0FA
| 0x146
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_spu_thread_group_set_cooperative_victims
| sys_mmapper_allocate_fixed_address
| int sys_spu_thread_group_set_cooperative_victims(sys_spu_thread_group_t group, u32 threads_mask)
| int sys_mmapper_allocate_fixed_address(void);
Only allowed for COOPERATE_WITH_SYSTEM spu thread group types.
|-
|-
| 251
| 327
| 0x0FB
| 0x147
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_spu_thread_group_connect_event_all_threads
| sys_mmapper_enable_page_fault_notification
| 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_mmapper_enable_page_fault_notification(sys_addr_t start_addr, sys_event_queue_t queue_id);
|-
|-
| 252
| 328
| 0x0FC
| 0x148
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| 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
| {{DECR}} {{DEX}} {{CEX}}
|
|
| sys_spu_thread_group_get_cooperative_information
| 7 Params
| int sys_spu_thread_group_get_cooperative_information(sys_spu_thread_group_t id, sys_spu_thread_group_cooperative_info_t* info)
Only allowed for COOPERATE_WITH_SYSTEM spu thread group types.
|-
|-
| 254
| 329
| 0x0FE
| 0x149
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_spu_thread_group_log
| sys_mmapper_free_shared_memory
| int sys_spu_thread_group_log(int command, int *stat)
| int sys_mmapper_free_shared_memory(sys_addr_t start_addr);
|-
|-
| 260
| 330
| 0x104
| 0x14A
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_spu_image_open_by_fd
| sys_mmapper_allocate_address
| int sys_spu_image_open_by_fd(sys_spu_image_t *img, int fd, off64_t offset)
| int sys_mmapper_allocate_address(size_t size, uint64_t flags, size_t alignment, sys_addr_t * alloc_addr);
|-
|-
| 295
| 331
|  
| 0x14B
|  
| {{CEX}}{{DEX}}{{DECR}}
|
|
| (sys_pseudo_fs_truncate)
| sys_mmapper_free_address
|
| int sys_mmapper_free_address(sys_addr_t start_addr);
|-
|-
| 296
| 332
|  
| 0x14C
|  
| {{CEX}}{{DEX}}{{DECR}}
|
|
| (sys_pseudo_fs_get_dents)
| sys_mmapper_allocate_shared_memory
|
| 4 Params: (size_t size, uint64_t flags, size_t alignment, sys_addr_t * alloc_addr) ?
|-
|-
! colspan="6" id="sys_vm/sys_memory/sys_mmapper Syscalls"|[[#sys_vm/sys_memory/sys_mmapper Syscalls]] (300-352)
| 333
| 0x14D
| {{CEX}}{{DEX}}{{DECR}}
|
| sys_mmapper_set_shared_memory_flag
| int sys_mmapper_set_shared_memory_flag(sys_addr_t, flags) ?;
|-
|-
| 300
| 334
| 0x12C
| 0x14E
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_vm_memory_map
| sys_mmapper_map_shared_memory
| 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);
| 3 Params: (sys_addr_t start_addr, sys_memory_t mem_id, uint64_t flags) ?
|-
|-
| 301
| 335
| 0x12D
| 0x14F
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_vm_unmap
| sys_mmapper_unmap_shared_memory
| int sys_vm_unmap(sys_addr_t addr);
| 2 Params: (sys_addr_t start_addr,sys_memory_t *mem_id ) ?
|-
|-
| 302
| 336
| 0x12E
| 0x150
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_vm_append_memory
| sys_mmapper_change_address_access_right
| int sys_vm_append_memory(sys_addr_t addr, size_t size);
| int sys_mmapper_change_address_access_right(sys_addr_t start_addr, uint64_t flags);
|-
|-
| 303
| 337
| 0x12F
| 0x151
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_vm_return_memory
| sys_mmapper_search_and_map
| int sys_vm_return_memory(sys_addr_t addr, size_t size);
| int sys_mmapper_search_and_map(sys_addr_t start_addr, sys_memory_t mem_id, uint64_t flags, sys_addr_t * alloc_addr);
|-
|-
| 304
| 338
| 0x130
| 0x152
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_vm_lock
| sys_mmapper_get_shared_memory_attribute
| int sys_vm_lock(sys_addr_t addr, size_t size);
| 2 Params:
|-
|-
| 305
| 339
| 0x131
| 0x153
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
|
| sys_vm_unlock
| 5 Params
| int sys_vm_unlock(sys_addr_t addr, size_t size);
|-
|-
| 306
| 340
| 0x132
| 0x154
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
|
| sys_vm_touch
| 2 Params
| int sys_vm_touch(sys_addr_t addr, size_t size);
|-
|-
| 307
| 341
| 0x133
| 0x155
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_vm_flush
| _sys_memory_container_create2 ?
| int sys_vm_flush(sys_addr_t addr, size_t size);
| int _sys_memory_container_create2(sys_memory_container_t * cid, size_t yield_size);
|-
|-
| 308
| 342
| 0x134
| 0x156
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_vm_invalidate
| sys_memory_container_destroy?
| int sys_vm_invalidate(sys_addr_t addr, size_t size);
| int sys_memory_container_destroy? (sys_memory_container_t cid);
|-
|-
| 309
| 343
| 0x135
| 0x157
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_vm_store
| sys_memory_container_get_size
| int sys_vm_store(sys_addr_t addr, size_t size);
| int sys_memory_container_get_size(sys_memory_info_t * mem_info, sys_memory_container_t cid);
|-
|-
| 310
| 344
| 0x136
| 0x158
| {{DECR}} {{DEX}} {{CEX}}
|  
|
|
| sys_vm_sync
| sys_memory_budget_set
| int sys_vm_sync(sys_addr_t addr, size_t size);
|  
|-
|-
| 311
| 345
| 0x137
| 0x159
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_vm_test
| int sys_vm_test(sys_addr_t addr, size_t size, uint64_t * result);
|-
| 312
| 0x138
| {{DECR}} {{DEX}} {{CEX}}
|
|
| sys_vm_get_statistics
| 3 Params, a variation of sys_memory_container_destroy (sys_memory_container_t cid, int, &out)
| int sys_vm_get_statistics(sys_addr_t addr, sys_vm_statistics_t * stat);
|-
|-
| 313
| 346
| 0x139
| 0x15A
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| diff sys_vm_memory_map
| same Params (size_t vsize, size_t psize, sys_memory_container_t container, uint64_t flag, uint64_t policy, sys_addr_t * addr); apperently maps different vm memory area
|-
| 314
| 0x13A
| {{DECR}} {{DEX}} {{CEX}}
|
|
|
|
| 2 Params
|-
|-
| 315
| 348
| 0x13B
| 0x15C
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_memory_allocate
| int sys_memory_allocate(size_t size, uint64_t flags, sys_addr_t * alloc_addr);
|-
| 349
| 0x15D
| {{CEX}}{{DEX}}{{DECR}}
|
|
| 1 Param
| sys_memory_free
| int sys_memory_free(sys_addr_t start_addr);
|-
|-
| 324
| 350
| 0x144
| 0x15E
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{dbg}}
| sys_memory_container_create
| int sys_memory_container_create(sys_memory_container_t * cid, size_t yield_size);
|-
| 325
| 0x145
| {{DECR}} {{DEX}} {{CEX}}
| {{dbg}}
| sys_memory_container_destroy
| int sys_memory_container_destroy(sys_memory_container_t cid);
|-
| 326
| 0x146
| {{DECR}} {{DEX}} {{CEX}}
|
|
| sys_mmapper_allocate_fixed_address
| sys_memory_allocate_from_container
| int sys_mmapper_allocate_fixed_address(void);
| int sys_memory_allocate_from_container(size_t size, sys_memory_container_t container, uint64_t flags, sys_addr_t * alloc_addr);
|-
|-
| 327
| 351
| 0x147
| 0x15F
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_mmapper_enable_page_fault_notification
| sys_memory_get_page_attribute
| int sys_mmapper_enable_page_fault_notification(sys_addr_t start_addr, sys_event_queue_t queue_id);
| int sys_memory_get_page_attribute(sys_addr_t addr, sys_page_attr_t * attr);
|-
|-
| 328
| 352
| 0x148
| 0x160
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_mmapper_allocate_shared_memory_from_container_ext
| sys_memory_get_user_memory_size
| int sys_mmapper_allocate_shared_memory_from_container_ext(uint64_t shmem_key, uint32_t size, uint64_t pageSizeFlags, sys_memory_container_t memory_container_id, void *entries, uint32_t entry_count, sys_memory_t *mem_id)
| int sys_memory_get_user_memory_size(sys_memory_info_t * mem_info);
|-
|-
| 329
| 353
| 0x149
| 0x161
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_mmapper_free_shared_memory
| sys_memory_get_user_memory_stat
| int sys_mmapper_free_shared_memory(sys_addr_t start_addr);
| int sys_memory_get_user_memory_stat(out:uint8[0x1C])
|-
|-
| 330
| 354
| 0x14A
| 0x162
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
|
|
| sys_mmapper_allocate_address
| 3 Params
| int sys_mmapper_allocate_address(size_t size, uint64_t flags, size_t alignment, sys_addr_t * alloc_addr);
|-
|-
| 331
| 355
| 0x14B
| 0x163
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
|
|
| sys_mmapper_free_address
| 2 Param: uint32_t *, uint32_t *    (set 0, reset memory stats?)
| int sys_mmapper_free_address(sys_addr_t start_addr);
|-
|-
| 332
| 356
| 0x14C
| 0x164
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_mmapper_allocate_shared_memory
| sys_memory_allocate_colored
| int sys_mmapper_allocate_shared_memory(u64 shmem_key, size_t size, size_t alignment, sys_memory_t* mem_id)
| 4 Params
|-
|-
| 333
| 357
| 0x14D
| 0x165
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
|
| sys_mmapper_set_shared_memory_flag
| 2 Params
| int sys_mmapper_set_shared_memory_flag(sys_addr_t, flags) ?;
|-
|-
| 334
| 358
| 0x14E
| 0x166
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
|
| sys_mmapper_map_shared_memory
| 5 Params
| int sys_mmapper_map_shared_memory(sys_addr_t start_addr, sys_memory_t mem_id, uint64_t flags)
|-
|-
| 335
| 359
| 0x14F
| 0x167
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
|
| sys_mmapper_unmap_shared_memory
| 2 Params
| int sys_mmapper_unmap_shared_memory(sys_addr_t start_addr,sys_memory_t *mem_id)
|-
|-
| 336
| 360
| 0x150
| 0x168
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_mmapper_change_address_access_right
| int sys_mmapper_change_address_access_right(sys_addr_t start_addr, uint64_t flags);
|-
| 337
| 0x151
| {{DECR}} {{DEX}} {{CEX}}
|
|
| sys_mmapper_search_and_map
| 7 Params
| 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
| 361
| 0x152
| 0x169
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_mmapper_get_shared_memory_attribute
| sys_memory_allocate_from_container_colored
| 2 Params:
| 5 Params
|-
|-
| 339
| 362
| 0x153
| 0x16A
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_mmapper_allocate_shared_memory_ext
| sys_mmapper_allocate_memory_from_container
| int sys_mmapper_allocate_shared_memory_ext(uint64_t shmem_key, uint32_t size, uint64_t pageSizeFlags, void *entries, uint32_t entry_count, 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)
|-
|-
| 340
| 363
| 0x154
| 0x16B
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
|
|
| 2 Params
| 6 Params
|-
|-
| 341
| 364
| 0x155
| 0x16C
| {{DECR}} {{DEX}} {{CEX}}
| {{DECR}}
|
|
|
| _sys_memory_container_create
|  
| int _sys_memory_container_create(sys_memory_container_t * cid, size_t yield_size);
|-
|-
| 342
! colspan="6" id="sys_uart Syscalls"|[[#sys_uart Syscalls]] (367-370)
| 0x156
| {{DECR}} {{DEX}} {{CEX}}
|
| sys_memory_container_destroy
| int sys_memory_container_destroy(sys_memory_container_t cid);
|-
|-
| 343
| 367
| 0x157
| 0x16F
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
| {{Root}}
| sys_memory_container_get_size
| sys_uart_initialize
| int sys_memory_container_get_size(sys_memory_info_t * mem_info, sys_memory_container_t cid);
| syscall(367, void)
|-
|-
| 344
| 368
| 0x158
| 0x170
|  
| {{CEX}}{{DEX}}{{DECR}}
|
| {{Root}}
| sys_memory_budget_set
| sys_uart_receive
|  
| sys_uart_receive(out: uint8_t buffer[SizeToReceive], int SizeToReceive (0x400/0x800), 0/1)
|-
|-
| 345
| 369
| 0x159
| 0x171
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
| {{Root}}
|
| sys_uart_send
| 3 Params, a variation of sys_memory_container_destroy (sys_memory_container_t cid, int, &out)
| sys_uart_send(const void *buf, uint64_t size, uint64_t flags)<!--///*
* lv2_av_send
*/
static inline int lv2_av_send(const void *buf, uint64_t size, uint64_t flags)
{
return Lv2Syscall3(369, (uint64_t) buf, size, flags);
}//-->
|-
|-
| 346
| 370
| 0x15A
| 0x172
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
| {{Root}}
|
| sys_uart_get_params
|
| int sys_uart_get_params(out:buffer[0x10])
|-
|-
| 347
! colspan="6" id="sys_game Syscalls"|[[#sys_game Syscalls]] (372-376+410-412)
| 0x15B
|
|
| (sys_mmapper_map_mmio_area)
|
|-
|-
| 348
| 372
| 0x15C
| 0x174
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_memory_allocate
| sys_game_watchdog_start
| int sys_memory_allocate(size_t size, uint64_t flags, sys_addr_t * alloc_addr);
| 1 param: int time(r)
|-
|-
| 349
| 373
| 0x15D
| 0x175
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_memory_free
| sys_game_watchdog_stop
| int sys_memory_free(sys_addr_t start_addr);
| int sys_game_watchdog_stop(void)
|-
|-
| 350
| 374
| 0x15E
| 0x176
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_memory_allocate_from_container
| sys_game_watchdog_clear
| int sys_memory_allocate_from_container(size_t size, sys_memory_container_t container, uint64_t flags, sys_addr_t * alloc_addr);
| int sys_game_watchdog_clear(void)
|-
|-
| 351
| 375
| 0x15F
| 0x177
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
| {{Root}}
| sys_memory_get_page_attribute
| sys_game_set_system_sw_version
| int sys_memory_get_page_attribute(sys_addr_t addr, sys_page_attr_t * attr);
| int sys_game_set_system_sw_version(uint64_t version)
|-
|-
| 352
| 376
| 0x160
| 0x178
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
| {{Root}}
| sys_memory_get_user_memory_size
| sys_game_get_system_sw_version
| int sys_memory_get_user_memory_size(sys_memory_info_t * mem_info);
| int sys_game_get_system_sw_version(void)
|-
|-
| 353
! colspan="6" id="sys_sm/sys_ctrl Syscalls"|[[#sys_sm/sys_ctrl Syscalls]] (378-396)
| 0x161
| {{DECR}} {{DEX}} {{CEX}}
|
| sys_memory_get_user_memory_stat
| int sys_memory_get_user_memory_stat(out:uint8[0x1C])
|-
|-
| 354
| 377
| 0x162
| 0x179
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
|
| sys_sm_set_shop_mode
| 3 Params
| 1 Param: 0/1, HV System Manager access - ServiceID 39 (SET_SHOP_DEMO_MODE)
|-
|-
| 355
| 378
| 0x163
| 0x17A
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
|
| sys_sm_get_ext_event2
| 2 Param: uint32_t *, uint32_t *    (set 0, reset memory stats?)
| 4 Param, <br>IsConsoleHot?=sc378(uint8_t [8],uint8_t [8], uint8_t [8], 0/1), v1==7 -> yesHOT
|-
|-
| 356
| 379
| 0x164
| 0x17B
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
| {{Root}}
| sys_memory_allocate_colored
| sys_sm_shutdown
| 4 Params
| system_call_4(379,0x200,0,0,0); // 0x1100/0x100 = turn off, 0x1200 = Hard Reboot, 0x200 = Soft Reboot, 0x8201/0x8202 = load next/previous? lpar <br> HV System Manager access - ServiceID 1 (REQUEST)+ 10 (DELIVER INTER LPAR PARAMETER)<!--///*
* lv2_sm_shutdown
*/
static inline int lv2_sm_shutdown(uint16_t op, const void *buf, uint64_t size)
{
return Lv2Syscall3(379, op, (uint64_t) buf, size);
}//-->
|-
|-
| 357
| 380
| 0x165
| 0x17C
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
| {{Dbg}}
|
| sys_sm_get_params
| 2 Params
| alias sys_get_system_parameter, 4 Params: all buffer[0x8] <!--///*
* lv2_sm_get_params
*/
static inline int lv2_sm_get_params(uint64_t *unknown1, uint64_t *unknown2,
uint64_t *unknown3, uint64_t *unknown4)
{
return Lv2Syscall4(380, (uint64_t) unknown1, (uint64_t) unknown2,
(uint64_t) unknown3, (uint64_t) unknown4);
}//-->
|-
|-
| 358
| 381
| 0x166
| 0x17D
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}  
|
|
|
| 2Params: syscall(381,uint8_t out_buff[0x600], 0x600); <br> returns system configuration?
| 5 Params
|-
|-
| 359
| 382
| 0x167
| 0x17E
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
| {{Root}}
| (sys_mmapper_unmap_mmio_area)
| sys_sm_clear?_rtc_alarm
| 2 Params
| int syscall(382, void);
|-
|-
| 360
| 383
| 0x168
| 0x17F
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
| {{Root}}
|
| sys_game_get_temperature
| 7 Params
| int sys_game_get_temperature(0=CELL/1=RSX,uint32_t *temperature) ( HV System Manager access - ServiceID 13 (TEMPERATURE))
2nd Byte conversion: r.shift (second_byte * 0x64 ) by 8<br>
Example: 195 = 0xC3 -> 0xC3 * 0x64 -> 0x4C2C ->> shift -> 0x4C -> XX.76°C
|-
|-
| 361
| 384
| 0x169
| 0x180
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
| {{Root}}
| sys_memory_allocate_from_container_colored
| sys_sm_get_tzpb
| 5 Params
| 1 Param: syscall(384,uint64_t *tzpb); (uint8_t [0x20]) Get TimeZone Presence <br> HV System Manager access - ServiceID 15
|-
|-
| 362
| 385
| 0x16A
| 0x181
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
| {{Root}}
| sys_mmapper_allocate_memory_from_container
| sys_sm_request_led
| sys_mmapper_allocate_memory_from_container(size_t size, sys_memory_container_t container, uint64_t flags, sys_memory_t *mem_id)
| int sys_sm_request_led( int led_id(1=power,2=status or 3=disk), out:uint8_t led_action[1] ) HV System Manager access - ServiceID 17
|-
| 386
| 0x182
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| sys_sm_control_led
| int sys_sm_control_led(uint8_t led_id, uint8_t led_action)<br> led_id = 0,1 (POWER),2 (STATUS)(red, green, red+green combined: looks like yellow);<br> led_action = 0,1,2,3 (off,on,blink fast, blink slow)
|-
|-
| 363
| 387
| 0x16B
| 0x183
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
| {{Dbg}}
|
| sys_sm_get_platform_info?
| 6 Params
| syscall(387, uint8_t platform_info[0x18]) / OS Version, Revision, System Software Version? <!--///*
* lv2_get_platform_info
*/
static inline int lv2_get_platform_info(struct platform_info *info)
{
return Lv2Syscall1(387, (uint64_t) info);
}//-->
|-
|-
| 364
| 388
| 0x16C
| 0x184
| {{DECR}}
| {{CEX}}{{DEX}}{{DECR}}
|
| {{Root}}
|
| sys_sm_ring_buzzer_too
|  
| HV System Manager access - ServiceID 21 (RING_BUZZER)
|-
|-
! colspan="6" id="sys_uart Syscalls"|[[#sys_uart Syscalls]] (367-370)
| 389
| 0x185
| {{CEX}}{{DEX}}{{DECR}}
| {{Productmode}}
| sys_sm_set_fan_policy
| int sys_sm_set_fan_policy (in:uint8, in:uint8, in:uint8)<!--// int sys_sm_set_fan_policy(u8 arg0, u8 arg1, u8 arg2) //-->
|-
|-
| 367
| 390
| 0x16F
| 0x186
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
| sys_uart_initialize
| sys_sm_request_error_log
| syscall(367, void)
| 4 Params, HV System Manager access - ServiceID 26 (REQUEST_ERROR_LOG)
|-
|-
| 368
| 391
| 0x170
| 0x187
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
| sys_uart_receive
| sys_sm_request_be_count
| sys_uart_receive(out: uint8_t buffer[SizeToReceive], int SizeToReceive (0x400/0x800), 0/1)
| 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]
|-
|-
| 369
| 392
| 0x171
| 0x188
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
| sys_uart_send
| sys_sm_ring_buzzer
| sys_uart_send(const void *buf, uint64_t size, uint64_t flags)<!--///*
| 3 Params: PacketID=0x1004, field2, field4 [[http://ps3devwiki.com/index.php?title=Hypervisor_Reverse_Engineering#Parameters_6 Parameters]]<!--///*
  * lv2_av_send
  * lv2_sm_ring_buzzer
  */
  */
static inline int lv2_av_send(const void *buf, uint64_t size, uint64_t flags)
static inline int lv2_sm_ring_buzzer(uint64_t unknown1, uint8_t unknown2, uint32_t unknown3)
{
{
return Lv2Syscall3(369, (uint64_t) buf, size, flags);
return Lv2Syscall3(392, unknown1, unknown2, unknown3);
}//-->
}//-->
|-
|-
| 370
| 393
| 0x172
| 0x189
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
| sys_uart_get_params
| sys_sm_get_hw_config
| int sys_uart_get_params(out:buffer[0x10])
| gets hardware configuration: syscall(393,uint8_t ret[2], uint8_t hw_config[8]) <!--///*
* lv2_get_sys_hw_config
*/
static inline int lv2_get_sys_hw_config(uint8_t *res, uint64_t *val)
{
return Lv2Syscall2(393, (uint64_t) res, (uint64_t) val);
}//-->
|-
|-
! colspan="6" id="sys_game Syscalls"|[[#sys_game Syscalls]] (372-376+410-412)
| 394
| 0x18A
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| sys_sm_request_scversion
| uint8_t SoftID[8],old_PatchID[8],new_PatchID[8]; lv2syscall3(394, (uint64_t)SoftID, (uint64_t)old_PatchID, (uint64_t)new_PatchID);<br />HV System Manager access - ServiceID 30 (REQUEST_SC_VERSION) [[http://www.ps3devwiki.com/wiki/System_Controller_Firmware#.27info0.27 SC Firmware]]
|-
|-
| 372
| 395
| 0x174
| 0x18B
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
| {{Productmode}}
| sys_game_watchdog_start
| sys_sm_request_system_event_log
| 1 param: int time(r)
| 6 Params, HV System Manager access - ServiceID 32 (REQUEST_SYSTEM_EVENT_LOG)
|-
|-
| 373
| 396
| 0x175
| 0x18C
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
| {{Root}}
| sys_game_watchdog_stop
| sys_sm_set_rtc_alarm
| int sys_game_watchdog_stop(void)
| 1 Param, HV System Manager access - ServiceID 34+38 (RTC_ALARM)
|-
|-
| 374
| 397
| 0x176
| 0x18D
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
| sys_game_watchdog_clear
| int sys_game_watchdog_clear(void)
|-
| 375
| 0x177
| {{DECR}} {{DEX}} {{CEX}}
| {{Root}}
| {{Root}}
| sys_game_set_system_sw_version
| sys_sm_get_rtc_alarm
| int sys_game_set_system_sw_version(uint64_t version)
| 1 Param, HV System Manager access - ServiceID 36
|-
|-
| 376
| 398
| 0x178
| 0x18E
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
| sys_game_get_system_sw_version
| sys_console_write
| int sys_game_get_system_sw_version(void)
| int sys_console_write(const char *s, unsigned int len)(lv2,lv1::console::write_async <!--///*
* lv2_lv1_log_write
*/
static inline int lv2_lv1_log_write(const char *s, unsigned int len)
{
return Lv2Syscall2(398, (uint64_t) s, len);
}//-->
|-
|-
! colspan="6" id="sys_sm/sys_ctrl Syscalls"|[[#sys_sm/sys_ctrl Syscalls]] (378-396)
| 400
| 0x190
| {{CEX}}{{DEX}}{{DECR}}
| {{Productmode}}
|
| 3 Params, HV System Manager access - ServiceID 32 (REQUEST_SYSTEM_EVENT_LOG) <br> sys_sm_request_system_event_log too
|-
|-
| 377
| 401
| 0x179
| 0x191
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
| sys_sm_set_shop_mode
|
| int sys_sm_set_shop_mode(int mode (0/1)) ( HV System Manager access - ServiceID 39 (SET_SHOP_DEMO_MODE))
| 2 Params: in:uint64_t,out:uint8_t[1], HV System Manager access - ServiceID 40 (BOOT_PARAMETER) <br> related to 404
|-
|-
| 378
! colspan="6" id="sys_tty Syscalls"|[[#sys_tty Syscalls]] (402-403)
| 0x17A
| {{DECR}} {{DEX}} {{CEX}}
| {{Root}}
| sys_sm_get_ext_event2
| 4 Param, sc378(uint64_t * v1,uint64_t * v2, uint64_t * v3, 0=receive buffer/1=get queuing events), v1==7 -> yesHOT
|-
|-
| 379
| 402
| 0x17B
| 0x192
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
|
| sys_sm_shutdown
| sys_tty_read
| int sys_sm_shutdown(uint16_t op, const void * lpar_parameter, uint64_t parameter_size )
| int sys_tty_read(unsigned int ch, void *buf, unsigned int len, unsigned int *preadlen);
0x1100/0x100 = turn off,
0x1200 = Lv2 Hard Reboot,
0x200 = Lv2 Soft Reboot,
0x8201 = load lpar id 1
0x8202 = load lpar id 2
0x8204 = load lpar id 3 (PS2_NETEMU)
HV System Manager access - ServiceID 1 (REQUEST)+ 10 (DELIVER INTER LPAR PARAMETER)
|-
|-
| 380
| 403
| 0x17C
| 0x193
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Dbg}}
|
| sys_sm_get_params
| sys_tty_write
| alias sys_get_system_parameter, 4 Params: uint64_t * unknown1, uint64_t * unknown2, uint64_t * unknown3, uint64_t * bootparam? (more info: [[#Boot_Parameter]])
| int sys_tty_write(unsigned int ch, const void *buf, unsigned int len, unsigned int *pwritelen);
|-
|-
| 381
| 404
| 0x17D
| 0x194
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| sys_sm_get_inter_lpar_parameter
| 2Params: syscall(381,uint8_t lpar_parameter[param_size], int param_size (0x600));
|-
| 382
| 0x17E
| {{DECR}} {{DEX}} {{CEX}}
| {{Root}}
| {{Root}}
| sys_sm_initialize
|
| int syscall(382, void); - prevents ps3 lpar shutdown ?
| 2 Params: out:*uint64_t, out:uint8_t [1], HV System Manager access - ServiceID 42 (BOOT_PARAMETER) <br> [Network Settings for Debug] related, returns single/dual setting flag?
|-
|-
| 383
| 405
| 0x17F
| 0x195
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Productmode}}
| sys_game_get_temperature
|
| int sys_game_get_temperature(uint8_t tzone, uint32_t *temperature) ( HV System Manager access - ServiceID 13 (TEMPERATURE))
| 2 Params: out:uint8_t [2],out:uint8_t[1], HV System Manager access - ServiceID 44 <br> factory_process_comp (0,0)  
2nd Byte conversion: r.shift (second_byte * 0x64 ) by 8<br>
Example: 195 = 0xC3 -> 0xC3 * 0x64 -> 0x4C2C ->> shift -> 0x4C -> XX.76°C
tzone =
0x00 = CELL
0x01 = RSX
0x14 = SB  (tested only on COK-00x, but according to
        https://www.psdevwiki.com/ps3/Thermal#Temperature_Monitors sensor is available and connected up to DIA-001)
other = Untested, but likely unavailable on retail models.
|-
|-
| 384
| 406
| 0x180
| 0x196
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Productmode}}
| sys_sm_get_tzpb
|
| 1 Param: syscall(384,uint64_t *tzpb); (uint8_t [0x20]) Get Thermal Zone (Presence/Broadcast?) <br> HV System Manager access - ServiceID 15
| 2 Params: r3(0x01,0x02,0x04,0x08,0x10,0x20,0x40,0x80,0x100) ,out:uint8_t[1], HV System Manager access - ServiceID 46 <br> factory_process_comp (1,x)
|-
|-
| 385
| 407
| 0x181
| 0x197
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Productmode}}
| sys_sm_request_led
|
| int sys_sm_request_led( int led_id(1=power,2=status or 3=disk), out:uint8_t led_action[1] ) HV System Manager access - ServiceID 17
| 1 Param: out:uint8_t [1], HV System Manager access - ServiceID 48 <br> factory_process_comp (2,x)
|-
|-
| 386
| 408
| 0x182
| 0x198
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Productmode}}
| sys_sm_control_led
| sys_sm_get_tzpb too
| int sys_sm_control_led(uint8_t led_id, uint8_t led_action)<br> led_id = 0,1 (STATUS),2 (POWER)(red, green, red+green combined: looks like yellow);<br> led_action = 0,1,2,3 (off,on,blink fast, blink slow)
| 1 Param: out:uint8_t [0x20] <br> same as 384 just requires PM
|-
|-
| 387
| 409
| 0x183
| 0x199
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Dbg}}
| {{Productmode}}
| sys_sm_get_system_info
| sys_sm_get_fan_policy
| syscall(387, uint8_t platform_info[0x18]) / OS Version, Revision, System Software Version? <!--///*
| int sys_sm_get_fan_policy  (in:uint8, out:uint8[1], out:uint8[1], out:uint8[1], out:uint8[1]), (id, st, policy, mode, duty)<!--// int sys_sm_get_fan_policy(u8 id, u8 *st, u8 *mode, u8 *speed, u8 *unknown) //-->
* lv2_get_platform_info
*/
static inline int lv2_get_platform_info(struct platform_info *info)
{
return Lv2Syscall1(387, (uint64_t) info);
}//-->
|-
|-
| 388
! colspan="6" id="sys_game Syscalls"|[[#sys_game Syscalls]] (372-376+410-412)
| 0x184
| {{DECR}} {{DEX}} {{CEX}}
| {{Root}}
| sys_sm_ring_buzzer_too
| 2 Params,HV System Manager access - ServiceID 21 (RING_BUZZER)
|-
|-
| 389
| 410
| 0x185
| 0x19A
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Productmode}}
|
| sys_sm_set_fan_policy
| sys_game_board_storage_read
| int sys_sm_set_fan_policy (in:uint8, in:uint8, in:uint8)<!--// int sys_sm_set_fan_policy(u8 arg0, u8 arg1, u8 arg2) //--><br>Similar than the [[Syscon Firmware|syscon UART]] external command ''"FAN SETPOLICY"'' or the internal command ''"fanconpolicy set"''
| 2 Params,out:uint8_t[0x10], uint8_t[1], HV System Manager access - ServiceID 54
|-
| 411
| 0x19B
| {{CEX}}{{DEX}}{{DECR}}
|
| sys_game_board_storage_write
| 2 Params,in:uint8_t[0x10],uint8_t[1], HV System Manager access - ServiceID 52
|-
|-
| 390
| 412
| 0x186
| 0x19C
| {{DECR}} {{DEX}} {{CEX}}
| {{DEX}} {{DECR}}
|
| sys_game_get_rtc_status
|
|-
| 413
| 0x19D
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
| sys_sm_request_error_log
|
| 4 Params, uint8_t offset (0-0x20), uint8_t *, uint32_t *, uint32_t *
| 3 Params, HV System Manager access - ServiceID 56: out:uint8_t[1],out:uint8_t[1],out:uint8_t[1]
HV System Manager access - ServiceID 26 (REQUEST_ERROR_LOG)
|-
|-
| 391
| 414
| 0x187
| 0x19E
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
| sys_sm_request_be_count
|
| 4 Params
| 3 Params,in:packetid ,in:uint8_t[0x20],out:uint8_t[1], HV System Manager access - ServiceID 58
uint8_t * status,
uint32_t* total_time_in_seconds,
uint32_t* power_on_counter,
uint32_t* power_off_counter
 
HV System Manager access - ServiceID 28 (REQUEST_BE_COUNT):
|-
|-
| 392
| 415
| 0x188
| 0x19F
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
| sys_sm_ring_buzzer
|
| 3 Params: PacketID=0x1004, field2, field4 [[Hypervisor_Reverse_Engineering#Parameters_6 Parameters]]<!--///*
| 3 Params,in:packetid,out:uint8_t[0x20],out:uint8_t[1], HV System Manager access - ServiceID 60
* lv2_sm_ring_buzzer
*/
static inline int lv2_sm_ring_buzzer(uint64_t unknown1, uint8_t unknown2, uint32_t unknown3)
{
return Lv2Syscall3(392, unknown1, unknown2, unknown3);
}//-->
|-
|-
| 393
! colspan="6" id="sys_overlay Syscalls"|[[#sys_overlay Syscalls]] (450-457)
| 0x189
| {{DECR}} {{DEX}} {{CEX}}
| {{Root}}
| sys_sm_get_hw_config
| gets hardware configuration: syscall(393,uint8_t * res, uint64_t * hw_config) <!--///*
* lv2_get_sys_hw_config
*/
static inline int lv2_get_sys_hw_config(uint8_t *res, uint64_t *val)
{
return Lv2Syscall2(393, (uint64_t) res, (uint64_t) val);
}//-->
|-
|-
| 394
| 450
| 0x18A
| 0x1C2
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
|
| sys_sm_request_scversion
| sys_overlay_load_module
| 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) [[Syscon_Firmware#.27info0.27 SC Firmware]]
| int sys_overlay_load_module(sys_overlay_t * ovlmid, const char *path, uint64_t flags, sys_addr_t * entry)
|-
|-
| 395
| 451
| 0x18B
| 0x1C3
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Productmode}}
|
| sys_sm_request_system_event_log
| sys_overlay_unload_module
| int sys_sm_request_system_event_log(int offset(0 - 5),uint64_t *out,uint64_t *out,uint64_t *out,uint8_t buf[0x20], int flag ), 6 Params, HV System Manager access - ServiceID 32 (REQUEST_SYSTEM_EVENT_LOG). See also syscall 400 and [[Factory_Service_Mode#Game_OS|this]]
| int sys_overlay_unload_module(sys_overlay_t ovlmid)
|-
|-
| 396
| 452
| 0x18C
| 0x1C4
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
|
| sys_sm_set_rtc_alarm
| sys_overlay_get_module_list
| int sys_sm_set_rtc_alarm(CellRtcTick *pTick), HV System Manager access - ServiceID 34+38 (RTC_ALARM)
| int sys_overlay_get_module_list(sys_pid_t pid, size_t ovlmids_num, sys_overlay_t * ovlmids, size_t * num_of_modules)
|-
|-
| 397
| 453
| 0x18D
| 0x1C5
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
|
| sys_sm_get_rtc_alarm
| sys_overlay_get_module_info
| 1 Param, HV System Manager access - ServiceID 36
| int sys_overlay_get_module_info(sys_pid_t pid,sys_overlay_t ovlmid, sys_overlay_module_info_t * info)
|-
|-
| 398
| 454
| 0x18E
| 0x1C6
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
|
| sys_console_write
| sys_overlay_load_module_by_fd
| int sys_console_write(const char *s, uint32_t len)(lv2,lv1::console::write_async <!--///*
| int sys_overlay_load_module_by_fd(sys_overlay_t * ovlmid, int fd, off64_t offset, uint64_t flags, sys_addr_t * entry)
* lv2_lv1_log_write
*/
static inline int lv2_lv1_log_write(const char *s, uint32_t len)
{
return Lv2Syscall2(398, (uint64_t) s, len);
}//-->
|-
|-
| 399
| 455
| 0x18F
| 0x1C7
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_overlay_get_module_info2
| int sys_overlay_get_module_info2(sys_pid_t pid, sys_overlay_t ovlmid, sys_overlay_module_info2_t * info)
|-
| 456
| 0x1C8
| {{CEX}}{{DEX}}{{DECR}}
|
|
| (sys_kernel_test)
| sys_overlay_get_sdk_version
|
| 2 Params
|-
|-
| 400
| 457
| 0x190
| 0x1C9
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Productmode}}
|
| int sys_request_system_event_log(int offset(0 - 5),uint64_t *out, int flag ) , HV System Manager access - ServiceID 32 (REQUEST_SYSTEM_EVENT_LOG) <br> sys_sm_request_system_event_log too. See also syscall 395 and [[Factory_Service_Mode#Game_OS|this]]
|-
| 401
| 0x191
| {{DECR}} {{DEX}} {{CEX}}
| {{Root}}
|
|
| 2 Params: uint64_t param,uint8_t * st (status?/state?)
| sys_overlay_get_module_dbg_info
HV System Manager access - ServiceID 40 (BOOT_PARAMETER)
| 3 Params: (sys_pid_t pid, sys_overlay_t ovlmid, sys_overlay_module_dbg_t * info) ?
See also syscall 404, [[SC_EEPROM|syscon EEPROM]] "boot param" and [[Factory_Service_Mode#Game_OS|this]], also sends the param to syscon
|-
|-
! colspan="6" id="sys_tty Syscalls"|[[#sys_tty Syscalls]] (402-403)
| 458
|-
| 0x1CA
| 402
| {{CEX}}{{DEX}}{{DECR}}
| 0x192
| {{DECR}} {{DEX}} {{CEX}}
|
|
| sys_tty_read
| sys_overlay_get_module_dbg_info too
| int sys_tty_read(uint32_t ch, void *buf, uint32_t len, uint32_t *preadlen);
| 3 Params:
|-
|-
| 403
! colspan="6" id="sys_prx Syscalls"|[[#sys_prx Syscalls]] (460-499)
| 0x193
| {{DECR}} {{DEX}} {{CEX}}
|
| sys_tty_write
| int sys_tty_write(uint32_t ch, const void *buf, uint32_t len, uint32_t *pwritelen);
|-
|-
| 404
| 460
| 0x194
| 0x1CC
| {{DECR}} {{DEX}} {{CEX}}
| {{DEX}} {{DECR}}
| {{Root}}
| {{Root}}
| sys_prx_dbg_get_module_id_list
| 4 Params
|-
| 461
| 0x1CD
| {{CEX}}{{DEX}}{{DECR}}
|
|
| 2 Params: uint64_t * param, uint8_t * st
| sys_prx_get_module_id_by_address
HV System Manager access - ServiceID 42 (BOOT_PARAMETER)
| sys_prx_id_t sys_prx_get_module_id_by_address(void* addr)
[Network Settings for Debug] related, returns single/dual setting flag?
See also syscall 401, [[SC_EEPROM|syscon EEPROM]] "boot param" and [[Factory_Service_Mode#Game_OS|this]]
|-
|-
| 405
| 462
| 0x195
| 0x1CE
| {{DECR}} {{DEX}} {{CEX}}
| {{DEX}}{{DECR}}
| {{Productmode}}
|
|
|
| 2 Params: uint16_t * comp?, uint8_t * st (status?/state?)
| 1 Param: uint8_t [0x50]
HV System Manager access - ServiceID 44
factory_process_comp (0,0),  dbg_printf comp value
See [[SC_EEPROM|syscon EEPROM]] "factory process completion" and [[Factory_Service_Mode#Game_OS|this]]
|-
|-
| 406
| 463
| 0x196
| 0x1CF
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Productmode}}
|
|
| 2 Params: uint32_t comp? ,uint8_t * st
| sys_prx_load_module_by_fd
comp? = 0x01,0x02,0x04,0x08,0x10,0x20,0x40,0x80,0x100
| 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)
HV System Manager access - ServiceID 46
factory_process_comp (1,x) -> OR-Operation with comp
See [[SC_EEPROM|syscon EEPROM]] "factory process completion" and [[Factory_Service_Mode#Game_OS|this]]
|-
|-
| 407
| 464
| 0x197
| 0x1D0
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Productmode}}
|
|
| 1 Param: uint8_t * st
| sys_prx_load_module_on_memcontainer_by_fd
HV System Manager access - ServiceID 48
| 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)
factory_process_comp (2,0) -> ANDC-Operation with comp=0
See [[SC_EEPROM|syscon EEPROM]] "factory process completion" and [[Factory_Service_Mode#Game_OS|this]]
|-
|-
| 408
| 465
| 0x198
| 0x1D1
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Productmode}}
|
| sys_sm_get_tzpb too
| sys_prx_load_module_list
| 1 Param: out:uint8_t [0x20] <br> same as 384 just requires PM
| 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)
|-
|-
| 409
| 466
| 0x199
| 0x1D2
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Productmode}}
| sys_sm_get_fan_policy
| int sys_sm_get_fan_policy(uint8_t id, uint8_t *st (status? state?), uint8_t *policy (mode), uint8_t * mode (speed), uint8_t *duty)<br>Similar than the [[Syscon Firmware|syscon UART]] external command ''"FAN GETPOLICY"'' or the internal command ''"fanconpolicy get"''
|-
! colspan="6" id="sys_game Syscalls"|[[#sys_game Syscalls]] (372-376+410-412)
|-
| 410
| 0x19A
| {{DECR}} {{DEX}} {{CEX}}
|
|
| sys_game_board_storage_read
| sys_prx_load_module_list_on_memcontainer
| 2 Params,out:uint8_t[0x10], uint8_t[1], HV System Manager access - ServiceID 54
| 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)
|-
|-
| 411
| 467
| 0x19B
| 0x1D3
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_game_board_storage_write
| sys_prx_get_ppu_guid
| 2 Params,in:uint8_t[0x10],uint8_t[1], HV System Manager access - ServiceID 52
| sys_addr_t sys_prx_get_ppu_guid(sys_prx_id_t id)
|-
|-
| 412
| 468
| 0x19C
| 0x1D4
| {{DECR}} {{DEX}}
| {{DEX}} {{DECR}}
|
| {{Root}}
| sys_game_get_rtc_status
|  
|
|  
|-
|-
| 413
| 470
| 0x19D
| 0x1D6
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
|
|
| 3 Params, HV System Manager access - ServiceID 56: out:uint8_t[1],out:uint8_t[1],out:uint8_t[1]
| int syscall 470 (uint32_t type?, void* npd? [0x60])
|-
|-
| 414
| 471
| 0x19E
| 0x1D7
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
|
|
| 3 Params,in:packetid ,in:uint8_t[0x20],out:uint8_t[1], HV System Manager access - ServiceID 58
| 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:
FREE: syscall471(npd.type, &npd.titleID, freeklicensee, NULL, NULL, npd.license, &npd);
PAID: syscall471(npd.type, &npd.titleID, NULL, &actdat.keyTable[rif.actDatIndex], &rif.key, npd.license, &npd);//-->
|-
|-
| 415
| 472
| 0x19F
| 0x1D8
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
|
|
| 3 Params,in:packetid,out:uint8_t[0x20],out:uint8_t[1], HV System Manager access - ServiceID 60
| 2 Params:
|-
|-
! colspan="6" id="sys_overlay Syscalls"|[[#sys_overlay Syscalls]] (450-457)
| 473
| 0x1D9
| {{CEX}}{{DEX}}{{DECR}}
|
|
|
|-
|-
| 450
| 474
| 0x1C2
| 0x1DA
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
|
| 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
| {{DECR}} {{DEX}} {{CEX}}
|
|
| sys_overlay_unload_module
| int sys_overlay_unload_module(sys_overlay_t ovlmid)
|-
|-
| 452
| 475
| 0x1C4
| 0x1DB
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
|
|
| sys_overlay_get_module_list
| int syscall_475(uint32_t type, void* npd?, void* klicensee, uint8_t* actdat, uint8_t* rif, uint8_t magicVersion)
| int sys_overlay_get_module_list(sys_pid_t pid, size_t ovlmids_num, sys_overlay_t * ovlmids, size_t * num_of_modules)
|-
|-
| 453
| 476
| 0x1C5
| 0x1DC
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
|
|
| sys_overlay_get_module_info
| can only be either syscall476 (1,0) or syscall476 (0,1)
| int sys_overlay_get_module_info(sys_pid_t pid,sys_overlay_t ovlmid, sys_overlay_module_info_t * info)
|-
|-
| 454
| 480
| 0x1C6
| 0x1E0
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_overlay_load_module_by_fd
| sys_prx_load_module
| int sys_overlay_load_module_by_fd(sys_overlay_t * ovlmid, int fd, off64_t offset, uint64_t flags, sys_addr_t * entry)
| sys_prx_id_t sys_prx_load_module(const char* path, sys_prx_flags_t flags, sys_prx_load_module_option_t pOpt)
|-
|-
| 455
| 481
| 0x1C7
| 0x1E1
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_overlay_get_module_info2
| sys_prx_start_module
| int sys_overlay_get_module_info2(sys_pid_t pid, sys_overlay_t ovlmid, sys_overlay_module_info2_t * info)
| 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)
|-
|-
| 456
| 482
| 0x1C8
| 0x1E2
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_overlay_get_sdk_version
| sys_prx_stop_module
| int sys_overlay_get_sdk_version(sys_overlay_t ovlmid, uint32_t* sdk_ver)
| 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)
|-
|-
| 457
| 483
| 0x1C9
| 0x1E3
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_overlay_get_module_dbg_info
| sys_prx_unload_module
| 3 Params: (sys_pid_t pid, sys_overlay_t ovlmid, sys_overlay_module_dbg_t * info) ?
| int sys_prx_unload_module(sys_prx_id_t id, sys_prx_flags_t flags, sys_prx_unload_module_option_t pOpt);
|-
|-
| 458
| 484
| 0x1CA
| 0x1E4
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_overlay_get_module_dbg_info too
| sys_prx_register_module
| 3 Params:
| int sys_prx_register_module(char * name, const sys_prx_register_module_option_t * pOpt)
|-
|-
! colspan="6" id="sys_prx Syscalls"|[[#sys_prx Syscalls]] (460-499)
| 485
| 0x1E5
| {{CEX}}{{DEX}}{{DECR}}
|
| sys_prx_query_module
| int sys_prx_query_module(void) // only returns 0
|-
|-
| 460
| 486
| 0x1CC
| 0x1E6
| {{DECR}} {{DEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| sys_prx_dbg_get_module_id_list
| sys_prx_dbg_get_module_id_list(sys_pid_t pid, sys_prx_dbg_get_module_list_t *pInfo)
|-
| 461
| 0x1CD
| {{DECR}} {{DEX}} {{CEX}}
|
|
| sys_prx_get_module_id_by_address
| sys_prx_register_library
| sys_prx_id_t sys_prx_get_module_id_by_address(void* addr)
| int sys_prx_register_library(void* library)
|-
|-
| 462
| 487
| 0x1CE
| 0x1E7
| {{DECR}} {{DEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
|
| sys_prx_unregister_library
| 1 Param: uint8_t [0x50]
| int sys_prx_unregister_library(void* library) // only returns 0
|-
|-
| 463
| 488
| 0x1CF
| 0x1E8
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_prx_load_module_by_fd
| sys_prx_link_library
| 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)
| int sys_prx_link_library(void) // only returns 0
|-
|-
| 464
| 489
| 0x1D0
| 0x1E9
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_prx_load_module_on_memcontainer_by_fd
| sys_prx_unlink_library
| 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)
| int sys_prx_unlink_library(void) // only returns 0
|-
|-
| 465
| 490
| 0x1D1
| 0x1EA
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_prx_load_module_list
| sys_prx_query_library
| 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_query_library(void) // only returns 0
|-
|-
| 466
| 492
| 0x1D2
| 0x1EC
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Dbg}}
|
|
| sys_prx_load_module_list_on_memcontainer
| 4 Params:
| 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
| 493
| 0x1D3
| 0x1ED
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Dbg}}
| sys_prx_dbg_get_module_info
| 3 Params:
|-
| 494
| 0x1EE
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_prx_get_ppu_guid
| sys_prx_get_module_list
| sys_addr_t sys_prx_get_ppu_guid(sys_prx_id_t id)
| int sys_prx_get_module_list(sys_prx_flags_t flags, sys_prx_get_module_list_t *pInfo);
|-
|-
| 468
| 495
| 0x1D4
| 0x1EF
| {{DECR}} {{DEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
|
|  
| 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)
|-
|-
| 470
| 496
| 0x1D6
| 0x1F0
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| sys_npdrm_check_ekc
| int syscall 470 (sys_pid_t pid, np_drm_info_t* np_drm_info)
|-
| 471
| 0x1D7
| {{DECR}} {{DEX}} {{CEX}}
| {{Root}}
| sys_npdrm_regist_ekc
| 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:
FREE: syscall471(npd.type, &npd.titleID, freeklicensee, NULL, NULL, npd.license, &npd);
PAID: syscall471(npd.type, &npd.titleID, NULL, &actdat.keyTable[rif.actDatIndex], &rif.key, npd.license, &npd);
Deprecated on modern firmwares, use syscall 475 instead; //-->
|-
| 472
| 0x1D8
| {{DECR}} {{DEX}} {{CEX}}
| {{Root}}
|
|
| 2 Params:
| 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)
|-
|-
| 473
| 497
| 0x1D9
| 0x1F1
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
|
|
| 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)
|-
|-
| 474
| 498
| 0x1DA
| 0x1F2
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
|
| sys_prx_start
| int sys_prx_start (void) // only returns 0
|-
| 499
| 0x1F3
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_prx_stop
| int sys_prx_stop(void)
|-
|-
| 475
! colspan="6" id="sys_hid_manager Syscalls"|[[#sys_hid_manager Syscalls]]
| 0x1DB
| {{DECR}} {{DEX}} {{CEX}}
| {{Root}}
| sys_npdrm_regist_ekc2 ?
| int syscall_475(sys_pid_t pid, np_drm_info_t* np_drm_info, void* klicensee, uint8_t* actdat, uint8_t* rif, uint8_t magicVersion)
|-
|-
| 476
| 500
| 0x1DC
| 0x1F4
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
|
|
| can only be either syscall476 (1,0) or syscall476 (0,1)
| sys_hid_manager_open
| 2 Params
|-
|-
| 480
| 501
| 0x1E0
| 0x1F5
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_prx_load_module
| sys_hid_manager_close
| sys_prx_id_t sys_prx_load_module(const char* path, sys_prx_flags_t flags, sys_prx_load_module_option_t* pOpt)
| 1 Param: uint32_t port_no
|-
| 502
| 0x1F6
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| sys_hid_manager_read
| 4 Params: uint32_t port_no,uint32_t packet_id, uint8_t[size], uint32_t size
|-
|-
| 481
| 503
| 0x1E1
| 0x1F7
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_prx_start_module
| sys_hid_manager_ioctl
| int sys_prx_start_module(sys_prx_id_t id, sys_prx_flags_t flags, sys_prx_start_t* pOpt)
| 4 Params: uint32_t port_no,uint32_t packet_id, uint8_t[size], uint32_t size
|-
|-
| 482
| 504
| 0x1E2
| 0x1F8
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
| {{Root}}
| sys_prx_stop_module
| sys_hid_manager_map_logical_id_to_port_id
| 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)
| 3 Params
|-
|-
| 483
| 505
| 0x1E3
| 0x1F9
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
| {{Root}}
| sys_prx_unload_module
| sys_hid_manager_unmap_logical_id_to_port_id
| int sys_prx_unload_module(sys_prx_id_t id, sys_prx_flags_t flags, sys_prx_unload_module_option_t pOpt);
| 3 Params
|-
|-
| 484
| 506
| 0x1E4
| 0x1FA
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
| {{Root}}
| sys_prx_register_module
| sys_hid_manager_add_hot_key_observer
| int sys_prx_register_module(char * name, const sys_prx_register_module_option_t * pOpt)
| 2 Params
|-
|-
| 485
| 507
| 0x1E5
| 0x1FB
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
| {{Root}}
| sys_prx_query_module
| sys_hid_manager_remove_hot_key_observer
| int sys_prx_query_module(void) // only returns 0
| 2 Params
|-
|-
| 486
| 508
| 0x1E6
| 0x1FC
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
| {{Root}}
| sys_prx_register_library
| sys_hid_manager_grab_focus
| int sys_prx_register_library(void* library)
| 1 Param: sys_pid_t pid (for example current pid)
|-
| 509
| 0x1FD
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| sys_hid_manager_release_focus
| 1 Param
|-
|-
| 487
| 510
| 0x1E7
| 0x1FE
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_prx_unregister_library
| sys_hid_manager_...
| int sys_prx_unregister_library(void* library) // only returns 0
| int syscall(510, void);
|-
| 511
| 0x1FF
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| sys_hid_manager_set_...
| 1 Param
|-
|-
| 488
| 512
| 0x1E8
| 0x200
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
|
|
| sys_prx_link_library
| 1 Param : int syscall(512,sys_pid_t pid), simple root-flag check?;
| int sys_prx_link_library(void) // only returns 0
|-
|-
| 489
| 513
| 0x1E9
| 0x201
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_prx_unlink_library
| sys_hid_manager_...
| int sys_prx_unlink_library(void) // only returns 0
| 4 Params
|-
|-
| 490
| 514
| 0x1EA
| 0x202
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_prx_query_library
| sys_hid_manager_...
| int sys_prx_query_library(void) // only returns 0
| 3 Params
|-
|-
| 492
! colspan="6" id="sys_config Syscalls"|[[#sys_config Syscalls]]
| 0x1EC
| {{DECR}} {{DEX}} {{CEX}}
| {{Dbg}}
| sys_prx_dbg_get_module_list
| 4 Params:
|-
|-
| 493
| 516
| 0x1ED
| 0x204
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Dbg}}
|
| sys_prx_dbg_get_module_info
| sys_config_open
| int sys_prx_dbg_get_module_info(sys_pid_t pid, sys_prx_id_t id, sys_prx_dbg_module_info* info)
| 2 Params : (sys_event_queue_t * equeue_id, uint64_t *out)
|-
|-
| 494
| 517
| 0x1EE
| 0x205
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_prx_get_module_list
| sys_config_close
| int sys_prx_get_module_list(sys_prx_flags_t flags, sys_prx_get_module_list_t *pInfo);
| sys_config_close(sys_event_queue_t * equeue_id);
|-
|-
| 495
| 518
| 0x1EF
| 0x206
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_prx_get_module_info
| sys_config_get_service_event
| int sys_prx_get_module_info(sys_prx_id_t id, sys_prx_flags_t flags, sys_prx_module_info_t *pInfo)
| 4 Params:
|-
|-
| 496
| 519
| 0x1F0
| 0x207
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_prx_get_module_id_by_name
| sys_config_add_service_listener
| 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)
| 6 Params
|-
|-
| 497
| 520
| 0x1F1
| 0x208
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_prx_load_module_on_memcontainer
| sys_config_remove_service_listener
| 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)
| 2 Params
|-
|-
| 498
| 521
| 0x1F2
| 0x209
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
| sys_prx_start
| int sys_prx_start (void) // only returns 0
|-
| 499
| 0x1F3
| {{DECR}} {{DEX}} {{CEX}}
|
|
| sys_prx_stop
| sys_config_register_service
| int sys_prx_stop(void)
| 7 Params
|-
|-
! colspan="6" id="sys_hid_manager Syscalls"|[[#sys_hid_manager Syscalls]]
| 522
|-
| 0x20A
| 500
| {{CEX}}{{DEX}}{{DECR}}
| 0x1F4
| {{DECR}} {{DEX}} {{CEX}}
|
|
| sys_hid_manager_open
| sys_config_unregister_service
| 2 Params
| 2 Params
|-
|-
| 501
| 523
| 0x1F5
| 0x20B
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
| sys_config_io_event
|
|
| sys_hid_manager_close
| 1 Param: uint32_t port_no
|-
|-
| 502
| 524
| 0x1F6
| 0x20C
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
|
| sys_hid_manager_read
| sys_config_
| 4 Params: uint32_t port_no,uint32_t packet_id, uint8_t[size], uint32_t size
|
|-
|-
| 503
| 525
| 0x1F7
| 0x20D
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
| sys_config_
|
|
| sys_hid_manager_ioctl
| 4 Params: uint32_t port_no,uint32_t packet_id, uint8_t[size], uint32_t size
|-
|-
| 504
! colspan="6" id="sys_usbd Syscalls"|[[#sys_usbd Syscalls]]
| 0x1F8
|-
| {{DECR}} {{DEX}} {{CEX}}
| 530
| {{Root}}
| 0x212
| sys_hid_manager_map_logical_id_to_port_id
| {{CEX}}{{DEX}}{{DECR}}
| param 1: device_type, 1 = pad, 2 = kb, 3 = mouse
|
int sc(int device_type, int device_no, int port_no)
| sys_usbd_initialize
| 1 Param, out: *uint32_t
|-
|-
| 505
| 531
| 0x1F9
| 0x213
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
|
| sys_hid_manager_unmap_logical_id_to_port_id
| sys_usbd_finalize
| int sc(int device_type, int device_no, int port_no)
| 1 Param, in: handle/id
|-
|-
| 506
| 532
| 0x1FA
| 0x214
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
|
| sys_hid_manager_add_hot_key_observer
| sys_usbd_get_device_list
| 2 Params
| 3 Params
|-
|-
| 507
| 533
| 0x1FB
| 0x215
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
|
| sys_hid_manager_remove_hot_key_observer
| sys_usbd_get_descriptor_size
| 2 Params
| 2 Params
|-
|-
| 508
| 534
| 0x1FC
| 0x216
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
|
| sys_hid_manager_grab_focus
| sys_usbd_get_descriptor
| 1 Param: sys_pid_t pid (for example current pid)
| 3 Params
|-
|-
| 509
| 535
| 0x1FD
| 0x217
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
|
| sys_hid_manager_release_focus
| sys_usbd_register_ldd
| 1 Param
| 3 Params
|-
|-
| 510
| 536
| 0x1FE
| 0x218
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_hid_manager_check_focus
| sys_usbd_unregister_ldd
| int syscall(510, void);
| 3 Params
|-
|-
| 511
| 537
| 0x1FF
| 0x219
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
|
| sys_hid_manager_set_master_process
| sys_usbd_open_pipe
| 1 Param
| 7 Params
|-
|-
| 512
| 538
| 0x200
| 0x21A
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
|
|
| 1 Param : int syscall(512,sys_pid_t pid), simple root-flag check?;
| sys_usbd_open_default_pipe
| 2 Params
|-
|-
| 513
| 539
| 0x201
| 0x21B
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_hid_manager_...
| sys_usbd_close_pipe
| 4 Params
| 2 Params
|-
|-
| 514
| 540
| 0x202
| 0x21C
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_hid_manager_...
| sys_usbd_receive_event
| 3 Params
| 4 Params
|-
|-
! colspan="6" id="sys_config Syscalls"|[[#sys_config Syscalls]]
| 541
| 0x21D
| {{CEX}}{{DEX}}{{DECR}}
|
| sys_usbd_detect_event
| void
|-
|-
| 516
| 542
| 0x204
| 0x21E
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_config_open
| sys_usbd_attach
| 2 Params : (sys_event_queue_t * equeue_id, uint64_t *conf_id (out))
| 4 Params
|-
|-
| 517
| 543
| 0x205
| 0x21F
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_config_close
| sys_usbd_transfer_data
| sys_config_close(sys_event_queue_t * equeue_id);
| 6 Params
|-
|-
| 518
| 544
| 0x206
| 0x220
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_config_get_service_event
| sys_usbd_isochronous_transfer_data
| 4 Params:
| 3 Params
|-
|-
| 519
| 545
| 0x207
| 0x221
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_config_add_service_listener
| sys_usbd_get_transfer_status
| 6 Params (u32 conf_id, ?, ?, ?, ?, ?)
| 5 Params
|-
|-
| 520
| 546
| 0x208
| 0x222
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_config_remove_service_listener
| sys_usbd_get_isochronous_transfer_status
| 2 Params
| 5 Params
|-
|-
| 521
| 547
| 0x209
| 0x223
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_config_register_service
| sys_usbd_get_device_location
| 7 Params
| 3 Params
|-
|-
| 522
| 548
| 0x20A
| 0x224
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_config_unregister_service
| sys_usbd_send_event
| 2 Params
| 2 Params
|-
|-
| 523
| 549
| 0x20B
| 0x225
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_config_io_event
|
|
| 4 Params
|-
|-
| 524
| 550
| 0x20C
| 0x226
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_config_register_io_error_listener
| sys_usbd_allocate_memory
| 3 Params
|-
| 551
| 0x227
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_usbd_free_memory
| 2 Params
|-
|-
| 525
| 552
| 0x20D
| 0x228
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_config_unregister_io_error_listener
|
|
| 1 Param
|-
|-
! colspan="6" id="sys_usbd Syscalls"|[[#sys_usbd Syscalls]]
| 553
| 0x229
| {{CEX}}{{DEX}}{{DECR}}
|
|
| void
|-
|-
| 530
| 554
| 0x212
| 0x22A
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_usbd_initialize
|
| 1 Param, out: *uint32_t
| void
|-
|-
| 531
| 555
| 0x213
| 0x22B
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
|
| sys_usbd_finalize
| void
| 1 Param, in: handle/id
|-
|-
| 532
| 556
| 0x214
| 0x22C
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_usbd_get_device_list
| sys_usbd_get_device_speed
| 3 Params
| 3 Params,  , , out:uint8_t[1]
|-
|-
| 533
| 557
| 0x215
| 0x22D
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
|
| sys_usbd_get_descriptor_size
| 5 Params
| 2 Params
|-
|-
| 534
| 558
| 0x216
| 0x22E
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_usbd_get_descriptor
| 4 Params
|-
| 535
| 0x217
| {{DECR}} {{DEX}} {{CEX}}
|
|
| sys_usbd_register_ldd
| 3 Params
| 3 Params
|-
|-
| 536
| 559
| 0x218
| 0x22F
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_usbd_unregister_ldd
| sys_usbd_register_extra_ldd
| 3 Params
| 6 Params
|-
|-
| 537
! colspan="6" id="sys_gl819 Syscalls"|[[#sys_gl819 Syscalls]] Cardcontroller cf/sd/mmc/sm/ms
| 0x219
|-
| {{DECR}} {{DEX}} {{CEX}}
| 560
| 0x230
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
|
|
|
| sys_usbd_open_pipe
| 7 Params
|-
|-
| 538
| 561
| 0x21A
| 0x231
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
|
|
| sys_usbd_open_default_pipe
| 1 Param: out:uint8_t [4] (cf/sd/mmc/sm/ms flag availability from hw config)
| 2 Params
|-
|-
| 539
| 562
| 0x21B
| 0x232
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
|
|
| sys_usbd_close_pipe
| gets MultiCardReader Firmware Version: syscall(0x232, out:uint8_t [2])
| 2 Params
|-
|-
| 540
| 563
| 0x21C
| 0x233
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
|
|
| sys_usbd_receive_event
| 4 Params
|-
|-
| 541
| 564
| 0x21D
| 0x234
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
|
| sys_usbd_detect_event
| void
|-
| 542
| 0x21E
| {{DECR}} {{DEX}} {{CEX}}
|
|
| sys_usbd_attach
| 4 Params
|-
|-
| 543
| 565
| 0x21F
| 0x235
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
|
|
| sys_usbd_transfer_data
| 6 Params
|-
|-
| 544
| 566
| 0x220
| 0x236
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
|
|
| sys_usbd_isochronous_transfer_data
| 3 Params
|-
|-
| 545
| 567
| 0x221
| 0x237
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_usbd_get_transfer_status
| 5 Params
|-
| 546
| 0x222
| {{DECR}} {{DEX}} {{CEX}}
|
|
| sys_usbd_get_isochronous_transfer_status
| 5 Params
|-
| 547
| 0x223
| {{DECR}} {{DEX}} {{CEX}}
|
|
| sys_usbd_get_device_location
| 3 Params
|-
|-
| 548
| 568
| 0x224
| 0x238
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_usbd_send_event
| 2 Params
|-
| 549
| 0x225
| {{DECR}} {{DEX}} {{CEX}}
|
|
| sys_usbd_event_port_send
| int sys_usbd_event_port_send(uint64_t usb_id?, uint64_t data1, uint64_t data2, uint64_t data3);
|-
| 550
| 0x226
| {{DECR}} {{DEX}} {{CEX}}
|
|
| sys_usbd_allocate_memory
| 3 Params
|-
|-
| 551
| 569
| 0x227
| 0x239
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_usbd_free_memory
| 2 Params
|-
| 552
| 0x228
| {{DECR}} {{DEX}} {{CEX}}
|
|
| sys_usbd_enable_wake_on?
| 1 Param
|-
| 553
| 0x229
| {{DECR}} {{DEX}} {{CEX}}
|
|
|
| void
|-
|-
| 554
! colspan="6" id="PAD Manager Syscalls"|[[#PAD Manager Syscalls]] PAD related
| 0x22A
| {{DECR}} {{DEX}} {{CEX}}
|
|
| void
|-
|-
| 555
| 570
| 0x22B
| 0x23A
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
|
|
| void
|-
| 556
| 0x22C
| {{DECR}} {{DEX}} {{CEX}}
|
|
| sys_usbd_get_device_speed
| 3 Params,  , , out:uint8_t[1]
|-
|-
| 557
| 571
| 0x22D
| 0x23B
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
|
| sys_pad_ldd_unregister_controller
| 5 Params
| int sys_pad_ldd_unregister_controller ( int32_t handle)
|-
|-
| 558
| 572
| 0x22E
| 0x23C
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_usbd_unregister_extra_ldd
| sys_pad_ldd_data_insert
| 3 Params, , name, name_len
| int sys_pad_ldd_data_insert (int32_t handle, cellpaddata* data /* uint8_t[0x84] */)
|-
|-
| 559
| 573
| 0x22F
| 0x23D
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_usbd_register_extra_ldd
| sys_pad_dbg_ldd_set_data_insert_mode
| 6 Params
| int sys_pad_dbg_ldd_set_data_insert_mode ( int32_t handle, 0x100, uint32_t* mode , 4)
|-
|-
! colspan="6" id="sys_gl819 Syscalls"|[[#sys_gl819 Syscalls]] Cardcontroller cf/sd/mmc/sm/ms
| 574
| 0x23E
| {{CEX}}{{DEX}}{{DECR}}
|
| sys_pad_ldd_register_controller
| int sys_pad_ldd_register_controller/sys_pad_dbg_ldd_register_controller ( uint8_t[0x114] /* struct */, int32_t* out, 5, uint32_t device_capability<<1)
|-
|-
| 560
| 575
| 0x230
| 0x23F
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| (sys_usbmass_ioctl)
|
|
| sys_pad_ldd_get_port_no
| int sys_pad_ldd_get_port_no (int32_t handle)
|-
|-
| 561
| 577
| 0x231
| 0x241
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}} {{Productmode}}
|
| sys_pad_manager_....
| 1 Param: out:uint8_t [4] (cf/sd/mmc/sm/ms flag availability from hw config)
| int sys_pad_manager_.... (int8_t device_number?)
|-
|-
| 562
! colspan="6" id="sys_bluetooth Syscalls"|[[#sys_bluetooth Syscalls]]
| 0x232
| {{DECR}} {{DEX}} {{CEX}}
| {{Root}}
|
| gets MultiCardReader Firmware Version: syscall(0x232, out:uint8_t [2])
|-
|-
| 563
| 578
| 0x233
| 0x242
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
|
|
|
|
|-
|-
| 564
| 579
| 0x234
| 0x243
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
|
|
|
|
|-
|-
| 565
| 580
| 0x235
| 0x244
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
|
|
|
|-
| 581
| 0x245
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
|
|
|
|
|-
|-
| 566
| 582
| 0x236
| 0x246
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
|
|
|
|
|-
| 583
| 0x247
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
|
|
| gets Bluetooth Firmware Version: syscall(0x247, out:uint8_t [2])
|-
|-
| 567
| 584
| 0x237
| 0x248
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
| {{Root}}
|
|
|
|
|-
|-
| 568
| 585
| 0x238
| 0x249
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
|
|
|
|
|-
|-
| 569
| 586
| 0x239
| 0x24A
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
|
|
| return 0x80010003
|-
| 587
| 0x24B
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
|
|
|-
! colspan="6" id="PAD Manager Syscalls"|[[#PAD Manager Syscalls]] PAD related
|-
| 570
| 0x23A
| {{DECR}} {{DEX}} {{CEX}}
|
| sys_pad_ldd_register_controller
|
|
|-
|-
| 571
| 588
| 0x23B
| 0x24C
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_pad_ldd_unregister_controller
| int sys_pad_ldd_unregister_controller ( int32_t handle)
|-
| 572
| 0x23C
| {{DECR}} {{DEX}} {{CEX}}
|
|
| sys_pad_ldd_data_insert
| return 0x80010003
| int sys_pad_ldd_data_insert (int32_t handle, cellpaddata* data /* uint8_t[0x84] */)
|-
|-
| 573
| 589
| 0x23D
| 0x24D
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_pad_dbg_ldd_set_data_insert_mode
| int sys_pad_dbg_ldd_set_data_insert_mode ( int32_t handle, 0x100, uint32_t* mode , 4)
|-
| 574
| 0x23E
| {{DECR}} {{DEX}} {{CEX}}
|
|
| sys_pad_ldd_register_controller
| return 0x80010003
| int sys_pad_ldd_register_controller/sys_pad_dbg_ldd_register_controller ( uint8_t[0x114] /* struct */, int32_t* out, 5, uint32_t device_capability<<1)
|-
|-
| 575
| 590
| 0x23F
| 0x24E
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
|
|
| sys_pad_ldd_get_port_no
| bt_set_device_info()
| int sys_pad_ldd_get_port_no (int32_t handle)
|-
|-
| 577
| 591
| 0x241
| 0x24F
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}} {{Productmode}}
| sys_pad_manager_....
| int sys_pad_manager_.... (int8_t device_number?)
Intended to be used under [[Factory_Service_Mode#Game_OS|Factory Service Mode]]
|-
! colspan="6" id="sys_bluetooth Syscalls"|[[#sys_bluetooth Syscalls]]
|-
| 578
| 0x242
| {{DECR}} {{DEX}} {{CEX}}
|
|
|
|
|
| return 0
|-
|-
| 579
| 592
| 0x243
| 0x250
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|  
|
| sys_bluetooth_aud_serial_unk1...
|
| sys_bluetooth_aud_serial_unk1(0x243,0,unk1*,aud_serial*,unk2*,unk3*,unk4*) <br> 0xD0044D40  00 00 00 00 / 0xD0044D44  00 82 8E 18 --> 00 7D 39 A0 --> 0x007D39A0  5F 61 75 64 5F 53 45 52 49 41 4C 00 00 00 00 00 _aud_SERIAL..... / 0xD0044D48  00 00 00 00 / 0xD0044D4C  00 00 00 00
| return 0
|-
|-
| 580
| 593
| 0x244
| 0x251
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
|
| getting bluetooth address
|-
| 594
| 0x252
| {{CEX}}{{DEX}}{{DECR}}
|
|
|
|
| return 0x80010003
|-
|-
| 581
| 595
| 0x245
| 0x253
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
|
|
| return 0x80010003
|-
| 596
| 0x254
| {{CEX}}{{DEX}}{{DECR}}
|
|
|
|
| return 0x80010003
|-
|-
| 582
| 597
| 0x246
| 0x255
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
|
|
|
|
| syscall(597,void) | bt_cancel_connect_accept_controller(),deprecated
|-
|-
| 583
| 598
| 0x247
| 0x256
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
| sys_bt_read_firmware_version
|
| gets Bluetooth Firmware Version: syscall(0x247, out:uint8_t [2])
| 0 Param
|-
|-
| 584
| 599
| 0x248
| 0x257
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
| sys_bt_complete_wake_on_host
|
|
| 2 Params: out:uint8_t[2], out:uint8_t[2]
|-
|-
| 585
! colspan="6" id="sys_storage Syscalls"|[[#sys_storage Syscalls]] (600-623+837+838)
| 0x249
|-
| {{DECR}} {{DEX}} {{CEX}}
| 600
|  
| 0x258
| sys_bt_disable_bluetooth
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| sys_storage_open
| int sys_storage_open(uint64_t id, int mode, int *fd, int flags) mode=0,flags=0
|-
| 601
| 0x259
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_storage_close
| int sys_storage_close(int fd)
|-
|-
| 586
| 602
| 0x24A
| 0x25A
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|  
|
| sys_bt_enable_bluetooth
| sys_storage_read
| return 0x80010003
| int sys_storage_read(int fd, int mode?, uint32_t start_sector, uint32_t sectors, uint8_t *bounce_buf, uint32_t *sectors_read, uint64_t flags) mode?=0
|-
|-
| 587
| 603
| 0x24B
| 0x25B
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| sys_bt_bccmd
|
|
| sys_storage_write
| <!--///*
* lv2_storage_write
*/
static inline int lv2_storage_write(uint32_t dev_handle, uint64_t unknown1, uint64_t start_sector, uint64_t sector_count,
const void *buf, uint32_t *unknown2, uint64_t flags)
{
return Lv2Syscall7(603, dev_handle, unknown1, start_sector, sector_count,
(uint64_t ) buf, (uint64_t) unknown2, flags);
}//-->
|-
|-
| 588
| 604
| 0x24C
| 0x25C
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|  
|
| sys_bt_read_hq
| sys_storage_send_device_command
| return 0x80010003
| 6 Params:
|-
|-
| 589
| 605
| 0x24D
| 0x25D
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|  
|
| sys_bt_hid_get_remote_status
| sys_storage_async_configure
| return 0x80010003
| int sys_storage_async_configure(uint32_t fd, sys_io_buffer_t io_buffer, sys_event_queue_t equeue_id, int *unknown)
|-
|-
| 590
| 606
| 0x24E
| 0x25E
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
|
| sys_bt_register_controller
| sys_storage_async_read
| bt_set_device_info()
| 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
|-
|-
| 591
| 607
| 0x24F
| 0x25F
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|  
|
| sys_bt_clear_registered_contoller
| sys_storage_async_write
| return 0
| 7 Params:
|-
|-
| 592
| 608
| 0x250
| 0x260
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_bt_connect_accept_controller
| sys_storage_async_cancel
| return 0
| 2 Params
|-
|-
| 593
| 609
| 0x251
| 0x261
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
| sys_bt_get_local_bdaddress
| sys_storage_get_device_info
| getting bluetooth address
| int sys_storage_get_device_info(uint64_t device, uint8_t *buffer), buffer[40]=total sectors,buffer[48]=sector size,buffer[53]=writable
|-
|-
| 594
| 610
| 0x252
| 0x262
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
| {{Root}}
| sys_bt_hid_get_data
| sys_storage_get_device_config
| return 0x80010003
| 2 Params: int sys_storage_get_device_config(uint64_t device, uint8_t *config) ?
|-
|-
| 595
| 611
| 0x253
| 0x263
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
| {{Root}}
| sys_bt_hid_set_report
| sys_storage_report_devices
| return 0x80010003
| 4 Params:
|-
|-
| 596
| 612
| 0x254
| 0x264
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
| {{Root}}
| sys_bt_sched_log
| sys_storage_configure_medium_event
| return 0x80010003
| 3 Params
|-
|-
| 597
| 613
| 0x255
| 0x265
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_bt_cancel_connect_accept_controller
| sys_storage_set_medium_polling_interval
| syscall(597,void) | bt_cancel_connect_accept_controller(),deprecated
| 2 Params
|-
|-
| 598
| 614
| 0x256
| 0x266
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
|
|
| 0 Param
| sys_storage_create_region
| <!--///*
* lv2_storage_create_region
*/
static inline int lv2_storage_create_region(uint32_t dev_handle, uint64_t start_sector,
uint64_t sector_count, uint64_t unknown, uint64_t laid, uint64_t *region_id)
{
return Lv2Syscall6(614, dev_handle, start_sector, sector_count, unknown, laid, (uint64_t) region_id);
}//-->
|-
|-
| 599
| 615
| 0x257
| 0x267
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
|
|
| 2 Params: out:uint8_t[2], out:uint8_t[2]
| sys_storage_delete_region
| int sys_storage_delete_region(uint32_t dev_id,uint64_t index);<!--///*
* lv2_storage_delete_region
*/
static inline int lv2_storage_delete_region(uint32_t dev_handle, uint64_t region_id)
{
return Lv2Syscall2(615, dev_handle, region_id);
}//-->
|-
|-
! colspan="6" id="sys_storage Syscalls"|[[#sys_storage Syscalls]] (600-623+837+838)
| 616
|-
| 0x268
| 600
| {{CEX}}{{DEX}}{{DECR}}
| 0x258
| {{DECR}} {{DEX}} {{CEX}}
| {{Root}}
| sys_storage_open
| int sys_storage_open(uint64_t id, int mode, int *fd, int flags) mode=0,flags=0 [[DeviceID#DeviceIDs_used_in_GameOS|DeviceIDs]]
|-
| 601
| 0x259
| {{DECR}} {{DEX}} {{CEX}}
|
|
| sys_storage_close
| sys_storage_execute_device_command
| int sys_storage_close(int fd)
| sys_storage_execute_device_command(uint32_t dev_handle, uint64_t cmd, const void *cmdbuf, uint64_t cmdbuf_size, void *databuf, uint64_t databuf_size, uint64_t *unknown)<!--//
/*
* lv2_storage_execute_device_command
*/
static inline int lv2_storage_execute_device_command(uint32_t dev_handle, uint64_t cmd,
const void *cmdbuf, uint64_t cmdbuf_size, void *databuf, uint64_t databuf_size,
uint64_t *unknown)
{
return Lv2Syscall7(616, dev_handle, cmd, (uint64_t) cmdbuf, cmdbuf_size,
(uint64_t) databuf, databuf_size, (uint64_t) unknown);
}//-->
|-
|-
| 602
| 617
| 0x25A
| 0x269
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_storage_read
| sys_storage_check_region_acl
| int sys_storage_read(int fd, int mode?, uint32_t start_sector, uint32_t sectors, uint8_t *bounce_buf, uint32_t *sectors_read, uint64_t flags) mode?=0
| alias int sys_storage_get_region_acl(device_id, region_id, index, authority, mask);
|-
|-
| 603
| 618
| 0x25B
| 0x26A
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_storage_write
| sys_storage_set_region_acl
| <!--///*
| int sys_storage_set_region_acl(device_id, region_id, authority, permission);
* lv2_storage_write
*/
static inline int lv2_storage_write(uint32_t dev_handle, uint64_t unknown1, uint64_t start_sector, uint64_t sector_count,
const void *buf, uint32_t *unknown2, uint64_t flags)
{
return Lv2Syscall7(603, dev_handle, unknown1, start_sector, sector_count,
(uint64_t ) buf, (uint64_t) unknown2, flags);
}//-->
|-
|-
| 604
| 619
| 0x25C
| 0x26B
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_storage_send_device_command
| sys_storage_async_send_device_command
| int sys_storage_send_device_command(uint32_t device_handle, uint32_t command, void *indata, uint64_t inlen, void *outdata, uint64_t outlen)
| sys_storage_async_send_device_command(uint32_t dev_handle, uint64_t cmd, const void *cmdbuf, uint64_t cmdbuf_size, void *databuf, uint64_t databuf_size, uint64_t *unknown)
 
|-
|-
| 605
| 620
| 0x25D
| 0x26C
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
|
|
| sys_storage_async_configure
| hid ldd if, kb/mouse/pad.... (param1: ?,0,1,2 or 3;param2;param3;param4;param5)
| int sys_storage_async_configure(uint32_t fd, sys_io_buffer_t io_buffer, sys_event_queue_t equeue_id, int *unknown)
|-
|-
| 606
| 621
| 0x25E
| 0x26D
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_storage_async_read
| sys_gamepad_ycon_if
| 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
| syscall(621,packet_id,uint8_t *in,uint8_t *out) [[http://ps3devwiki.com/wiki/Talk:LV2_Functions_and_Syscalls#Syscall_621_.280x26D.29 gamepad_if usage]]
|-
|-
| 607
| 622
| 0x25F
| 0x26E
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
| sys_storage_get_region_offset
|
|
| sys_storage_async_write
| 7 Params:
|-
|-
| 608
| 623
| 0x260
| 0x26F
| {{DECR}} {{DEX}} {{CEX}}
| {{DECR}}
|
| sys_storage_set_emulated_speed
|
|
| sys_storage_async_cancel
| 2 Params
|-
|-
| 609
! colspan="6" id="sys_io Syscalls"|[[#sys_io Syscalls]] (624-627)
| 0x261
| {{DECR}} {{DEX}} {{CEX}}
| {{Root}}
| 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
| 624
| 0x262
| 0x270
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
|
| sys_storage_get_device_config
| sys_io_buffer_create
| 2 Params: int sys_storage_get_device_config(uint64_t device, uint8_t *config) ?
| int sys_io_buffer_create(int io_block_count, int block_size, int blocks, int unknown_3, sys_io_buffer_t *io_buffer)
|-
|-
| 611
| 625
| 0x263
| 0x271
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
|
| sys_storage_report_devices
| sys_io_buffer_destroy
| 4 Params:
| int sys_io_buffer_destroy(sys_io_buffer_t io_buffer)
|-
|-
| 612
| 626
| 0x264
| 0x272
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| sys_storage_configure_medium_event
| 3 Params
|-
| 613
| 0x265
| {{DECR}} {{DEX}} {{CEX}}
|
|
| sys_storage_set_medium_polling_interval
| sys_io_buffer_allocate
| 2 Params
| int sys_io_buffer_allocate(sys_io_buffer_t io_buffer, sys_io_block_t *block)
|-
|-
| 614
| 627
| 0x266
| 0x273
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_storage_create_region
| sys_io_buffer_free
| <!--///*
| int sys_io_buffer_free(sys_io_buffer_t io_buffer, sys_io_block_t block)
* lv2_storage_create_region
|-
*/
! colspan="6" id="sys_gpio Syscalls"|[[#sys_gpio Syscalls]] (630-631)
static inline int lv2_storage_create_region(uint32_t dev_handle, uint64_t start_sector,
uint64_t sector_count, uint64_t unknown, uint64_t laid, uint64_t *region_id)
{
return Lv2Syscall6(614, dev_handle, start_sector, sector_count, unknown, laid, (uint64_t) region_id);
}//-->
|-
|-
| 615
| 630
| 0x267
| 0x276
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_storage_delete_region
| sys_gpio_set
| int sys_storage_delete_region(uint32_t dev_id,uint64_t index);<!--///*
| int sys_gpio_set (uint64_t device_id, uint64_t mask, uint64_t value)
* lv2_storage_delete_region
*/
static inline int lv2_storage_delete_region(uint32_t dev_handle, uint64_t region_id)
{
return Lv2Syscall2(615, dev_handle, region_id);
}//-->
|-
|-
| 616
| 631
| 0x268
| 0x277
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_storage_execute_device_command
| sys_gpio_get
| sys_storage_execute_device_command(uint32_t dev_handle, uint64_t cmd, const void *cmdbuf, uint64_t cmdbuf_size, void *databuf, uint64_t databuf_size, uint64_t *unknown)<!--//
| int sys_gpio_get (uint64_t device_id, uint64_t *value)
/*
|-
* lv2_storage_execute_device_command
! colspan="6" id="sys_fsw Syscalls"|[[#sys_fsw Syscalls]] (633-634)
*/
static inline int lv2_storage_execute_device_command(uint32_t dev_handle, uint64_t cmd,
const void *cmdbuf, uint64_t cmdbuf_size, void *databuf, uint64_t databuf_size,
uint64_t *unknown)
{
return Lv2Syscall7(616, dev_handle, cmd, (uint64_t) cmdbuf, cmdbuf_size,
(uint64_t) databuf, databuf_size, (uint64_t) unknown);
}//-->
|-
|-
| 617
| 633
| 0x269
| 0x279
| {{DECR}} {{DEX}} {{CEX}}
| {{DECR}}
|
|
| sys_storage_check_region_acl
| sys_fsw_connect_event
| alias int sys_storage_get_region_acl(device_id, region_id, index, authority, mask);
| int sys_fsw_connect_event(sys_event_queue_t eq_id)
|-
|-
| 618
| 634
| 0x26A
| 0x27A
| {{DECR}} {{DEX}} {{CEX}}
| {{DECR}}
|
|
| sys_storage_set_region_acl
| sys_fsw_disconnect_event
| int sys_storage_set_region_acl(device_id, region_id, authority, permission);
| int sys_fsw_disconnect_event(void)
|-
! colspan="6" id="Bluetooth Syscalls"|[[#Bluetooth Syscalls]]
|-
|-
| 619
| 635
| 0x26B
| 0x27B
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
| {{Root}}
| sys_storage_async_send_device_command
| sys_btsetting_if?
| sys_storage_async_send_device_command(uint32_t dev_handle, uint64_t cmd, const void *cmdbuf, uint64_t cmdbuf_size, void *databuf, uint64_t databuf_size, uint64_t *unknown)
| 2 Params: uint64_t packet_id (0=init,1=finalize,....27) , uint8_t buffer
|-
|-
| 620
| 636
| 0x26C
| 0x27C
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
|
|
| hid ldd if, kb/mouse/pad.... (param1: ?,0,1,2 or 3;param2;param3;param4;param5)
| (BT Database Lookup)
|-
|-
| 621
| 637
| 0x26D
| 0x27D
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
|
| BT related, syscall(0x27d, out:uint8_t[0x100])
|-
| 638
| 0x27E
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
|
|
| sys_gamepad_ycon_if
| BT related, 3 Params: packet_id (<7), input, output?
| syscall(621,packet_id,uint8_t *in,uint8_t *out) [[Talk:LV2_Functions_and_Syscalls#Syscall_621_.280x26D.29 gamepad_if usage]]
|-
! colspan="6" id="Bluetooth USB Audio Syscalls"|[[#USB Bluetooth Audio Syscalls]] (639-649)
|-
|-
| 622
| 639
| 0x26E
| 0x27F
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_storage_get_region_offset
|
|
| "deprecated!" (seems Sony doesnt want/like USB Bluetooth Audio transmitter/receiver)
|-
|-
| 623
| 640
| 0x26F
| 0x280
| {{DECR}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_storage_set_emulated_speed
|
|
| "deprecated!"
|-
|-
! colspan="6" id="sys_io Syscalls"|[[#sys_io Syscalls]] (624-627)
| 641
|-
| 0x281
| 624
| {{CEX}}{{DEX}}{{DECR}}
| 0x270
|
| {{DECR}} {{DEX}} {{CEX}}
|
|
| sys_io_buffer_create
| "deprecated!"
| int sys_io_buffer_create(int io_block_count, int block_size, int blocks, int unknown_3, sys_io_buffer_t *io_buffer)
|-
|-
| 625
| 642
| 0x271
| 0x282
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_io_buffer_destroy
| int sys_io_buffer_destroy(sys_io_buffer_t io_buffer)
|-
| 626
| 0x272
| {{DECR}} {{DEX}} {{CEX}}
|
|
| sys_io_buffer_allocate
| "deprecated!"
| int sys_io_buffer_allocate(sys_io_buffer_t io_buffer, sys_io_block_t *block)
|-
|-
| 627
| 643
| 0x273
| 0x283
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
|
| sys_io_buffer_free
| "deprecated!"
| int sys_io_buffer_free(sys_io_buffer_t io_buffer, sys_io_block_t block)
|-
|-
! colspan="6" id="sys_gpio Syscalls"|[[#sys_gpio Syscalls]] (630-631)
| 644
| 0x284
| {{CEX}}{{DEX}}{{DECR}}
|
|
| "deprecated!"
|-
|-
| 630
| 645
| 0x276
| 0x285
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
|
| sys_gpio_set
| "deprecated!"
| int sys_gpio_set (uint64_t device_id, uint64_t mask, uint64_t value)
|-
|-
| 631
| 646
| 0x277
| 0x286
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
|
| sys_gpio_get
| "deprecated!"
| int sys_gpio_get (uint64_t device_id, uint64_t *value)
|-
|-
! colspan="6" id="sys_fsw Syscalls"|[[#sys_fsw Syscalls]] (633-634)
| 647
| 0x287
| {{CEX}}{{DEX}}{{DECR}}
|
|
| "deprecated!"
|-
|-
| 633
| 648
| 0x279
| 0x288
| {{DECR}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
|
| sys_fsw_connect_event
| "deprecated!"
| int sys_fsw_connect_event(sys_event_queue_t eq_id)
|-
|-
| 634
| 649
| 0x27A
| 0x289
| {{DECR}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
|
| sys_fsw_disconnect_event
| "deprecated!"
| int sys_fsw_disconnect_event(void)
|-
|-
! colspan="6" id="Bluetooth Syscalls"|[[#Bluetooth Syscalls]]
! colspan="6" id="RSX Audio Syscalls"|[[#RSX Audio Syscalls]] (650-x)
|-
|-
| 635
| 650
| 0x27B
| 0x28A
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
|
| sys_btsetting_if?
| sys_rsxaudio_initialize
| 2 Params: uint64_t packet_id (0=init,1=finalize,....27) , uint8_t buffer
| int sys_rsxaudio_initialize(out:uint8[4])
|-
|-
| 636
| 651
| 0x27C
| 0x28B
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
|
|
| (BT Database Lookup)
| sys_rsxaudio_finalize
| 1 Params
|-
|-
| 637
| 652
| 0x27D
| 0x28C
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
|
|
| BT dev list related, syscall(0x27d, out:uint8_t[0x100])
| sys_rsxaudio_import_shared_memory
| 2 Params
|-
|-
| 638
| 653
| 0x27E
| 0x28D
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
|
|
| BT related, 3 Params: packet_id (<7), input, output?
| sys_rsxaudio_unimport_shared_memory
| 2 Params
|-
|-
! colspan="6" id="Bluetooth USB Audio Syscalls"|[[#USB Bluetooth Audio Syscalls]] (639-649)
| 654
|-
| 0x28E
| 639
| {{CEX}}{{DEX}}{{DECR}}
| 0x27F
| {{DECR}} {{DEX}} {{CEX}}
|
|
| sys_rsxaudio_create_connection
| 1 Params
|-
| 655
| 0x28F
| {{CEX}}{{DEX}}{{DECR}}
|
|
| "deprecated!" (seems Sony doesnt want/like USB Bluetooth Audio transmitter/receiver)
| sys_rsxaudio_close_connection
| 1 Params
|-
|-
| 640
| 656
| 0x280
| 0x290
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_usbbtaudio_initialize
| sys_rsxaudio_prepare_process
| "deprecated!"
| 1 Params
|-
|-
| 641
| 657
| 0x281
| 0x291
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_usbbtaudio_finalize
| sys_rsxaudio_start_process
| "deprecated!"
| 1 Params
|-
|-
| 642
| 658
| 0x282
| 0x292
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_usbbtaudio_discovery
| sys_rsxaudio_
| "deprecated!"
| 1 Params
|-
|-
| 643
| 659
| 0x283
| 0x293
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_usbbtaudio_cancel_discovery
| sys_rsxaudio_
| "deprecated!"
| 3 Params
|-
|-
| 644
! colspan="6" id="sys_rsx Syscalls"|[[#sys_rsx Syscalls]] (666-667)
| 0x284
| {{DECR}} {{DEX}} {{CEX}}
|
| sys_usbbtaudio_pairing
| "deprecated!"
|-
|-
| 645
| 666
| 0x285
| 0x29A
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_usbbtaudio_set_passkey
| sys_rsx_device_open
| "deprecated!"
| 1 Param
|-
|-
| 646
| 667
| 0x286
| 0x29B
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
| sys_rsx_device_close
|
|
| sys_usbbtaudio_connect
| "deprecated!"
|-
|-
| 647
| 668
| 0x287
| 0x29C
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
| sys_rsx_memory_allocate
|
|
| sys_usbbtaudio_disconnect
| "deprecated!"
|-
|-
| 648
| 669
| 0x288
| 0x29D
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_rsx_memory_free
|
|
| "deprecated!"
|-
|-
| 649
| 670
| 0x289
| 0x29E
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_rsx_context_allocate
|
|
| "deprecated!"
|-
|-
! colspan="6" id="RSX Audio Syscalls"|[[#RSX Audio Syscalls]] (650-x)
| 671
|-
| 0x29F
| 650
| {{CEX}}{{DEX}}{{DECR}}
| 0x28A
| {{DECR}} {{DEX}} {{CEX}}
|
|
| sys_rsxaudio_initialize
| sys_rsx_context_free
| int sys_rsxaudio_initialize(uint32_t* out_handle)
|-
| 651
| 0x28B
| {{DECR}} {{DEX}} {{CEX}}
|
|
| sys_rsxaudio_finalize
| int sys_rsxaudio_finalize(uint32_t handle)
|-
|-
| 652
| 672
| 0x28C
| 0x2A0
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_rsxaudio_import_shared_memory
| sys_rsx_context_iomap
| int sys_rsxaudio_import_shared_memory(uint32_t handle, uint64_t* out_addr)
|-
| 653
| 0x28D
| {{DECR}} {{DEX}} {{CEX}}
|
|
| sys_rsxaudio_unimport_shared_memory
| int sys_rsxaudio_unimport_shared_memory(uint32_t handle, uint64_t* addr)
|-
|-
| 654
| 673
| 0x28E
| 0x2A1
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
| sys_rsx_context_iounmap
|
|
| sys_rsxaudio_create_connection
| int sys_rsxaudio_create_connection(uint32_t handle)
|-
|-
| 655
| 674
| 0x28F
| 0x2A2
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
| sys_rsx_context_attribute
|
|
| sys_rsxaudio_close_connection
| int sys_rsxaudio_close_connection(uint32_t handle)
|-
|-
| 656
| 675
| 0x290
| 0x2A3
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_rsxaudio_prepare_process
| sys_rsx_device_map
| int sys_rsxaudio_prepare_process(uint32_t handle)
|-
| 657
| 0x291
| {{DECR}} {{DEX}} {{CEX}}
|
|
| sys_rsxaudio_start_process
| int sys_rsxaudio_start_process(uint32_t handle)
|-
|-
| 658
| 676
| 0x292
| 0x2A4
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_rsxaudio_stop_process
| sys_rsx_device_unmap
| int sys_rsxaudio_stop_process(uint32_t handle)
|-
| 659
| 0x293
| {{DECR}} {{DEX}} {{CEX}}
|
|
| sys_rsxaudio_get_dma_param
| int sys_rsxaudio_get_dma_param(uint32_t handle, uint32_t flag, uint64_t* param_out)
Flag:
0 = dma io address
1 = dma io id
|-
|-
! colspan="6" id="sys_rsx Syscalls"|[[#sys_rsx Syscalls]] (666-677)
| 677
|-
| 0x2A5
| 666
| {{CEX}}{{DEX}}{{DECR}}
| 0x29A
| {{DECR}} {{DEX}} {{CEX}}
|
|
| sys_rsx_device_open
| sys_rsx_attribute
| 1 Param (uint64_t arg_1);
|-
| 667
| 0x29B
| {{DECR}} {{DEX}} {{CEX}}
|
|
| sys_rsx_device_close
| (void);
|-
|-
| 668
| 678
| 0x29C
| 0x2A6
| {{DECR}} {{DEX}} {{CEX}}
| {{DEX}} {{DECR}}
|
|
| sys_rsx_memory_allocate
|  
| (uint32_t *mem_ctx_id, uint32_t *local_addr, uint64_t tile_max_size, uint64_t zcull_max_size, uint64_t tile_max_areas, uint64_t zcull_max_areas);
|-
| 669
| 0x29D
| {{DECR}} {{DEX}} {{CEX}}
|
|
| sys_rsx_memory_free
| (uint32_t mem_ctx_id);
|-
|-
| 670
| 679
| 0x29E
| 0x2A7
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
|
|
|
| sys_rsx_context_allocate
| (uint32_t *rsx_ctx_id, uint64_t *dma_control_lpar, uint64_t *driver_info_lpar, uint64_t *reports_lpar, uint32_t mem_ctx_id, uint64_t system_mode);
|-
|-
| 671
! colspan="6" id="Bluetooth USB Audio Syscalls"|[[#Bluetooth USB Audio Syscalls]] (680-696)
| 0x29F
| {{DECR}} {{DEX}} {{CEX}}
|
| sys_rsx_context_free
| (uint32_t rsx_ctx_id);
|-
|-
| 672
| 680
| 0x2A0
| 0x2A8
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
|
|
|
| sys_rsx_context_iomap
| (uint32_t rsx_ctx_id, uint32_t local_offset, uint32_t main_mem_ea, uint32_t size, uint64_t flags);
|-
|-
| 673
| 681
| 0x2A1
| 0x2A9
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
|
|
|
| sys_rsx_context_iounmap
| (uint32_t rsx_ctx_id, uint64_t arg_2, uint64_t arg_3);
|-
|-
| 674
| 682
| 0x2A2
| 0x2AA
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
|
|
|
| sys_rsx_context_attribute
| (uint32_t rsx_ctx_id, uint32_t pkg_id, uint64_t arg_1, uint64_t arg_2, uint64_t arg_3, uint64_t arg_4);
|-
|-
| 675
| 683
| 0x2A3
| 0x2AB
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
|
|
|
| sys_rsx_device_map
| (uint64_t *semaphore, uint64_t arg_2, uint64_t device_id);
|-
|-
| 676
| 684
| 0x2A4
| 0x2AC
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
|
|
|
| sys_rsx_device_unmap
| (uint64_t device_id);
|-
|-
| 677
| 685
| 0x2A5
| 0x2AD
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
|
|
|
| sys_rsx_attribute
(sys_rsx_audio_setup)
| (uint64_t pkg_id, uint64_t arg_1, uint64_t arg_2, uint64_t arg_3, uint64_t arg_4);
|-
|-
| 678
| 686
| 0x2A6
| 0x2AE
| {{DECR}} {{DEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
| {{Root}}
|  
|  
(sys_rsx_audio_queue)
|
|
|-
|-
| 679
| 687
| 0x2A7
| 0x2AF
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
|  
|  
(sys_rsx_audio_iomap)
|
| (uint32_t arg_1, uint32_t arg_2, uint64_t *out_1, uint64_t *out_2, uint64_t *out_3, uint64_t *out_4);
|-
|-
! colspan="6" id="Bluetooth USB Audio Syscalls"|[[#Bluetooth USB Audio Syscalls]] (680-696)
| 688
|-
| 0x2B0
| 680
| {{CEX}}{{DEX}}{{DECR}}
| 0x2A8
| {{DECR}} {{DEX}} {{CEX}}
| {{Root}}
| {{Root}}
|  
|  
(sys_rsx_audio_iounmap?)
|
|
|-
|-
| 681
| 689
| 0x2A9
| 0x2B1
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
|  
|  
|
|
|-
|-
| 682
| 690
| 0x2AA
| 0x2B2
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
|  
|  
|
|
|-
|-
| 683
| 691
| 0x2AB
| 0x2B3
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
|  
|  
|
|
|-
|-
| 684
| 692
| 0x2AC
| 0x2B4
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
|  
|  
|
|
|-
|-
| 685
| 693
| 0x2AD
| 0x2B5
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
|  
|  
|
|
|-
|-
| 686
| 694
| 0x2AE
| 0x2B6
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
|
|  
|
|
| "deprecated!" (usbbtaudio)
|-
|-
| 687
| 695
| 0x2AF
| 0x2B7
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
|
|  
|
|
| "deprecated!" (usbbtaudio)
|-
|-
| 688
| 696
| 0x2B0
| 0x2B8
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
|
|
|
| bt audio interface, packetid 0-4
|-
! colspan="6" id="sys_bdemu Syscalls"|[[#sys_bdemu Syscalls]] (699)
|-
|-
| 689
| 699
| 0x2B1
| 0x2BB
| {{DECR}} {{DEX}} {{CEX}}
| {{DEX}} {{DECR}}
| {{Root}}
|
|
|
|-
| sys_bdemu_send_command
| 690
| 0x2B2
| {{DECR}} {{DEX}} {{CEX}}
| {{Root}}
|
|
|
|-
|-
| 691
! colspan="6" id="sys_net Syscalls"|[[#sys_net Syscalls]] (700-726)
| 0x2B3
| {{DECR}} {{DEX}} {{CEX}}
| {{Root}}
|
|
|-
|-
| 692
| 700
| 0x2B4
| 0x2BC
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
|
|
|
| sys_net_bnet_accept
| int sys_net_bnet_accept (int s, struct sockaddr *addr, socklen_t *paddrlen ) // s = socket descriptor
|-
|-
| 693
| 701
| 0x2B5
| 0x2BD
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
|
|
|
| sys_net_bnet_bind
| int sys_net_bnet_bind ( int s, const struct sockaddr *addr, socklen_t addrlen )
|-
|-
| 694
| 702
| 0x2B6
| 0x2BE
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_net_bnet_connect
| int sys_net_bnet_connect ( int s, const struct sockaddr *addr, socklen_t addrlen )
|-
| 703
| 0x2BF
| {{CEX}}{{DEX}}{{DECR}}
|
|
| "deprecated!" (usbbtaudio)
| sys_net_bnet_getpeername
| int sys_net_bnet_getpeername ( int s, struct sockaddr *addr, socklen_t *paddrlen )
|-
|-
| 695
| 704
| 0x2B7
| 0x2C0
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_net_bnet_getsockname
| int sys_net_bnet_getsockname ( int s, struct sockaddr *addr, socklen_t *paddrlen )
|-
| 705
| 0x2C1
| {{CEX}}{{DEX}}{{DECR}}
|
|
| "deprecated!" (usbbtaudio)
| sys_net_bnet_getsockopt
| int sys_net_bnet_getsockopt ( int s, int level, int optname, void *optval, socklen_t *optlen )
|-
|-
| 696
| 706
| 0x2B8
| 0x2C2
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
|
|
| bt audio interface, packetid 0-4  (0= GetSinkConfig)
| sys_net_bnet_listen
| int sys_net_bnet_listen ( int s, int backlog )
|-
|-
| 697
| 707
| 0x2B9
| 0x2C3
|  
| {{CEX}}{{DEX}}{{DECR}}
|  
|
|  
| sys_net_bnet_recvfrom
(sys_iosys_infra_test_open)
| int sys_net_bnet_recvfrom ( int s, void *buf, size_t len, int flags, struct sockaddr *addr, socklen_t *paddrlen )
|
|-
|-
| 698
| 708
| 0x2BA
| 0x2C4
|  
| {{CEX}}{{DEX}}{{DECR}}
|  
|
|  
| sys_net_bnet_recvmsg
(sys_iosys_infra_test_execute)
| int sys_net_bnet_recvmsg ( int s, struct msghdr *msg, int flags )
|
|-
|-
! colspan="6" id="sys_bdemu Syscalls"|[[#sys_bdemu Syscalls]] (699)
| 709
|-
| 0x2C5
| 699
| {{CEX}}{{DEX}}{{DECR}}
| 0x2BB
| {{DECR}} {{DEX}}
|
|
| sys_bdemu_send_command
| sys_net_bnet_sendmsg
| sys_bdemu_send_command(cmd, unused, unk1, result_buffer, result_buffer_len) <br> cmd 0: returns BDemu usb [[DeviceID]]<br> cmd 1: eject image (unk1 and result_buffer must be 0)<br> cmd 2: format bdemu hdd?
| int sys_net_bnet_sendmsg ( int s, const struct msghdr *msg, int flags )
|-
|-
! colspan="6" id="sys_net Syscalls"|[[#sys_net Syscalls]] (700-726)
| 710
|-
| 0x2C6
| 700
| {{CEX}}{{DEX}}{{DECR}}
| 0x2BC
| {{DECR}} {{DEX}} {{CEX}}
|
|
| sys_net_bnet_accept
| sys_net_bnet_sendto
| int sys_net_bnet_accept (int s, struct sockaddr *addr, socklen_t *paddrlen ) // s = socket descriptor
| int sys_net_bnet_sendto ( int s, const void *buf, size_t len, int flags, const struct sockaddr *addr, socklen_t addrlen )
|-
|-
| 701
| 711
| 0x2BD
| 0x2C7
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_net_bnet_bind
| sys_net_bnet_setsockop
| int sys_net_bnet_bind ( int s, const struct sockaddr *addr, socklen_t addrlen )
| int sys_net_bnet_setsockop ( int s, int level, int optname, const void *optval, socklen_t optlen )
|-
|-
| 702
| 712
| 0x2BE
| 0x2C8
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_net_bnet_connect
| sys_net_bnet_shutdown
| int sys_net_bnet_connect ( int s, const struct sockaddr *addr, socklen_t addrlen )
| int sys_net_bnet_shutdown ( int s, int how )
|-
|-
| 703
| 713
| 0x2BF
| 0x2C9
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_net_bnet_getpeername
| sys_net_bnet_socket
| int sys_net_bnet_getpeername ( int s, struct sockaddr *addr, socklen_t *paddrlen )
| int sys_net_bnet_socket ( int family, int type, int protocol )
|-
|-
| 704
| 714
| 0x2C0
| 0x2CA
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_net_bnet_getsockname
| sys_net_bnet_close
| int sys_net_bnet_getsockname ( int s, struct sockaddr *addr, socklen_t *paddrlen )
| int sys_net_bnet_close ( int fd )
|-
|-
| 705
| 715
| 0x2C1
| 0x2CB
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
| sys_net_bnet_poll
|
|
| sys_net_bnet_getsockopt
| int sys_net_bnet_getsockopt ( int s, int level, int optname, void *optval, socklen_t *optlen )
|-
|-
| 706
| 716
| 0x2C2
| 0x2CC
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
| sys_net_bnet_select
|
|
| sys_net_bnet_listen
| int sys_net_bnet_listen ( int s, int backlog )
|-
|-
| 707
| 717
| 0x2C3
| 0x2CD
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_net_bnet_recvfrom
| sys_net_open_dump
| int sys_net_bnet_recvfrom ( int s, void *buf, size_t len, int flags, struct sockaddr *addr, socklen_t *paddrlen )
| int sys_net_open_dump ( int len, int flags )
|-
|-
| 708
| 718
| 0x2C4
| 0x2CE
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_net_bnet_recvmsg
| sys_net_read_dump
| int sys_net_bnet_recvmsg ( int s, struct msghdr *msg, int flags )
| int sys_net_read_dump ( int id, void *buf, int len, int *pflags )
|-
|-
| 709
| 719
| 0x2C5
| 0x2CF
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_net_bnet_sendmsg
| sys_net_close_dump
| int sys_net_bnet_sendmsg ( int s, const struct msghdr *msg, int flags )
| int sys_net_close_dump ( int id, int *pflags )
|-
|-
| 710
| 720
| 0x2C6
| 0x2D0
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_net_bnet_sendto
| sys_net_write_dump
| int sys_net_bnet_sendto ( int s, const void *buf, size_t len, int flags, const struct sockaddr *addr, socklen_t addrlen )
| int sys_net_write_dump ( char *buf )
|-
|-
| 711
| 721
| 0x2C7
| 0x2D1
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_net_bnet_setsockop
| sys_net_abort
| int sys_net_bnet_setsockop ( int s, int level, int optname, const void *optval, socklen_t optlen )
| int sys_net_abort (packet id <5: 0=abort socket,1=abort resolver ), sys_net_thread_id_t tid/int socket_descriptor, int flags )
|-
|-
| 712
| 722
| 0x2C8
| 0x2D2
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
| sys_net_infoctl
|
|
| sys_net_bnet_shutdown
| int sys_net_bnet_shutdown ( int s, int how )
|-
|-
| 713
| 723
| 0x2C9
| 0x2D3
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_net_bnet_socket
| sys_net_control
| int sys_net_bnet_socket ( int family, int type, int protocol )
|-
| 714
| 0x2CA
| {{DECR}} {{DEX}} {{CEX}}
|
|
| sys_net_bnet_close
| int sys_net_bnet_close ( int fd )
|-
|-
| 715
| 724
| 0x2CB
| 0x2D4
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_net_bnet_poll
| sys_net_bnet_ioctl
|
|
|-
|-
| 716
| 725
| 0x2CC
| 0x2D5
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_net_bnet_select
| sys_net_bnet_sysctl
|
|
|-
|-
| 717
| 726
| 0x2CD
| 0x2D6
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_net_open_dump
| sys_net_eurus_post_command
| int sys_net_open_dump ( int len, int flags )
| int sys_net_eurus_post_command(uint16_t cmd, uint8_t *cmdbuf, uint64_t cmdbuf_size) [[http://ps3devwiki.com/wiki/Hypervisor_Reverse_Engineering#Commands_2 Commands]] <!--///*
* lv2_gelic_eurus_control
*/
static inline int lv2_gelic_eurus_control(uint16_t cmd, uint8_t *cmdbuf, uint64_t cmdbuf_size)
{
return Lv2Syscall3(726, cmd, (uint64_t) cmdbuf, cmdbuf_size);
}//-->
|-
! colspan="6" id="lv2Fs Syscalls"|[[#lv2Fs Syscalls]] (801-834)
|-
|-
| 718
| 800
| 0x2CE
| 0x320
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_net_read_dump
| sys_fs_test
| int sys_net_read_dump ( int id, void *buf, int len, int *pflags )
| int sys_fs_test(packetid < 7 (6 tests) ,0,*deviceid,4,uint8* out[0x420],0x420)
|-
|-
| 719
| 801
| 0x2CF
| 0x321
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_net_close_dump
| sys_fs_open
| int sys_net_close_dump ( int id, int *pflags )
| CellFsErrno sys_fs_open(const char *path, int flags, int *fd, uint64_t mode, const void *arg, uint64_t size);
|-
|-
| 720
| 802
| 0x2D0
| 0x322
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_net_write_dump
| sys_fs_read
| int sys_net_write_dump ( char *buf )
| CellFsErrno sys_fs_read(int fd, void *buf, uint64_t nbytes, uint64_t *nread);
|-
|-
| 721
| 803
| 0x2D1
| 0x323
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_net_abort
| sys_fs_write
| int sys_net_abort (packet id <5: 0=abort socket,1=abort resolver ), sys_net_thread_id_t tid/int socket_descriptor, int flags )
| CellFsErrno sys_fs_write(int fd, const void *buf, uint64_t nbytes, uint64_t *nwrite);
|-
|-
| 722
| 804
| 0x2D2
| 0x324
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_net_infoctl
| sys_fs_close
| CellFsErrno sys_fs_close(int fd);
|-
| 805
| 0x325
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_fs_opendir
| CellFsErrno sys_fs_opendir(const char *path, int *fd);
|-
|-
| 723
| 806
| 0x2D3
| 0x326
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
| sys_net_control
|
|
| sys_fs_readdir
| CellFsErrno sys_fs_readdir(int fd, CellFsDirent *dir, uint64_t *nread);
|-
|-
| 724
| 807
| 0x2D4
| 0x327
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_net_bnet_ioctl
| sys_fs_closedir
| CellFsErrno sys_fs_closedir(int fd);
|-
| 808
| 0x328
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_fs_stat
| CellFsErrno sys_fs_stat(const char *path, CellFsStat *sb);
|-
|-
| 725
| 809
| 0x2D5
| 0x329
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_net_bnet_sysctl
| sys_fs_fstat
| CellFsErrno sys_fs_fstat(int fd, CellFsStat *sb);
|-
| 810
| 0x32A
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_fs_link
| int sys_fs_link(char  const*, char  const*)
|-
|-
| 726
| 811
| 0x2D6
| 0x32B
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_net_eurus_post_command
| sys_fs_mkdir
| int sys_net_eurus_post_command(uint16_t cmd, uint8_t *cmdbuf, uint64_t cmdbuf_size) [[Hypervisor_Reverse_Engineering#Commands_2 Commands]] <!--///*
| CellFsErrno sys_fs_mkdir(const char *path, CellFsMode mode);
* lv2_gelic_eurus_control
*/
static inline int lv2_gelic_eurus_control(uint16_t cmd, uint8_t *cmdbuf, uint64_t cmdbuf_size)
{
return Lv2Syscall3(726, cmd, (uint64_t) cmdbuf, cmdbuf_size);
}//-->
|-
|-
! colspan="6" id="lv2Fs Syscalls"|[[#lv2Fs Syscalls]] (801-834)
| 812
|-
| 0x32C
| 800
| {{CEX}}{{DEX}}{{DECR}}
| 0x320
| {{DECR}} {{DEX}} {{CEX}}
|
|
| sys_fs_test
| sys_fs_rename
| int sys_fs_test(packetid < 7 (6 tests) ,0,*deviceid,4,uint8* out[0x420],0x420)
| CellFsErrno sys_fs_rename(const char *from, const char *to);
|-
|-
| 801
| 813
| 0x321
| 0x32D
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_fs_open
| sys_fs_rmdir
| CellFsErrno sys_fs_open(const char *path, int flags, int *fd, uint64_t mode, const void *arg, uint64_t size);  
| CellFsErrno sys_fs_rmdir(const char *path);
|-
|-
| 802
| 814
| 0x322
| 0x32E
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_fs_read
| sys_fs_unlink
| CellFsErrno sys_fs_read(int fd, void *buf, uint64_t nbytes, uint64_t *nread);
| CellFsErrno sys_fs_unlink(const char *path);
|-
|-
| 803
| 815
| 0x323
| 0x32F
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_fs_write
| sys_fs_utime
| CellFsErrno sys_fs_write(int fd, const void *buf, uint64_t nbytes, uint64_t *nwrite);
| CellFsErrno sys_fs_utime(const char *path, const CellFsUtimbuf *timep);
|-
|-
| 804
| 816
| 0x324
| 0x330
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_fs_close
| sys_fs_access
| CellFsErrno sys_fs_close(int fd);
| int sys_fs_access(char cont*, int)
|-
|-
| 805
| 817
| 0x325
| 0x331
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_fs_opendir
| sys_fs_fcntl
| CellFsErrno sys_fs_opendir(const char *path, int *fd);
| int sys_fs_fcntl(int, int, void *, unsigned long)
|-
|-
| 806
| 818
| 0x326
| 0x332
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_fs_readdir
| sys_fs_lseek
| CellFsErrno sys_fs_readdir(int fd, CellFsDirent *dir, uint64_t *nread);
| CellFsErrno sys_fs_lseek(int fd, int64_t offset, int whence, uint64_t *pos);
|-
|-
| 807
| 819
| 0x327
| 0x333
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_fs_closedir
| sys_fs_fdatasync
| CellFsErrno sys_fs_closedir(int fd);
| int sys_fs_datasync(int)
|-
|-
| 808
| 820
| 0x328
| 0x334
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_fs_stat
| sys_fs_fsync
| CellFsErrno sys_fs_stat(const char *path, CellFsStat *sb);
| CellFsErrno sys_fs_fsync(int fd);
|-
|-
| 809
| 821
| 0x329
| 0x335
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_fs_fstat
| sys_fs_fget_block_size
| CellFsErrno sys_fs_fstat(int fd, CellFsStat *sb);
| int sys_fs_fget_block_size(int, unsigned long *, unsigned long *, unsigned long *, int *)
|-
|-
| 810
| 822
| 0x32A
| 0x336
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_fs_link
| sys_fs_get_block_size
| int sys_fs_link(const char* path_from, const char* path_to)
| int sys_fs_get_block_size(char  const*, unsigned long *, unsigned long *, unsigned long *)
|-
|-
| 811
| 823
| 0x32B
| 0x337
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_fs_mkdir
| sys_fs_acl_read
| CellFsErrno sys_fs_mkdir(const char *path, CellFsMode mode);
| int sys_fs_acl_read(char  const*, CellFsAcl *)
|-
|-
| 812
| 824
| 0x32C
| 0x338
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_fs_rename
| sys_fs_acl_write
| CellFsErrno sys_fs_rename(const char *from, const char *to);
| int sys_fs_acl_read(char  const*, CellFsAcl *)
|-
|-
| 813
| 825
| 0x32D
| 0x339
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_fs_rmdir
| sys_fs_lsn_get_cda_size
| CellFsErrno sys_fs_rmdir(const char *path);
| int sys_fs_lsn_get_cda_size(int, unsigned long *)
|-
|-
| 814
| 826
| 0x32E
| 0x33A
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_fs_unlink
| sys_fs_lsn_get_cda
| CellFsErrno sys_fs_unlink(const char *path);
| int sys_fs_lsn_get_cda(int, CellFsCda *, unsigned long, unsigned long *)
|-
|-
| 815
| 827
| 0x32F
| 0x33B
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_fs_utime
| sys_fs_lsn_lock
| CellFsErrno sys_fs_utime(const char *path, const CellFsUtimbuf *timep);
| int sys_fs_lsn_lock(int)
|-
|-
| 816
| 828
| 0x330
| 0x33C
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_fs_access
| sys_fs_lsn_unlock
| int sys_fs_access(char cont*, int)
| int sys_fs_lsn_unlock(int)
|-
|-
| 817
| 829
| 0x331
| 0x33D
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_fs_fcntl
| sys_fs_lsn_read
| int sys_fs_fcntl(int fd, int operation, void* ptr, uint64_t)
| int sys_fs_lsn_read(int, CellFsCda  const*, unsigned long)
'fd' may be set to -1 or other invalid values if the operation is not using it.
'ptr' may be casted to different types depends on the operation or not be used at all.
|-
|-
| 818
| 830
| 0x332
| 0x33E
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_fs_lseek
| sys_fs_lsn_write
| CellFsErrno sys_fs_lseek(int fd, int64_t offset, int whence, uint64_t *pos);
| int sys_fs_lsn_write(int, CellFsCda  const*, unsigned long)
|-
|-
| 819
| 831
| 0x333
| 0x33F
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_fs_fdatasync
| sys_fs_truncate
| int sys_fs_datasync(int)
| CellFsErrno sys_fs_truncate(const char *path, uint64_t size);
|-
|-
| 820
| 832
| 0x334
| 0x340
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_fs_fsync
| sys_fs_ftruncate
| CellFsErrno sys_fs_fsync(int fd);
| CellFsErrno sys_fs_ftruncate(int fd, uint64_t size);
|-
|-
| 821
| 833
| 0x335
| 0x341
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_fs_fget_block_size
| sys_fs_symbolic_link
| int sys_fs_fget_block_size(int fd, uint64_t* sector_size, uint64_t* block_size, uint64_t* arg4, int* out_flags)
| int sys_fs_symbolic_link(char  const*, char  const*)
|-
|-
| 822
| 834
| 0x336
| 0x342
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_fs_get_block_size
| sys_fs_chmod
| int sys_fs_get_block_size(const char* path, uint64_t* block_size, uint64_t* arg4)
| CellFsErrno sys_fs_chmod(const char *path, CellFsMode mode);
|-
|-
| 823
| 835
| 0x337
| 0x343
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_fs_acl_read
| sys_fs_chown
| int sys_fs_acl_read(const char* path, CellFsAcl *)
| int sys_fs_chown(char  const*, int, int)
|-
|-
| 824
| 836
| 0x338
| 0x344
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_fs_acl_write
| sys_fs_newfs
| int sys_fs_acl_read(const char* path, CellFsAcl *)
| int sys_fs_newfs(char const* deviceName, char const*, int, char  const**)  
|-
|-
| 825
| 837
| 0x339
| 0x345
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_fs_lsn_get_cda_size
| sys_fs_mount
| int sys_fs_lsn_get_cda_size(int fd, uint64_t*)
| int sys_fs_mount(char const* deviceName, char  const*, char  const*, int, int, int, char  const**) <br>Example: 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
|-
|-
| 826
| 838
| 0x33A
| 0x346
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_fs_lsn_get_cda
| sys_fs_unmount
| int sys_fs_lsn_get_cda(int fd, CellFsCda*, uint64_t, uint64_t*)
| int sys_fs_unmount(char  const*, int, int)<br>Parameters: Device Path (e.g. /dev_flash)
|-
|-
| 827
| 839
| 0x33B
| 0x347
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_fs_lsn_lock
| sys_fs_sync
| int sys_fs_lsn_lock(int fd)
| int sys_fs_sync(const char *dir) <!--///*
* lv2_cell_fs_util_sync
*/
static inline int lv2_cell_fs_util_sync(const char *dir)
{
return Lv2Syscall1(839, (uint64_t) dir);
}//--> Parameter: Device Path (e.g. /dev_hdd0)
|-
|-
| 828
| 840
| 0x33C
| 0x348
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_fs_lsn_unlock
| sys_fs_disk_free
| int sys_fs_lsn_unlock(int fd)
| int sys_fs_disk_free(char  const*, unsigned long *, unsigned long *)
|-
|-
| 829
| 841
| 0x33D
| 0x349
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_fs_lsn_read
| sys_fs_get_mount_info_size
| int sys_fs_lsn_read(int fd, const CellFsCda*, uint64_t size)
| int sys_fs_get_mount_info_size(unsigned long *)
|-
|-
| 830
| 842
| 0x33E
| 0x34A
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_fs_lsn_write
| sys_fs_get_mount_info
| int sys_fs_lsn_write(int fd, const CellFsCda*, uint64_t size)
| int sys_fs_get_mount_info(CellFsMountInformation *, unsigned long, unsigned long *)
|-
|-
| 831
| 843
| 0x33F
| 0x34B
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_fs_truncate
| sys_fs_get_fs_info_size
| CellFsErrno sys_fs_truncate(const char *path, uint64_t size);
| int sys_fs_get_fs_info_size(unsigned long *)
|-
|-
| 832
| 844
| 0x340
| 0x34C
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_fs_ftruncate
| sys_fs_get_fs_info
| CellFsErrno sys_fs_ftruncate(int fd, uint64_t size);
| int sys_fs_get_fs_info(ulong, ulong*, CellFsInfo *)
|-
|-
| 833
| 845
| 0x341
| 0x34D
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_fs_symbolic_link
| sys_fs_mapped_allocate
| int sys_fs_symbolic_link(const char* target_path, const char* link_path)
| int sys_fs_mapped_allocate(int, unsigned long, void **)
|-
|-
| 834
| 846
| 0x342
| 0x34E
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_fs_chmod
| sys_fs_mapped_free
| CellFsErrno sys_fs_chmod(const char *path, CellFsMode mode);
| int sys_fs_mapped_free(int, void *)
|-
|-
| 835
| 847
| 0x343
| 0x34F
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_fs_chown
| sys_fs_truncate2
| int sys_fs_chown(const char* path, int uid, int gid)
| int sys_fs_ftruncate2(int fd, uint64_t size);
|-
|-
| 836
! colspan="6" id="process socket service syscalls"|[[#process socket service syscalls]] (861-864)
| 0x344
| {{DECR}} {{DEX}} {{CEX}}
|
| sys_fs_newfs
| int sys_fs_newfs(const char* deviceName, const char*, int, const char**)  
|-
|-
| 837
| 860
| 0x345
| 0x35C
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
| {{Authid}}
| sys_fs_mount
| syscall_sys_ss_get_cache_of_analog_sunset_flag
| int sys_fs_mount(const char* deviceName, const char*, const char*, int, int, int, const char**) <br>Example: 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
| int syscall_sys_ss_get_cache_of_analog_sunset_flag(out:uint8_t[1])
|-
|-
| 838
| 861
| 0x346
| 0x35D
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
| {{Root}}
| sys_fs_unmount
|  
| int sys_fs_unmount(const char* device_path, int, int)<br>Parameters: Device Path (e.g. /dev_flash)
| gamesave_storage_manager_if
|-
|-
| 839
| 862
| 0x347
| 0x35E
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
|
|
| sys_fs_sync
| [[Virtual_TRM_Manager|vtrm_manager_if (Interface)]] <!--///*
| int sys_fs_sync(const char *dir) <!--///*
  * lv2_ss_vtrm_mgr_if
  * lv2_cell_fs_util_sync
  */
  */
static inline int lv2_cell_fs_util_sync(const char *dir)
static inline int lv2_ss_vtrm_mgr_if(uint32_t packet_id, uint64_t arg1, uint64_t arg2,
uint64_t arg3, uint64_t arg4)
{
{
return Lv2Syscall1(839, (uint64_t) dir);
return Lv2Syscall5(862, packet_id, arg1, arg2, arg3, arg4);
}//--> Parameter: Device Path (e.g. /dev_hdd0)
}
lv2_ss_vtrm_mgr_if(0x2005=retrieve,uint64_t *outbuff, 0x40,0,0);
//-->
|-
|-
| 840
| 863
| 0x348
| 0x35F
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
|
|
| sys_fs_disk_free
| [[Update_Manager|update_manager_if (Interface)]]<!--///*
| int sys_fs_disk_free(const char* path, uint64_t* total_free, uint64_t* avail_free)
* lv2_ss_update_mgr_if
*/
static inline int lv2_ss_update_mgr_if(uint32_t packet_id, uint64_t arg1, uint64_t arg2,
uint64_t arg3, uint64_t arg4, uint64_t arg5, uint64_t arg6)
{
return Lv2Syscall7(863, packet_id, arg1, arg2, arg3, arg4, arg5, arg6);
}//-->
|-
|-
| 841
| 864
| 0x349
| 0x360
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Dbg}}
|
|
| sys_fs_get_mount_info_size
| [[Storage_Manager|storage_manager_if (Interface)]] <!--///*
| int sys_fs_get_mount_info_size(uint64_t* out_length)
* lv2_ss_stor_mgr_if
'out_length' is set to the number of mounted devices sys_fs_get_mount_info may write at max.
*/
static inline int lv2_ss_stor_mgr_if(uint32_t packet_id, uint64_t arg1)
{
return Lv2Syscall2(864, packet_id, arg1);
}//-->
|-
|-
| 842
! colspan="6" id="sys_ss/sys_get Syscalls"|[[#sys_ss/sys_get Syscalls]] (865-879)
| 0x34A
| {{DECR}} {{DEX}} {{CEX}}
|
| sys_fs_get_mount_info
| int sys_fs_get_mount_info(CellFsMountInformation* info, uint64_t buffer_length, uint64_t* written_length)
'buffer_length' is the number entries 'info' points.
'written_length' is the number of entries written to 'info', lower/equal to 'buffer_length'.
|-
|-
| 843
| 865
| 0x34B
| 0x361
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}} {{Authid}}
| sys_ss_random_number_generator
| int sys_ss_random_number_generator(id,buffer,size), alias sys_get_random_number <!--///*
* random_number
*/
int sys_get_random_number(
    void* addr,
    uint64_t size
);
//-->
|-
| 866
| 0x362
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
|
|
| sys_fs_get_fs_info_size
| [[Secure_RTC_Manager|secure_rtc_manager_if (Interface)]] <!--///*
| int sys_fs_get_fs_info_size(uint64_t *)
* lv2_ss_secure_rtc_if
*/
static inline int lv2_ss_secure_rtc_if(uint32_t packet_id, uint64_t arg1, uint64_t arg2, uint64_t arg3)
{
return Lv2Syscall4(866, packet_id, arg1, arg2, arg3);
}//-->
|-
|-
| 844
| 867
| 0x34C
| 0x363
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
| {{Root}}
| sys_fs_get_fs_info
|  
| int sys_fs_get_fs_info(uint64_t, uint64_t *, CellFsInfo *)
| [[AIM_Manager|aim_manager_if (Interface)]] <!--///*
* lv2_ss_aim_if
*/
static inline int lv2_ss_aim_if(uint32_t packet_id, uint64_t arg1)
{
return Lv2Syscall2(867, packet_id, arg1);
}//-->
|-
|-
| 845
| 868
| 0x34D
| 0x364
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}} / {{Dbg}} {{Authid}}
|
|
| sys_fs_mapped_allocate
| [[Indi_Info_Manager|indi_info_manager_if (Interface)]] <!--///*
| int sys_fs_mapped_allocate(int, uint64_t, void **)
  * lv2_ss_indi_info_mgr_if
|-
| 846
| 0x34E
| {{DECR}} {{DEX}} {{CEX}}
|
| sys_fs_mapped_free
| int sys_fs_mapped_free(int, void *)
|-
| 847
| 0x34F
| {{DECR}} {{DEX}} {{CEX}}
|
| sys_fs_truncate2
| int sys_fs_ftruncate2(int fd, uint64_t size);
|-
! colspan="6" id="process socket service syscalls"|[[#process socket service syscalls]] (861-864)
|-
| 860
| 0x35C
| {{DECR}} {{DEX}} {{CEX}}
| {{Authid}}
| syscall_sys_ss_get_cache_of_analog_sunset_flag
| int syscall_sys_ss_get_cache_of_analog_sunset_flag(out:uint8_t[1])
|-
| 861
| 0x35D
| {{DECR}} {{DEX}} {{CEX}}
| {{Root}}
| sys_ss_protected_file_db
| gamesave_storage_manager_if(uint32_t packetid (0-0x13), uint8_t buf[0xB8], const char* path, int32_t len, int32_t unk2, int32_t unk3, 0, 0);
|-
| 862
| 0x35E
| {{DECR}} {{DEX}} {{CEX}}
| {{Root}}
| sys_ss_virtual_trm_manager
| [[Virtual_TRM_Manager|vtrm_manager_if (Interface)]] <!--///*
  * lv2_ss_vtrm_mgr_if
  */
  */
static inline int lv2_ss_vtrm_mgr_if(uint32_t packet_id, uint64_t arg1, uint64_t arg2,
static inline int lv2_ss_indi_info_mgr_if(uint32_t packet_id, uint64_t arg1, uint64_t arg2,
uint64_t arg3, uint64_t arg4)
uint64_t arg3, uint64_t arg4)
{
{
return Lv2Syscall5(862, packet_id, arg1, arg2, arg3, arg4);
return Lv2Syscall5(868, packet_id, arg1, arg2, arg3, arg4);
}
}
lv2_ss_vtrm_mgr_if(0x2005=retrieve,uint64_t *outbuff, 0x40,0,0);
Lv2Syscall5(868, 0x17015, outbuff, 0, 0, 0); /* Read cISD Size*/
//-->
//-->
|-
|-
| 863
| 869
| 0x35F
| 0x365
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
| sys_ss_update_manager
|
| [[Update_Manager|update_manager_if (Interface)]]<!--///*
| syscall(869,0x22001,out:uint8_t[0x80] or 0x22002,out:uint8_t[0x690] or 0x22003,in:uint8_t[8]  or 0x22004,in*), 0x22003 & 0x22004 = set_rtc
* lv2_ss_update_mgr_if
|-
*/
| 870
static inline int lv2_ss_update_mgr_if(uint32_t packet_id, uint64_t arg1, uint64_t arg2,
| 0x366
uint64_t arg3, uint64_t arg4, uint64_t arg5, uint64_t arg6)
| {{CEX}}{{DEX}}{{DECR}}
{
|
return Lv2Syscall7(863, packet_id, arg1, arg2, arg3, arg4, arg5, arg6);
| sys_ss_get_console_id
}//-->
| int sys_ss_get_console_id(uint8_t *buf) //returns [[IDPS]] in buf
|-
| 871
| 0x367
| {{CEX}}{{DEX}}{{DECR}}
| {{dbg}}
| 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
| {{CEX}}{{DEX}}{{DECR}}
|
| sys_ss_get_open_psid
| int sys_ss_get_open_psid(CellSsOpenPSID *ptr) ; typedef struct CellSsOpenPSID { uint64_t high; uint64_t low;}
|-
| 873
| 0x369
| {{CEX}}{{DEX}}{{DECR}}
|
| sys_ss_get_cache_of_product_mode
| int sys_ss_get_cache_of_product_mode(uint8_t *ptr [1]);
|-
|-
| 864
| 874
| 0x360
| 0x36A
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Dbg}}
|
| sys_ss_sec_hw_framework
| sys_ss_get_cache_of_flash_ext_flag
| [[Storage_Manager|storage_manager_if (Interface)]] <!--///*
| int sys_ss_get_cache_of_flash_ext_flag(uint8_t *flag [1]) <!--///*
  * lv2_ss_stor_mgr_if
  * lv2_ss_get_cache_of_flash_ext_flag
  */
  */
static inline int lv2_ss_stor_mgr_if(uint32_t packet_id, uint64_t arg1)
static inline int lv2_ss_get_cache_of_flash_ext_flag(uint8_t *flag)
{
{
return Lv2Syscall2(864, packet_id, arg1);
return Lv2Syscall1(874, (uint64_t) flag);
}//-->
}//-->
|-
|-
! colspan="6" id="sys_ss/sys_get Syscalls"|[[#sys_ss/sys_get Syscalls]] (865-879)
| 875
|-
| 0x36B
| 865
| {{CEX}}{{DEX}}{{DECR}}
| 0x361
|
| {{DECR}} {{DEX}} {{CEX}}
| sys_ss_get_boot_device
| {{Root}} {{Authid}}
| int sys_ss_get_boot_device(uint8_t * buf [8]);
| sys_ss_random_number_generator
| int sys_ss_random_number_generator(id,buffer,size), alias sys_get_random_number <!--///*
* random_number
*/
int sys_get_random_number(
    void* addr,
    uint64_t size
);
//-->
|-
|-
| 866
| 876
| 0x362
| 0x36C
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
|
| sys_ss_secure_rtc
| sys_ss_disc_access_control
| [[Secure_RTC_Manager|secure_rtc_manager_if (Interface)]] <!--///*
| 2Params: 0x20000(=get_disc_access_control),uint8_t [4] / 0x20001(=set_disc_access_control),1
* lv2_ss_secure_rtc_if
*/
static inline int lv2_ss_secure_rtc_if(uint32_t packet_id, uint64_t arg1, uint64_t arg2, uint64_t arg3)
{
return Lv2Syscall4(866, packet_id, arg1, arg2, arg3);
}//-->
|-
|-
| 867
| 877
| 0x363
| 0x36D
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
| sys_ss_appliance_info_manager
| sys_ss_~utoken_if
| [[AIM_Manager|aim_manager_if (Interface)]] <!--///*
| syscall(877,0x25003=Decrypt or 0x25004 or 0x25005=Encrypt or 0x25006=(copy syscall table to user), uint8_t *token, 0xC50 (size)), [[User_Token_Manager|user_token_manager_if]]
* lv2_ss_aim_if
*/
static inline int lv2_ss_aim_if(uint32_t packet_id, uint64_t arg1)
{
return Lv2Syscall2(867, packet_id, arg1);
}//-->
|-
|-
| 868
| 878
| 0x364
| 0x36E
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}&nbsp;{{Dbg}}&nbsp;{{Authid}}
|
| sys_ss_individual_info_manager
| sys_ss_ad_sign
| [[Indi_Info_Manager|indi_info_manager_if (Interface)]] <!--///*
| syscall(878, 0x26001, in_buffer[0x14], out_buffer[0x80])
* lv2_ss_indi_info_mgr_if
*/
static inline int lv2_ss_indi_info_mgr_if(uint32_t packet_id, uint64_t arg1, uint64_t arg2,
uint64_t arg3, uint64_t arg4)
{
return Lv2Syscall5(868, packet_id, arg1, arg2, arg3, arg4);
}
Lv2Syscall5(868, 0x17015, outbuff, 0, 0, 0); /* Read cISD Size*/
//-->
|-
|-
| 869
| 879
| 0x365
| 0x36F
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| sys_ss_factory_data_manager
| [[Factory_Data_Manager|factory_data_manager_if (Interface)]]
|-
| 870
| 0x366
| {{DECR}} {{DEX}} {{CEX}}
|
|
| sys_ss_get_console_id
| sys_ss_media_id
| int sys_ss_get_console_id(uint8_t *buf) //returns [[IDPS]] in buf
| syscall(879, 0x10001, out_buffer[0x10])
later firmwares require root flags, QA flag, not allowed on DEX/TOOL
|-
|-
| 871
! colspan="6" id="sys_deci3 Syscalls"|[[#sys_deci3 Syscalls]] (880-884)
| 0x367
| {{DECR}} {{DEX}} {{CEX}}
| {{dbg}}
| sys_ss_access_control_engine
| 3 params, their types and usage depends on 'pkg_id'.
(pkg_id=1,sys_pid_t,out:uint64_t)
(pkd_id=2,out:uint64_t,0) // returns [[Program Authority ID]]
(pkg_id=3,out:uint64_t,0)
|-
|-
| 872
| 880
| 0x368
| 0x370
| {{DECR}} {{DEX}} {{CEX}}
| {{DEX}} {{DECR}}
|
|
| sys_ss_get_open_psid
| sys_deci3_open
| int sys_ss_get_open_psid(CellSsOpenPSID *ptr) ; typedef struct CellSsOpenPSID { uint64_t high; uint64_t low;}
| int sys_deci3_open(sys_deci3_protocol_t protocol, sys_deci3_port_t port, void *option, sys_deci3_session_t * session_id);
|-
|-
| 873
| 881
| 0x369
| 0x371
| {{DECR}} {{DEX}} {{CEX}}
| {{DEX}} {{DECR}}
|
|
| sys_ss_get_cache_of_product_mode
| sys_deci3_create_event_path
| int sys_ss_get_cache_of_product_mode(uint8_t *ptr [1]);
| int sys_deci3_create_event_path(sys_deci3_session_t session_id, size_t bufsize, sys_event_queue_t event_queue_id);
|-
|-
| 874
| 882
| 0x36A
| 0x372
| {{DECR}} {{DEX}} {{CEX}}
| {{DEX}} {{DECR}}
|
|
| sys_ss_get_cache_of_flash_ext_flag
| sys_deci3_close
| int sys_ss_get_cache_of_flash_ext_flag(uint8_t *flag [1]) <!--///*
| int sys_deci3_close(sys_deci3_session_t session_id);
* lv2_ss_get_cache_of_flash_ext_flag
*/
static inline int lv2_ss_get_cache_of_flash_ext_flag(uint8_t *flag)
{
return Lv2Syscall1(874, (uint64_t) flag);
}//-->
|-
|-
| 875
| 883
| 0x36B
| 0x373
| {{DECR}} {{DEX}} {{CEX}}
| {{DEX}} {{DECR}}
|
|
| sys_ss_get_boot_device
| sys_deci3_send
| int sys_ss_get_boot_device(uint8_t * buf [8]);
| int sys_deci3_send(sys_deci3_session_t session_id, uint8_t * buf, __CSTD size_t size);
|-
|-
| 876
| 884
| 0x36C
| 0x374
| {{DECR}} {{DEX}} {{CEX}}
| {{DEX}} {{DECR}}
|
|
| sys_ss_disc_access_control
| sys_deci3_receive
| 2Params: 0x20000(=get_disc_access_control),uint32_t * disc_access / 0x20001(=set_disc_access_control),1
| int sys_deci3_receive(sys_deci3_session_t session_id, uint8_t * buf, __CSTD size_t size);
|-
|-
| 877
| 885
| 0x36D
| 0x375
| {{DECR}} {{DEX}} {{CEX}}
| {{DECR}}
| {{Root}}
| sys_ss_~utoken_if
| syscall(877,0x25003=Decrypt or 0x25004 or 0x25005=Encrypt or 0x25006=(copy syscall table to user), uint8_t *token, 0xC50 (size)), [[User_Token_Manager|user_token_manager_if]]
|-
| 878
| 0x36E
| {{DECR}} {{DEX}} {{CEX}}
|
|
| sys_ss_ad_sign
| sys_deci3_open2
| syscall(878, 0x26001, in_buffer[0x14], out_buffer[0x80])
|  
|-
|-
| 879
| 889
| 0x36F
| 0x379
| {{DECR}} {{DEX}} {{CEX}}
| {{DECR}}
| {{Root}}
| sys_
|
|-
| 890
| 0x37A
|
|
|
| sys_ss_media_id
| sys_deci3_initialize
| syscall(879, 0x10001, out_buffer[0x10])
|  
|-
|-
! colspan="6" id="sys_deci3 Syscalls"|[[#sys_deci3 Syscalls]] (880-884)
| 891
|-
| 0x37B
| 880
| 0x370
| {{DECR}} {{DEX}}
|
|
| 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
| {{DECR}} {{DEX}}
|
|
| sys_deci3_create_event_path
| sys_deci3_terminate
| int sys_deci3_create_event_path(sys_deci3_session_t session_id, size_t bufsize, sys_event_queue_t event_queue_id);
|  
|-
|-
| 882
| 892
| 0x372
| 0x37C
| {{DECR}} {{DEX}}
|
|
| sys_deci3_close
| int sys_deci3_close(sys_deci3_session_t session_id);
|-
| 883
| 0x373
| {{DECR}} {{DEX}}
|
|
| sys_deci3_send
| sys_deci3_debug_mode
| int sys_deci3_send(sys_deci3_session_t session_id, uint8_t * buf, __CSTD size_t size);
|  
|-
|-
| 884
| 893
| 0x374
| 0x37D
| {{DECR}} {{DEX}}
|
| sys_deci3_receive
| int sys_deci3_receive(sys_deci3_session_t session_id, uint8_t * buf, __CSTD size_t size);
|-
| 885
| 0x375
| {{DECR}}
|
| sys_deci3_open2
|
|-
| 889
| 0x379
| {{DECR}}
| {{Root}}
| sys_
|
|-
| 890
| 0x37A
|
|
| sys_deci3_initialize
|
|-
| 891
| 0x37B
|
|
| sys_deci3_terminate
|
|-
| 892
| 0x37C
|
|
| sys_deci3_debug_mode
|
|-
| 893
| 0x37D
|
|
|
|
Line 5,364: Line 5,148:
| 900
| 900
| 0x384
| 0x384
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_dbg_stop_processes
| sys_dbg_stop_processes
Line 5,371: Line 5,155:
| 901
| 901
| 0x385
| 0x385
| {{DECR}} {{DEX}}
| {{DEX}} {{DECR}}
|
|
| sys_dbg_continue_processes
| sys_dbg_continue_processes
Line 5,378: Line 5,162:
| 902
| 902
| 0x386
| 0x386
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_dbg_stop_threads
| sys_dbg_stop_threads
Line 5,385: Line 5,169:
| 903
| 903
| 0x387
| 0x387
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_dbg_continue_threads
| sys_dbg_continue_threads
Line 5,392: Line 5,176:
| 904
| 904
| 0x388
| 0x388
| {{DECR}} {{DEX}}
| {{DEX}} {{DECR}}
|
|
| sys_dbg_read_process_memory
| sys_dbg_read_process_memory
| int sys_dbg_read_process_memory(sys_pid_t pid, uint64_t process_ea, uint32_t size, void* data)
| int sys_dbg_read_process_memory(sys_pid_t pid, uint64_t process_ea, void* data, uint32_t size)
|-
|-
| 905
| 905
| 0x389
| 0x389
| {{DECR}} {{DEX}}
| {{DEX}} {{DECR}}
|
|
| sys_dbg_write_process_memory
| sys_dbg_write_process_memory
| int sys_dbg_write_process_memory(sys_pid_t pid, uint64_t process_ea, uint32_t size, const void* data)
| int sys_dbg_write_process_memory(sys_pid_t pid, uint64_t process_ea, const void* data, uint32_t size)
|-
|-
| 906
| 906
| 0x38A
| 0x38A
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_dbg_read_thread_register
| sys_dbg_read_thread_register
| 3 Params: uint8_t [0x10], uint64_t *, uint8_t[0x10]
|  
|-
|-
| 907
| 907
| 0x38B
| 0x38B
| {{DECR}} {{DEX}}
| {{DEX}} {{DECR}}
|
|
| sys_dbg_write_thread_register
| sys_dbg_write_thread_register
Line 5,420: Line 5,204:
| 908
| 908
| 0x38C
| 0x38C
| {{DECR}} {{DEX}}
| {{DEX}} {{DECR}}
|
|
| sys_dbg_get_process_list
| sys_dbg_get_process_list
Line 5,427: Line 5,211:
| 909
| 909
| 0x38D
| 0x38D
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_dbg_get_thread_list
| sys_dbg_get_thread_list
Line 5,434: Line 5,218:
| 910
| 910
| 0x38E
| 0x38E
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_dbg_get_thread_info
| sys_dbg_get_thread_info
| 2 Params: uint8_t * [0x10] {type,thread id?}, uint8_t [0x80]
|  
1 spu_thread
2 spu_thread_group
0 ppu_thread
|-
|-
| 911
| 911
| 0x38F
| 0x38F
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_dbg_spu_thread_read_from_ls
| sys_dbg_spu_thread_read_from_ls
| 4 Params: spu thread id,, size, uint8_t[size]
|  
|-
|-
| 912
| 912
| 0x390
| 0x390
| {{DECR}} {{DEX}}
| {{DEX}} {{DECR}}
|
|
| sys_dbg_spu_thread_write_to_ls
| sys_dbg_spu_thread_write_to_ls
Line 5,458: Line 5,239:
| 913
| 913
| 0x391
| 0x391
| {{DECR}} {{DEX}}
| {{DEX}} {{DECR}}
|
|
| sys_dbg_kill_process
| sys_dbg_kill_process
Line 5,465: Line 5,246:
| 914
| 914
| 0x392
| 0x392
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_dbg_get_process_info
| sys_dbg_get_process_info
Line 5,472: Line 5,253:
| 915
| 915
| 0x393
| 0x393
| {{DECR}} {{DEX}}
| {{DEX}} {{DECR}}
|
|
| sys_dbg_set_run_control_bit_to_spu
| sys_dbg_set_run_control_bit_to_spu
Line 5,479: Line 5,260:
| 916
| 916
| 0x394
| 0x394
| {{DECR}} {{DEX}}
| {{DEX}} {{DECR}}
|
|
| sys_dbg_spu_thread_get_exception_cause
| sys_dbg_spu_thread_get_exception_cause
Line 5,486: Line 5,267:
| 917
| 917
| 0x395
| 0x395
| {{DECR}} {{DEX}}
| {{DEX}} {{DECR}}
|
|
| sys_dbg_create_kernel_event_queue
| sys_dbg_create_kernel_event_queue
Line 5,493: Line 5,274:
| 918
| 918
| 0x396
| 0x396
| {{DECR}} {{DEX}}
| {{DEX}} {{DECR}}
|
|
| sys_dbg_read_kernel_event_queue
| sys_dbg_read_kernel_event_queue
Line 5,500: Line 5,281:
| 919
| 919
| 0x397
| 0x397
| {{DECR}} {{DEX}}
| {{DEX}} {{DECR}}
|
|
| sys_dbg_destroy_kernel_event_queue
| sys_dbg_destroy_kernel_event_queue
Line 5,507: Line 5,288:
| 920
| 920
| 0x398
| 0x398
| {{DECR}} {{DEX}}
| {{DEX}} {{DECR}}
|
|
| sys_dbg_get_process_event_ctrl_flag
| sys_dbg_get_process_event_ctrl_flag
Line 5,514: Line 5,295:
| 921
| 921
| 0x399
| 0x399
| {{DECR}} {{DEX}}
| {{DEX}} {{DECR}}
|
|
| sys_dbg_set_process_event_cntl_flag
| sys_dbg_set_process_event_cntl_flag
Line 5,521: Line 5,302:
| 922
| 922
| 0x39A
| 0x39A
| {{DECR}} {{DEX}}
| {{DEX}} {{DECR}}
|
|
| sys_dbg_get_spu_thread_group_event_cntl_flag
| sys_dbg_get_spu_thread_group_event_cntl_flag
Line 5,528: Line 5,309:
| 923
| 923
| 0x39B
| 0x39B
| {{DECR}} {{DEX}}
| {{DEX}} {{DECR}}
|
|
| sys_dbg_set_spu_thread_group_event_cntl_flag
| sys_dbg_set_spu_thread_group_event_cntl_flag
Line 5,535: Line 5,316:
| 924
| 924
| 0x39C
| 0x39C
| {{DECR}} {{DEX}}
| {{DEX}} {{DECR}}
|
|
| sys_dbg_get_module_list
|  
|
|
|-
|-
| 925
| 925
| 0x39D
| 0x39D
| {{DECR}} {{DEX}}
| {{DEX}} {{DECR}}
|
|
| sys_dbg_get_raw_spu_list
| sys_dbg_get_raw_spu_list
Line 5,549: Line 5,330:
| 926
| 926
| 0x39E
| 0x39E
| {{DECR}} {{DEX}}
| {{DEX}} {{DECR}}
|
|
| sys_dbg_initialize_scratch_executable_area
|  
|
|
|-
|-
| 927
| 927
| 0x3A0
| 0x3A0
| {{DECR}} {{DEX}}
| {{DEX}} {{DECR}}
|
|
| sys_dbg_terminate_scratch_executable_area
|  
|
|
|-
|-
| 928
| 928
| 0x3A1
| 0x3A1
| {{DECR}} {{DEX}}
| {{DEX}} {{DECR}}
|
|
| sys_dbg_initialize_scratch_data_area
|  
|
|
|-
|-
| 929
| 929
| 0x3A2
| 0x3A2
| {{DECR}} {{DEX}}
| {{DEX}} {{DECR}}
|
|
| sys_dbg_terminate_scratch_data_area
|  
|
|
|-
|-
| 930
| 930
| 0x3A3
| 0x3A3
| {{DECR}} {{DEX}}
| {{DEX}} {{DECR}}
|
|
| sys_dbg_get_user_memory_stat
|  
|
|
|-
|-
| 931
| 931
| 0x3A4
| 0x3A4
| {{DECR}} {{DEX}}
| {{DEX}} {{DECR}}
|
|
| sys_dbg_get_shared_memory_attribute_list
|  
|
|
|-
|-
| 932
| 932
| 0x3A4
| 0x3A4
| {{DECR}} {{DEX}}
| {{DEX}} {{DECR}}
|
|
| sys_dbg_get_mutex_list
| sys_dbg_get_mutex_list
Line 5,598: Line 5,379:
| 933
| 933
| 0x3A5
| 0x3A5
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_dbg_get_mutex_information
| sys_dbg_get_mutex_information
Line 5,605: Line 5,386:
| 934
| 934
| 0x3A6
| 0x3A6
| {{DECR}} {{DEX}}
| {{DEX}} {{DECR}}
|
|
| sys_dbg_get_cond_list
| sys_dbg_get_cond_list
Line 5,612: Line 5,393:
| 935
| 935
| 0x3A7
| 0x3A7
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_dbg_get_cond_information  
| sys_dbg_get_cond_information  
Line 5,619: Line 5,400:
| 936
| 936
| 0x3A8
| 0x3A8
| {{DECR}} {{DEX}}
| {{DEX}} {{DECR}}
|
|
| sys_dbg_get_rwlock_list
| sys_dbg_get_rwlock_list
Line 5,626: Line 5,407:
| 937
| 937
| 0x3A9
| 0x3A9
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_dbg_get_rwlock_information  
| sys_dbg_get_rwlock_information  
Line 5,633: Line 5,414:
| 938
| 938
| 0x3AA
| 0x3AA
| {{DECR}} {{DEX}}
| {{DEX}} {{DECR}}
|
|
| sys_dbg_get_lwmutex_list
| sys_dbg_get_lwmutex_list
Line 5,640: Line 5,421:
| 939
| 939
| 0x3AB
| 0x3AB
| {{DECR}} {{DEX}}
| {{DEX}} {{DECR}}
|
|
| sys_dbg_get_address_from_dabr
| sys_dbg_get_address_from_dabr
Line 5,647: Line 5,428:
| 940
| 940
| 0x3AC
| 0x3AC
| {{DECR}} {{DEX}}
| {{DEX}} {{DECR}}
|
|
| sys_dbg_set_address_to_dabr
| sys_dbg_set_address_to_dabr
Line 5,654: Line 5,435:
| 941
| 941
| 0x3AD
| 0x3AD
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_dbg_get_lwmutex_information
| sys_dbg_get_lwmutex_information
Line 5,661: Line 5,442:
| 942
| 942
| 0x3AE
| 0x3AE
| {{DECR}} {{DEX}}
| {{DEX}} {{DECR}}
|
|
| sys_dbg_get_event_queue_list
| sys_dbg_get_event_queue_list
Line 5,668: Line 5,449:
| 943
| 943
| 0x3AF
| 0x3AF
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_dbg_get_event_queue_information  
| sys_dbg_get_event_queue_information  
Line 5,675: Line 5,456:
| 944
| 944
| 0x3B0
| 0x3B0
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|  
|  
| sys_dbg_initialize_ppu_exception_handler
| sys_dbg_initialize_ppu_exception_handler
Line 5,682: Line 5,463:
| 945
| 945
| 0x3B1
| 0x3B1
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Dbg}}
| {{Dbg}}
| sys_dbg_finalize_ppu_exception_handler
| sys_dbg_finalize_ppu_exception_handler
Line 5,689: Line 5,470:
| 946
| 946
| 0x3B2
| 0x3B2
| {{DECR}} {{DEX}}
| {{DEX}} {{DECR}}
|
|
| sys_dbg_get_semaphore_list
| sys_dbg_get_semaphore_list
Line 5,696: Line 5,477:
| 947
| 947
| 0x3B3
| 0x3B3
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_dbg_get_semaphore_information
| sys_dbg_get_semaphore_information
Line 5,703: Line 5,484:
| 948
| 948
| 0x3B4
| 0x3B4
| {{DECR}} {{DEX}}
| {{DEX}} {{DECR}}
|
|
| sys_dbg_get_kernel_thread_list
| sys_dbg_get_kernel_thread_list
Line 5,710: Line 5,491:
| 949
| 949
| 0x3B5
| 0x3B5
| {{DECR}} {{DEX}}
| {{DEX}} {{DECR}}
|
|
| sys_dbg_get_kernel_thread_info
| sys_dbg_get_kernel_thread_info
Line 5,717: Line 5,498:
| 950
| 950
| 0x3B6
| 0x3B6
| {{DECR}} {{DEX}}
| {{DEX}} {{DECR}}
|
|
| sys_dbg_get_lwcond_list
| sys_dbg_get_lwcond_list
Line 5,724: Line 5,505:
| 951
| 951
| 0x3B7
| 0x3B7
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_dbg_get_lwcond_information
| sys_dbg_get_lwcond_information
| int sys_dbg_get_lwcond_information (sys_pid_t id, sys_lwcond_pseudo_id_t id, sys_dbg_lwcond_information_t* info )
| int sys_dbg_get_lwcond_information (sys_pid_t id,   sys_lwcond_pseudo_id_t id, sys_dbg_lwcond_information_t* info )
|-
|-
| 952
| 952
| 0x3B8
| 0x3B8
| {{DECR}} {{DEX}}
| {{DEX}} {{DECR}}
|
|
| sys_dbg_create_scratch_data_area_ext
| sys_dbg_create_scratch_data_area_ext
Line 5,738: Line 5,519:
| 953
| 953
| 0x3B9
| 0x3B9
| {{DECR}} {{DEX}}
| {{DEX}} {{DECR}}
|  
|  
| sys_dbg_vm_get_page_information  
| sys_dbg_vm_get_page_information  
| int sys_dbg_vm_get_page_information (sys_pid_t id, sys_addr_t addr, uint32_t num, sys_vm_page_information_t *pageinfo )
| int sys_dbg_vm_get_page_information (sys_pid_t id, sys_addr_t addr, unsigned int num, sys_vm_page_information_t *pageinfo )
|-
|-
| 954
| 954
| 0x3BA
| 0x3BA
| {{DECR}} {{DEX}}
| {{DEX}} {{DECR}}
|
|
| sys_dbg_vm_get_info
| sys_dbg_vm_get_info
Line 5,752: Line 5,533:
| 955
| 955
| 0x3BB
| 0x3BB
| {{DECR}} {{DEX}}
| {{DEX}} {{DECR}}
|
|
| sys_dbg_enable_floating_point_enabled_exception
| sys_dbg_enable_floating_point_enabled_exception
Line 5,759: Line 5,540:
| 956
| 956
| 0x3BC
| 0x3BC
| {{DECR}} {{DEX}}
| {{DEX}} {{DECR}}
|
|
| sys_dbg_disable_floating_point_enabled_exception
| sys_dbg_disable_floating_point_enabled_exception
Line 5,766: Line 5,547:
| 957
| 957
| 0x3BD
| 0x3BD
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Dbg}}
|
|
|
| sys_dbg_get_process_memory_container_information
| (u32 proc_id, dbg_mc_info *mc_info[count], u32 *count)
|-
|-
| 959
| 959
| 0x3BF
| 0x3BF
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_dbg_(send event flags?)
| sys_dbg_(send event flags?)
Line 5,782: Line 5,563:
| {{DECR}}
| {{DECR}}
|
|
| sys_control_performance_monitor
| sys_control_performance_monitor?
| int sys_control_performance_monitor? (int id, 0 / *out ) - Controls Performance Monitor on the Cell Broadband Engine syscall
| int sys_control_performance_monitor? (int id, 0 / *out ) - Controls Performance Monitor on the Cell Broadband Engine syscall
|-
|-
Line 5,789: Line 5,570:
| {{DECR}}
| {{DECR}}
|
|
| sys_performance_monitor_hidden
|
|
|
|-
|-
Line 5,796: Line 5,577:
| {{DECR}}
| {{DECR}}
|
|
| sys_performance_monitor_bookmark
|
|
|
|-
|-
Line 5,803: Line 5,584:
| {{DECR}}
| {{DECR}}
|
|
| sys_lv1_pc_trace_create
|
|
|
|-
|-
Line 5,810: Line 5,591:
| {{DECR}}
| {{DECR}}
|
|
| sys_lv1_pc_trace_start
|
|
|
|-
|-
Line 5,817: Line 5,598:
| {{DECR}}
| {{DECR}}
|
|
| sys_lv1_pc_trace_stop
|
|
|
|-
|-
Line 5,824: Line 5,605:
| {{DECR}}
| {{DECR}}
|
|
| sys_lv1_pc_trace_get_status
|
|
|
|-
|-
Line 5,831: Line 5,612:
| {{DECR}}
| {{DECR}}
|
|
| sys_lv1_pc_trace_destroy
|
|
|
|-
|-
Line 5,838: Line 5,619:
| {{DECR}}
| {{DECR}}
|
|
| sys_rsx_trace_ioctl
|
|
|
|-
|-
Line 5,850: Line 5,631:
| 970
| 970
| 0x3CA
| 0x3CA
| {{DECR}} {{DEX}}
| {{DEX}} {{DECR}}
|
|
| sys_dbg_get_event_flag_list
| sys_dbg_get_event_flag_list
Line 5,857: Line 5,638:
| 971
| 971
| 0x3CB
| 0x3CB
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_dbg_get_event_flag_information
| sys_dbg_get_event_flag_information
Line 5,864: Line 5,645:
| 972
| 972
| 0x3CC
| 0x3CC
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_dbg_(send event flags?)
| sys_dbg_(send event flags?)
Line 5,871: Line 5,652:
| 973
| 973
| 0x3CD
| 0x3CD
| {{DECR}} {{DEX}}
| {{DEX}} {{DECR}}
|
|
|
|
Line 5,878: Line 5,659:
| 974
| 974
| 0x3CE
| 0x3CE
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
|
|
Line 5,885: Line 5,666:
| 975
| 975
| 0x3CF
| 0x3CF
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_dbg_read_spu_thread_context2
| sys_dbg_read_spu_thread_context2
Line 5,892: Line 5,673:
| 976
| 976
| 0x3D0
| 0x3D0
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
|
| sys_crypto_engine_create
| sc(0x3D0, out:*uint32_t handle), creates a handle?
| int sys_crypto_engine_create(sys_pid_t* id);
|-
|-
| 977
| 977
| 0x3D1
| 0x3D1
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_crypto_engine_destroy
|
| int sys_crypto_engine_destroy(sys_pid_t id);
| sc(0x3D1, uint32_t handle) closes the handle?
|-
|-
| 978
| 978
| 0x3D2
| 0x3D2
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
| sys_crypto_engine_hasher_prepare
|
| int sys_crypto_engine_hasher_prepare(sys_pid_t id, int32_t hash_key_index); /* uses HMAC-SHA1 with key size of 0x14 bytes, keys are generated by VTRM (master) */
| sc(0x3D2, uint32_t handle, 1)
|-
|-
| 979
| 979
| 0x3D3
| 0x3D3
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_crypto_engine_hasher_run
|
| int sys_crypto_engine_hasher_run(sys_pid_t id, const void* data, uint32_t data size); /* splits data by chunks of 0x400 bytes max */
| sc(0x3D3, uint32_t handle, , )
|-
|-
| 980
| 980
| 0x3D4
| 0x3D4
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_crypto_engine_hasher_get_hash
|
| int sys_crypto_engine_hasher_get_hash(sys_pid_t id, void* buffer, uint32_t max_buffer_size /* >= 0x14 */);
| sc(0x3D4, uint32_t handle, out:uint8_t[0x14], 0x14), returns some sha hash
|-
|-
| 981
| 981
| 0x3D5
| 0x3D5
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
| sys_crypto_engine_cipher_prepare
|
| int sys_crypto_engine_cipher_prepare(sys_pid_t id, int32_t hash_key_index, int32_t mode /* 1:encrypt, 2:decrypt */, int32_t cipher_key_index, const void* iv, uint32_t iv_size); /* uses AES-CBC-128, keys are generated by VTRM (master) */
|  
|-
|-
| 982
| 982
| 0x3D6
| 0x3D6
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
|
|
| sys_crypto_engine_cipher_run
| int sys_crypto_engine_cipher_run(sys_pid_t id, const void* input, void* output, uint32_t data_size); /* splits data by chunks of 0x400 bytes max */
|-
|-
| 983
| 983
| 0x3D7
| 0x3D7
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_crypto_engine_cipher_get_hash
|
| int sys_crypto_engine_cipher_get_hash(sys_pid_t id, void* buffer, uint32_t max_buffer_size /* >= 0x14 */);
| sc(0x3D7, uint32_t handle, out:uint8_t[0x14], 0x14) // sha
|-
|-
| 984
| 984
| 0x3D8
| 0x3D8
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
|
| sys_crypto_engine_random_generate
| sc(0x3D8, out:uint8_t[0x10], size:0x10) seems to return max. 0x10 Randombytes
| int sys_crypto_engine_random_generate(void* buffer, uint32_t max_buffer_size /* >= 0x10 */);
|-
|-
| 985
| 985
| 0x3D9
| 0x3D9
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
| sys_dbg_get_console_type?
| sys_dbg_get_console_type?
| returns Console Type, syscall(985,uint64_t * type)
| seems to return Console Type, syscall(985,out_buffer[8]), return values:2=DEX,3=TOOL,1=CEX
1=CEX
2=DEX
3=TOOL
|-
|-
| 986
| 986
| 0x3DA
| 0x3DA
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}} {{Dbg}}
| {{Root}} {{Dbg}}
|
|
Line 5,972: Line 5,750:
| 987
| 987
| 0x3DB
| 0x3DB
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
|
|
Line 5,982: Line 5,760:
|
|
| sys_dbg_(something)_ppu_exception_handler
| sys_dbg_(something)_ppu_exception_handler
| 2 Params: syscall(988,int i,0) , i <0x10 (1 or 2 or 4 or 8 or 0x10)
| 2 Params: syscall(988,int i,0) , i <0x10 (1 or 4 or 8 or 0x10)
|-
|-
| 989
| 989
| 0x3DD
| 0x3DD
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
|
|
Line 5,993: Line 5,771:
|}
|}


==== _sys_process_get_paramsfo ====
=== Network Syscalls ===
          00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
Networking uses [http://www.ps3devwiki.com/index.php?title=LV2_Functions_and_Syscalls#sys_net_Syscalls syscalls 700-726]
00000000 01 < -------Title ID------- > 00 00 00 00 00 00  �BLES80608......
00000010 < ---ExtraLoadFlag--- > < load HUDRSX libProf >  ................
00000020 .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. ..  ................
00000030 .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. ..  ................


@0x18 can load libgpad.sprx from app_home
=== File Syscalls ===


=====ExtraLoadFlag=====
==== OFLAGS ====
{| class="wikitable"
{| class="wikitable"
!Name
!Name
!Value
!Value
|-
|-
|EnableAccForRemotePlay
|CELL_FS_O_RDONLY
|0x20L
|000000
|-
|-
|EnableCoreDump
|CELL_FS_O_WRONLY
|0x10L
|000001
|-
|-
|EnableGCMDebug
|CELL_FS_O_RDWR
|0x04L
|000002
|-
|-
|EnableHUDRSXTools
|CELL_FS_O_ACCMODE
|0x40L
|000003
|-
|-
|EnableLv2ExceptionHandler
|CELL_FS_O_CREAT
|0x01L
|000100
|-
|-
|EnableMAT
|CELL_FS_O_EXCL
|0x80L
|000200
|-
|-
|EnableMiscSettings
|CELL_FS_O_TRUNC
|0x8000000000000000L
|001000
|-
|-
|EnableRemotePlay
|CELL_FS_O_APPEND
|0x02L
|002000
|-
|-
|GameAttributeCustomMessage
|CELL_FS_O_MSELF
|0x200L
|010000
|-
|GameAttributeInviteMessage
|0x100L
|-
|LoadingPatch
|0x1000L
|-
|LoadLibprofSPRXAutomatically
|0x08L
|-
|-
|}
|}


==== Boot Parameter ====
==== Classes ====
{| class="wikitable"
{| class="wikitable"
!Name
!Name
!Value
!Structure
!Packed
|-
|-
|Default
|cellFsStat
|0x00L
|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
|-
|-
|ReleaseMode
|cellFsUtimbuf
|0x01L
|u64 access_time; u64 modify_time;
|no
|-
|-
|MemSizeConsole
|cellFsDirent
|0x02L
|u8 d_type; u8 d_namlen; char d_name[256];
|-
|no
|BluRayEmuOff
|0x04L
|-
|HDDSpeedBluRayEmu
|0x08L
|-
|DebugMode
|0x10L
|-
|SystemMode
|0x11L
|-
|BluRayEmuUSB
|0x20L
|-
|HostFSTarget
|0x40L
|-
|DualNIC
|0x80L
|-
|-
|}
|}


=== Network Syscalls ===
==== Filesystem Syscalls ====
Networking uses [[LV2_Functions_and_Syscalls#sys_net_Syscalls|syscalls 700-726]]
Filesystem uses [http://www.ps3devwiki.com/index.php?title=LV2_Functions_and_Syscalls#lv2Fs_Syscalls syscalls 700-726]
 
=== Unofficial Syscalls added ===
See also : [http://tortuga-cove.com/forums/viewtopic.php?t=89#p155 Syscalls, what they mean for you and for multiMAN]


=== File Syscalls ===
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.


==== OFLAGS ====
{| class="wikitable sortable"
{| class="wikitable"
!Number
!Name
!Function - Added by
!Value
!Notes
|-
|-
|CELL_FS_O_RDONLY
| 6
|000000
| lv2_peek - PL3-DEV, PSGroove v1.1, Payloader3 / (4.2x peek)
|-
| r3 is a 64 bit address to read. A 64 bit value will be returned in r3
|CELL_FS_O_WRONLY
|-
|000001
| 7
| lv2_poke - PL3-DEV, PSGroove v1.1, Payloader3 / (4.2x poke)
| r4 is a 64 bit value. r3 is the address to write that value to.
|-
| 8
| lv2_lv1_peek - graf_chokolo / (4.3x peek)
| 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 / (4.3x poke)
| r4 is a 64 bit value. r3 is the address to write that value to.
|-
|-
|CELL_FS_O_RDWR
| 10
|000002
| lv2_lv1_peek - jfw 'bad idea'
| r3 is a 64 bit address to read. A 64 bit value will be returned in r3
|-
| 10
| lv2_lv1_call - rebug
|
|-
| 11
| lv2_lv1_poke - jfw 'bad idea'
| r4 is a 64 bit value. r3 is the address to write that value to.
|-
|-
|CELL_FS_O_ACCMODE
| 35
|000003
| Remapper - PL3, PSGroove, PSFreedom
| syscall_35 (char *old_path, char *new_path);
|-
|-
|CELL_FS_O_CREAT
| 36
|000100
| Remapper - Hermes, PSJailbreak / (4.2x BD-Emulator)
|-
| hardcoded /dev_bdvd & /app_home remapping
|CELL_FS_O_EXCL
|000200
|-
|CELL_FS_O_TRUNC
|001000
|-
|CELL_FS_O_APPEND
|002000
|-
|CELL_FS_O_MSELF
|010000
|-
|}
 
==== Classes ====
{| class="wikitable"
!Name
!Structure
!Packed
|-
|cellFsStat
|s32 st_mode; s32 st_uid; s32 st_gid; u64 st_access_time; u64 st_modify_time; u64 st_create_time; u64 st_size; u64 st_blksize;
|yes
|-
|cellFsUtimbuf
|u64 access_time; u64 modify_time;
|no
|-
|cellFsDirent
|u8 d_type; u8 d_namlen; char d_name[256];
|no
|-
|sys_spu_thread_group_cooperative_info_t
|u32 deadlineMeetCounter; u32 deadlineMissCounter; u64 timestamp; u8 unknown[48];
|no
|-
|}
 
==== FNCTL ====
{| class="wikitable"
!IOCTL ID
!Notes
|-
|0x80000000
|
|-
|0x80000004
|(SetCharacterSet?)
|-
|0x80000005
|(FsAllocateFileAreaByFd)
|-
|0x80000006
|(FsAllocateFileAreaByFd)
|-
|0x80000007
|(FsAllocateFileAreaByFd)
|-
|0x80000008
|(FsAllocateFileAreaByFd)
|-
|0x80000009
|(SdataOpenByFd)
|-
|0x8000000A
|(ReadWithOffset)
|-
|0x8000000B
|(WriteWithOffset)
|-
|0xC0000001
|()
|-
|0xC0000002
|(GetFreeSize)
|-
|0xC0000003
|(SetFakeSize)
|-
|0xC0000004
|(GetFakeSize)
|-
|0xC0000005
|(GetSystemMergin)
|-
|0xC0000006
|()
|-
|0xC0000007
|(get hdd serial)
|-
|0xC0000008
|(FsSetIoBuffer)
|-
|0xC0000009
|()
|-
|0xC000000A
|()
|-
|0xC000000B
|()
|-
|0xC000000C
|()
|-
|0xC000000D
|()
|-
|0xC000000E
|()
|-
|0xC000000F
|()
|-
|0xC0000010
|()
|-
|0xC0000011
|()
|-
|0xC0000012
|()
|-
|0xC0000013
|()
|-
|0xC0000014
|()
|-
|0xC0000015
|(get_usb_mass_serial_number?)
|-
|0xC0000016
|(ChangePs2discLayer)
|-
|0xC0000017
|(open_dummy_files)
|-
|0xC0000018
|(close_dummy_cfs_files)
|-
|0xC0000019
|()
|-
|0xC000001A
|(SetDiscReadRetrySetting)
|-
|0xC000001B
|()
|-
|0xC000001C
|(get_usb_mass_serial_number?)
|-
|0xC000001D
|(set_psp_emu_title_id_path)
|-
|0xC000001E
|(memset title id path)
|-
|0xC000001F
|(process_request_set_redirected_full_path)
|-
|0xC0000020
|()
|-
|0xE0000000
|()
|-
|0xE0000001
|()
|-
|0xE0000003
|()
|-
|0xE0000004
|()
|-
|0xE0000005
|(FsMkdir)
|-
|0xE0000006
|()
|-
|0xE0000007
|(FsRmDir)
|-
|0xE0000008
|(FsAclRead)
|-
|0xE0000009
|(FsAccess)
|-
|0xE000000A
|()
|-
|0xE000000B
|()
|-
|0xE000000C
|(FsTruncate)
|-
|0xE000000D
|(FsUtime?)
|-
|0xE000000E
|(FsAclWrite)
|-
|0xE000000F
|(Chmod?)
|-
|0xE0000010
|(FsChown)
|-
|0xE0000011
|(error 0x80010037)
|-
|0xE0000012
|(FsGetDirectoryEntries)
|-
|0xE0000013
|()
|-
|0xE0000014
|(FsSymbolicLink)
|-
|0xE0000015
|(abort?)
|-
|0xE0000016
|(FsAllocateFileAreaWithInitialData)
|-
|0xE0000017
|(FsAllocateFileAreaWithoutZeroFill)
|-
|0xE0000018
|(FsChangeFileSizeWithoutAllocation)
|-
|0xE000001A
|()
|-
|0xE000001D
|()
|-
|0xE000001E
|()
|-
|0xE000001F
|()
|-
|0xE0000020
|()
|-
|0xE0000024
|()
|-
|0xE0000025
|(FsSdataOpenWithVersion)
|-
|}
 
==== Filesystem Syscalls ====
Filesystem uses [[LV2_Functions_and_Syscalls#lv2Fs_Syscalls syscalls 700-726]]
 
=== Unofficial Syscalls added ===
See also : [http://tortuga-cove.com/forums/viewtopic.php?t=89#p155 Syscalls, what they mean for you and for multiMAN]
 
since 3.55 Sony fixed memory region restrictions and Write and Execute access permissions so that's why '''lv1 peek''' (lv2_lv1_peek - graf_chokolo) and  '''lv1 poke''' (lv2_lv1_poke - graf_chokolo) were created.
 
{| class="wikitable sortable"
!Number
!Function - Added by
!Notes
|-
| 6
| lv2_peek - PL3-DEV, PSGroove v1.1, Payloader3 / (4.2x peek)
| 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 / (4.2x poke)
| r4 is a 64 bit value. r3 is the address to write that value to.
|-
| 8
| lv2_lv1_peek - graf_chokolo / (4.3x peek) /  
| 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
| write - system_call_6(8, 0x7777, 0x32, (uint64_t)sys_process_getpid(), (uint64_t)ea, (uint64_t)data, (uint64_t)size); Read - system_call_6(8, 0x7777, 0x31, (uint64_t)sys_process_getpid(), (uint64_t)ea, (uint64_t)data, (uint64_t)size);
|-
| 8
| Remapper - Hermes4
| redirections of any paths, including /dev_usb for AVCHD HDD
|-
| 9
| lv2_lv1_poke - graf_chokolo / (4.3x poke)
| 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
|-
| 10
| lv2_lv1_call - rebug
| r10 is the lv1 syscall number. The registers r3 - r9 are arguments.
|-
| 11
| lv2_lv1_poke - jfw 'bad idea'
| r4 is a 64 bit value. r3 is the address to write that value to.
|-
|-


| 11
| for sc_ctrl - 'Starsucks MFW 4.75 V1.00'
| int sc_ctrl(int sc_num, int mode, uint64_t addr)
<!--//
to disable syscall(e.g 7)
sc_ctrl(7, 0, 0);
to redirect a syscall(e.g 7)
sc_ctrl(7, 1, 0x8000000000001798ULL);
last paramater should just redirect to tail address to your syscall
//-->
|-
| 15
| lv2_func_call - habib
| r10 is the address to the lv2 function. The registers r3 - r9 are arguments.
|-
| 35
| Remapper - PL3, PSGroove, PSFreedom
| syscall_35 (char *old_path, char *new_path);
|-
| 36
| Remapper - Hermes, PSJailbreak / (4.2x BD-Emulator)
| hardcoded /dev_bdvd & /app_home remapping
|-
| 38
| New sk1e / Hermes payload
| Syscall 8 in Iris Manager, changed to syscall 38 in IRISMAN
|-
| 200
| 200
| Run_Payload - Payloader3
| Run_Payload - Payloader3
Line 6,453: Line 5,894:
| 201
| 201
| Alloc - Payloader3
| Alloc - Payloader3
|
|-
| 200
| sys_dbg_read_process_memory - [[CCAPI]]
|
|-
| 201
| sys_dbg_write_process_memory - [[CCAPI]]
|  
|  
|-
|-
Line 6,466: Line 5,899:
| Free - Payloader3
| Free - Payloader3
|  
|  
|-
| 203
| lv2_peek - [[CCAPI]]
| false info look ccapi section
|-
| 204
| lv2_poke - [[CCAPI]]
| false info look ccapi section
|-
| 1022
| load_prx_module - PRXLoader
| system_call_6(PRX_SYSCALL, PRX_SYSCALL_LOAD, process_obj, slot, path, arg, arg_size);
|-
|-
|}
|}
Line 6,489: Line 5,910:


*Tutorial How to call a Syscall By deroad: http://www.ps3hax.net/2012/02/tutorial-how-to-call-a-syscall-by-deroad/
*Tutorial How to call a Syscall By deroad: http://www.ps3hax.net/2012/02/tutorial-how-to-call-a-syscall-by-deroad/
{{Development}}<noinclude>[[Category:Main]]</noinclude>
Please note that all contributions to PS3 Developer wiki are considered to be released under the GNU Free Documentation License 1.2 (see PS3 Developer wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following hCaptcha:

Cancel Editing help (opens in new window)