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 2,527: Line 2,527:
| {{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
Line 2,542: Line 2,536:
| {{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
Line 3,508: Line 3,502:
| {{DECR}} {{DEX}} {{CEX}}
| {{DECR}} {{DEX}} {{CEX}}
|
|
| sys_usbd_unregister_extra_ldd
|
| 3 Params,  , name, name_len
| 3 Params
|-
|-
| 559
| 559
Line 6,049: Line 6,043:
!Name
!Name
!Value
!Value
|-
|Default
|0x00L
|-
|ReleaseMode
|0x01L
|-
|MemSizeConsole
|0x02L
|-
|-
|BluRayEmuOff
|BluRayEmuOff
|0x04L
|0x04L
|-
|-
|HDDSpeedBluRayEmu
|BluRayEmuUSB
|0x08L
|0x20L
|-
|-
|DebugMode
|DebugMode
|0x10L
|0x10L
|-
|-
|SystemMode
|Default
|0x11L
|0x00L
|-
|DualNIC
|0x80L
|-
|-
|BluRayEmuUSB
|HDDSpeedBluRayEmu
|0x20L
|0x08L
|-
|-
|HostFSTarget
|HostFSTarget
|0x40L
|0x40L
|-
|-
|DualNIC
|MemSizeConsole
|0x80L
|0x02L
|-
|ReleaseMode
|0x01L
|-
|SystemMode
|0x11L
|-
|-
|}
|}
Line 6,390: Line 6,384:
|-  
|-  
| 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 6,390:
| 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
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)