HV Syscalls: Difference between revisions
Jump to navigation
Jump to search
m (→HV Syscalls) |
|||
(One intermediate revision by the same user not shown) | |||
Line 524: | Line 524: | ||
| 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 689: | Line 689: | ||
| 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 | ||
| ?? | | ?? | ||
|- | |- |
Latest revision as of 16:30, 2 August 2023
LV1/hvcall index[edit | edit source]
This page is used as an indexpage of the hypercalls listed @ HV Syscall Reference
HV Syscalls[edit | edit source]
Unofficial Hypercalls added[edit | edit source]
Number | Function - Added by | Notes |
---|---|---|
16 | Peek - graf | |
20 | Poke - graf |
HV Calls Table Offset[edit | edit source]
(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).
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[edit | edit source]
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[edit | edit source]
http://web.archive.org/web/20100222062305/http://ps3hvdoc.wikispaces.com/lv1+calls+offsets