Editing HV Syscalls

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

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

Latest revision Your text
Line 1: Line 1:
<!--//Some of this info was ported from wiki.ps2dev.org//-->
This info is ported from wiki.ps2dev.org
=LV1/hvcall index=
This page is used as an indexpage of the hypercalls listed @ [[HV Syscall Reference]]


 
----
== HV Syscalls ==
=== HV Return Values ===
{| class="wikitable sortable"
{| class="wikitable"
|-
!Status
!Code
|-
|LV1_SUCCESS
| 0
|-
|not used
| -1
|-
|LV1_RESOURCE_SHORTAGE
| -2
|-
|LV1_NO_PRIVILEGE
| -3
|-
|LV1_DENIED_BY_POLICY
| -4
|-
|LV1_ACCESS_VIOLATION
| -5
|-
|LV1_NO_ENTRY
| -6
|-
|LV1_DUPLICATE_ENTRY
| -7
|-
|LV1_TYPE_MISMATCH
| -8
|-
|LV1_BUSY
| -9
|-
|LV1_EMPTY
| -10
|-
|LV1_WRONG_STATE
| -11
|-
|not used
| -12
|-
|LV1_NO_MATCH
| -13
|-
|LV1_ALREADY_CONNECTED
| -14
|-
|LV1_UNSUPPORTED_PARAMETER_VALUE
| -15
|-
|LV1_CONDITION_NOT_SATISFIED
| -16
|-
|LV1_ILLEGAL_PARAMETER_VALUE
| -17
|-
|LV1_BAD_OPTION
| -18
|-
|LV1_IMPLEMENTATION_LIMITATION
| -19
|-
|LV1_NOT_IMPLEMENTED
| -20
|-
|LV1_INVALID_CLASS_ID
| -21
|-
|LV1_CONSTRAINT_NOT_SATISFIED
| -22
|-
|LV1_ALIGNMENT_ERROR
| -23
|-
|LV1_INTERNAL_ERROR
| -32768
|-
|}
=== HV Syscalls ===
{| class="wikitable"
|-
|-
!Number
!Number
Line 38: Line 118:
|-
|-
| 5
| 5
| [[HV Syscall Reference#lv1_decrementer_intr_start|lv1_decrementer_intr_start]]
| [[HV Syscall Reference#lv1_undocumented_function_5|lv1_undocumented_function_5]]
| ??
| ??
| ??
| ??
Line 53: Line 133:
|-
|-
| 8
| 8
| [[HV Syscall Reference#lv1_get_total_execution_time|lv1_get_total_execution_time]]
| [[HV Syscall Reference#lv1_undocumented_function_8|lv1_undocumented_function_8]]
| ??
| ??
| 1
| 1
Line 81: Line 161:
| 1
| 1
| 0
| 0
|-
| 14
| [[HV Syscall Reference#lv1_get_io_address_translation_fault_info|lv1_get_io_address_translation_fault_info]]
|
|
|-
|-
| 15
| 15
Line 91: Line 166:
| 5
| 5
| 0
| 0
|-
| 16
| [[HV Syscall Reference#lv1_get_iopte|lv1_get_iopte]]
|
|
|-
|-
| 17
| 17
Line 111: Line 181:
| 1
| 1
| 0
| 0
|-
| 20
| [[HV Syscall Reference#lv1_request_to_connect_event_ports|lv1_request_to_connect_event_ports]]
|
|
|-
| 21
| [[HV Syscall Reference#lv1_connect_event_ports|lv1_connect_event_ports]]
|
|
|-
| 22
| [[HV Syscall Reference#lv1_destruct_event_send_port|lv1_destruct_event_send_port]]
|
|
|-
| 23
| [[HV Syscall Reference#lv1_send_event_externally|lv1_send_event_externally]]
|
|
|-
|-
| 24
| 24
Line 136: Line 186:
| 1
| 1
| 0
| 0
|-
| 25
| [[HV Syscall Reference#lv1_get_state_of_event_send_port|lv1_get_state_of_event_send_port]]
|
|
|-
|-
| 26
| 26
Line 171: Line 216:
| 2
| 2
| 0
| 0
|-
| 32
| [[HV Syscall Reference#lv1_send_message|lv1_send_message]]
|
|
|-
| 33
| [[HV Syscall Reference#lv1_request_to_connect_message_ports|lv1_request_to_connect_message_ports]]
|
|
|-
| 34
| [[HV Syscall Reference#lv1_get_message_port_info|lv1_get_message_port_info]]
|
|
|-
| 35
| [[HV Syscall Reference#lv1_connect_message_ports|lv1_connect_message_ports]]
|
|
|-
| 36
| [[HV Syscall Reference#lv1_destruct_message_port|lv1_destruct_message_port]]
|
|
|-
| 37
| [[HV Syscall Reference#lv1_receive_message|lv1_receive_message]]
|
|
|-
| 38
| [[HV Syscall Reference#lv1_undocumented_function_247|lv1_undocumented_function_247]]
|
|
|-
| 39
| [[HV Syscall Reference#lv1_undocumented_function_247|lv1_undocumented_function_247]]
|
|
|-
| 40
| [[HV Syscall Reference#lv1_undocumented_function_247|lv1_undocumented_function_247]]
|
|
|-
| 41
| [[HV Syscall Reference#lv1_undocumented_function_247|lv1_undocumented_function_247]]
|
|
|-
| 42
| [[HV Syscall Reference#lv1_undocumented_function_247|lv1_undocumented_function_247]]
|
|
|-
| 43
| [[HV Syscall Reference#lv1_undocumented_function_247|lv1_undocumented_function_247]]
|
|
|-
|-
| 44
| 44
Line 236: Line 221:
| 1
| 1
| 0
| 0
|-
| 45
| [[HV Syscall Reference#lv1_assign_control_signal_notification_port|lv1_assign_control_signal_notification_port]]
|
|
|-
| 46
| [[HV Syscall Reference#lv1_get_control_signal|lv1_get_control_signal]]
|
|
|-
| 47
| [[HV Syscall Reference#lv1_undocumented_function_247|lv1_undocumented_function_247]]
|
|
|-
| 48
| [[HV Syscall Reference#lv1_end_of_control_signal_processing|lv1_end_of_control_signal_processing]]
|
|
|-
| 49
| [[HV Syscall Reference#lv1_request_to_attach_shared_memory|lv1_request_to_attach_shared_memory]]
|
|
|-
| 50
| [[HV Syscall Reference#lv1_permit_sharing_memory|lv1_permit_sharing_memory]]
|
|
|-
| 51
| [[HV Syscall Reference#lv1_destruct_shared_memory_handle|lv1_destruct_shared_memory_handle]]
|
|
|-
| 52
| [[HV Syscall Reference#lv1_get_shared_memory_info|lv1_get_shared_memory_info]]
|
|
|-
| 53
| [[HV Syscall Reference#lv1_construct_logical_spe|lv1_construct_logical_spe]]
|
|
|-
|-
| 54
| 54
Line 286: Line 226:
| 1
| 1
| 0
| 0
|-
| 55
| [[HV Syscall Reference#lv1_enable_logical_spe_execution|lv1_enable_logical_spe_execution]]
|
|
|-
| 56
| [[HV Syscall Reference#lv1_disable_logical_spe_execution|lv1_disable_logical_spe_execution]]
|
|
|-
|-
| 57
| 57
Line 301: Line 231:
| 7
| 7
| 6
| 6
|-
| 58
| [[HV Syscall Reference#lv1_sense_spe_execution_status|lv1_sense_spe_execution_status]]
|
|
|-
| 59
| [[HV Syscall Reference#lv1_undocumented_function_247|lv1_undocumented_function_247]]
|
|
|-
| 60
| [[HV Syscall Reference#lv1_undocumented_function_247|lv1_undocumented_function_247]]
|
|
|-
|-
| 61
| 61
| [[HV Syscall Reference#lv1_set_irq_mask_for_spu|lv1_set_irq_mask_for_spu]]
| [[HV Syscall Reference#lv1_set_spe_interrupt_mask|lv1_set_spe_interrupt_mask]]
| 3
| 3
| 0
| 0
|-
|-
| 62
| 62
| [[HV Syscall Reference#lv1_set_slb_for_logical_spu|lv1_set_slb_for_logical_spu]]  
| [[HV Syscall Reference#lv1_undocumented_function_62|lv1_undocumented_function_62]]
| 5
| ??
| 0
| ??
|-
|-
| 63
| 63
Line 351: Line 266:
| 2
| 2
| 1
| 1
|-
| 68
| [[HV Syscall Reference#lv1_load_range_registers|lv1_load_range_registers]]
|
|
|-
|-
| 69
| 69
Line 361: Line 271:
| 0
| 0
| 1
| 1
|-
| 70
| [[HV Syscall Reference#lv1_set_ppe_l2cache_rmt_entry|lv1_set_ppe_l2cache_rmt_entry]]
|
|
|-
| 71
| [[HV Syscall Reference#lv1_set_ppe_tlb_rmt_entry|lv1_set_ppe_tlb_rmt_entry]]
|
|
|-
| 72
| [[HV Syscall Reference#lv1_set_spe_tlb_rmt_entry|lv1_set_spe_tlb_rmt_entry]]
|
|
|-
|-
| 73
| 73
Line 391: Line 286:
| ??
| ??
| ??
| ??
|-
| 76
| [[HV Syscall Reference#lv1_undocumented_function_247|lv1_undocumented_function_247]]
|
|
|-
|-
| 77
| 77
Line 411: Line 301:
| 3
| 3
| 0
| 0
|-
| 80
| [[HV Syscall Reference#lv1_construct_spe_irq_outlet|lv1_construct_spe_irq_outlet]]
|
|
|-
| 81
| [[HV Syscall Reference#lv1_destruct_spe_irq_outlet|lv1_destruct_spe_irq_outlet]]
|
|
|-
| 82
| [[HV Syscall Reference#lv1_reinitialize_logical_spe|lv1_reinitialize_logical_spe]]
|
|
|-
| 83
| [[HV Syscall Reference#lv1_undocumented_function_247|lv1_undocumented_function_247]]
|
|
|-
| 84
| [[HV Syscall Reference#lv1_request_ipspc_service|lv1_request_ipspc_service]]
|
|
|-
| 85
| [[HV Syscall Reference#lv1_permit_use_of_ipspc_service|lv1_permit_use_of_ipspc_service]]
|
|
|-
| 86
| [[HV Syscall Reference#lv1_execute_ipspc_command|lv1_execute_ipspc_command]]
|
|
|-
| 87
| [[HV Syscall Reference#lv1_stop_ipspc_command|lv1_stop_ipspc_command]]
|
|
|-
| 88
| [[HV Syscall Reference#lv1_disconnect_ipspc_service|lv1_disconnect_ipspc_service]]
|
|
|-
|-
| 89
| 89
Line 481: Line 326:
| 4
| 4
| 0
| 0
|-
| 94
| [[HV Syscall Reference#lv1_write_htab_entry|lv1_write_htab_entry]]
|
|
|-
|-
| 95
| 95
Line 508: Line 348:
|-
|-
| 99
| 99
| [[HV_Syscall_Reference#lv1_authenticate_program_segment|lv1_authenticate_program_segment]]
| [[HV Syscall Reference#lv1_undocumented_function_99|lv1_undocumented_function_99]]
| 2
| ??
| 0
| ??
|-
| 100
| [[HV Syscall Reference#lv1_assign_io_address_translation_fault_port|lv1_assign_io_address_translation_fault_port]]
|
|
|-
| 101
| [[HV Syscall Reference#lv1_insert_htab_entry|lv1_insert_htab_entry]]
|  
|  
|-
|-
| 102
| 102
| [[HV Syscall Reference#lv1_undocumented_function_102|lv1_undocumented_function_102]]
| [[HV Syscall Reference#lv1_undocumented_function_102|lv1_undocumented_function_102]]
| 0
| ??
| 2
| ??
|-
|-
| 103
| 103
Line 531: Line 361:
| 2
| 2
| 1
| 1
|-
| 104
| [[HV Syscall Reference#lv1_cancel_shared_memory|lv1_cancel_shared_memory]]
|
|
|-
|-
| 105
| 105
| [[HV Syscall Reference#lv1_undocumented_function_105|lv1_comm_dev_logical_console_construct]]
| [[HV Syscall Reference#lv1_undocumented_function_105|lv1_undocumented_function_105]]
| 7
| ??
| 1
| ??
|-
|-
| 106
| 106
| [[HV Syscall Reference#lv1_undocumented_function_106|lv1_comm_dev_logical_console_destruct]]
| [[HV Syscall Reference#lv1_undocumented_function_106|lv1_undocumented_function_106]]
| 1
| ??
| 1
| ??
|-
|-
| 107
| 107
| [[HV Syscall Reference#lv1_undocumented_function_107|lv1_comm_dev_logical_console_send]]
| [[HV Syscall Reference#lv1_undocumented_function_107|lv1_undocumented_function_107]]
| 6
| ??
| 2
| ??
|-
|-
| 108
| 108
| [[HV Syscall Reference#lv1_undocumented_function_108|lv1_comm_dev_logical_console_receive]]
| [[HV Syscall Reference#lv1_undocumented_function_108|lv1_undocumented_function_108]]
| 1
| ??
| 6
| ??
|-
|-
| 109
| 109
| [[HV Syscall Reference#lv1_undocumented_function_109|lv1_comm_dev_logical_console_flush]]
| [[HV Syscall Reference#lv1_undocumented_function_109|lv1_undocumented_function_109]]
| 1
| ??
| 1
| ??
|-
|-
| 110
| 110
| [[HV Syscall Reference#lv1_read_remote_file|lv1_read_remote_file]]
| [[HV Syscall Reference#lv1_undocumented_function_110|lv1_undocumented_function_110]]
| 5
| ??
| 2
| ??
|-
|-
| 111
| 111
| [[HV Syscall Reference#lv1_write_remote_file|lv1_write_remote_file]]
| [[HV Syscall Reference#lv1_undocumented_function_111|lv1_undocumented_function_111]]
| 5
| ??
| 2
| ??
|-
|-
| 112
| 112
| [[HV Syscall Reference#lv1_get_remote_file_size|lv1_get_remote_file_size]]
| [[HV Syscall Reference#lv1_undocumented_function_112|lv1_undocumented_function_112]]
| 2
| ??
| 2
| ??
|-
| 113
| [[HV Syscall Reference#lv1_undocumented_function_247|lv1_undocumented_function_247]]
|  
|  
|-
|-
| 114
| 114
| [[HV Syscall Reference#lv1_map_physical_address_region|lv1_map_physical_address_region]]
| [[HV Syscall Reference#lv1_undocumented_function_114|lv1_undocumented_function_114]]
| 3
| 3
| 1
| 1
|-
|-
| 115
| 115
| [[HV Syscall Reference#lv1_unmap_physical_address_region|lv1_unmap_physical_address_region]]
| [[HV Syscall Reference#lv1_undocumented_function_115|lv1_undocumented_function_115]]
| 1
| 1
| 1
| 0
|-
|-
| 116
| 116
Line 633: Line 453:
|-
|-
| 124
| 124
| [[HV Syscall Reference#lv1_read_remote_file_long_name|lv1_read_remote_file_long_name]]
| [[HV Syscall Reference#lv1_undocumented_function_124|lv1_undocumented_function_124]]
| 6
| ??
| 2
| ??
|-
|-
| 125
| 125
| [[HV Syscall Reference#lv1_write_remote_file_long_name|lv1_write_remote_file_long_name]]
| [[HV Syscall Reference#lv1_undocumented_function_125|lv1_undocumented_function_125]]
| 6
| ??
| 2
| ??
|-
|-
| 126
| 126
| [[HV Syscall Reference#lv1_get_remote_file_size_long_name|lv1_get_remote_file_size_long_name]]
| [[HV Syscall Reference#lv1_undocumented_function_126|lv1_undocumented_function_126]]
| 3
| ??
| 2
| ??
|-
|-
| 127
| 127
Line 651: Line 471:
| 0
| 0
| 1
| 1
|-
| 128
| [[HV Syscall Reference#lv1_undocumented_function_247|lv1_undocumented_function_247]]
|
|
|-
| 129
| [[HV Syscall Reference#lv1_undocumented_function_247|lv1_undocumented_function_247]]
|
|
|-
| 130
| [[HV Syscall Reference#lv1_undocumented_function_247|lv1_undocumented_function_247]]
|
|
|-
| 131
| [[HV Syscall Reference#lv1_undocumented_function_247|lv1_undocumented_function_247]]
|
|
|-
| 132
| [[HV Syscall Reference#lv1_undocumented_function_247|lv1_undocumented_function_247]]
|
|
|-
| 133
| [[HV Syscall Reference#lv1_undocumented_function_247|lv1_undocumented_function_247]]
|
|
|-
|-
| 134
| 134
Line 689: Line 479:
| 135
| 135
| [[HV Syscall Reference#lv1_undocumented_function_135|lv1_undocumented_function_135]]
| [[HV Syscall Reference#lv1_undocumented_function_135|lv1_undocumented_function_135]]
| 3
| ??
| 2
| ??
|-
|-
| 136
| 136
| [[HV Syscall Reference#lv1_undocumented_function_136|lv1_undocumented_function_136]]
| [[HV Syscall Reference#lv1_undocumented_function_136|lv1_undocumented_function_136]]
| 4
| ??
| ??
| ??
|-
|-
| 137
| 137
| [[HV Syscall Reference#lv1_disable_spe_execution_locked|lv1_disable_spe_execution_locked]]
| [[HV Syscall Reference#lv1_undocumented_function_137|lv1_undocumented_function_137]]
| ??
| ??
| ??
| ??
Line 704: Line 494:
| 138
| 138
| [[HV Syscall Reference#lv1_undocumented_function_138|lv1_undocumented_function_138]]
| [[HV Syscall Reference#lv1_undocumented_function_138|lv1_undocumented_function_138]]
| 2
| ??
| 0
| ??
|-
| 139
| [[HV Syscall Reference#lv1_undocumented_function_247|lv1_undocumented_function_247]]
|
|  
|-
|-
| 140
| 140
Line 806: Line 591:
| 6
| 6
| 3
| 3
|-
| 159
| [[HV Syscall Reference#lv1_undocumented_function_247|lv1_undocumented_function_247]]
|
|
|-
| 160
| [[HV Syscall Reference#lv1_undocumented_function_247|lv1_undocumented_function_247]]
|
|
|-
| 161
| [[HV Syscall Reference#lv1_undocumented_function_247|lv1_undocumented_function_247]]
|
|
|-
|-
| 162
| 162
Line 849: Line 619:
| 167
| 167
| [[HV Syscall Reference#lv1_undocumented_function_167|lv1_undocumented_function_167]]
| [[HV Syscall Reference#lv1_undocumented_function_167|lv1_undocumented_function_167]]
| 2
| ??
| 1
| ??
|-
|-
| 168
| 168
| [[HV Syscall Reference#lv1_undocumented_function_168|lv1_logical_spu_set_mfc_control]]
| [[HV Syscall Reference#lv1_undocumented_function_168|lv1_undocumented_function_168]]
| 3
| ??
| 0
| ??
|-
| 169
| [[HV Syscall Reference#lv1_undocumented_function_247|lv1_undocumented_function_247]]
|  
|  
|-
|-
| 170
| 170
Line 931: Line 696:
| ??
| ??
| ??
| ??
|-
| 184
| [[HV Syscall Reference#lv1_undocumented_function_247|lv1_undocumented_function_247]]
|
|
|-
|-
| 185
| 185
Line 971: Line 731:
| 4
| 4
| 0
| 0
|-
| 192
| [[HV Syscall Reference#lv1_undocumented_function_247|lv1_undocumented_function_247]]
|
|
|-
|-
| 193
| 193
Line 993: Line 748:
|-
|-
| 196
| 196
| [[HV Syscall Reference#lv1_undocumented_function_196|lv1_net_driver_wlan_eurus_proxy]]
| [[HV Syscall Reference#lv1_undocumented_function_196|lv1_undocumented_function_196]]
| ??
| ??
| ??
| ??
Line 1,013: Line 768:
|-
|-
| 200
| 200
| [[HV Syscall Reference#lv1_undocumented_function_200|lv1_logical_spu_start_isolated]]
| [[HV Syscall Reference#lv1_undocumented_function_200|lv1_undocumented_function_200]]
| ??
| ??
| ??
| ??
Line 1,026: Line 781:
| 0
| 0
| 0
| 0
|-
| 203
| [[HV Syscall Reference#lv1_get_status_of_ipspc_service|lv1_get_status_of_ipspc_service]]
|
|
|-
| 204
| [[HV Syscall Reference#lv1_set_spe_privileged_state_1_registers|lv1_set_spe_privileged_state_1_registers]]
|
|
|-
| 205
| [[HV Syscall Reference#lv1_get_interrupt_status_of_spe|lv1_get_interrupt_status_of_spe]]
|
|
|-
| 206
| [[HV Syscall Reference#lv1_clear_interrupt_status_of_spe|lv1_clear_interrupt_status_of_spe]]
|
|
|-
|-
| 207
| 207
Line 1,051: Line 786:
| 2
| 2
| 0
| 0
|-
| 208
| [[HV Syscall Reference#lv1_get_spe_privileged_state_1_registers|lv1_get_spe_privileged_state_1_registers]]
|
|
|-
|-
| 209
| 209
Line 1,086: Line 816:
| 5
| 5
| 2
| 2
|-
| 215
| [[HV Syscall Reference#lv1_undocumented_function_247|lv1_undocumented_function_247]]
|
|
|-
|-
| 216
| 216
Line 1,106: Line 831:
| 1
| 1
| 0
| 0
|-
| 219
| [[HV Syscall Reference#lv1_undocumented_function_247|lv1_undocumented_function_247]]
|
|
|-
| 220
| [[HV Syscall Reference#lv1_undocumented_function_247|lv1_undocumented_function_247]]
|
|
|-
|-
| 221
| 221
Line 1,123: Line 838:
|-
|-
| 222
| 222
| [[HV Syscall Reference#lv1_gpu_context_uniomap|lv1_gpu_context_uniomap]]
| [[HV Syscall Reference#lv1_undocumented_function_222|lv1_undocumented_function_222]]
| 0
| 0
| 0
| 0
|-
| 223
| [[HV Syscall Reference#lv1_undocumented_function_247|lv1_undocumented_function_247]]
|
|
|-
| 224
| [[HV Syscall Reference#lv1_undocumented_function_247|lv1_undocumented_function_247]]
|
|
|-
|-
| 225
| 225
Line 1,147: Line 852:
| 6
| 6
| 0
| 0
|-
| 226
| [[HV Syscall Reference#lv1_undocumented_function_247|lv1_undocumented_function_247]]
|
|
|-
|-
| 227
| 227
Line 1,187: Line 887:
| ??
| ??
| ??
| ??
|-
| 234
| [[HV Syscall Reference#lv1_undocumented_function_247|lv1_undocumented_function_247]]
|
|
|-
| 235
| [[HV Syscall Reference#lv1_undocumented_function_247|lv1_undocumented_function_247]]
|
|
|-
| 236
| [[HV Syscall Reference#lv1_undocumented_function_247|lv1_undocumented_function_247]]
|
|
|-
| 237
| [[HV Syscall Reference#lv1_undocumented_function_247|lv1_undocumented_function_247]]
|
|
|-
| 238
| [[HV Syscall Reference#lv1_undocumented_function_247|lv1_undocumented_function_247]]
|
|
|-
| 239
| [[HV Syscall Reference#lv1_undocumented_function_247|lv1_undocumented_function_247]]
|
|
|-
|-
| 240
| 240
Line 1,269: Line 939:
|-
|-
| 250
| 250
| [[HV Syscall Reference#lv1_undocumented_function_250|lv1_storage_create_region]]
| [[HV Syscall Reference#lv1_undocumented_function_250|lv1_undocumented_function_250]]
| 5
| ??
| 2
| ??
|-
|-
| 251
| 251
| [[HV Syscall Reference#lv1_undocumented_function_251|lv1_storage_delete_region]]
| [[HV Syscall Reference#lv1_undocumented_function_251|lv1_undocumented_function_251]]
| 2
| ??
| 1
| ??
|-
|-
| 252
| 252
| [[HV Syscall Reference#lv1_undocumented_function_252|lv1_storage_set_region_acl]]
| [[HV Syscall Reference#lv1_undocumented_function_252|lv1_undocumented_function_252]]
| 4
| ??
| 1
| ??
|-
|-
| 253
| 253
| [[HV Syscall Reference#lv1_undocumented_function_253|lv1_storage_get_region_acl]]
| [[HV Syscall Reference#lv1_undocumented_function_253|lv1_undocumented_function_253]]
| 3
| ??
| 2
| ??
|-
|-
| 254
| 254
Line 1,297: Line 967:
| 1
| 1
| 0
| 0
|-
| 0x1000000000000101
| [[HV Syscall Reference#lv1_put_characters_to_console|lv1_put_characters_to_console]]
|
|
|-
| 0x1000000000000102
| [[HV Syscall Reference#lv1_get_characters_from_console|lv1_get_characters_from_console]]
|
|
|-
| 0x1000000000000104
| [[HV Syscall Reference#lv1_insert_htab_entry3|lv1_insert_htab_entry3]]
|
|
|-
| 0x1000000000000105
| [[HV Syscall Reference#lv1_invalidate_htab_entry3|lv1_invalidate_htab_entry3]]
|
|
|-
| 0x1000000000000106
| [[HV Syscall Reference#lv1_update_htab_permission3|lv1_update_htab_permission3]]
|
|
|-
| 0x1000000000000107
| [[HV Syscall Reference#lv1_clear_htab3|lv1_clear_htab3]]
|
|
|-
| 0x1000000000000111
| [[HV Syscall Reference#lv1_get_base_clock|lv1_get_base_clock]]
|
|
|-
| 0x1000000000000112
| [[HV Syscall Reference#lv1_set_base_clock|lv1_set_base_clock]]
|
|
|-
| 0x1000000000000114
| [[HV Syscall Reference#lv1_get_frame_cycle|lv1_get_frame_cycle]]
|
|
|-
| 0x1000000000000115
| [[HV Syscall Reference#lv1_disable_console|lv1_disable_console]]
|
|
|-
| 0x1000000000000116
| [[HV Syscall Reference#lv1_disable_all_console|lv1_disable_all_console]]
|
|
|-
| 0x1000000000000117
| [[HV Syscall Reference#lv1_oneshot_timer|lv1_oneshot_timer]]
|
|
|-
| 0x1000000000000118
| [[HV Syscall Reference#lv1_set_dabr|lv1_set_dabr]]
|
|
|-
| 0x1000000000000119
| [[HV Syscall Reference#lv1_get_dabr|lv1_get_dabr]]
|
|
|-
| 0x1000000000000122
| [[HV Syscall Reference#lv1_set_priority_of_irq_outlet|lv1_set_priority_of_irq_outlet]]
|
|
|-
| 0x1000000000000128
| [[HV Syscall Reference#lv1_get_physical_spe_by_reservation_id|lv1_get_physical_spe_by_reservation_id]]
|
|
|-
| 0x1000000000000129
| [[HV Syscall Reference#lv1_get_spe_context|lv1_get_spe_context]]
|
|
|-
| 0x100000000000012A
| [[HV Syscall Reference#lv1_set_spe_context|lv1_set_spe_context]]
|
|
|-
| 0x100000000000012E
| [[HV Syscall Reference#lv1_downcount_of_interrupt|lv1_downcount_of_interrupt]]
|
|
|-
| 0x100000000000012F
| [[HV Syscall Reference#lv1_peek_spe_context|lv1_peek_spe_context]]
|
|
|-
| 0x1000000000000131
| [[HV Syscall Reference#lv1_read_bpa_register|lv1_read_bpa_register]]
|
|
|-
| 0x1000000000000132
| [[HV Syscall Reference#lv1_write_bpa_register|lv1_write_bpa_register]]
|
|
|-
| 0x1000000000000137
| [[HV Syscall Reference#lv1_map_context_table_of_spe|lv1_map_context_table_of_spe]]
|
|
|-
| 0x1000000000000138
| [[HV Syscall Reference#lv1_get_slb_for_logical_spe|lv1_get_slb_for_logical_spe]]
|
|
|-
| 0x1000000000000139
| [[HV Syscall Reference#lv1_set_slb_for_logical_spe|lv1_set_slb_for_logical_spe]]
|
|
|-
| 0x1000000000000150
| [[HV Syscall Reference#lv1_init_pm|lv1_init_pm]]
|
|
|-
| 0x1000000000000151
| [[HV Syscall Reference#lv1_set_pm_signal|lv1_set_pm_signal]]
|
|
|-
| 0x1000000000000152
| [[HV Syscall Reference#lv1_get_pm_signal|lv1_get_pm_signal]]
|
|
|-
| 0x1000000000000153
| [[HV Syscall Reference#lv1_set_pm_config|lv1_set_pm_config]]
|
|
|-
| 0x1000000000000154
| [[HV Syscall Reference#lv1_get_pm_config|lv1_get_pm_config]]
|
|
|-
| 0x1000000000000155
| [[HV Syscall Reference#lv1_get_inner_trace_data|lv1_get_inner_trace_data]]
|
|
|-
| 0x1000000000000156
| [[HV Syscall Reference#lv1_set_ext_trace_buffer|lv1_set_ext_trace_buffer]]
|
|
|-
| 0x1000000000000157
| [[HV Syscall Reference#lv1_get_ext_trace_buffer|lv1_get_ext_trace_buffer]]
|
|
|-
| 0x1000000000000158
| [[HV Syscall Reference#lv1_set_pm_interrupt|lv1_set_pm_interrupt]]
|
|
|-
| 0x1000000000000159
| [[HV Syscall Reference#lv1_get_pm_interrupt|lv1_get_pm_interrupt]]
|
|
|-
| 0x1000000000000160
| [[HV Syscall Reference#lv1_kick_pm|lv1_kick_pm]]
|
|
|-
| 0x1000000000000164
| [[HV Syscall Reference#lv1_construct_pm_context|lv1_construct_pm_context]]
|
|
|-
| 0x1000000000000165
| [[HV Syscall Reference#lv1_destruct_pm_context |lv1_destruct_pm_context ]]
|
|
|-
| 0x1000000000000170
| [[HV Syscall Reference#lv1_be_slow|lv1_be_slow]]
|
|
|-
| 0x1000000000000173
| [[HV Syscall Reference#lv1_assign_ipspc_server_connection_status_notification_port|lv1_assign_ipspc_server_connection_status_notification_port]]
|
|
|-
| 0x1000000000000174
| [[HV Syscall Reference#lv1_get_raid_of_physical_spe|lv1_get_raid_of_physical_spe]]
|
|
|-
| 0x1000000000000175
| [[HV Syscall Reference#lv1_set_physical_spe_to_rag|lv1_set_physical_spe_to_rag]]
|
|
|-
| 0x1000000000000176
| [[HV Syscall Reference#lv1_release_physical_spe_from_rag|lv1_release_physical_spe_from_rag]]
|
|
|-
| 0x1000000000000190
| [[HV Syscall Reference#lv1_rtc_read|lv1_rtc_read]]
|
|
|-
| 0x1000000000000191
| [[HV Syscall Reference#lv1_rtc_write|lv1_rtc_write]]
|
|
|-
| 0x1000000000000192
| [[HV Syscall Reference#lv1_eeprom_read|lv1_eeprom_read]]
|
|
|-
| 0x1000000000000193
| [[HV Syscall Reference#lv1_eeprom_write|lv1_eeprom_write]]
|
|
|-
| 0x100000000000021C
| [[HV Syscall Reference#lv1_start_hv_stats|lv1_start_hv_stats]]
|
|
|-
| 0x100000000000021D
| [[HV Syscall Reference#lv1_stop_hv_stats|lv1_stop_hv_stats]]
|
|
|-
| 0x100000000000021E
| [[HV Syscall Reference#lv1_get_hv_stats|lv1_get_hv_stats]]
|
|
|-
| 0x1000000000000221
| [[HV Syscall Reference#lv1_get_hv_error_stats|lv1_get_hv_error_stats]]
|
|
|-
| 0x1000000000000224
| [[HV Syscall Reference#lv1_get_stats|lv1_get_stats]]
|
|
|-
| 0x1000000000000225
| [[HV Syscall Reference#lv1_get_heap_stats|lv1_get_heap_stats]]
|
|
|-
| 0x1000000000000227
| [[HV Syscall Reference#lv1_get_memory_stats|lv1_get_memory_stats]]
|
|
|-
| 0x1000000000000228
| [[HV Syscall Reference#lv1_get_memory_detail|lv1_get_memory_detail]]
|
|
|-
|}
=== Unofficial Hypercalls added ===
{| class="wikitable sortable"
|-
!Number
!Function - Added by
!Notes
|-
| 16
| Peek - graf
|
|-
| 20
| Poke - graf
|
|-
|}
=== HV Calls Table Offset ===
(preliminary table, please help to fill in/expand)
*The address of HV table is stored at -0x6FC8(HSPRG0).
*The address of HV table size is stored at -0x6FD0(HSPRG0).
{| cellspacing="0" cellpadding="2" border="1" class="wikitable sortable"
|-
! Function !! Notes !! 3.55 offset !! 3.41 offset !! 3.15 offset !! 3.10 offset !! 3.01 offset !! 2.76 offset
|-
| HV Syscall Table || Offset to HV Syscall Table from base HV addr. e.g. if you map HV to HV_LV2_BASE_ADDR the Table would be at HV_LV2_BASE_ADDR+0x00365888. || 0x00365888 || 0x00361b08 || 0x00363a08 || || ||
|-
| set_lv1_hvcall_table || This function sets pointer to HV Call Table and the size of HV Call Table in HSPRG context of a LPAR. || 0x002C2B4C || 0x002C02B4 || 0x002C1F04 ||  ||  ||
|-
| set_lv1_hvcall_table_entry_invalid || This function initializes an entry in HV Call Table to the Invalid HV Call function. || 0x002C2B70 || 0x002C02D8 || 0x002C1F28 ||  ||  ||
|-
| lv1_mm_call function table || Each entry is a pointer to a function TOC entry. Size = 256 || 0x00366088 || 0x00362308 || 0x00364208 ||  ||  ||
|-
| lv1_map_htab ||  ||  ||  || 0x002D595C ||  ||  ||
|-
| lv1_unmap_htab ||  ||  ||  || 0x002D56B8 ||  ||  ||
|-
| lv1_allocate_memory ||  ||  ||  || 0x002D72F0 ||  ||  ||
|-
| lv1_release_memory ||  ||  ||  || 0x002D66A4 ||  ||  || 
|-
| lv1_query_logical_partition_address_region_info ||  ||  ||  || 0x002C9B24 ||  ||  || 
|-
| lv1_create_repository_node ||  ||  ||  || 0x002DD014 ||  ||  ||
|-
| lv1_get_repository_node_value ||  ||  ||  || 0x002DD260 ||  ||  ||
|-
| lv1_undocumented_function_231 ||  ||  ||  || 0x0030B560 ||  ||  ||
|-
|}
== HV Return Values ==
{| class="wikitable sortable"
|-
!Status
!Code
|-
|LV1_SUCCESS
| 0
|-
|not used
| -1
|-
|LV1_RESOURCE_SHORTAGE
| -2
|-
|LV1_NO_PRIVILEGE
| -3
|-
|LV1_DENIED_BY_POLICY
| -4
|-
|LV1_ACCESS_VIOLATION
| -5
|-
|LV1_NO_ENTRY
| -6
|-
|LV1_DUPLICATE_ENTRY
| -7
|-
|LV1_TYPE_MISMATCH
| -8
|-
|LV1_BUSY
| -9
|-
|LV1_EMPTY
| -10
|-
|LV1_WRONG_STATE
| -11
|-
|not used
| -12
|-
|LV1_NO_MATCH
| -13
|-
|LV1_ALREADY_CONNECTED
| -14
|-
|LV1_UNSUPPORTED_PARAMETER_VALUE
| -15
|-
|LV1_CONDITION_NOT_SATISFIED
| -16
|-
|LV1_ILLEGAL_PARAMETER_VALUE
| -17
|-
|LV1_BAD_OPTION
| -18
|-
|LV1_IMPLEMENTATION_LIMITATION
| -19
|-
|LV1_NOT_IMPLEMENTED
| -20
|-
|LV1_INVALID_CLASS_ID
| -21
|-
|LV1_CONSTRAINT_NOT_SATISFIED
| -22
|-
|LV1_ALIGNMENT_ERROR
| -23
|-
|LV1_INTERNAL_ERROR
| -32768
|-
|}
=== other sources ===
http://web.archive.org/web/20100222062305/http://ps3hvdoc.wikispaces.com/lv1+calls+offsets
{{Development}}<noinclude>[[Category:Main]]</noinclude>
Please note that all contributions to PS3 Developer wiki are considered to be released under the GNU Free Documentation License 1.2 (see PS3 Developer wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

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

Cancel Editing help (opens in new window)