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 12: Line 12:
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;
};
};


struct sys_prx_load_module_option_t {
struct sys_prx_load_module_option_t {
Line 37: Line 36:
int64_t modres;
int64_t modres;
uint64_t pe_func; //casted to sys_prx_entry_pe_t (see sys/prx.h)
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>
</source>
Line 304: Line 291:
|-
|-
! 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 347:
|-
|-
| 1.02 Retail || || || 0x322428 ||  ||  ||  ||  
| 1.02 Retail || || || 0x322428 ||  ||  ||  ||  
|-
| 1.50 DEX || || || 0x3384A8 ||  || 0x392850 ||  ||
|-
|-
| 1.00 DEX || || || 0x3206e0 ||  ||  ||  ||  
| 1.00 DEX || || || 0x3206e0 ||  ||  ||  ||  
Line 374: Line 355:


=== 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 368:
| 1
| 1
| 0x001
| 0x001
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_process_getpid
| sys_process_getpid
Line 394: Line 375:
| 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 382:
| 3
| 3
| 0x003
| 0x003
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_process_exit
| sys_process_exit
Line 408: Line 389:
| 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
|
|
| (sys_process_create_program_segment)
|
|-
| 7
| 0x007
|
|
| (sys_process_destroy_program_segment)
|
|-
| 8
| 0x008
|
|
| (sys_process_authenticate_program_segment)
|
|-
| 9
| 0x009
|
|
| (sys_process_load_program_segment)
|
|-
| 10
| 0x00A
|
|
| (sys_process_unload_program_segment)
|
|-
| 11
| 0x00B
| 0x00B
|
| {{CEX}}{{DEX}}{{DECR}}
|
| (sys_process_find_program_segment)
|
|-
| 12
| 0x00C
| {{DECR}} {{DEX}} {{CEX}}
|
|
| sys_process_get_number_of_object
| sys_process_get_number_of_object
Line 470: Line 409:
|-
|-
| 13
| 13
| 0x00D
| 0x00C
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_process_get_id
| sys_process_get_id
Line 477: Line 416:
|-
|-
| 14
| 14
| 0x00E
| 0x00D
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_process_is_spu_lock_line_reservation_address
| sys_process_is_spu_lock_line_reservation_address
| int sys_process_is_spu_lock_line_reservation_address(sys_addr_t addr, uint64_t flags);
| int sys_process_is_spu_lock_line_reservation_address(sys_addr_t addr, uint64_t flags);
|-
|-
| 15
| 18
| 0x00F
| 0x012
|
| {{CEX}}{{DEX}}{{DECR}}
|
| (sys_process_create)
|
|-
| 17
| 0x011
|
|
| (sys_process_create_primary_ppu_thread)
|
|-
| 18
| 0x012
| {{DECR}} {{DEX}} {{CEX}}
|
|
| sys_process_getppid
| sys_process_getppid
Line 506: Line 431:
| 19
| 19
| 0x013
| 0x013
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_process_kill
| sys_process_kill
| int sys_process_kill(sys_pid_t pid);
| int sys_process_kill(sys_pid_t pid);
|-
| 20
| 0x014
|
|
| (sys_process_create_primary_ppu_thread_tls)
|
|-
|-
| 21
| 21
| 0x015
| 0x015
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Dbg}}
| {{Dbg}}
| _sys_process_spawn
| _sys_process_spawn
| int sys_process_spawn(int *pid, int prio, uint64_t flags, void *stack, int stack_size, int unk1, int unk2)
| 7 param
|-
|-
| 22
| 22
| 0x016
| 0x016
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_process_exit2
| sys_process_exit
| void sys_process_exit2(int error_code,0,0)
| void sys_process_exit(int error_code,0,0)
|-
|-
| 23
| 23
| 0x017
| 0x017
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Dbg}}
| {{Dbg}}
| sys_process_wait_for_child2
| sys_process_wait_for_child2
Line 541: Line 459:
| 24
| 24
| 0x018
| 0x018
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Dbg}}
| {{Dbg}}
|
|
Line 548: Line 466:
| 25
| 25
| 0x019
| 0x019
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
|
| sys_process_get_sdk_version
| sys_process_get_sdk_version
| int sys_process_get_sdk_version(sys_pid_t pid, uint32_t* sdk_version)
| 2 params :sys_pid_t pid, uint8_t outbuf[4]
Only needs root permission if 'pid' is not the current process.
|-
|-
| 26
| 26
| 0x01A
| 0x01A
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| _sys_process_exit as well
| _sys_process_exit as well
Line 563: Line 480:
| 27
| 27
| 0x01B
| 0x01B
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Dbg}}
| {{Dbg}}
|
|
Line 570: Line 487:
| 28
| 28
| 0x01C
| 0x01C
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
| _sys_process_get_number_of_object as well kinda
| _sys_process_get_number_of_object as well kinda
Line 577: Line 494:
| 29
| 29
| 0x01D
| 0x01D
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
| sys_process_get_id as well
| sys_process_get_id as well
Line 584: Line 501:
| 30
| 30
| 0x01E
| 0x01E
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| _sys_process_get_paramsfo
| _sys_process_get_paramsfo
| int _sys_process_get_paramsfo(uint8_t buffer[0x40]); (more info: [[#sys_process_get_paramsfo]])
| int _sys_process_get_paramsfo(uint8_t buffer[0x40]);  
returns infos from sfo.sample:
00000000  01 42 4C 45 53 38 30 36 30 38 00 00 00 00 00 00  �BLES80608......
|-
|-
| 31
| 31
| 0x01F
| 0x01F
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_process_get_ppu_guid
| sys_process_get_ppu_guid
Line 600: Line 519:
| 41
| 41
| 0x029
| 0x029
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_ppu_thread_exit
| sys_ppu_thread_exit
| int sys_ppu_thread_exit(int errorcode)
| int sys_ppu_thread_exit(int errorcode)
|-
| 42
| 0x02A
|
|
| (sys_ppu_thread_get_id)
|
|-
|-
| 43
| 43
| 0x02B
| 0x02B
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_ppu_thread_yield
| sys_ppu_thread_yield
Line 621: Line 533:
| 44
| 44
| 0x02C
| 0x02C
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_ppu_thread_join
| sys_ppu_thread_join
Line 628: Line 540:
| 45
| 45
| 0x02D
| 0x02D
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_ppu_thread_detach
| sys_ppu_thread_detach
Line 635: Line 547:
| 46
| 46
| 0x02E
| 0x02E
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_ppu_thread_get_join_state
| sys_ppu_thread_get_join_state
Line 642: Line 554:
| 47
| 47
| 0x02F
| 0x02F
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Dbg}}
| {{Dbg}}
| sys_ppu_thread_set_priority
| sys_ppu_thread_set_priority
Line 649: Line 561:
| 48
| 48
| 0x030
| 0x030
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_ppu_thread_get_priority
| sys_ppu_thread_get_priority
Line 656: Line 568:
| 49
| 49
| 0x031
| 0x031
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_ppu_thread_get_stack_information
| sys_ppu_thread_get_stack_information
Line 663: Line 575:
| 50
| 50
| 0x032
| 0x032
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
| sys_ppu_thread_stop
| sys_ppu_thread_stop
Line 670: Line 582:
| 51
| 51
| 0x033
| 0x033
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
| sys_ppu_thread_restart
| sys_ppu_thread_restart
Line 677: Line 589:
| 52
| 52
| 0x034
| 0x034
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Dbg}}
| {{Dbg}}
| sys_ppu_thread_create
| sys_ppu_thread_create
Line 684: Line 596:
| 53
| 53
| 0x035
| 0x035
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_ppu_thread_start
| sys_ppu_thread_start
Line 691: Line 603:
| 54
| 54
| 0x036
| 0x036
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
|
|
Line 698: Line 610:
| 55
| 55
| 0x037
| 0x037
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
|
|
Line 705: Line 617:
| 56
| 56
| 0x038
| 0x038
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_ppu_thread_rename
| sys_ppu_thread_rename
Line 712: Line 624:
| 57
| 57
| 0x039
| 0x039
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_ppu_thread_recover_page_fault
| sys_ppu_thread_recover_page_fault
Line 719: Line 631:
| 58
| 58
| 0x03A
| 0x03A
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_ppu_thread_get_page_fault_context
| sys_ppu_thread_get_page_fault_context
| int sys_ppu_thread_get_page_fault_context(sys_ppu_thread_t thread_id, sys_ppu_thread_icontext_t * ctxp);
| int sys_ppu_thread_get_page_fault_context(sys_ppu_thread_t thread_id, sys_ppu_thread_icontext_t * ctxp);
|-
|-
! colspan="6" id="sys_trace Syscalls"|[[#sys_trace Syscalls]] (60-69+77)
! colspan="6" id="sys_trace Syscalls"|[[#sys_trace Syscalls]] (67-69+77)
|-
|-
| 60
| 60
| 0x03C
| 0x03C
| {{DECR}} {{DEX}}
| {{DEX}} {{DECR}}
|
|
| sys_trace_create
| sys_trace_create
Line 735: Line 647:
| 61
| 61
| 0x03D
| 0x03D
| {{DECR}} {{DEX}}
| {{DEX}} {{DECR}}
|
|
| sys_trace_start
| sys_trace_start
Line 742: Line 654:
| 62
| 62
| 0x03E
| 0x03E
| {{DECR}} {{DEX}}
| {{DEX}} {{DECR}}
|
|
| sys_trace_stop
| sys_trace_stop
Line 749: Line 661:
| 63
| 63
| 0x03F
| 0x03F
| {{DECR}} {{DEX}}
| {{DEX}} {{DECR}}
|
|
| sys_trace_update_top_index
| sys_trace_update_top_index
Line 756: Line 668:
| 64
| 64
| 0x040
| 0x040
| {{DECR}} {{DEX}}
| {{DEX}} {{DECR}}
|
|
| sys_trace_destroy
| sys_trace_destroy
Line 763: Line 675:
| 65
| 65
| 0x041
| 0x041
| {{DECR}} {{DEX}}
| {{DEX}} {{DECR}}
|
|
| sys_trace_drain
| sys_trace_drain
Line 770: Line 682:
| 66
| 66
| 0x042
| 0x042
| {{DECR}} {{DEX}}
| {{DEX}} {{DECR}}
|
|
| sys_trace_attach_process
| sys_trace_attach_process
Line 777: Line 689:
| 67
| 67
| 0x043
| 0x043
| {{DECR}} {{DEX}}
| {{DEX}} {{DECR}}
|
|
| sys_trace_allocate_buffer
| sys_trace_allocate_buffer
Line 784: Line 696:
| 68
| 68
| 0x044
| 0x044
| {{DECR}} {{DEX}}
| {{DEX}} {{DECR}}
|
|
| sys_trace_free_buffer
| sys_trace_free_buffer
Line 791: Line 703:
| 69
| 69
| 0x045
| 0x045
| {{DECR}} {{DEX}}
| {{DEX}} {{DECR}}
|
|
| sys_trace_create2
| sys_trace_create2
Line 800: Line 712:
| 70
| 70
| 0x046
| 0x046
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_timer_create
| sys_timer_create
Line 807: Line 719:
| 71
| 71
| 0x047
| 0x047
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_timer_destroy
| sys_timer_destroy
Line 814: Line 726:
| 72
| 72
| 0x048
| 0x048
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_timer_get_information
| sys_timer_get_information
Line 821: Line 733:
| 73
| 73
| 0x049
| 0x049
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_timer_start
| sys_timer_start
Line 828: Line 740:
| 74
| 74
| 0x04A
| 0x04A
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_timer_stop
| sys_timer_stop
Line 835: Line 747:
| 75
| 75
| 0x04B
| 0x04B
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_timer_connect_event_queue
| sys_timer_connect_event_queue
Line 842: Line 754:
| 76
| 76
| 0x04C
| 0x04C
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_timer_disconnect_event_queue
| sys_timer_disconnect_event_queue
| int sys_timer_disconnect_event_queue(sys_timer_t timer_id);
| int sys_timer_disconnect_event_queue(sys_timer_t timer_id);
|-
|-
! colspan="6" id="sys_trace Syscalls"|[[#sys_trace Syscalls]] (60-69+77)
! colspan="6" id="sys_trace Syscalls"|[[#sys_trace Syscalls]] (67-69+77)
|-
|-
| 77
| 77
| 0x04D
| 0x04D
| {{DECR}} {{DEX}}
| {{DEX}} {{DECR}}
|
|
| sys_trace_create2_in_cbepm
| sys_trace_create2_in_cbepm
Line 867: Line 779:
| 80
| 80
| 0x050
| 0x050
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_interrupt_tag_create
| sys_interrupt_tag_create
Line 874: Line 786:
| 81
| 81
| 0x051
| 0x051
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_interrupt_tag_destroy
| sys_interrupt_tag_destroy
Line 883: Line 795:
| 82
| 82
| 0x052
| 0x052
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_event_flag_create
| sys_event_flag_create
Line 890: Line 802:
| 83
| 83
| 0x053
| 0x053
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_event_flag_destroy
| sys_event_flag_destroy
Line 899: Line 811:
| 84
| 84
| 0x054
| 0x054
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_interrupt_thread_establish
| sys_interrupt_thread_establish
Line 908: Line 820:
| 85
| 85
| 0x055
| 0x055
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_event_flag_wait
| sys_event_flag_wait
Line 915: Line 827:
| 86
| 86
| 0x056
| 0x056
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_event_flag_trywait
| sys_event_flag_trywait
Line 922: Line 834:
| 87
| 87
| 0x057
| 0x057
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_event_flag_set
| sys_event_flag_set
Line 931: Line 843:
| 88
| 88
| 0x058
| 0x058
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_interrupt_thread_eoi
| sys_interrupt_thread_eoi
Line 938: Line 850:
| 89
| 89
| 0x059
| 0x059
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_interrupt_thread_disestablish
| sys_interrupt_thread_disestablish
Line 947: Line 859:
| 90
| 90
| 0x05A
| 0x05A
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_semaphore_create
| sys_semaphore_create
Line 954: Line 866:
| 91
| 91
| 0x05B
| 0x05B
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_semaphore_destroy
| sys_semaphore_destroy
Line 961: Line 873:
| 92
| 92
| 0x05C
| 0x05C
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_semaphore_wait
| sys_semaphore_wait
Line 968: Line 880:
| 93
| 93
| 0x05D
| 0x05D
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_semaphore_trywait
| sys_semaphore_trywait
Line 975: Line 887:
| 94
| 94
| 0x05E
| 0x05E
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_semaphore_post
| sys_semaphore_post
Line 984: Line 896:
| 95
| 95
| 0x05F
| 0x05F
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| _sys_lwmutex_create
| sys_lwmutex_create
| 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_lwmutex_create(sys_lwmutex_t *lwmutex, sys_lwmutex_attribute_t *attr)
|-
|-
| 96
| 96
| 0x060
| 0x060
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| _sys_lwmutex_destroy
| sys_lwmutex_destroy
| int _sys_lwmutex_destroy(sys_lwmutex_pseudo_id_t lwmutex)
| int sys_lwmutex_destroy(sys_lwmutex_t *lwmutex)
|-
|-
| 97
| 97
| 0x061
| 0x061
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| _sys_lwmutex_lock
| sys_lwmutex_lock
| int _sys_lwmutex_lock(sys_lwmutex_pseudo_id_t lwmutex, usecond_t timeout)
| int sys_lwmutex_lock(sys_lwmutex_t *lwmutex, usecond_t timeout)
|-
|-
| 98
| 98
| 0x062
| 0x062
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| _sys_lwmutex_unlock
| sys_lwmutex_trylock
| int _sys_lwmutex_unlock(sys_lwmutex_pseudo_id_t lwmutex)
| int sys_lwmutex_trylock(sys_lwmutex_t *lwmutex)
|-
|-
| 99
| 99
| 0x063
| 0x063
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| _sys_lwmutex_trylock
| sys_lwmutex_unlock
| int _sys_lwmutex_trylock(sys_lwmutex_pseudo_id_t lwmutex)
| int sys_lwmutex_unlock(sys_lwmutex_t *lwmutex)
|-
|-
! colspan="6" id="sys_mutex Syscalls"|[[#sys_mutex Syscalls]] (100-104)
! colspan="6" id="sys_mutex Syscalls"|[[#sys_mutex Syscalls]] (100-104)
Line 1,021: Line 933:
| 100
| 100
| 0x064
| 0x064
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_mutex_create
| sys_mutex_create
Line 1,028: Line 940:
| 101
| 101
| 0x065
| 0x065
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_mutex_destroy
| sys_mutex_destroy
Line 1,035: Line 947:
| 102
| 102
| 0x066
| 0x066
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_mutex_lock
| sys_mutex_lock
Line 1,042: Line 954:
| 103
| 103
| 0x067
| 0x067
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_mutex_trylock
| sys_mutex_trylock
Line 1,049: Line 961:
| 104
| 104
| 0x068
| 0x068
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_mutex_unlock
| sys_mutex_unlock
Line 1,058: Line 970:
| 105
| 105
| 0x069
| 0x069
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_cond_create
| sys_cond_create
Line 1,065: Line 977:
| 106
| 106
| 0x06A
| 0x06A
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_cond_destroy
| sys_cond_destroy
Line 1,072: Line 984:
| 107
| 107
| 0x06B
| 0x06B
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_cond_wait
| sys_cond_wait
Line 1,079: Line 991:
| 108
| 108
| 0x06C
| 0x06C
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_cond_signal
| sys_cond_signal
Line 1,086: Line 998:
| 109
| 109
| 0x06D
| 0x06D
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_cond_signal_all
| sys_cond_signal_all
Line 1,093: Line 1,005:
| 110
| 110
| 0x06E
| 0x06E
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_cond_signal_to
| sys_cond_signal_to
Line 1,102: Line 1,014:
| 111
| 111
| 0x06F
| 0x06F
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| _sys_lwcond_create
| sys_lwcond_create
| 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_lwcond_create(sys_lwcond_t *lwcond, sys_lwmutex_t *lwmutex, sys_lwcond_attribute_t *attr)
|-
|-
| 112
| 112
| 0x070
| 0x070
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| _sys_lwcond_destroy
| sys_lwcond_destroy
| int _sys_lwcond_destroy(sys_lwcond_pseudo_id_t lwcond)
| int sys_lwcond_destroy(sys_lwcond_t *lwcond)
|-
|-
| 113
| 113
| 0x071
| 0x071
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| _sys_lwcond_queue_wait
| sys_lwcond_queue_wait
| int _sys_lwcond_queue_wait(sys_lwcond_pseudo_id_t lwcond, sys_lwmutex_pseudo_id_t lwmutex, usecond_t timeout)
| 3 params
|-
|-
! colspan="6" id="sys_semaphore Syscalls"|[[#sys_semaphore Syscalls]] (90-94+114)
! colspan="6" id="sys_semaphore Syscalls"|[[#sys_semaphore Syscalls]] (90-94+114)
Line 1,125: Line 1,037:
| 114
| 114
| 0x072
| 0x072
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_semaphore_get_value
| sys_semaphore_get_value
Line 1,132: Line 1,044:
| 115
| 115
| 0x073
| 0x073
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| _sys_lwcond_signal
|
| 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)
| 4 params
|-
|-
| 116
| 116
| 0x074
| 0x074
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
|
| _sys_lwcond_signal_all
| 3 params
| int _sys_lwcond_signal_all(sys_lwcond_pseudo_id_t lwcond, sys_lwmutex_pseudo_id_t lwmutex, uint32_t mode)
|-
|-
| 117
| 117
| 0x075
| 0x075
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
|
| _sys_lwmutex_unlock2
| 1 params : sys_lwmutex_t *lwmutex
| int _sys_lwmutex_unlock2(sys_lwmutex_pseudo_id_t lwmutex)
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)
! colspan="6" id="sys_event Syscalls"|[[#sys_event Syscalls]] (82+83+85-87+118+128-140)
Line 1,156: Line 1,067:
| 118
| 118
| 0x076
| 0x076
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_event_flag_clear
| sys_event_flag_clear
Line 1,163: Line 1,074:
| 119
| 119
| 0x077
| 0x077
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
| sys_time_get_rtc
|
| int syscall(119, uint64_t *real_time_clock); Gets ps3 real time clock value, hvsc232
| int syscall(119, uint64_t *real_time_clock); Gets ps3 real time clock value, hvsc232
|-
|-
Line 1,172: Line 1,083:
| 120
| 120
| 0x078
| 0x078
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_rwlock_create
| sys_rwlock_create
Line 1,179: Line 1,090:
| 121
| 121
| 0x079
| 0x079
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_rwlock_destroy
| sys_rwlock_destroy
Line 1,186: Line 1,097:
| 122
| 122
| 0x07A
| 0x07A
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_rwlock_rlock
| sys_rwlock_rlock
Line 1,193: Line 1,104:
| 123
| 123
| 0x07B
| 0x07B
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_rwlock_tryrlock
| sys_rwlock_tryrlock
Line 1,200: Line 1,111:
| 124
| 124
| 0x07C
| 0x07C
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_rwlock_runlock
| sys_rwlock_runlock
Line 1,207: Line 1,118:
| 125
| 125
| 0x07D
| 0x07D
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_rwlock_wlock
| sys_rwlock_wlock
Line 1,214: Line 1,125:
| 126
| 126
| 0x07E
| 0x07E
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_rwlock_trywlock
| sys_rwlock_trywlock
Line 1,221: Line 1,132:
| 127
| 127
| 0x07F
| 0x07F
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_rwlock_wunlock
| sys_rwlock_wunlock
Line 1,230: Line 1,141:
| 128
| 128
| 0x080
| 0x080
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_event_queue_create
| sys_event_queue_create
Line 1,237: Line 1,148:
| 129
| 129
| 0x081
| 0x081
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_event_queue_destroy
| sys_event_queue_destroy
Line 1,244: Line 1,155:
| 130
| 130
| 0x082
| 0x082
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_event_queue_receive
| sys_event_queue_receive
Line 1,251: Line 1,162:
| 131
| 131
| 0x083
| 0x083
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_event_queue_tryreceive
| sys_event_queue_tryreceive
Line 1,258: Line 1,169:
| 132
| 132
| 0x084
| 0x084
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_event_flag_cancel
| sys_event_flag_cancel
Line 1,265: Line 1,176:
| 133
| 133
| 0x085
| 0x085
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_event_queue_drain
| sys_event_queue_drain
Line 1,272: Line 1,183:
| 134
| 134
| 0x086
| 0x086
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_event_port_create
| sys_event_port_create
Line 1,279: Line 1,190:
| 135
| 135
| 0x087
| 0x087
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_event_port_destroy
| sys_event_port_destroy
Line 1,286: Line 1,197:
| 136
| 136
| 0x088
| 0x088
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_event_port_connect_local
| sys_event_port_connect_local
Line 1,293: Line 1,204:
| 137
| 137
| 0x089
| 0x089
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_event_port_disconnect
| sys_event_port_disconnect
Line 1,300: Line 1,211:
| 138
| 138
| 0x08A
| 0x08A
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_event_port_send
| sys_event_port_send
Line 1,307: Line 1,218:
| 139
| 139
| 0x08B
| 0x08B
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_event_flag_get
| sys_event_flag_get
Line 1,314: Line 1,225:
| 140
| 140
| 0x08C
| 0x08C
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_event_port_connect_ipc
| sys_event_port_connect_ipc
Line 1,323: Line 1,234:
| 141
| 141
| 0x08D
| 0x08D
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_timer_usleep
| sys_timer_usleep
Line 1,330: Line 1,241:
| 142
| 142
| 0x08E
| 0x08E
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_timer_sleep
| sys_timer_sleep
Line 1,339: Line 1,250:
| 143
| 143
| 0x08F
| 0x08F
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
| sys_time_set_timezone
| sys_time_set_timezone
Line 1,346: Line 1,257:
| 144
| 144
| 0x090
| 0x090
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_time_get_timezone
| sys_time_get_timezone
Line 1,353: Line 1,264:
| 145
| 145
| 0x091
| 0x091
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_time_get_current_time
| sys_time_get_current_time
Line 1,360: Line 1,271:
| 146
| 146
| 0x092
| 0x092
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
| sys_time_set_current_time
| sys_time_set_current_time
Line 1,367: Line 1,278:
| 147
| 147
| 0x093
| 0x093
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_time_get_timebase_frequency
| sys_time_get_timebase_frequency
Line 1,376: Line 1,287:
| 148
| 148
| 0x094
| 0x094
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_rwlock_trywlock
| sys_rwlock_trywlock
Line 1,385: Line 1,296:
| 150
| 150
| 0x096
| 0x096
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_raw_spu_create_interrupt_tag
| sys_raw_spu_create_interrupt_tag
Line 1,392: Line 1,303:
| 151
| 151
| 0x097
| 0x097
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_raw_spu_set_int_mask
| sys_raw_spu_set_int_mask
Line 1,399: Line 1,310:
| 152
| 152
| 0x098
| 0x098
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_raw_spu_get_int_mask
| sys_raw_spu_get_int_mask
Line 1,406: Line 1,317:
| 153
| 153
| 0x099
| 0x099
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_raw_spu_set_int_stat
| sys_raw_spu_set_int_stat
Line 1,413: Line 1,324:
| 154
| 154
| 0x09A
| 0x09A
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_raw_spu_get_int_stat
| sys_raw_spu_get_int_stat
Line 1,420: Line 1,331:
| 155
| 155
| 0x09B
| 0x09B
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_spu_image_get_information
| sys_spu_image_get_information?
| int sys_spu_image_get_information(sys_spu_image_t *img, int *entry_point, int *nsegs)
| int sys_spu_image_get_information?(sys_spu_image_t *img, out:uint[4],out:uint[4])
|-
|-
| 156
| 156
| 0x09C
| 0x09C
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_spu_image_open
| sys_spu_image_open
Line 1,434: Line 1,345:
| 157
| 157
| 0x09D
| 0x09D
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_spu_image_import
| sys_spu_image_import
Line 1,441: Line 1,352:
| 158
| 158
| 0x09E
| 0x09E
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_spu_image_close
| sys_spu_image_close
Line 1,448: Line 1,359:
| 159
| 159
| 0x09F
| 0x09F
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_spu_image_get_segments
| sys_raw_spu_load
| int sys_spu_image_get_segments(sys_spu_image_t *img, sys_spu_segment_t* segments, int size)
| 3 Params ( sys_spu_image_t * img, sys_addr_t alloc_addr, int size? ), needs much more proper information
Used by sys_raw_spu_load liblv2 function.
|-
|-
| 160
| 160
| 0x0A0
| 0x0A0
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_raw_spu_create
| sys_raw_spu_create
Line 1,463: Line 1,373:
| 161
| 161
| 0x0A1
| 0x0A1
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_raw_spu_destroy
| sys_raw_spu_destroy
Line 1,470: Line 1,380:
| 163
| 163
| 0x0A3
| 0x0A3
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_raw_spu_read_puint_mb
| sys_raw_spu_read_puint_mb
Line 1,477: Line 1,387:
| 165
| 165
| 0x0A5
| 0x0A5
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_spu_thread_get_exit_status
| sys_spu_thread_get_exit_status
Line 1,484: Line 1,394:
| 166
| 166
| 0x0A6
| 0x0A6
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_spu_thread_set_argument
| sys_spu_thread_set_argument
Line 1,491: Line 1,401:
| 167
| 167
| 0x0A7
| 0x0A7
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_spu_thread_group_start_on_exit
| sys_spu_thread_group_start_on_exit
Line 1,498: Line 1,408:
| 169
| 169
| 0x0A9
| 0x0A9
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_spu_initialize
| sys_spu_initialize
| int sys_spu_initialize(uint32_t max_usable_spu, uint32_t max_raw_spu)
| int sys_spu_initialize(unsigned int max_usable_spu, unsigned int max_raw_spu)
|-
|-
| 170
| 170
| 0x0AA
| 0x0AA
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_spu_thread_group_create
| sys_spu_thread_group_create
| 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_group_create(sys_spu_thread_group_t *id, unsigned int num, int prio, sys_spu_thread_group_attribute_t *attr)
|-
|-
| 171
| 171
| 0x0AB
| 0x0AB
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_spu_thread_group_destroy
| sys_spu_thread_group_destroy
Line 1,519: Line 1,429:
| 172
| 172
| 0x0AC
| 0x0AC
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_spu_thread_initialize
| sys_spu_thread_initialize
| 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_initialize(sys_spu_thread_t *thread,sys_spu_thread_group_t group,uint spu_num,sys_spu_image_t *img,sys_spu_thread_attribute_t *attr,sys_spu_thread_argument_t *arg)
|-
|-
| 173
| 173
| 0x0AD
| 0x0AD
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_spu_thread_group_start
| sys_spu_thread_group_start
Line 1,533: Line 1,443:
| 174
| 174
| 0x0AE
| 0x0AE
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_spu_thread_group_suspend
| sys_spu_thread_group_suspend
Line 1,540: Line 1,450:
| 175
| 175
| 0x0AF
| 0x0AF
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_spu_thread_group_resume
| sys_spu_thread_group_resume
Line 1,547: Line 1,457:
| 176
| 176
| 0x0B0
| 0x0B0
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_spu_thread_group_yield
| sys_spu_thread_group_yield
Line 1,554: Line 1,464:
| 177
| 177
| 0x0B1
| 0x0B1
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_spu_thread_group_terminate
| sys_spu_thread_group_terminate
Line 1,561: Line 1,471:
| 178
| 178
| 0x0B2
| 0x0B2
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_spu_thread_group_join
| sys_spu_thread_group_join
Line 1,568: Line 1,478:
| 179
| 179
| 0x0B3
| 0x0B3
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_spu_thread_group_set_priority
| sys_spu_thread_group_set_priority
Line 1,575: Line 1,485:
| 180
| 180
| 0x0B4
| 0x0B4
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_spu_thread_group_get_priority
| sys_spu_thread_group_get_priority
Line 1,582: Line 1,492:
| 181
| 181
| 0x0B5
| 0x0B5
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_spu_thread_write_ls
| sys_spu_thread_write_ls
Line 1,589: Line 1,499:
| 182
| 182
| 0x0B6
| 0x0B6
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_spu_thread_read_ls
| sys_spu_thread_read_ls
| int sys_spu_thread_read_ls(sys_spu_thread_t id, uint32_t address, uint64_t *value, size_t type)
| int sys_spu_thread_read_ls(sys_spu_thread_t id, uint32_t address, uint64_t *value, size_t type)
|-
| 183
| 0x0B7
|
|
| (sys_spu_thread_enqueue_dma)
|
|-
|-
| 184
| 184
| 0x0B8
| 0x0B8
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_spu_thread_write_snr
| sys_spu_thread_write_snr
Line 1,610: Line 1,513:
| 185
| 185
| 0x0B9
| 0x0B9
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_spu_thread_group_connect_event
| sys_spu_thread_group_connect_event
Line 1,617: Line 1,520:
| 186
| 186
| 0x0BA
| 0x0BA
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_spu_thread_group_disconnect_event
| sys_spu_thread_group_disconnect_event
Line 1,624: Line 1,527:
| 187
| 187
| 0x0BB
| 0x0BB
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_spu_thread_set_spu_cfg
| sys_spu_thread_set_spu_cfg
Line 1,631: Line 1,534:
| 188
| 188
| 0x0BC
| 0x0BC
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_spu_thread_get_spu_cfg
| sys_spu_thread_get_spu_cfg
| int sys_spu_thread_get_spu_cfg(sys_spu_thread_t id, uint64_t *value)
| int sys_spu_thread_get_spu_cfg(sys_spu_thread_t id, uint64_t *value)
|-
| 189
| 0x0BD
|
|
| (sys_spu_thread_read_pu_mb)
|
|-
|-
| 190
| 190
| 0x0BE
| 0x0BE
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_spu_thread_write_spu_mb
| sys_spu_thread_write_spu_mb
Line 1,652: Line 1,548:
| 191
| 191
| 0x0BF
| 0x0BF
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_spu_thread_connect_event
| sys_spu_thread_connect_event
Line 1,659: Line 1,555:
| 192
| 192
| 0x0C0
| 0x0C0
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_spu_thread_disconnect_event
| sys_spu_thread_disconnect_event
Line 1,666: Line 1,562:
| 193
| 193
| 0x0C1
| 0x0C1
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_spu_thread_bind_queue
| sys_spu_thread_bind_queue
Line 1,673: Line 1,569:
| 194
| 194
| 0x0C2
| 0x0C2
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_spu_thread_unbind_queue
| sys_spu_thread_unbind_queue
Line 1,680: Line 1,576:
| 196
| 196
| 0x0C4
| 0x0C4
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_raw_spu_set_spu_cfg
| sys_raw_spu_set_spu_cfg
Line 1,687: Line 1,583:
| 197
| 197
| 0x0C5
| 0x0C5
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_raw_spu_get_spu_cfg
| sys_raw_spu_get_spu_cfg
Line 1,694: Line 1,590:
| 198
| 198
| 0x0C6
| 0x0C6
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_spu_thread_recover_page_fault
| sys_spu_thread_recover_page_fault
Line 1,701: Line 1,597:
| 199
| 199
| 0x0C7
| 0x0C7
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_raw_spu_recover_page_fault
| sys_raw_spu_recover_page_fault
Line 1,710: Line 1,606:
|  
|  
|
|
| (console_putc)
|  
|  
|  
|-
|-
Line 1,717: Line 1,613:
|  
|  
|
|
| (console_getc)
|  
|  
|  
|-
|-
Line 1,724: Line 1,620:
|  
|  
|
|
| (event_create_port)
|  
|  
|  
|-
|-
Line 1,731: Line 1,627:
|  
|  
|
|
| (event_send_locally)
|  
|  
|  
|-
|-
Line 1,738: Line 1,634:
|  
|  
|
|
| (sys_pseudo_fs_read)
|  
|  
|  
|-
|-
Line 1,745: Line 1,641:
|  
|  
|
|
| (sys_pseudo_fs_write)
|  
|  
|  
|-
|-
Line 1,752: Line 1,648:
|  
|  
|
|
| (sys_pseudo_fs_append)
|  
|  
|  
|-
|-
Line 1,759: Line 1,655:
|  
|  
|
|
| (start_debug)
|  
|  
|  
|-
|-
Line 1,766: Line 1,662:
|  
|  
|
|
| (console_write)
|  
|  
|  
|-
|-
Line 1,773: Line 1,669:
|  
|  
|
|
| (sys_pseudo_fs_get_file_size)
|  
|  
|  
|-
|-
| 215
| 215
| 0x0D7
| 0x0D7
| {{DECR}} {{DEX}}
| {{DEX}} {{DECR}}
|
|
| sys_dbg_mat_set_condition  
| sys_dbg_mat_set_condition  
(logical_console_open)
| int sys_dbg_mat_set_condition(sys_addr_t,int)
| int sys_dbg_mat_set_condition(sys_addr_t,int)
|-
|-
| 216
| 216
| 0x0D8
| 0x0D8
| {{DECR}} {{DEX}}
| {{DEX}} {{DECR}}
|
|
| sys_dbg_mat_get_condition
| sys_dbg_mat_get_condition
(logical_console_close)
| int sys_dbg_mat_get_condition(sys_addr_t,int*)
| int sys_dbg_mat_get_condition(sys_addr_t,int*)
|-
|-
Line 1,796: Line 1,690:
| {{DECR}}
| {{DECR}}
| {{Dbg}}
| {{Dbg}}
| (logical_console_getc)
|  
|  
|  
|-
|-
Line 1,803: Line 1,697:
| {{DECR}}
| {{DECR}}
| {{Dbg}}
| {{Dbg}}
| (logical_console_putc)
|  
|  
|  
|-
|-
Line 1,810: Line 1,704:
| {{DECR}}
| {{DECR}}
| {{Dbg}}
| {{Dbg}}
| (logical_console_flush)
|  
|  
|  
|-
|-
Line 1,817: Line 1,711:
|  
|  
|
|
| (get_logical_partition_id)
|  
|  
|  
|-
|-
| 230
| 230
| 0x0E6
| 0x0E6
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
| sys_isolated_spu_create
| sys_isolated_spu_create
Line 1,829: Line 1,723:
| 231
| 231
| 0x0E7
| 0x0E7
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
| sys_isolated_spu_destroy
| sys_isolated_spu_destroy
Line 1,836: Line 1,730:
| 232
| 232
| 0x0E8
| 0x0E8
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
| sys_isolated_spu_start
| sys_isolated_spu_start
Line 1,843: Line 1,737:
| 233
| 233
| 0x0E9
| 0x0E9
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
| sys_isolated_spu_create_interrupt_tag
| sys_isolated_spu_create_interrupt_tag
Line 1,850: Line 1,744:
| 234
| 234
| 0x0EA
| 0x0EA
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
| sys_isolated_spu_set_int_mask
| sys_isolated_spu_set_int_mask
Line 1,857: Line 1,751:
| 235
| 235
| 0x0EB
| 0x0EB
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
| sys_isolated_spu_get_int_mask
| sys_isolated_spu_get_int_mask
Line 1,864: Line 1,758:
| 236
| 236
| 0x0EC
| 0x0EC
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
| sys_isolated_spu_set_int_stat
| sys_isolated_spu_set_int_stat
Line 1,871: Line 1,765:
| 237
| 237
| 0x0ED
| 0x0ED
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
| sys_isolated_spu_get_int_stat
| sys_isolated_spu_get_int_stat
Line 1,878: Line 1,772:
| 238
| 238
| 0x0EE
| 0x0EE
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
| sys_isolated_spu_set_spu_cfg
| sys_isolated_spu_set_spu_cfg
Line 1,885: Line 1,779:
| 239
| 239
| 0x0EF
| 0x0EF
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
| sys_isolated_spu_get_spu_cfg
| sys_isolated_spu_get_spu_cfg
Line 1,892: Line 1,786:
| 240
| 240
| 0x0F0
| 0x0F0
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
| sys_isolated_spu_read_puint_mb
| sys_isolated_spu_read_puint_mb
Line 1,899: Line 1,793:
| 244
| 244
| 0x0F4
| 0x0F4
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
| sys_spu_thread_group_system_set_next_group
| sys_spu_thread_group_system_set_next_group
Line 1,906: Line 1,800:
| 245
| 245
| 0x0F5
| 0x0F5
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
| sys_spu_thread_group_system_unset_next_group
| sys_spu_thread_group_system_unset_next_group
Line 1,913: Line 1,807:
| 246
| 246
| 0x0F6
| 0x0F6
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
| sys_spu_thread_group_system_set_switch_group
| sys_spu_thread_group_system_set_switch_group
Line 1,920: Line 1,814:
| 247
| 247
| 0x0F7
| 0x0F7
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
| sys_spu_thread_group_system_unset_switch_group
| sys_spu_thread_group_system_unset_switch_group
Line 1,927: Line 1,821:
| 248
| 248
| 0x0F8
| 0x0F8
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
| sys_spu_thread_group....
| sys_spu_thread_group....
Line 1,934: Line 1,828:
| 249
| 249
| 0x0F9
| 0x0F9
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
| sys_spu_thread_group....
| sys_spu_thread_group....
Line 1,941: Line 1,835:
| 250
| 250
| 0x0FA
| 0x0FA
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_spu_thread_group_set_cooperative_victims
| sys_spu_thread_group_set_cooperative_victims
| int sys_spu_thread_group_set_cooperative_victims(sys_spu_thread_group_t group, u32 threads_mask)
| 2 Params
Only allowed for COOPERATE_WITH_SYSTEM spu thread group types.
|-
|-
| 251
| 251
| 0x0FB
| 0x0FB
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_spu_thread_group_connect_event_all_threads
| sys_spu_thread_group_connect_event_all_threads
Line 1,956: Line 1,849:
| 252
| 252
| 0x0FC
| 0x0FC
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_spu_thread_group_disconnect_event_all_threads
| sys_spu_thread_group_disconnect_event_all_threads
Line 1,963: Line 1,856:
| 253
| 253
| 0x0FD
| 0x0FD
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_spu_thread_group_get_cooperative_information
| sys_spu_thread_group..
| int sys_spu_thread_group_get_cooperative_information(sys_spu_thread_group_t id, sys_spu_thread_group_cooperative_info_t* info)
| 2 Params( sys_spu_thread_group_t id, out:uint8[0x40])
Only allowed for COOPERATE_WITH_SYSTEM spu thread group types.
|-
|-
| 254
| 254
| 0x0FE
| 0x0FE
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_spu_thread_group_log
| sys_spu_thread_group_log
Line 1,978: Line 1,870:
| 260
| 260
| 0x104
| 0x104
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_spu_image_open_by_fd
| sys_spu_image_open_by_fd
| int sys_spu_image_open_by_fd(sys_spu_image_t *img, int fd, off64_t offset)
| int sys_spu_image_open_by_fd(sys_spu_image_t *img, int fd, off64_t offset)
|-
| 295
|
|
|
| (sys_pseudo_fs_truncate)
|
|-
| 296
|
|
|
| (sys_pseudo_fs_get_dents)
|
|-
|-
! colspan="6" id="sys_vm/sys_memory/sys_mmapper Syscalls"|[[#sys_vm/sys_memory/sys_mmapper Syscalls]] (300-352)
! colspan="6" id="sys_vm/sys_memory/sys_mmapper Syscalls"|[[#sys_vm/sys_memory/sys_mmapper Syscalls]] (300-352)
Line 2,001: Line 1,879:
| 300
| 300
| 0x12C
| 0x12C
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_vm_memory_map
| sys_vm_memory_map
Line 2,008: Line 1,886:
| 301
| 301
| 0x12D
| 0x12D
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_vm_unmap
| sys_vm_unmap
Line 2,015: Line 1,893:
| 302
| 302
| 0x12E
| 0x12E
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_vm_append_memory
| sys_vm_append_memory
Line 2,022: Line 1,900:
| 303
| 303
| 0x12F
| 0x12F
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_vm_return_memory
| sys_vm_return_memory
Line 2,029: Line 1,907:
| 304
| 304
| 0x130
| 0x130
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_vm_lock
| sys_vm_lock
Line 2,036: Line 1,914:
| 305
| 305
| 0x131
| 0x131
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_vm_unlock
| sys_vm_unlock
Line 2,043: Line 1,921:
| 306
| 306
| 0x132
| 0x132
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_vm_touch
| sys_vm_touch
Line 2,050: Line 1,928:
| 307
| 307
| 0x133
| 0x133
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_vm_flush
| sys_vm_flush
Line 2,057: Line 1,935:
| 308
| 308
| 0x134
| 0x134
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_vm_invalidate
| sys_vm_invalidate
Line 2,064: Line 1,942:
| 309
| 309
| 0x135
| 0x135
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_vm_store
| sys_vm_store
Line 2,071: Line 1,949:
| 310
| 310
| 0x136
| 0x136
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_vm_sync
| sys_vm_sync
Line 2,078: Line 1,956:
| 311
| 311
| 0x137
| 0x137
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_vm_test
| sys_vm_test
Line 2,085: Line 1,963:
| 312
| 312
| 0x138
| 0x138
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_vm_get_statistics
| sys_vm_get_statistics
Line 2,092: Line 1,970:
| 313
| 313
| 0x139
| 0x139
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| diff sys_vm_memory_map
| diff sys_vm_memory_map
Line 2,099: Line 1,977:
| 314
| 314
| 0x13A
| 0x13A
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
|
|
Line 2,106: Line 1,984:
| 315
| 315
| 0x13B
| 0x13B
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
|
|
Line 2,113: Line 1,991:
| 324
| 324
| 0x144
| 0x144
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{dbg}}
| {{dbg}}
| sys_memory_container_create
| sys_memory_container_create
Line 2,120: Line 1,998:
| 325
| 325
| 0x145
| 0x145
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{dbg}}
| {{dbg}}
| sys_memory_container_destroy
| sys_memory_container_destroy
Line 2,127: Line 2,005:
| 326
| 326
| 0x146
| 0x146
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_mmapper_allocate_fixed_address
| sys_mmapper_allocate_fixed_address
Line 2,134: Line 2,012:
| 327
| 327
| 0x147
| 0x147
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_mmapper_enable_page_fault_notification
| sys_mmapper_enable_page_fault_notification
Line 2,141: Line 2,019:
| 328
| 328
| 0x148
| 0x148
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_mmapper_allocate_shared_memory_from_container_ext
|
| 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)
| 7 Params
|-
|-
| 329
| 329
| 0x149
| 0x149
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_mmapper_free_shared_memory
| sys_mmapper_free_shared_memory
Line 2,155: Line 2,033:
| 330
| 330
| 0x14A
| 0x14A
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_mmapper_allocate_address
| sys_mmapper_allocate_address
Line 2,162: Line 2,040:
| 331
| 331
| 0x14B
| 0x14B
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_mmapper_free_address
| sys_mmapper_free_address
Line 2,169: Line 2,047:
| 332
| 332
| 0x14C
| 0x14C
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_mmapper_allocate_shared_memory
| sys_mmapper_allocate_shared_memory
| int sys_mmapper_allocate_shared_memory(u64 shmem_key, size_t size, size_t alignment, sys_memory_t* mem_id)  
| 4 Params: (size_t size, uint64_t flags, size_t alignment, sys_addr_t * alloc_addr) ?
|-
|-
| 333
| 333
| 0x14D
| 0x14D
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_mmapper_set_shared_memory_flag
| sys_mmapper_set_shared_memory_flag
Line 2,183: Line 2,061:
| 334
| 334
| 0x14E
| 0x14E
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_mmapper_map_shared_memory
| sys_mmapper_map_shared_memory
| int sys_mmapper_map_shared_memory(sys_addr_t start_addr, sys_memory_t mem_id, uint64_t flags)
| 3 Params: (sys_addr_t start_addr, sys_memory_t mem_id, uint64_t flags) ?
|-
|-
| 335
| 335
| 0x14F
| 0x14F
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_mmapper_unmap_shared_memory
| sys_mmapper_unmap_shared_memory
| int sys_mmapper_unmap_shared_memory(sys_addr_t start_addr,sys_memory_t *mem_id)
| 2 Params: (sys_addr_t start_addr,sys_memory_t *mem_id ) ?
|-
|-
| 336
| 336
| 0x150
| 0x150
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_mmapper_change_address_access_right
| sys_mmapper_change_address_access_right
Line 2,204: Line 2,082:
| 337
| 337
| 0x151
| 0x151
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_mmapper_search_and_map
| sys_mmapper_search_and_map
Line 2,211: Line 2,089:
| 338
| 338
| 0x152
| 0x152
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_mmapper_get_shared_memory_attribute
| sys_mmapper_get_shared_memory_attribute
Line 2,218: Line 2,096:
| 339
| 339
| 0x153
| 0x153
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
|
| sys_mmapper_allocate_shared_memory_ext
| 5 Params
| 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)
|-
|-
| 340
| 340
| 0x154
| 0x154
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
|
|
Line 2,232: Line 2,110:
| 341
| 341
| 0x155
| 0x155
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| _sys_memory_container_create
| _sys_memory_container_create2 ?
| int _sys_memory_container_create(sys_memory_container_t * cid, size_t yield_size);
| int _sys_memory_container_create2(sys_memory_container_t * cid, size_t yield_size);
|-
|-
| 342
| 342
| 0x156
| 0x156
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_memory_container_destroy
| sys_memory_container_destroy?
| int sys_memory_container_destroy(sys_memory_container_t cid);
| int sys_memory_container_destroy? (sys_memory_container_t cid);
|-
|-
| 343
| 343
| 0x157
| 0x157
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_memory_container_get_size
| sys_memory_container_get_size
Line 2,260: Line 2,138:
| 345
| 345
| 0x159
| 0x159
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
|
|
Line 2,267: Line 2,145:
| 346
| 346
| 0x15A
| 0x15A
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
|
|
|
|-
| 347
| 0x15B
|
|
| (sys_mmapper_map_mmio_area)
|
|
|-
|-
| 348
| 348
| 0x15C
| 0x15C
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_memory_allocate
| sys_memory_allocate
Line 2,288: Line 2,159:
| 349
| 349
| 0x15D
| 0x15D
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_memory_free
| sys_memory_free
Line 2,295: Line 2,166:
| 350
| 350
| 0x15E
| 0x15E
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_memory_allocate_from_container
| sys_memory_allocate_from_container
Line 2,302: Line 2,173:
| 351
| 351
| 0x15F
| 0x15F
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_memory_get_page_attribute
| sys_memory_get_page_attribute
Line 2,309: Line 2,180:
| 352
| 352
| 0x160
| 0x160
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_memory_get_user_memory_size
| sys_memory_get_user_memory_size
Line 2,316: Line 2,187:
| 353
| 353
| 0x161
| 0x161
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_memory_get_user_memory_stat
| sys_memory_get_user_memory_stat
Line 2,323: Line 2,194:
| 354
| 354
| 0x162
| 0x162
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
|
|
Line 2,330: Line 2,201:
| 355
| 355
| 0x163
| 0x163
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
|
|
Line 2,337: Line 2,208:
| 356
| 356
| 0x164
| 0x164
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_memory_allocate_colored
| sys_memory_allocate_colored
Line 2,344: Line 2,215:
| 357
| 357
| 0x165
| 0x165
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
|
|
Line 2,351: Line 2,222:
| 358
| 358
| 0x166
| 0x166
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
|
|
Line 2,358: Line 2,229:
| 359
| 359
| 0x167
| 0x167
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
|
| (sys_mmapper_unmap_mmio_area)
| 2 Params
| 2 Params
|-
|-
| 360
| 360
| 0x168
| 0x168
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
|
|
Line 2,372: Line 2,243:
| 361
| 361
| 0x169
| 0x169
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_memory_allocate_from_container_colored
| sys_memory_allocate_from_container_colored
Line 2,379: Line 2,250:
| 362
| 362
| 0x16A
| 0x16A
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_mmapper_allocate_memory_from_container
| sys_mmapper_allocate_memory_from_container
Line 2,386: Line 2,257:
| 363
| 363
| 0x16B
| 0x16B
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
|
|
Line 2,402: Line 2,273:
| 367
| 367
| 0x16F
| 0x16F
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
| sys_uart_initialize
| sys_uart_initialize
Line 2,409: Line 2,280:
| 368
| 368
| 0x170
| 0x170
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
| sys_uart_receive
| sys_uart_receive
Line 2,416: Line 2,287:
| 369
| 369
| 0x171
| 0x171
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
| sys_uart_send
| sys_uart_send
Line 2,429: Line 2,300:
| 370
| 370
| 0x172
| 0x172
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
| sys_uart_get_params
| sys_uart_get_params
Line 2,438: Line 2,309:
| 372
| 372
| 0x174
| 0x174
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_game_watchdog_start
| sys_game_watchdog_start
Line 2,445: Line 2,316:
| 373
| 373
| 0x175
| 0x175
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_game_watchdog_stop
| sys_game_watchdog_stop
Line 2,452: Line 2,323:
| 374
| 374
| 0x176
| 0x176
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_game_watchdog_clear
| sys_game_watchdog_clear
Line 2,459: Line 2,330:
| 375
| 375
| 0x177
| 0x177
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
| sys_game_set_system_sw_version
| sys_game_set_system_sw_version
Line 2,466: Line 2,337:
| 376
| 376
| 0x178
| 0x178
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
| sys_game_get_system_sw_version
| sys_game_get_system_sw_version
Line 2,475: Line 2,346:
| 377
| 377
| 0x179
| 0x179
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
| sys_sm_set_shop_mode
| sys_sm_set_shop_mode
Line 2,482: Line 2,353:
| 378
| 378
| 0x17A
| 0x17A
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
| sys_sm_get_ext_event2
| sys_sm_get_ext_event2
Line 2,489: Line 2,360:
| 379
| 379
| 0x17B
| 0x17B
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
| sys_sm_shutdown
| sys_sm_shutdown
Line 2,498: Line 2,369:
  0x8201 = load lpar id 1
  0x8201 = load lpar id 1
  0x8202 = load lpar id 2
  0x8202 = load lpar id 2
  0x8204 = load lpar id 3 (PS2_NETEMU)
  0x8204 = load lpar id 3
HV System Manager access - ServiceID 1 (REQUEST)+ 10 (DELIVER INTER LPAR PARAMETER)
HV System Manager access - ServiceID 1 (REQUEST)+ 10 (DELIVER INTER LPAR PARAMETER)
|-
|-
| 380
| 380
| 0x17C
| 0x17C
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Dbg}}  
| {{Dbg}}  
| sys_sm_get_params
| sys_sm_get_params
| alias sys_get_system_parameter, 4 Params: uint64_t * unknown1, uint64_t * unknown2, uint64_t * unknown3, uint64_t * bootparam? (more info: [[#Boot_Parameter]])
| alias sys_get_system_parameter, 4 Params: uint64_t * unknown1, uint64_t * unknown2, uint64_t * unknown3, uint64_t * unknown4
|-
|-
| 381
| 381
| 0x17D
| 0x17D
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}  
| {{Root}}  
| sys_sm_get_inter_lpar_parameter
| sys_sm_get_inter_lpar_parameter?
| 2Params: syscall(381,uint8_t lpar_parameter[param_size], int param_size (0x600));
| 2Params: syscall(381,uint8_t lpar_parameter[param_size], int param_size (0x600));
|-
|-
| 382
| 382
| 0x17E
| 0x17E
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
| sys_sm_initialize
| sys_sm_
| int syscall(382, void); - prevents ps3 lpar shutdown ?
| int syscall(382, void); - prevents ps3 lpar shutdown ?
|-
|-
| 383
| 383
| 0x17F
| 0x17F
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
| sys_game_get_temperature
| sys_game_get_temperature
| int sys_game_get_temperature(uint8_t tzone, uint32_t *temperature) ( HV System Manager access - ServiceID 13 (TEMPERATURE))
| 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>
2nd Byte conversion: r.shift (second_byte * 0x64 ) by 8<br>
Example: 195 = 0xC3 -> 0xC3 * 0x64 -> 0x4C2C ->> shift -> 0x4C -> XX.76°C
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
| 384
| 0x180
| 0x180
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
| sys_sm_get_tzpb
| 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
| 1 Param: syscall(384,uint64_t *tzpb); (uint8_t [0x20]) Get TimeZone Presence <br> HV System Manager access - ServiceID 15
|-
|-
| 385
| 385
| 0x181
| 0x181
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
| sys_sm_request_led
| sys_sm_request_led
Line 2,553: Line 2,418:
| 386
| 386
| 0x182
| 0x182
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
| sys_sm_control_led
| sys_sm_control_led
| 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)
| 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)
|-
|-
| 387
| 387
| 0x183
| 0x183
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Dbg}}
| {{Dbg}}
| sys_sm_get_system_info
| sys_sm_get_platform_info?
| syscall(387, uint8_t platform_info[0x18]) / OS Version, Revision, System Software Version? <!--///*
| syscall(387, uint8_t platform_info[0x18]) / OS Version, Revision, System Software Version? <!--///*
  * lv2_get_platform_info
  * lv2_get_platform_info
Line 2,573: Line 2,438:
| 388
| 388
| 0x184
| 0x184
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
| sys_sm_ring_buzzer_too
| sys_sm_ring_buzzer_too
Line 2,580: Line 2,445:
| 389
| 389
| 0x185
| 0x185
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Productmode}}
| {{Productmode}}
| sys_sm_set_fan_policy
| 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) //--><br>Similar than the [[Syscon Firmware|syscon UART]] external command ''"FAN SETPOLICY"'' or the internal command ''"fanconpolicy set"''
| int sys_sm_set_fan_policy (in:uint8, in:uint8, in:uint8)<!--// int sys_sm_set_fan_policy(u8 arg0, u8 arg1, u8 arg2) //-->
|-
|-
| 390
| 390
| 0x186
| 0x186
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
| sys_sm_request_error_log
| sys_sm_request_error_log
Line 2,595: Line 2,460:
| 391
| 391
| 0x187
| 0x187
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
| sys_sm_request_be_count
| sys_sm_request_be_count
| 4 Params
| 4 Params
  uint8_t * status,
  uint8_t *,
  uint32_t* total_time_in_seconds,
  uint32_t* total_time_in_seconds,
  uint32_t* power_on_counter,
  uint32_t* power_on_counter,
Line 2,608: Line 2,473:
| 392
| 392
| 0x188
| 0x188
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
| sys_sm_ring_buzzer
| sys_sm_ring_buzzer
Line 2,621: Line 2,486:
| 393
| 393
| 0x189
| 0x189
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
| sys_sm_get_hw_config
| sys_sm_get_hw_config
Line 2,634: Line 2,499:
| 394
| 394
| 0x18A
| 0x18A
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
| sys_sm_request_scversion
| sys_sm_request_scversion
| uint8_t SoftID[8],old_PatchID[8],new_PatchID[8]; lv2syscall3(394, (uint64_t)SoftID, (uint64_t)old_PatchID, (uint64_t)new_PatchID);<br />HV System Manager access - ServiceID 30 (REQUEST_SC_VERSION) [[Syscon_Firmware#.27info0.27 SC Firmware]]
| uint8_t SoftID[8],old_PatchID[8],new_PatchID[8]; lv2syscall3(394, (uint64_t)SoftID, (uint64_t)old_PatchID, (uint64_t)new_PatchID);<br />HV System Manager access - ServiceID 30 (REQUEST_SC_VERSION) [[System_Controller_Firmware#.27info0.27 SC Firmware]]
|-
|-
| 395
| 395
| 0x18B
| 0x18B
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Productmode}}
| {{Productmode}}
| sys_sm_request_system_event_log
| sys_sm_request_system_event_log
| 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_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)
|-
|-
| 396
| 396
| 0x18C
| 0x18C
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
| sys_sm_set_rtc_alarm
| sys_sm_set_rtc_alarm
| int sys_sm_set_rtc_alarm(CellRtcTick *pTick), HV System Manager access - ServiceID 34+38 (RTC_ALARM)
| 1 Param, HV System Manager access - ServiceID 34+38 (RTC_ALARM)
|-
|-
| 397
| 397
| 0x18D
| 0x18D
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
| sys_sm_get_rtc_alarm
| sys_sm_get_rtc_alarm
Line 2,662: Line 2,527:
| 398
| 398
| 0x18E
| 0x18E
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
| sys_console_write
| sys_console_write
| int sys_console_write(const char *s, uint32_t len)(lv2,lv1::console::write_async <!--///*
| int sys_console_write(const char *s, unsigned int len)(lv2,lv1::console::write_async <!--///*
  * lv2_lv1_log_write
  * lv2_lv1_log_write
  */
  */
static inline int lv2_lv1_log_write(const char *s, uint32_t len)
static inline int lv2_lv1_log_write(const char *s, unsigned int len)
{
{
return Lv2Syscall2(398, (uint64_t) s, len);
return Lv2Syscall2(398, (uint64_t) s, len);
}//-->
}//-->
|-
| 399
| 0x18F
|
|
| (sys_kernel_test)
|
|-
|-
| 400
| 400
| 0x190
| 0x190
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Productmode}}
| {{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]]
| 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
|-
|-
| 401
| 401
| 0x191
| 0x191
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
|
|
| 2 Params: uint64_t param,uint8_t * st (status?/state?)
| 2 Params: uint64_t param,uint8_t * st (status?/state?)
  HV System Manager access - ServiceID 40 (BOOT_PARAMETER)
  HV System Manager access - ServiceID 40 (BOOT_PARAMETER)
See also syscall 404, [[SC_EEPROM|syscon EEPROM]] "boot param" and [[Factory_Service_Mode#Game_OS|this]], also sends the param to syscon
also sends the param to syscon
related to 404
|-
|-
! colspan="6" id="sys_tty Syscalls"|[[#sys_tty Syscalls]] (402-403)
! colspan="6" id="sys_tty Syscalls"|[[#sys_tty Syscalls]] (402-403)
Line 2,700: Line 2,559:
| 402
| 402
| 0x192
| 0x192
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_tty_read
| sys_tty_read
| int sys_tty_read(uint32_t ch, void *buf, uint32_t len, uint32_t *preadlen);
| int sys_tty_read(unsigned int ch, void *buf, unsigned int len, unsigned int *preadlen);
|-
|-
| 403
| 403
| 0x193
| 0x193
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_tty_write
| sys_tty_write
| int sys_tty_write(uint32_t ch, const void *buf, uint32_t len, uint32_t *pwritelen);
| int sys_tty_write(unsigned int ch, const void *buf, unsigned int len, unsigned int *pwritelen);
|-
|-
| 404
| 404
| 0x194
| 0x194
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
|
|
Line 2,720: Line 2,579:
  HV System Manager access - ServiceID 42 (BOOT_PARAMETER)
  HV System Manager access - ServiceID 42 (BOOT_PARAMETER)
  [Network Settings for Debug] related, returns single/dual setting flag?
  [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
| 405
| 0x195
| 0x195
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Productmode}}
| {{Productmode}}
|
|
Line 2,730: Line 2,588:
  HV System Manager access - ServiceID 44  
  HV System Manager access - ServiceID 44  
  factory_process_comp (0,0),  dbg_printf comp value
  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
| 406
| 0x196
| 0x196
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Productmode}}
| {{Productmode}}
|
|
Line 2,741: Line 2,598:
  HV System Manager access - ServiceID 46  
  HV System Manager access - ServiceID 46  
  factory_process_comp (1,x) -> OR-Operation with comp
  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
| 407
| 0x197
| 0x197
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Productmode}}
| {{Productmode}}
|
|
Line 2,751: Line 2,607:
  HV System Manager access - ServiceID 48
  HV System Manager access - ServiceID 48
  factory_process_comp (2,0) -> ANDC-Operation with comp=0
  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
| 408
| 0x198
| 0x198
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Productmode}}
| {{Productmode}}
| sys_sm_get_tzpb too
| sys_sm_get_tzpb too
Line 2,762: Line 2,617:
| 409
| 409
| 0x199
| 0x199
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Productmode}}
| {{Productmode}}
| sys_sm_get_fan_policy
| 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"''
| 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)
|-
|-
! colspan="6" id="sys_game Syscalls"|[[#sys_game Syscalls]] (372-376+410-412)
! colspan="6" id="sys_game Syscalls"|[[#sys_game Syscalls]] (372-376+410-412)
Line 2,771: Line 2,626:
| 410
| 410
| 0x19A
| 0x19A
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_game_board_storage_read
| sys_game_board_storage_read
Line 2,778: Line 2,633:
| 411
| 411
| 0x19B
| 0x19B
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_game_board_storage_write
| sys_game_board_storage_write
Line 2,785: Line 2,640:
| 412
| 412
| 0x19C
| 0x19C
| {{DECR}} {{DEX}}
| {{DEX}} {{DECR}}
|
|
| sys_game_get_rtc_status
| sys_game_get_rtc_status
Line 2,792: Line 2,647:
| 413
| 413
| 0x19D
| 0x19D
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
|
|
Line 2,799: Line 2,654:
| 414
| 414
| 0x19E
| 0x19E
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
|
|
Line 2,806: Line 2,661:
| 415
| 415
| 0x19F
| 0x19F
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
|
|
Line 2,815: Line 2,670:
| 450
| 450
| 0x1C2
| 0x1C2
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_overlay_load_module
| sys_overlay_load_module
Line 2,822: Line 2,677:
| 451
| 451
| 0x1C3
| 0x1C3
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_overlay_unload_module
| sys_overlay_unload_module
Line 2,829: Line 2,684:
| 452
| 452
| 0x1C4
| 0x1C4
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_overlay_get_module_list
| sys_overlay_get_module_list
Line 2,836: Line 2,691:
| 453
| 453
| 0x1C5
| 0x1C5
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_overlay_get_module_info
| sys_overlay_get_module_info
Line 2,843: Line 2,698:
| 454
| 454
| 0x1C6
| 0x1C6
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_overlay_load_module_by_fd
| sys_overlay_load_module_by_fd
Line 2,850: Line 2,705:
| 455
| 455
| 0x1C7
| 0x1C7
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_overlay_get_module_info2
| sys_overlay_get_module_info2
Line 2,857: Line 2,712:
| 456
| 456
| 0x1C8
| 0x1C8
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_overlay_get_sdk_version
| sys_overlay_get_sdk_version
| int sys_overlay_get_sdk_version(sys_overlay_t ovlmid, uint32_t* sdk_ver)
| 2 Params
|-
|-
| 457
| 457
| 0x1C9
| 0x1C9
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_overlay_get_module_dbg_info
| sys_overlay_get_module_dbg_info
Line 2,871: Line 2,726:
| 458
| 458
| 0x1CA
| 0x1CA
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_overlay_get_module_dbg_info too
| sys_overlay_get_module_dbg_info too
Line 2,880: Line 2,735:
| 460
| 460
| 0x1CC
| 0x1CC
| {{DECR}} {{DEX}}
| {{DEX}} {{DECR}}
| {{Root}}
| {{Root}}
| sys_prx_dbg_get_module_id_list
| sys_prx_dbg_get_module_id_list
Line 2,887: Line 2,742:
| 461
| 461
| 0x1CD
| 0x1CD
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_prx_get_module_id_by_address
| sys_prx_get_module_id_by_address
Line 2,894: Line 2,749:
| 462
| 462
| 0x1CE
| 0x1CE
| {{DECR}} {{DEX}}
| {{DEX}}{{DECR}}
|
|
|
|
Line 2,901: Line 2,756:
| 463
| 463
| 0x1CF
| 0x1CF
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_prx_load_module_by_fd
| sys_prx_load_module_by_fd
Line 2,908: Line 2,763:
| 464
| 464
| 0x1D0
| 0x1D0
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_prx_load_module_on_memcontainer_by_fd
| sys_prx_load_module_on_memcontainer_by_fd
Line 2,915: Line 2,770:
| 465
| 465
| 0x1D1
| 0x1D1
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_prx_load_module_list
| sys_prx_load_module_list
Line 2,922: Line 2,777:
| 466
| 466
| 0x1D2
| 0x1D2
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_prx_load_module_list_on_memcontainer
| sys_prx_load_module_list_on_memcontainer
Line 2,929: Line 2,784:
| 467
| 467
| 0x1D3
| 0x1D3
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_prx_get_ppu_guid
| sys_prx_get_ppu_guid
Line 2,936: Line 2,791:
| 468
| 468
| 0x1D4
| 0x1D4
| {{DECR}} {{DEX}}
| {{DEX}} {{DECR}}
| {{Root}}
| {{Root}}
|  
|  
Line 2,943: Line 2,798:
| 470
| 470
| 0x1D6
| 0x1D6
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
| sys_npdrm_check_ekc
|
| int syscall 470 (sys_pid_t pid, np_drm_info_t* np_drm_info)
| int syscall 470 (uint32_t type?, void* npd? [0x60])
|-
|-
| 471
| 471
| 0x1D7
| 0x1D7
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{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:
| 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);
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);
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
| 472
| 0x1D8
| 0x1D8
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
|
|
Line 2,967: Line 2,821:
| 473
| 473
| 0x1D9
| 0x1D9
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
|
|
Line 2,974: Line 2,828:
| 474
| 474
| 0x1DA
| 0x1DA
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
|
|
Line 2,981: Line 2,835:
| 475
| 475
| 0x1DB
| 0x1DB
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{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)
| int syscall_475(uint32_t type, void* npd?, void* klicensee, uint8_t* actdat, uint8_t* rif, uint8_t magicVersion)
|-
|-
| 476
| 476
| 0x1DC
| 0x1DC
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
|
|
Line 2,995: Line 2,849:
| 480
| 480
| 0x1E0
| 0x1E0
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_prx_load_module
| sys_prx_load_module
Line 3,002: Line 2,856:
| 481
| 481
| 0x1E1
| 0x1E1
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_prx_start_module
| sys_prx_start_module
Line 3,009: Line 2,863:
| 482
| 482
| 0x1E2
| 0x1E2
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_prx_stop_module
| sys_prx_stop_module
Line 3,016: Line 2,870:
| 483
| 483
| 0x1E3
| 0x1E3
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_prx_unload_module
| sys_prx_unload_module
Line 3,023: Line 2,877:
| 484
| 484
| 0x1E4
| 0x1E4
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_prx_register_module
| sys_prx_register_module
Line 3,030: Line 2,884:
| 485
| 485
| 0x1E5
| 0x1E5
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_prx_query_module
| sys_prx_query_module
Line 3,037: Line 2,891:
| 486
| 486
| 0x1E6
| 0x1E6
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_prx_register_library
| sys_prx_register_library
Line 3,044: Line 2,898:
| 487
| 487
| 0x1E7
| 0x1E7
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_prx_unregister_library
| sys_prx_unregister_library
Line 3,051: Line 2,905:
| 488
| 488
| 0x1E8
| 0x1E8
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_prx_link_library
| sys_prx_link_library
Line 3,058: Line 2,912:
| 489
| 489
| 0x1E9
| 0x1E9
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_prx_unlink_library
| sys_prx_unlink_library
Line 3,065: Line 2,919:
| 490
| 490
| 0x1EA
| 0x1EA
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_prx_query_library
| sys_prx_query_library
Line 3,072: Line 2,926:
| 492
| 492
| 0x1EC
| 0x1EC
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Dbg}}
| {{Dbg}}
| sys_prx_dbg_get_module_list
|
| 4 Params:
| 4 Params:
|-
|-
| 493
| 493
| 0x1ED
| 0x1ED
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Dbg}}
| {{Dbg}}
| sys_prx_dbg_get_module_info
| sys_prx_dbg_get_module_info
Line 3,086: Line 2,940:
| 494
| 494
| 0x1EE
| 0x1EE
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_prx_get_module_list
| sys_prx_get_module_list
Line 3,093: Line 2,947:
| 495
| 495
| 0x1EF
| 0x1EF
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_prx_get_module_info
| sys_prx_get_module_info
Line 3,100: Line 2,954:
| 496
| 496
| 0x1F0
| 0x1F0
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_prx_get_module_id_by_name
| sys_prx_get_module_id_by_name
Line 3,107: Line 2,961:
| 497
| 497
| 0x1F1
| 0x1F1
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_prx_load_module_on_memcontainer
| sys_prx_load_module_on_memcontainer
Line 3,114: Line 2,968:
| 498
| 498
| 0x1F2
| 0x1F2
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_prx_start
| sys_prx_start
Line 3,121: Line 2,975:
| 499
| 499
| 0x1F3
| 0x1F3
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_prx_stop
| sys_prx_stop
Line 3,130: Line 2,984:
| 500
| 500
| 0x1F4
| 0x1F4
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_hid_manager_open
| sys_hid_manager_open
Line 3,137: Line 2,991:
| 501
| 501
| 0x1F5
| 0x1F5
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_hid_manager_close
| sys_hid_manager_close
Line 3,144: Line 2,998:
| 502
| 502
| 0x1F6
| 0x1F6
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
| sys_hid_manager_read
| sys_hid_manager_read
Line 3,151: Line 3,005:
| 503
| 503
| 0x1F7
| 0x1F7
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_hid_manager_ioctl
| sys_hid_manager_ioctl
Line 3,158: Line 3,012:
| 504
| 504
| 0x1F8
| 0x1F8
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
| sys_hid_manager_map_logical_id_to_port_id  
| sys_hid_manager_map_logical_id_to_port_id  
Line 3,166: Line 3,020:
| 505
| 505
| 0x1F9
| 0x1F9
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
| sys_hid_manager_unmap_logical_id_to_port_id
| sys_hid_manager_unmap_logical_id_to_port_id
Line 3,173: Line 3,027:
| 506
| 506
| 0x1FA
| 0x1FA
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
| sys_hid_manager_add_hot_key_observer
| sys_hid_manager_add_hot_key_observer
Line 3,180: Line 3,034:
| 507
| 507
| 0x1FB
| 0x1FB
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
| sys_hid_manager_remove_hot_key_observer
| sys_hid_manager_remove_hot_key_observer
Line 3,187: Line 3,041:
| 508
| 508
| 0x1FC
| 0x1FC
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
| sys_hid_manager_grab_focus
| sys_hid_manager_grab_focus
Line 3,194: Line 3,048:
| 509
| 509
| 0x1FD
| 0x1FD
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
| sys_hid_manager_release_focus
| sys_hid_manager_release_focus
Line 3,201: Line 3,055:
| 510
| 510
| 0x1FE
| 0x1FE
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_hid_manager_check_focus
| sys_hid_manager_...
| int syscall(510, void);
| int syscall(510, void);
|-
|-
| 511
| 511
| 0x1FF
| 0x1FF
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
| sys_hid_manager_set_master_process
| sys_hid_manager_set_...
| 1 Param
| 1 Param
|-
|-
| 512
| 512
| 0x200
| 0x200
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
|
|
Line 3,222: Line 3,076:
| 513
| 513
| 0x201
| 0x201
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_hid_manager_...
| sys_hid_manager_...
Line 3,229: Line 3,083:
| 514
| 514
| 0x202
| 0x202
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_hid_manager_...
| sys_hid_manager_...
Line 3,238: Line 3,092:
| 516
| 516
| 0x204
| 0x204
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_config_open
| sys_config_open
| 2 Params : (sys_event_queue_t * equeue_id, uint64_t *conf_id (out))
| 2 Params : (sys_event_queue_t * equeue_id, uint64_t *out)
|-
|-
| 517
| 517
| 0x205
| 0x205
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_config_close
| sys_config_close
Line 3,252: Line 3,106:
| 518
| 518
| 0x206
| 0x206
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_config_get_service_event
| sys_config_get_service_event
Line 3,259: Line 3,113:
| 519
| 519
| 0x207
| 0x207
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_config_add_service_listener
| sys_config_add_service_listener
| 6 Params (u32 conf_id, ?, ?, ?, ?, ?)
| 6 Params
|-
|-
| 520
| 520
| 0x208
| 0x208
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_config_remove_service_listener
| sys_config_remove_service_listener
Line 3,273: Line 3,127:
| 521
| 521
| 0x209
| 0x209
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_config_register_service
| sys_config_register_service
Line 3,280: Line 3,134:
| 522
| 522
| 0x20A
| 0x20A
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_config_unregister_service
| sys_config_unregister_service
Line 3,287: Line 3,141:
| 523
| 523
| 0x20B
| 0x20B
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_config_io_event
| sys_config_io_event
Line 3,294: Line 3,148:
| 524
| 524
| 0x20C
| 0x20C
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_config_register_io_error_listener
| sys_config_
|
|
|-
|-
| 525
| 525
| 0x20D
| 0x20D
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_config_unregister_io_error_listener
| sys_config_
|
|
|-
|-
Line 3,310: Line 3,164:
| 530
| 530
| 0x212
| 0x212
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_usbd_initialize
| sys_usbd_initialize
Line 3,317: Line 3,171:
| 531
| 531
| 0x213
| 0x213
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_usbd_finalize
| sys_usbd_finalize
Line 3,324: Line 3,178:
| 532
| 532
| 0x214
| 0x214
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_usbd_get_device_list
| sys_usbd_get_device_list
Line 3,331: Line 3,185:
| 533
| 533
| 0x215
| 0x215
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_usbd_get_descriptor_size
| sys_usbd_get_descriptor_size
Line 3,338: Line 3,192:
| 534
| 534
| 0x216
| 0x216
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_usbd_get_descriptor
| sys_usbd_get_descriptor
| 4 Params
| 3 Params
|-
|-
| 535
| 535
| 0x217
| 0x217
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_usbd_register_ldd
| sys_usbd_register_ldd
Line 3,352: Line 3,206:
| 536
| 536
| 0x218
| 0x218
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_usbd_unregister_ldd
| sys_usbd_unregister_ldd
Line 3,359: Line 3,213:
| 537
| 537
| 0x219
| 0x219
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_usbd_open_pipe
| sys_usbd_open_pipe
Line 3,366: Line 3,220:
| 538
| 538
| 0x21A
| 0x21A
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_usbd_open_default_pipe
| sys_usbd_open_default_pipe
Line 3,373: Line 3,227:
| 539
| 539
| 0x21B
| 0x21B
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_usbd_close_pipe
| sys_usbd_close_pipe
Line 3,380: Line 3,234:
| 540
| 540
| 0x21C
| 0x21C
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_usbd_receive_event
| sys_usbd_receive_event
Line 3,387: Line 3,241:
| 541
| 541
| 0x21D
| 0x21D
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_usbd_detect_event
| sys_usbd_detect_event
Line 3,394: Line 3,248:
| 542
| 542
| 0x21E
| 0x21E
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_usbd_attach
| sys_usbd_attach
Line 3,401: Line 3,255:
| 543
| 543
| 0x21F
| 0x21F
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_usbd_transfer_data
| sys_usbd_transfer_data
Line 3,408: Line 3,262:
| 544
| 544
| 0x220
| 0x220
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_usbd_isochronous_transfer_data
| sys_usbd_isochronous_transfer_data
Line 3,415: Line 3,269:
| 545
| 545
| 0x221
| 0x221
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_usbd_get_transfer_status
| sys_usbd_get_transfer_status
Line 3,422: Line 3,276:
| 546
| 546
| 0x222
| 0x222
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_usbd_get_isochronous_transfer_status
| sys_usbd_get_isochronous_transfer_status
Line 3,429: Line 3,283:
| 547
| 547
| 0x223
| 0x223
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_usbd_get_device_location
| sys_usbd_get_device_location
Line 3,436: Line 3,290:
| 548
| 548
| 0x224
| 0x224
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_usbd_send_event
| sys_usbd_send_event
Line 3,443: Line 3,297:
| 549
| 549
| 0x225
| 0x225
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_usbd_event_port_send
|
| int sys_usbd_event_port_send(uint64_t usb_id?, uint64_t data1, uint64_t data2, uint64_t data3);
| 4 Params
|-
|-
| 550
| 550
| 0x226
| 0x226
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_usbd_allocate_memory
| sys_usbd_allocate_memory
Line 3,457: Line 3,311:
| 551
| 551
| 0x227
| 0x227
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_usbd_free_memory
| sys_usbd_free_memory
Line 3,464: Line 3,318:
| 552
| 552
| 0x228
| 0x228
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
|
| sys_usbd_enable_wake_on?
| 1 Param
| 1 Param
|-
|-
| 553
| 553
| 0x229
| 0x229
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
|
|
Line 3,478: Line 3,332:
| 554
| 554
| 0x22A
| 0x22A
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
|
|
Line 3,485: Line 3,339:
| 555
| 555
| 0x22B
| 0x22B
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
|
|
Line 3,492: Line 3,346:
| 556
| 556
| 0x22C
| 0x22C
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_usbd_get_device_speed
| sys_usbd_get_device_speed
Line 3,499: Line 3,353:
| 557
| 557
| 0x22D
| 0x22D
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
|
|
Line 3,506: Line 3,360:
| 558
| 558
| 0x22E
| 0x22E
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_usbd_unregister_extra_ldd
|
| 3 Params,  , name, name_len
| 3 Params
|-
|-
| 559
| 559
| 0x22F
| 0x22F
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_usbd_register_extra_ldd
| sys_usbd_register_extra_ldd
Line 3,522: Line 3,376:
| 560
| 560
| 0x230
| 0x230
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
| (sys_usbmass_ioctl)
|
|
|
|-
|-
| 561
| 561
| 0x231
| 0x231
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
|
|
Line 3,536: Line 3,390:
| 562
| 562
| 0x232
| 0x232
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
|
|
Line 3,543: Line 3,397:
| 563
| 563
| 0x233
| 0x233
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
|
|
Line 3,550: Line 3,404:
| 564
| 564
| 0x234
| 0x234
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
|
|
Line 3,557: Line 3,411:
| 565
| 565
| 0x235
| 0x235
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
|
|
Line 3,564: Line 3,418:
| 566
| 566
| 0x236
| 0x236
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
|
|
Line 3,571: Line 3,425:
| 567
| 567
| 0x237
| 0x237
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
|
|
Line 3,578: Line 3,432:
| 568
| 568
| 0x238
| 0x238
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
|
|
Line 3,585: Line 3,439:
| 569
| 569
| 0x239
| 0x239
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
|
|
Line 3,594: Line 3,448:
| 570
| 570
| 0x23A
| 0x23A
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|  
|
| sys_pad_ldd_register_controller
|
|
|
|-
|-
| 571
| 571
| 0x23B
| 0x23B
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_pad_ldd_unregister_controller  
| sys_pad_ldd_unregister_controller  
Line 3,608: Line 3,462:
| 572
| 572
| 0x23C
| 0x23C
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_pad_ldd_data_insert  
| sys_pad_ldd_data_insert  
Line 3,615: Line 3,469:
| 573
| 573
| 0x23D
| 0x23D
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_pad_dbg_ldd_set_data_insert_mode  
| sys_pad_dbg_ldd_set_data_insert_mode  
Line 3,622: Line 3,476:
| 574
| 574
| 0x23E
| 0x23E
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_pad_ldd_register_controller
| sys_pad_ldd_register_controller
Line 3,629: Line 3,483:
| 575
| 575
| 0x23F
| 0x23F
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_pad_ldd_get_port_no  
| sys_pad_ldd_get_port_no  
Line 3,636: Line 3,490:
| 577
| 577
| 0x241
| 0x241
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}} {{Productmode}}
| {{Root}} {{Productmode}}
| sys_pad_manager_....
| sys_pad_manager_....
| int sys_pad_manager_.... (int8_t device_number?)
| 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]]
! colspan="6" id="sys_bluetooth Syscalls"|[[#sys_bluetooth Syscalls]]
Line 3,646: Line 3,499:
| 578
| 578
| 0x242
| 0x242
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
|
|
Line 3,653: Line 3,506:
| 579
| 579
| 0x243
| 0x243
| {{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
|
|-
|-
| 580
| 580
| 0x244
| 0x244
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
|
|
Line 3,667: Line 3,520:
| 581
| 581
| 0x245
| 0x245
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
|
|
Line 3,674: Line 3,527:
| 582
| 582
| 0x246
| 0x246
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
|
|
Line 3,681: Line 3,534:
| 583
| 583
| 0x247
| 0x247
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
| sys_bt_read_firmware_version
|
| gets Bluetooth Firmware Version: syscall(0x247, out:uint8_t [2])
| gets Bluetooth Firmware Version: syscall(0x247, out:uint8_t [2])
|-
|-
| 584
| 584
| 0x248
| 0x248
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
| sys_bt_complete_wake_on_host
|
|
|
|-
|-
| 585
| 585
| 0x249
| 0x249
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|  
|
| sys_bt_disable_bluetooth
|
|
|
|-
|-
| 586
| 586
| 0x24A
| 0x24A
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|  
|
| sys_bt_enable_bluetooth
|
| return 0x80010003
| return 0x80010003
|-
|-
| 587
| 587
| 0x24B
| 0x24B
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
| sys_bt_bccmd
|
|
|
|-
|-
| 588
| 588
| 0x24C
| 0x24C
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|  
|
| sys_bt_read_hq
|
| return 0x80010003
| return 0x80010003
|-
|-
| 589
| 589
| 0x24D
| 0x24D
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|  
|
| sys_bt_hid_get_remote_status
|
| return 0x80010003
| return 0x80010003
|-
|-
| 590
| 590
| 0x24E
| 0x24E
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
| sys_bt_register_controller
|
| bt_set_device_info()
| bt_set_device_info()
|-
|-
| 591
| 591
| 0x24F
| 0x24F
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|  
|
| sys_bt_clear_registered_contoller
|
| return 0
| return 0
|-
|-
| 592
| 592
| 0x250
| 0x250
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
|
| sys_bt_connect_accept_controller
| return 0
| return 0
|-
|-
| 593
| 593
| 0x251
| 0x251
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
| sys_bt_get_local_bdaddress
|
| getting bluetooth address
| getting bluetooth address
|-
|-
| 594
| 594
| 0x252
| 0x252
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
|
| sys_bt_hid_get_data
| return 0x80010003
| return 0x80010003
|-
|-
| 595
| 595
| 0x253
| 0x253
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
|
| sys_bt_hid_set_report
| return 0x80010003
| return 0x80010003
|-
|-
| 596
| 596
| 0x254
| 0x254
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
|
| sys_bt_sched_log
| return 0x80010003
| return 0x80010003
|-
|-
| 597
| 597
| 0x255
| 0x255
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
|
| sys_bt_cancel_connect_accept_controller
| syscall(597,void) | bt_cancel_connect_accept_controller(),deprecated
| syscall(597,void) | bt_cancel_connect_accept_controller(),deprecated
|-
|-
| 598
| 598
| 0x256
| 0x256
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
|
|
Line 3,793: Line 3,646:
| 599
| 599
| 0x257
| 0x257
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
|
|
Line 3,802: Line 3,655:
| 600
| 600
| 0x258
| 0x258
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
| sys_storage_open
| 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]]
| int sys_storage_open(uint64_t id, int mode, int *fd, int flags) mode=0,flags=0
|-
|-
| 601
| 601
| 0x259
| 0x259
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_storage_close
| sys_storage_close
Line 3,816: Line 3,669:
| 602
| 602
| 0x25A
| 0x25A
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_storage_read
| sys_storage_read
Line 3,823: Line 3,676:
| 603
| 603
| 0x25B
| 0x25B
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_storage_write
| sys_storage_write
Line 3,838: Line 3,691:
| 604
| 604
| 0x25C
| 0x25C
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_storage_send_device_command
| sys_storage_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)
| 6 Params:
 
|-
|-
| 605
| 605
| 0x25D
| 0x25D
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_storage_async_configure
| sys_storage_async_configure
Line 3,853: Line 3,705:
| 606
| 606
| 0x25E
| 0x25E
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_storage_async_read
| sys_storage_async_read
Line 3,860: Line 3,712:
| 607
| 607
| 0x25F
| 0x25F
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_storage_async_write
| sys_storage_async_write
Line 3,867: Line 3,719:
| 608
| 608
| 0x260
| 0x260
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_storage_async_cancel
| sys_storage_async_cancel
Line 3,874: Line 3,726:
| 609
| 609
| 0x261
| 0x261
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
| sys_storage_get_device_info
| sys_storage_get_device_info
Line 3,881: Line 3,733:
| 610
| 610
| 0x262
| 0x262
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
| sys_storage_get_device_config
| sys_storage_get_device_config
Line 3,888: Line 3,740:
| 611
| 611
| 0x263
| 0x263
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
| sys_storage_report_devices
| sys_storage_report_devices
Line 3,895: Line 3,747:
| 612
| 612
| 0x264
| 0x264
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
| sys_storage_configure_medium_event
| sys_storage_configure_medium_event
Line 3,902: Line 3,754:
| 613
| 613
| 0x265
| 0x265
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_storage_set_medium_polling_interval
| sys_storage_set_medium_polling_interval
Line 3,909: Line 3,761:
| 614
| 614
| 0x266
| 0x266
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_storage_create_region
| sys_storage_create_region
Line 3,923: Line 3,775:
| 615
| 615
| 0x267
| 0x267
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_storage_delete_region
| sys_storage_delete_region
Line 3,936: Line 3,788:
| 616
| 616
| 0x268
| 0x268
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_storage_execute_device_command
| sys_storage_execute_device_command
Line 3,953: Line 3,805:
| 617
| 617
| 0x269
| 0x269
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_storage_check_region_acl
| sys_storage_check_region_acl
Line 3,960: Line 3,812:
| 618
| 618
| 0x26A
| 0x26A
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_storage_set_region_acl
| sys_storage_set_region_acl
Line 3,967: Line 3,819:
| 619
| 619
| 0x26B
| 0x26B
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_storage_async_send_device_command
| sys_storage_async_send_device_command
Line 3,974: Line 3,826:
| 620
| 620
| 0x26C
| 0x26C
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
|
|
Line 3,981: Line 3,833:
| 621
| 621
| 0x26D
| 0x26D
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_gamepad_ycon_if
| sys_gamepad_ycon_if
Line 3,988: Line 3,840:
| 622
| 622
| 0x26E
| 0x26E
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_storage_get_region_offset
| sys_storage_get_region_offset
Line 4,004: Line 3,856:
| 624
| 624
| 0x270
| 0x270
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_io_buffer_create
| sys_io_buffer_create
Line 4,011: Line 3,863:
| 625
| 625
| 0x271
| 0x271
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_io_buffer_destroy
| sys_io_buffer_destroy
Line 4,018: Line 3,870:
| 626
| 626
| 0x272
| 0x272
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_io_buffer_allocate
| sys_io_buffer_allocate
Line 4,025: Line 3,877:
| 627
| 627
| 0x273
| 0x273
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_io_buffer_free
| sys_io_buffer_free
Line 4,034: Line 3,886:
| 630
| 630
| 0x276
| 0x276
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_gpio_set
| sys_gpio_set
Line 4,041: Line 3,893:
| 631
| 631
| 0x277
| 0x277
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_gpio_get
| sys_gpio_get
Line 4,066: Line 3,918:
| 635
| 635
| 0x27B
| 0x27B
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
| sys_btsetting_if?
| sys_btsetting_if?
Line 4,073: Line 3,925:
| 636
| 636
| 0x27C
| 0x27C
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
|
|
Line 4,080: Line 3,932:
| 637
| 637
| 0x27D
| 0x27D
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
|
|
Line 4,087: Line 3,939:
| 638
| 638
| 0x27E
| 0x27E
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
|
|
Line 4,096: Line 3,948:
| 639
| 639
| 0x27F
| 0x27F
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
|
|
Line 4,103: Line 3,955:
| 640
| 640
| 0x280
| 0x280
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
|
| sys_usbbtaudio_initialize
| "deprecated!"
| "deprecated!"
|-
|-
| 641
| 641
| 0x281
| 0x281
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
|
| sys_usbbtaudio_finalize
| "deprecated!"
| "deprecated!"
|-
|-
| 642
| 642
| 0x282
| 0x282
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
|
| sys_usbbtaudio_discovery
| "deprecated!"
| "deprecated!"
|-
|-
| 643
| 643
| 0x283
| 0x283
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
|
| sys_usbbtaudio_cancel_discovery
| "deprecated!"
| "deprecated!"
|-
|-
| 644
| 644
| 0x284
| 0x284
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
|
| sys_usbbtaudio_pairing
| "deprecated!"
| "deprecated!"
|-
|-
| 645
| 645
| 0x285
| 0x285
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
|
| sys_usbbtaudio_set_passkey
| "deprecated!"
| "deprecated!"
|-
|-
| 646
| 646
| 0x286
| 0x286
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
|
| sys_usbbtaudio_connect
| "deprecated!"
| "deprecated!"
|-
|-
| 647
| 647
| 0x287
| 0x287
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
|
| sys_usbbtaudio_disconnect
| "deprecated!"
| "deprecated!"
|-
|-
| 648
| 648
| 0x288
| 0x288
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
|
|
Line 4,166: Line 4,018:
| 649
| 649
| 0x289
| 0x289
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
|
|
Line 4,175: Line 4,027:
| 650
| 650
| 0x28A
| 0x28A
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_rsxaudio_initialize
| sys_rsxaudio_initialize
| int sys_rsxaudio_initialize(uint32_t* out_handle)
| int sys_rsxaudio_initialize(out:uint8[4])
|-
|-
| 651
| 651
| 0x28B
| 0x28B
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_rsxaudio_finalize
| sys_rsxaudio_finalize
| int sys_rsxaudio_finalize(uint32_t handle)
| 1 Params
|-
|-
| 652
| 652
| 0x28C
| 0x28C
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_rsxaudio_import_shared_memory
| sys_rsxaudio_import_shared_memory
| int sys_rsxaudio_import_shared_memory(uint32_t handle, uint64_t* out_addr)
| 2 Params
|-
|-
| 653
| 653
| 0x28D
| 0x28D
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_rsxaudio_unimport_shared_memory
| sys_rsxaudio_unimport_shared_memory
| int sys_rsxaudio_unimport_shared_memory(uint32_t handle, uint64_t* addr)
| 2 Params
|-
|-
| 654
| 654
| 0x28E
| 0x28E
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_rsxaudio_create_connection
| sys_rsxaudio_create_connection
| int sys_rsxaudio_create_connection(uint32_t handle)
| 1 Params
|-
|-
| 655
| 655
| 0x28F
| 0x28F
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_rsxaudio_close_connection
| sys_rsxaudio_close_connection
| int sys_rsxaudio_close_connection(uint32_t handle)
| 1 Params
|-
|-
| 656
| 656
| 0x290
| 0x290
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_rsxaudio_prepare_process
| sys_rsxaudio_prepare_process
| int sys_rsxaudio_prepare_process(uint32_t handle)
| 1 Params
|-
|-
| 657
| 657
| 0x291
| 0x291
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_rsxaudio_start_process
| sys_rsxaudio_start_process
| int sys_rsxaudio_start_process(uint32_t handle)
| 1 Params
|-
|-
| 658
| 658
| 0x292
| 0x292
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_rsxaudio_stop_process
| sys_rsxaudio_
| int sys_rsxaudio_stop_process(uint32_t handle)
| 1 Params
|-
|-
| 659
| 659
| 0x293
| 0x293
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_rsxaudio_get_dma_param
| sys_rsxaudio_
| int sys_rsxaudio_get_dma_param(uint32_t handle, uint32_t flag, uint64_t* param_out)
| 3 Params
Flag:
0 = dma io address
1 = dma io id
|-
|-
! colspan="6" id="sys_rsx Syscalls"|[[#sys_rsx Syscalls]] (666-677)
! colspan="6" id="sys_rsx Syscalls"|[[#sys_rsx Syscalls]] (666-667)
|-
|-
| 666
| 666
| 0x29A
| 0x29A
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_rsx_device_open
| sys_rsx_device_open
| 1 Param (uint64_t arg_1);
| 1 Param
|-
|-
| 667
| 667
| 0x29B
| 0x29B
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_rsx_device_close
| sys_rsx_device_close
| (void);
|
|-
|-
| 668
| 668
| 0x29C
| 0x29C
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_rsx_memory_allocate
| 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
| 669
| 0x29D
| 0x29D
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_rsx_memory_free
| sys_rsx_memory_free
| (uint32_t mem_ctx_id);
|
|-
|-
| 670
| 670
| 0x29E
| 0x29E
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_rsx_context_allocate
| 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
| 671
| 0x29F
| 0x29F
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_rsx_context_free
| sys_rsx_context_free
| (uint32_t rsx_ctx_id);
|
|-
|-
| 672
| 672
| 0x2A0
| 0x2A0
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_rsx_context_iomap
| 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
| 673
| 0x2A1
| 0x2A1
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_rsx_context_iounmap
| sys_rsx_context_iounmap
| (uint32_t rsx_ctx_id, uint64_t arg_2, uint64_t arg_3);
|
|-
|-
| 674
| 674
| 0x2A2
| 0x2A2
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_rsx_context_attribute
| 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
| 675
| 0x2A3
| 0x2A3
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_rsx_device_map
| sys_rsx_device_map
| (uint64_t *semaphore, uint64_t arg_2, uint64_t device_id);
|
|-
|-
| 676
| 676
| 0x2A4
| 0x2A4
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_rsx_device_unmap
| sys_rsx_device_unmap
| (uint64_t device_id);
|
|-
|-
| 677
| 677
| 0x2A5
| 0x2A5
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_rsx_attribute
| 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
| 678
| 0x2A6
| 0x2A6
| {{DECR}} {{DEX}}
| {{DEX}} {{DECR}}
|
|
|  
|  
(sys_rsx_audio_queue)
|
|
|-
|-
| 679
| 679
| 0x2A7
| 0x2A7
| {{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)
! colspan="6" id="Bluetooth USB Audio Syscalls"|[[#Bluetooth USB Audio Syscalls]] (680-696)
Line 4,353: Line 4,199:
| 680
| 680
| 0x2A8
| 0x2A8
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
|  
|  
(sys_rsx_audio_iounmap?)
|
|
|-
|-
| 681
| 681
| 0x2A9
| 0x2A9
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
|  
|  
Line 4,368: Line 4,213:
| 682
| 682
| 0x2AA
| 0x2AA
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
|  
|  
Line 4,375: Line 4,220:
| 683
| 683
| 0x2AB
| 0x2AB
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
|  
|  
Line 4,382: Line 4,227:
| 684
| 684
| 0x2AC
| 0x2AC
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
|  
|  
Line 4,389: Line 4,234:
| 685
| 685
| 0x2AD
| 0x2AD
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
|  
|  
Line 4,396: Line 4,241:
| 686
| 686
| 0x2AE
| 0x2AE
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
|  
|  
Line 4,403: Line 4,248:
| 687
| 687
| 0x2AF
| 0x2AF
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
|  
|  
Line 4,410: Line 4,255:
| 688
| 688
| 0x2B0
| 0x2B0
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
|  
|  
Line 4,417: Line 4,262:
| 689
| 689
| 0x2B1
| 0x2B1
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
|  
|  
Line 4,424: Line 4,269:
| 690
| 690
| 0x2B2
| 0x2B2
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
|  
|  
Line 4,431: Line 4,276:
| 691
| 691
| 0x2B3
| 0x2B3
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
|  
|  
Line 4,438: Line 4,283:
| 692
| 692
| 0x2B4
| 0x2B4
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
|  
|  
Line 4,445: Line 4,290:
| 693
| 693
| 0x2B5
| 0x2B5
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
|  
|  
Line 4,452: Line 4,297:
| 694
| 694
| 0x2B6
| 0x2B6
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
|
|
Line 4,459: Line 4,304:
| 695
| 695
| 0x2B7
| 0x2B7
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
|
|
Line 4,466: Line 4,311:
| 696
| 696
| 0x2B8
| 0x2B8
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
|
|
| bt audio interface, packetid 0-4  (0= GetSinkConfig)
| bt audio interface, packetid 0-4  (0= GetSinkConfig)
|-
| 697
| 0x2B9
|
|
|
(sys_iosys_infra_test_open)
|
|-
| 698
| 0x2BA
|
|
|
(sys_iosys_infra_test_execute)
|
|-
|-
! colspan="6" id="sys_bdemu Syscalls"|[[#sys_bdemu Syscalls]] (699)
! colspan="6" id="sys_bdemu Syscalls"|[[#sys_bdemu Syscalls]] (699)
Line 4,491: Line 4,320:
| 699
| 699
| 0x2BB
| 0x2BB
| {{DECR}} {{DEX}}
| {{DEX}} {{DECR}}
|
|
| sys_bdemu_send_command
| sys_bdemu_send_command
Line 4,500: Line 4,329:
| 700
| 700
| 0x2BC
| 0x2BC
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_net_bnet_accept
| sys_net_bnet_accept
Line 4,507: Line 4,336:
| 701
| 701
| 0x2BD
| 0x2BD
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_net_bnet_bind
| sys_net_bnet_bind
Line 4,514: Line 4,343:
| 702
| 702
| 0x2BE
| 0x2BE
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_net_bnet_connect
| sys_net_bnet_connect
Line 4,521: Line 4,350:
| 703
| 703
| 0x2BF
| 0x2BF
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_net_bnet_getpeername
| sys_net_bnet_getpeername
Line 4,528: Line 4,357:
| 704
| 704
| 0x2C0
| 0x2C0
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_net_bnet_getsockname
| sys_net_bnet_getsockname
Line 4,535: Line 4,364:
| 705
| 705
| 0x2C1
| 0x2C1
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_net_bnet_getsockopt
| sys_net_bnet_getsockopt
Line 4,542: Line 4,371:
| 706
| 706
| 0x2C2
| 0x2C2
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_net_bnet_listen
| sys_net_bnet_listen
Line 4,549: Line 4,378:
| 707
| 707
| 0x2C3
| 0x2C3
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_net_bnet_recvfrom
| sys_net_bnet_recvfrom
Line 4,556: Line 4,385:
| 708
| 708
| 0x2C4
| 0x2C4
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_net_bnet_recvmsg
| sys_net_bnet_recvmsg
Line 4,563: Line 4,392:
| 709
| 709
| 0x2C5
| 0x2C5
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_net_bnet_sendmsg
| sys_net_bnet_sendmsg
Line 4,570: Line 4,399:
| 710
| 710
| 0x2C6
| 0x2C6
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_net_bnet_sendto
| sys_net_bnet_sendto
Line 4,577: Line 4,406:
| 711
| 711
| 0x2C7
| 0x2C7
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_net_bnet_setsockop
| sys_net_bnet_setsockop
Line 4,584: Line 4,413:
| 712
| 712
| 0x2C8
| 0x2C8
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_net_bnet_shutdown
| sys_net_bnet_shutdown
Line 4,591: Line 4,420:
| 713
| 713
| 0x2C9
| 0x2C9
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_net_bnet_socket
| sys_net_bnet_socket
Line 4,598: Line 4,427:
| 714
| 714
| 0x2CA
| 0x2CA
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_net_bnet_close
| sys_net_bnet_close
Line 4,605: Line 4,434:
| 715
| 715
| 0x2CB
| 0x2CB
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_net_bnet_poll
| sys_net_bnet_poll
Line 4,612: Line 4,441:
| 716
| 716
| 0x2CC
| 0x2CC
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_net_bnet_select
| sys_net_bnet_select
Line 4,619: Line 4,448:
| 717
| 717
| 0x2CD
| 0x2CD
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_net_open_dump
| sys_net_open_dump
Line 4,626: Line 4,455:
| 718
| 718
| 0x2CE
| 0x2CE
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_net_read_dump
| sys_net_read_dump
Line 4,633: Line 4,462:
| 719
| 719
| 0x2CF
| 0x2CF
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_net_close_dump
| sys_net_close_dump
Line 4,640: Line 4,469:
| 720
| 720
| 0x2D0
| 0x2D0
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_net_write_dump
| sys_net_write_dump
Line 4,647: Line 4,476:
| 721
| 721
| 0x2D1
| 0x2D1
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_net_abort
| sys_net_abort
Line 4,654: Line 4,483:
| 722
| 722
| 0x2D2
| 0x2D2
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_net_infoctl
| sys_net_infoctl
Line 4,661: Line 4,490:
| 723
| 723
| 0x2D3
| 0x2D3
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_net_control
| sys_net_control
Line 4,668: Line 4,497:
| 724
| 724
| 0x2D4
| 0x2D4
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_net_bnet_ioctl
| sys_net_bnet_ioctl
Line 4,675: Line 4,504:
| 725
| 725
| 0x2D5
| 0x2D5
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_net_bnet_sysctl
| sys_net_bnet_sysctl
Line 4,682: Line 4,511:
| 726
| 726
| 0x2D6
| 0x2D6
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_net_eurus_post_command
| sys_net_eurus_post_command
Line 4,697: Line 4,526:
| 800
| 800
| 0x320
| 0x320
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_fs_test
| sys_fs_test
Line 4,704: Line 4,533:
| 801
| 801
| 0x321
| 0x321
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_fs_open
| sys_fs_open
Line 4,711: Line 4,540:
| 802
| 802
| 0x322
| 0x322
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_fs_read
| sys_fs_read
Line 4,718: Line 4,547:
| 803
| 803
| 0x323
| 0x323
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_fs_write
| sys_fs_write
Line 4,725: Line 4,554:
| 804
| 804
| 0x324
| 0x324
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_fs_close
| sys_fs_close
Line 4,732: Line 4,561:
| 805
| 805
| 0x325
| 0x325
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_fs_opendir
| sys_fs_opendir
Line 4,739: Line 4,568:
| 806
| 806
| 0x326
| 0x326
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_fs_readdir
| sys_fs_readdir
Line 4,746: Line 4,575:
| 807
| 807
| 0x327
| 0x327
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_fs_closedir
| sys_fs_closedir
Line 4,753: Line 4,582:
| 808
| 808
| 0x328
| 0x328
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_fs_stat
| sys_fs_stat
Line 4,760: Line 4,589:
| 809
| 809
| 0x329
| 0x329
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_fs_fstat
| sys_fs_fstat
Line 4,767: Line 4,596:
| 810
| 810
| 0x32A
| 0x32A
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_fs_link
| sys_fs_link
| int sys_fs_link(const char* path_from, const char* path_to)
| int sys_fs_link(char  const*, char  const*)
|-
|-
| 811
| 811
| 0x32B
| 0x32B
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_fs_mkdir
| sys_fs_mkdir
Line 4,781: Line 4,610:
| 812
| 812
| 0x32C
| 0x32C
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_fs_rename
| sys_fs_rename
Line 4,788: Line 4,617:
| 813
| 813
| 0x32D
| 0x32D
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_fs_rmdir
| sys_fs_rmdir
Line 4,795: Line 4,624:
| 814
| 814
| 0x32E
| 0x32E
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_fs_unlink
| sys_fs_unlink
Line 4,802: Line 4,631:
| 815
| 815
| 0x32F
| 0x32F
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_fs_utime
| sys_fs_utime
Line 4,809: Line 4,638:
| 816
| 816
| 0x330
| 0x330
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_fs_access
| sys_fs_access
Line 4,816: Line 4,645:
| 817
| 817
| 0x331
| 0x331
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_fs_fcntl
| sys_fs_fcntl
| int sys_fs_fcntl(int fd, int operation, void* ptr, uint64_t)
| int sys_fs_fcntl(int, int, void *, 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
| 818
| 0x332
| 0x332
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_fs_lseek
| sys_fs_lseek
Line 4,832: Line 4,659:
| 819
| 819
| 0x333
| 0x333
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_fs_fdatasync
| sys_fs_fdatasync
Line 4,839: Line 4,666:
| 820
| 820
| 0x334
| 0x334
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_fs_fsync
| sys_fs_fsync
Line 4,846: Line 4,673:
| 821
| 821
| 0x335
| 0x335
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_fs_fget_block_size
| sys_fs_fget_block_size
| 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_fget_block_size(int, unsigned long *, unsigned long *, unsigned long *, int *)
|-
|-
| 822
| 822
| 0x336
| 0x336
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_fs_get_block_size
| sys_fs_get_block_size
| int sys_fs_get_block_size(const char* path, uint64_t* block_size, uint64_t* arg4)
| int sys_fs_get_block_size(char  const*, unsigned long *, unsigned long *, unsigned long *)
|-
|-
| 823
| 823
| 0x337
| 0x337
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_fs_acl_read
| sys_fs_acl_read
| int sys_fs_acl_read(const char* path, CellFsAcl *)
| int sys_fs_acl_read(char  const*, CellFsAcl *)
|-
|-
| 824
| 824
| 0x338
| 0x338
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_fs_acl_write
| sys_fs_acl_write
| int sys_fs_acl_read(const char* path, CellFsAcl *)
| int sys_fs_acl_read(char  const*, CellFsAcl *)
|-
|-
| 825
| 825
| 0x339
| 0x339
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_fs_lsn_get_cda_size
| sys_fs_lsn_get_cda_size
| int sys_fs_lsn_get_cda_size(int fd, uint64_t*)
| int sys_fs_lsn_get_cda_size(int, unsigned long *)
|-
|-
| 826
| 826
| 0x33A
| 0x33A
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_fs_lsn_get_cda
| sys_fs_lsn_get_cda
| int sys_fs_lsn_get_cda(int fd, CellFsCda*, uint64_t, uint64_t*)
| int sys_fs_lsn_get_cda(int, CellFsCda *, unsigned long, unsigned long *)
|-
|-
| 827
| 827
| 0x33B
| 0x33B
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_fs_lsn_lock
| sys_fs_lsn_lock
| int sys_fs_lsn_lock(int fd)
| int sys_fs_lsn_lock(int)
|-
|-
| 828
| 828
| 0x33C
| 0x33C
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_fs_lsn_unlock
| sys_fs_lsn_unlock
| int sys_fs_lsn_unlock(int fd)
| int sys_fs_lsn_unlock(int)
|-
|-
| 829
| 829
| 0x33D
| 0x33D
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_fs_lsn_read
| sys_fs_lsn_read
| int sys_fs_lsn_read(int fd, const CellFsCda*, uint64_t size)
| int sys_fs_lsn_read(int, CellFsCda  const*, unsigned long)
|-
|-
| 830
| 830
| 0x33E
| 0x33E
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_fs_lsn_write
| sys_fs_lsn_write
| int sys_fs_lsn_write(int fd, const CellFsCda*, uint64_t size)
| int sys_fs_lsn_write(int, CellFsCda  const*, unsigned long)
|-
|-
| 831
| 831
| 0x33F
| 0x33F
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_fs_truncate
| sys_fs_truncate
Line 4,923: Line 4,750:
| 832
| 832
| 0x340
| 0x340
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_fs_ftruncate
| sys_fs_ftruncate
Line 4,930: Line 4,757:
| 833
| 833
| 0x341
| 0x341
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_fs_symbolic_link
| sys_fs_symbolic_link
| int sys_fs_symbolic_link(const char* target_path, const char* link_path)
| int sys_fs_symbolic_link(char  const*, char  const*)
|-
|-
| 834
| 834
| 0x342
| 0x342
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_fs_chmod
| sys_fs_chmod
Line 4,944: Line 4,771:
| 835
| 835
| 0x343
| 0x343
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_fs_chown
| sys_fs_chown
| int sys_fs_chown(const char* path, int uid, int gid)
| int sys_fs_chown(char  const*, int, int)
|-
|-
| 836
| 836
| 0x344
| 0x344
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_fs_newfs
| sys_fs_newfs
| int sys_fs_newfs(const char* deviceName, const char*, int, const char**)  
| int sys_fs_newfs(char const* deviceName, char  const*, int, char  const**)  
|-
|-
| 837
| 837
| 0x345
| 0x345
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_fs_mount
| sys_fs_mount
| 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 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
|-
|-
| 838
| 838
| 0x346
| 0x346
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_fs_unmount
| sys_fs_unmount
| int sys_fs_unmount(const char* device_path, int, int)<br>Parameters: Device Path (e.g. /dev_flash)
| int sys_fs_unmount(char  const*, int, int)<br>Parameters: Device Path (e.g. /dev_flash)
|-
|-
| 839
| 839
| 0x347
| 0x347
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_fs_sync
| sys_fs_sync
Line 4,985: Line 4,812:
| 840
| 840
| 0x348
| 0x348
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_fs_disk_free
| sys_fs_disk_free
| int sys_fs_disk_free(const char* path, uint64_t* total_free, uint64_t* avail_free)
| int sys_fs_disk_free(char  const*, unsigned long *, unsigned long *)
|-
|-
| 841
| 841
| 0x349
| 0x349
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_fs_get_mount_info_size
| sys_fs_get_mount_info_size
| int sys_fs_get_mount_info_size(uint64_t* out_length)
| int sys_fs_get_mount_info_size(unsigned long *)
'out_length' is set to the number of mounted devices sys_fs_get_mount_info may write at max.
|-
|-
| 842
| 842
| 0x34A
| 0x34A
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_fs_get_mount_info
| sys_fs_get_mount_info
| int sys_fs_get_mount_info(CellFsMountInformation* info, uint64_t buffer_length, uint64_t* written_length)
| int sys_fs_get_mount_info(CellFsMountInformation *, unsigned long, unsigned long *)
'buffer_length' is the number entries 'info' points.
'written_length' is the number of entries written to 'info', lower/equal to 'buffer_length'.
|-
|-
| 843
| 843
| 0x34B
| 0x34B
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_fs_get_fs_info_size
| sys_fs_get_fs_info_size
| int sys_fs_get_fs_info_size(uint64_t *)
| int sys_fs_get_fs_info_size(unsigned long *)
|-
|-
| 844
| 844
| 0x34C
| 0x34C
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_fs_get_fs_info
| sys_fs_get_fs_info
| int sys_fs_get_fs_info(uint64_t, uint64_t *, CellFsInfo *)
| int sys_fs_get_fs_info(ulong, ulong*, CellFsInfo *)
|-
|-
| 845
| 845
| 0x34D
| 0x34D
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_fs_mapped_allocate
| sys_fs_mapped_allocate
| int sys_fs_mapped_allocate(int, uint64_t, void **)
| int sys_fs_mapped_allocate(int, unsigned long, void **)
|-
|-
| 846
| 846
| 0x34E
| 0x34E
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_fs_mapped_free
| sys_fs_mapped_free
Line 5,037: Line 4,861:
| 847
| 847
| 0x34F
| 0x34F
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_fs_truncate2
| sys_fs_truncate2
Line 5,046: Line 4,870:
| 860
| 860
| 0x35C
| 0x35C
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Authid}}
| {{Authid}}
| syscall_sys_ss_get_cache_of_analog_sunset_flag
| syscall_sys_ss_get_cache_of_analog_sunset_flag
Line 5,053: Line 4,877:
| 861
| 861
| 0x35D
| 0x35D
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{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);
| 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
| 862
| 0x35E
| 0x35E
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
| sys_ss_virtual_trm_manager
|
| [[Virtual_TRM_Manager|vtrm_manager_if (Interface)]] <!--///*
| [[Virtual_TRM_Manager|vtrm_manager_if (Interface)]] <!--///*
  * lv2_ss_vtrm_mgr_if
  * lv2_ss_vtrm_mgr_if
Line 5,076: Line 4,900:
| 863
| 863
| 0x35F
| 0x35F
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
| sys_ss_update_manager
|
| [[Update_Manager|update_manager_if (Interface)]]<!--///*
| [[Update_Manager|update_manager_if (Interface)]]<!--///*
  * lv2_ss_update_mgr_if
  * lv2_ss_update_mgr_if
Line 5,090: Line 4,914:
| 864
| 864
| 0x360
| 0x360
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Dbg}}
| {{Dbg}}
| sys_ss_sec_hw_framework
|
| [[Storage_Manager|storage_manager_if (Interface)]] <!--///*
| [[Storage_Manager|storage_manager_if (Interface)]] <!--///*
  * lv2_ss_stor_mgr_if
  * lv2_ss_stor_mgr_if
Line 5,105: Line 4,929:
| 865
| 865
| 0x361
| 0x361
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}} {{Authid}}
| {{Root}} {{Authid}}
| sys_ss_random_number_generator
| sys_ss_random_number_generator
Line 5,119: Line 4,943:
| 866
| 866
| 0x362
| 0x362
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
| sys_ss_secure_rtc
|
| [[Secure_RTC_Manager|secure_rtc_manager_if (Interface)]] <!--///*
| [[Secure_RTC_Manager|secure_rtc_manager_if (Interface)]] <!--///*
  * lv2_ss_secure_rtc_if
  * lv2_ss_secure_rtc_if
Line 5,132: Line 4,956:
| 867
| 867
| 0x363
| 0x363
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
| sys_ss_appliance_info_manager
|  
| [[AIM_Manager|aim_manager_if (Interface)]] <!--///*
| [[AIM_Manager|aim_manager_if (Interface)]] <!--///*
  * lv2_ss_aim_if
  * lv2_ss_aim_if
Line 5,145: Line 4,969:
| 868
| 868
| 0x364
| 0x364
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}&nbsp;{{Dbg}}&nbsp;{{Authid}}
| {{Root}} / {{Dbg}} {{Authid}}
| sys_ss_individual_info_manager
|
| [[Indi_Info_Manager|indi_info_manager_if (Interface)]] <!--///*
| [[Indi_Info_Manager|indi_info_manager_if (Interface)]] <!--///*
  * lv2_ss_indi_info_mgr_if
  * lv2_ss_indi_info_mgr_if
Line 5,161: Line 4,985:
| 869
| 869
| 0x365
| 0x365
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
| sys_ss_factory_data_manager
|  
| [[Factory_Data_Manager|factory_data_manager_if (Interface)]]  
| [[Factory_Data_Manager|fdm_manager_if ?]]  
|-
|-
| 870
| 870
| 0x366
| 0x366
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_ss_get_console_id
| sys_ss_get_console_id
| int sys_ss_get_console_id(uint8_t *buf) //returns [[IDPS]] in buf
| int sys_ss_get_console_id(uint8_t *buf) //returns [[IDPS]] in buf
later firmwares require root flags, QA flag, not allowed on DEX/TOOL
|-
|-
| 871
| 871
| 0x367
| 0x367
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{dbg}}
| {{dbg}}
| sys_ss_access_control_engine
| sys_ss_access_control_engine
| 3 params, their types and usage depends on 'pkg_id'.
| 3 params (1,sys_pid_t,out:uint8_t [8]) / (2 or 3,out:uint8_t [8],0)
(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
| 872
| 0x368
| 0x368
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_ss_get_open_psid
| sys_ss_get_open_psid
Line 5,193: Line 5,013:
| 873
| 873
| 0x369
| 0x369
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_ss_get_cache_of_product_mode
| sys_ss_get_cache_of_product_mode
Line 5,200: Line 5,020:
| 874
| 874
| 0x36A
| 0x36A
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_ss_get_cache_of_flash_ext_flag
| sys_ss_get_cache_of_flash_ext_flag
Line 5,213: Line 5,033:
| 875
| 875
| 0x36B
| 0x36B
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_ss_get_boot_device
| sys_ss_get_boot_device
Line 5,220: Line 5,040:
| 876
| 876
| 0x36C
| 0x36C
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_ss_disc_access_control
| sys_ss_disc_access_control
Line 5,227: Line 5,047:
| 877
| 877
| 0x36D
| 0x36D
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
| sys_ss_~utoken_if
| sys_ss_~utoken_if
Line 5,234: Line 5,054:
| 878
| 878
| 0x36E
| 0x36E
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_ss_ad_sign
| sys_ss_ad_sign
Line 5,241: Line 5,061:
| 879
| 879
| 0x36F
| 0x36F
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_ss_media_id
| sys_ss_media_id
Line 5,250: Line 5,070:
| 880
| 880
| 0x370
| 0x370
| {{DECR}} {{DEX}}
| {{DEX}} {{DECR}}
|
|
| sys_deci3_open
| sys_deci3_open
Line 5,257: Line 5,077:
| 881
| 881
| 0x371
| 0x371
| {{DECR}} {{DEX}}
| {{DEX}} {{DECR}}
|
|
| sys_deci3_create_event_path
| sys_deci3_create_event_path
Line 5,264: Line 5,084:
| 882
| 882
| 0x372
| 0x372
| {{DECR}} {{DEX}}
| {{DEX}} {{DECR}}
|
|
| sys_deci3_close
| sys_deci3_close
Line 5,271: Line 5,091:
| 883
| 883
| 0x373
| 0x373
| {{DECR}} {{DEX}}
| {{DEX}} {{DECR}}
|
|
| sys_deci3_send
| sys_deci3_send
Line 5,278: Line 5,098:
| 884
| 884
| 0x374
| 0x374
| {{DECR}} {{DEX}}
| {{DEX}} {{DECR}}
|
|
| sys_deci3_receive
| sys_deci3_receive
Line 5,364: Line 5,184:
| 900
| 900
| 0x384
| 0x384
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_dbg_stop_processes
| sys_dbg_stop_processes
Line 5,371: Line 5,191:
| 901
| 901
| 0x385
| 0x385
| {{DECR}} {{DEX}}
| {{DEX}} {{DECR}}
|
|
| sys_dbg_continue_processes
| sys_dbg_continue_processes
Line 5,378: Line 5,198:
| 902
| 902
| 0x386
| 0x386
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_dbg_stop_threads
| sys_dbg_stop_threads
Line 5,385: Line 5,205:
| 903
| 903
| 0x387
| 0x387
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_dbg_continue_threads
| sys_dbg_continue_threads
Line 5,392: Line 5,212:
| 904
| 904
| 0x388
| 0x388
| {{DECR}} {{DEX}}
| {{DEX}} {{DECR}}
|
|
| sys_dbg_read_process_memory
| sys_dbg_read_process_memory
Line 5,399: Line 5,219:
| 905
| 905
| 0x389
| 0x389
| {{DECR}} {{DEX}}
| {{DEX}} {{DECR}}
|
|
| sys_dbg_write_process_memory
| sys_dbg_write_process_memory
Line 5,406: Line 5,226:
| 906
| 906
| 0x38A
| 0x38A
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_dbg_read_thread_register
| sys_dbg_read_thread_register
Line 5,413: Line 5,233:
| 907
| 907
| 0x38B
| 0x38B
| {{DECR}} {{DEX}}
| {{DEX}} {{DECR}}
|
|
| sys_dbg_write_thread_register
| sys_dbg_write_thread_register
Line 5,420: Line 5,240:
| 908
| 908
| 0x38C
| 0x38C
| {{DECR}} {{DEX}}
| {{DEX}} {{DECR}}
|
|
| sys_dbg_get_process_list
| sys_dbg_get_process_list
Line 5,427: Line 5,247:
| 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,254:
| 910
| 910
| 0x38E
| 0x38E
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_dbg_get_thread_info
| sys_dbg_get_thread_info
Line 5,444: Line 5,264:
| 911
| 911
| 0x38F
| 0x38F
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_dbg_spu_thread_read_from_ls
| sys_dbg_spu_thread_read_from_ls
Line 5,451: Line 5,271:
| 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,278:
| 913
| 913
| 0x391
| 0x391
| {{DECR}} {{DEX}}
| {{DEX}} {{DECR}}
|
|
| sys_dbg_kill_process
| sys_dbg_kill_process
Line 5,465: Line 5,285:
| 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,292:
| 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,299:
| 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,306:
| 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,313:
| 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,320:
| 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,327:
| 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,334:
| 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,341:
| 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,348:
| 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,355:
| 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,369:
| 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,418:
| 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,425:
| 934
| 934
| 0x3A6
| 0x3A6
| {{DECR}} {{DEX}}
| {{DEX}} {{DECR}}
|
|
| sys_dbg_get_cond_list
| sys_dbg_get_cond_list
Line 5,612: Line 5,432:
| 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,439:
| 936
| 936
| 0x3A8
| 0x3A8
| {{DECR}} {{DEX}}
| {{DEX}} {{DECR}}
|
|
| sys_dbg_get_rwlock_list
| sys_dbg_get_rwlock_list
Line 5,626: Line 5,446:
| 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,453:
| 938
| 938
| 0x3AA
| 0x3AA
| {{DECR}} {{DEX}}
| {{DEX}} {{DECR}}
|
|
| sys_dbg_get_lwmutex_list
| sys_dbg_get_lwmutex_list
Line 5,640: Line 5,460:
| 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,467:
| 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,474:
| 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,481:
| 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,488:
| 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,495:
| 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,502:
| 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,509:
| 946
| 946
| 0x3B2
| 0x3B2
| {{DECR}} {{DEX}}
| {{DEX}} {{DECR}}
|
|
| sys_dbg_get_semaphore_list
| sys_dbg_get_semaphore_list
Line 5,696: Line 5,516:
| 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,523:
| 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,530:
| 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,537:
| 950
| 950
| 0x3B6
| 0x3B6
| {{DECR}} {{DEX}}
| {{DEX}} {{DECR}}
|
|
| sys_dbg_get_lwcond_list
| sys_dbg_get_lwcond_list
Line 5,724: Line 5,544:
| 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,558:
| 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,572:
| 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,579:
| 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,586:
| 957
| 957
| 0x3BD
| 0x3BD
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Dbg}}
|
|
| sys_dbg_get_process_memory_container_information
| 3 Params: sys_pid_t?, uint8_t [ *0x10 ], uint32_t * out_count
| (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,602:
| {{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,609:
| {{DECR}}
| {{DECR}}
|
|
| sys_performance_monitor_hidden
|
|
|
|-
|-
Line 5,796: Line 5,616:
| {{DECR}}
| {{DECR}}
|
|
| sys_performance_monitor_bookmark
|
|
|
|-
|-
Line 5,803: Line 5,623:
| {{DECR}}
| {{DECR}}
|
|
| sys_lv1_pc_trace_create
|
|
|
|-
|-
Line 5,810: Line 5,630:
| {{DECR}}
| {{DECR}}
|
|
| sys_lv1_pc_trace_start
|
|
|
|-
|-
Line 5,817: Line 5,637:
| {{DECR}}
| {{DECR}}
|
|
| sys_lv1_pc_trace_stop
|
|
|
|-
|-
Line 5,824: Line 5,644:
| {{DECR}}
| {{DECR}}
|
|
| sys_lv1_pc_trace_get_status
|
|
|
|-
|-
Line 5,831: Line 5,651:
| {{DECR}}
| {{DECR}}
|
|
| sys_lv1_pc_trace_destroy
|
|
|
|-
|-
Line 5,838: Line 5,658:
| {{DECR}}
| {{DECR}}
|
|
| sys_rsx_trace_ioctl
|
|
|
|-
|-
Line 5,850: Line 5,670:
| 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,677:
| 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,684:
| 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,691:
| 973
| 973
| 0x3CD
| 0x3CD
| {{DECR}} {{DEX}}
| {{DEX}} {{DECR}}
|
|
|
|
Line 5,878: Line 5,698:
| 974
| 974
| 0x3CE
| 0x3CE
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
|
|
Line 5,885: Line 5,705:
| 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,712:
| 976
| 976
| 0x3D0
| 0x3D0
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_crypto_engine_create
|
| int sys_crypto_engine_create(sys_pid_t* id);
| sc(0x3D0, out:*uint32_t handle), creates a handle?
|-
|-
| 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) */
| 6 Params:
|-
|-
| 982
| 982
| 0x3D6
| 0x3D6
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
|
| sys_crypto_engine_cipher_run
| 4 Params: in[], out[], id/handle, size
| 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
| sc(0x3D7, uint32_t handle, out:uint8_t[0x14], 0x14) // sha
| int sys_crypto_engine_cipher_get_hash(sys_pid_t id, void* buffer, uint32_t max_buffer_size /* >= 0x14 */);
|-
|-
| 984
| 984
| 0x3D8
| 0x3D8
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
|
|
| sys_crypto_engine_random_generate
|
| int sys_crypto_engine_random_generate(void* buffer, uint32_t max_buffer_size /* >= 0x10 */);
| sc(0x3D8, out:uint8_t[0x10], size:0x10) return max. 0x10 Randombytes
|-
|-
| 985
| 985
| 0x3D9
| 0x3D9
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
| sys_dbg_get_console_type?
| sys_dbg_get_console_type?
Line 5,965: Line 5,785:
| 986
| 986
| 0x3DA
| 0x3DA
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}} {{Dbg}}
| {{Root}} {{Dbg}}
|
|
Line 5,972: Line 5,792:
| 987
| 987
| 0x3DB
| 0x3DB
| {{DECR}} {{DEX}} {{CEX}}
| {{CEX}}{{DEX}}{{DECR}}
| {{Root}}
| {{Root}}
|
|
Line 5,982: Line 5,802:
|
|
| 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}}
|
|
|
|
| 2 Params: syscall(989, (spu) thread_id ,out:uint8[0x20])
| 2 Params: syscall(989, (spu) thread_id ,out:uint8[0x20])
|-
|}
==== _sys_process_get_paramsfo ====
          00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
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
=====ExtraLoadFlag=====
{| class="wikitable"
!Name
!Value
|-
|EnableAccForRemotePlay
|0x20L
|-
|EnableCoreDump
|0x10L
|-
|EnableGCMDebug
|0x04L
|-
|EnableHUDRSXTools
|0x40L
|-
|EnableLv2ExceptionHandler
|0x01L
|-
|EnableMAT
|0x80L
|-
|EnableMiscSettings
|0x8000000000000000L
|-
|EnableRemotePlay
|0x02L
|-
|GameAttributeCustomMessage
|0x200L
|-
|GameAttributeInviteMessage
|0x100L
|-
|LoadingPatch
|0x1000L
|-
|LoadLibprofSPRXAutomatically
|0x08L
|-
|}
==== Boot Parameter ====
{| class="wikitable"
!Name
!Value
|-
|Default
|0x00L
|-
|ReleaseMode
|0x01L
|-
|MemSizeConsole
|0x02L
|-
|BluRayEmuOff
|0x04L
|-
|HDDSpeedBluRayEmu
|0x08L
|-
|DebugMode
|0x10L
|-
|SystemMode
|0x11L
|-
|BluRayEmuUSB
|0x20L
|-
|HostFSTarget
|0x40L
|-
|DualNIC
|0x80L
|-
|-
|}
|}


=== Network Syscalls ===
=== Network Syscalls ===
Networking uses [[LV2_Functions_and_Syscalls#sys_net_Syscalls|syscalls 700-726]]
Networking uses [[LV2_Functions_and_Syscalls#sys_net_Syscalls syscalls 700-726]]


=== File Syscalls ===
=== File Syscalls ===
Line 6,137: Line 5,868:
|cellFsDirent
|cellFsDirent
|u8 d_type; u8 d_namlen; char d_name[256];
|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
|no
|-
|-
|}
|}


==== FNCTL ====
==== Filesystem Syscalls ====
{| class="wikitable"
Filesystem uses [[LV2_Functions_and_Syscalls#lv2Fs_Syscalls syscalls 700-726]]
!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 ===
=== Unofficial Syscalls added ===
Line 6,390: Line 5,894:
|-  
|-  
| 8
| 8
| lv2_lv1_peek - graf_chokolo / (4.3x peek) /
| 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
| r3 is a 64 bit address to read. A 64 bit value will be returned in r3
|-  
|-  
Line 6,396: Line 5,900:
| Peek - ps3cobra
| Peek - ps3cobra
| r3 is a 64 bit address to read. A 64 bit value will be returned in r3
| r3 is a 64 bit address to read. A 64 bit value will be returned in r3
| 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
| 8
Line 6,418: Line 5,921:
| r4 is a 64 bit value. r3 is the address to write that value to.
| r4 is a 64 bit value. r3 is the address to write that value to.
|-
|-
| 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
| 35
| Remapper - PL3, PSGroove, PSFreedom
| Remapper - PL3, PSGroove, PSFreedom
Line 6,442: Line 5,928:
| Remapper - Hermes, PSJailbreak / (4.2x BD-Emulator)
| Remapper - Hermes, PSJailbreak / (4.2x BD-Emulator)
| hardcoded /dev_bdvd & /app_home remapping
| hardcoded /dev_bdvd & /app_home remapping
|-
| 38
| New sk1e / Hermes payload
| Syscall 8 in Iris Manager, changed to syscall 38 in IRISMAN
|-
|-
| 200
| 200
Line 6,469: Line 5,951:
| 203
| 203
| lv2_peek - [[CCAPI]]
| lv2_peek - [[CCAPI]]
| false info look ccapi section
|  
|-
|-
| 204
| 204
| lv2_poke - [[CCAPI]]
| 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);
|-
|-
|}
|}
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)