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 374: Line 374:


=== 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>
! style="width:100px" | <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 2,577: Line 2,577:
| {{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) //--><br>Similar than the [[System Controller Firmware|syscon UART]] external command ''"FAN SETPOLICY"'' or the internal command ''"fanconpolicy set"''
|-
|-
| 390
| 390
Line 2,593: Line 2,593:
| 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,631: Line 2,631:
| {{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
Line 2,638: Line 2,638:
| {{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
Line 2,679: Line 2,679:
| {{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
Line 2,688: Line 2,688:
| 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,714: Line 2,715:
  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
Line 2,724: Line 2,724:
  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
Line 2,735: Line 2,734:
  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
Line 2,745: Line 2,743:
  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
Line 2,759: Line 2,756:
| {{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)<br>Similar than the [[System Controller Firmware|syscon UART]] external command ''"FAN GETPOLICY"'' or the internal command ''"fanconpolicy get"''
|-
|-
! colspan="6" id="sys_game Syscalls"|[[#sys_game Syscalls]] (372-376+410-412)
! colspan="6" id="sys_game Syscalls"|[[#sys_game Syscalls]] (372-376+410-412)
Line 3,502: Line 3,499:
| {{DECR}} {{DEX}} {{CEX}}
| {{DECR}} {{DEX}} {{CEX}}
|
|
| sys_usbd_unregister_extra_ldd
|
| 3 Params,  , name, name_len
| 3 Params
|-
|-
| 559
| 559
Line 3,634: Line 3,631:
| 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,649: Line 3,645:
| {{DECR}} {{DEX}} {{CEX}}
| {{DECR}} {{DEX}} {{CEX}}
|  
|  
| sys_bluetooth_aud_serial_unk1...
| sys_bluetooth_aud_serial_unk1(0x243,0,unk1*,aud_serial*,unk2*,unk3*,unk4*)
| 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
|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
Line 5,140: Line 5,136:
| 0x364
| 0x364
| {{DECR}} {{DEX}} {{CEX}}
| {{DECR}} {{DEX}} {{CEX}}
| {{Root}}&nbsp;{{Dbg}}&nbsp;{{Authid}}
| {{Root}} / {{Dbg}} {{Authid}}
| sys_ss_individual_info_manager
| sys_ss_individual_info_manager
| [[Indi_Info_Manager|indi_info_manager_if (Interface)]] <!--///*
| [[Indi_Info_Manager|indi_info_manager_if (Interface)]] <!--///*
Line 5,166: Line 5,162:
| 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
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)