HV Syscalls: Difference between revisions
Jump to navigation
Jump to search
(→HV Syscalls: added lv1_undocumented_function_247 entries) |
|||
Line 81: | Line 81: | ||
| 1 | | 1 | ||
| 0 | | 0 | ||
|- | |||
| 14 | |||
| [[HV Syscall Reference#lv1_undocumented_function_247|lv1_undocumented_function_247]] | |||
| | |||
| | |||
|- | |- | ||
| 15 | | 15 | ||
Line 86: | Line 91: | ||
| 5 | | 5 | ||
| 0 | | 0 | ||
|- | |||
| 16 | |||
| [[HV Syscall Reference#lv1_undocumented_function_247|lv1_undocumented_function_247]] | |||
| | |||
| | |||
|- | |- | ||
| 17 | | 17 | ||
Line 101: | Line 111: | ||
| 1 | | 1 | ||
| 0 | | 0 | ||
|- | |||
| 20 | |||
| [[HV Syscall Reference#lv1_undocumented_function_247|lv1_undocumented_function_247]] | |||
| | |||
| | |||
|- | |||
| 21 | |||
| [[HV Syscall Reference#lv1_undocumented_function_247|lv1_undocumented_function_247]] | |||
| | |||
| | |||
|- | |||
| 22 | |||
| [[HV Syscall Reference#lv1_undocumented_function_247|lv1_undocumented_function_247]] | |||
| | |||
| | |||
|- | |||
| 23 | |||
| [[HV Syscall Reference#lv1_undocumented_function_247|lv1_undocumented_function_247]] | |||
| | |||
| | |||
|- | |- | ||
| 24 | | 24 | ||
Line 106: | Line 136: | ||
| 1 | | 1 | ||
| 0 | | 0 | ||
|- | |||
| 25 | |||
| [[HV Syscall Reference#lv1_undocumented_function_247|lv1_undocumented_function_247]] | |||
| | |||
| | |||
|- | |- | ||
| 26 | | 26 | ||
Line 136: | Line 171: | ||
| 2 | | 2 | ||
| 0 | | 0 | ||
|- | |||
| 32 | |||
| [[HV Syscall Reference#lv1_undocumented_function_247|lv1_undocumented_function_247]] | |||
| | |||
| | |||
|- | |||
| 33 | |||
| [[HV Syscall Reference#lv1_undocumented_function_247|lv1_undocumented_function_247]] | |||
| | |||
| | |||
|- | |||
| 34 | |||
| [[HV Syscall Reference#lv1_undocumented_function_247|lv1_undocumented_function_247]] | |||
| | |||
| | |||
|- | |||
| 35 | |||
| [[HV Syscall Reference#lv1_undocumented_function_247|lv1_undocumented_function_247]] | |||
| | |||
| | |||
|- | |||
| 36 | |||
| [[HV Syscall Reference#lv1_undocumented_function_247|lv1_undocumented_function_247]] | |||
| | |||
| | |||
|- | |||
| 37 | |||
| [[HV Syscall Reference#lv1_undocumented_function_247|lv1_undocumented_function_247]] | |||
| | |||
| | |||
|- | |||
| 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 141: | Line 236: | ||
| 1 | | 1 | ||
| 0 | | 0 | ||
|- | |||
| 45 | |||
| [[HV Syscall Reference#lv1_undocumented_function_247|lv1_undocumented_function_247]] | |||
| | |||
| | |||
|- | |||
| 46 | |||
| [[HV Syscall Reference#lv1_undocumented_function_247|lv1_undocumented_function_247]] | |||
| | |||
| | |||
|- | |||
| 47 | |||
| [[HV Syscall Reference#lv1_undocumented_function_247|lv1_undocumented_function_247]] | |||
| | |||
| | |||
|- | |||
| 48 | |||
| [[HV Syscall Reference#lv1_undocumented_function_247|lv1_undocumented_function_247]] | |||
| | |||
| | |||
|- | |||
| 49 | |||
| [[HV Syscall Reference#lv1_undocumented_function_247|lv1_undocumented_function_247]] | |||
| | |||
| | |||
|- | |||
| 50 | |||
| [[HV Syscall Reference#lv1_undocumented_function_247|lv1_undocumented_function_247]] | |||
| | |||
| | |||
|- | |||
| 51 | |||
| [[HV Syscall Reference#lv1_undocumented_function_247|lv1_undocumented_function_247]] | |||
| | |||
| | |||
|- | |||
| 52 | |||
| [[HV Syscall Reference#lv1_undocumented_function_247|lv1_undocumented_function_247]] | |||
| | |||
| | |||
|- | |||
| 53 | |||
| [[HV Syscall Reference#lv1_undocumented_function_247|lv1_undocumented_function_247]] | |||
| | |||
| | |||
|- | |- | ||
| 54 | | 54 | ||
Line 146: | Line 286: | ||
| 1 | | 1 | ||
| 0 | | 0 | ||
|- | |||
| 55 | |||
| [[HV Syscall Reference#lv1_undocumented_function_247|lv1_undocumented_function_247]] | |||
| | |||
| | |||
|- | |||
| 56 | |||
| [[HV Syscall Reference#lv1_undocumented_function_247|lv1_undocumented_function_247]] | |||
| | |||
| | |||
|- | |- | ||
| 57 | | 57 | ||
Line 151: | Line 301: | ||
| 7 | | 7 | ||
| 6 | | 6 | ||
|- | |||
| 58 | |||
| [[HV Syscall Reference#lv1_undocumented_function_247|lv1_undocumented_function_247]] | |||
| | |||
| | |||
|- | |||
| 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 | ||
Line 186: | Line 351: | ||
| 2 | | 2 | ||
| 1 | | 1 | ||
|- | |||
| 68 | |||
| [[HV Syscall Reference#lv1_undocumented_function_247|lv1_undocumented_function_247]] | |||
| | |||
| | |||
|- | |- | ||
| 69 | | 69 | ||
Line 191: | Line 361: | ||
| 0 | | 0 | ||
| 1 | | 1 | ||
|- | |||
| 70 | |||
| [[HV Syscall Reference#lv1_undocumented_function_247|lv1_undocumented_function_247]] | |||
| | |||
| | |||
|- | |||
| 71 | |||
| [[HV Syscall Reference#lv1_undocumented_function_247|lv1_undocumented_function_247]] | |||
| | |||
| | |||
|- | |||
| 72 | |||
| [[HV Syscall Reference#lv1_undocumented_function_247|lv1_undocumented_function_247]] | |||
| | |||
| | |||
|- | |- | ||
| 73 | | 73 | ||
Line 206: | Line 391: | ||
| ?? | | ?? | ||
| ?? | | ?? | ||
|- | |||
| 76 | |||
| [[HV Syscall Reference#lv1_undocumented_function_247|lv1_undocumented_function_247]] | |||
| | |||
| | |||
|- | |- | ||
| 77 | | 77 | ||
Line 221: | Line 411: | ||
| 3 | | 3 | ||
| 0 | | 0 | ||
|- | |||
| 80 | |||
| [[HV Syscall Reference#lv1_undocumented_function_247|lv1_undocumented_function_247]] | |||
| | |||
| | |||
|- | |||
| 81 | |||
| [[HV Syscall Reference#lv1_undocumented_function_247|lv1_undocumented_function_247]] | |||
| | |||
| | |||
|- | |||
| 82 | |||
| [[HV Syscall Reference#lv1_undocumented_function_247|lv1_undocumented_function_247]] | |||
| | |||
| | |||
|- | |||
| 83 | |||
| [[HV Syscall Reference#lv1_undocumented_function_247|lv1_undocumented_function_247]] | |||
| | |||
| | |||
|- | |||
| 84 | |||
| [[HV Syscall Reference#lv1_undocumented_function_247|lv1_undocumented_function_247]] | |||
| | |||
| | |||
|- | |||
| 85 | |||
| [[HV Syscall Reference#lv1_undocumented_function_247|lv1_undocumented_function_247]] | |||
| | |||
| | |||
|- | |||
| 86 | |||
| [[HV Syscall Reference#lv1_undocumented_function_247|lv1_undocumented_function_247]] | |||
| | |||
| | |||
|- | |||
| 87 | |||
| [[HV Syscall Reference#lv1_undocumented_function_247|lv1_undocumented_function_247]] | |||
| | |||
| | |||
|- | |||
| 88 | |||
| [[HV Syscall Reference#lv1_undocumented_function_247|lv1_undocumented_function_247]] | |||
| | |||
| | |||
|- | |- | ||
| 89 | | 89 | ||
Line 246: | Line 481: | ||
| 4 | | 4 | ||
| 0 | | 0 | ||
|- | |||
| 94 | |||
| [[HV Syscall Reference#lv1_undocumented_function_247|lv1_undocumented_function_247]] | |||
| | |||
| | |||
|- | |- | ||
| 95 | | 95 | ||
Line 271: | Line 511: | ||
| ?? | | ?? | ||
| ?? | | ?? | ||
|- | |||
| 100 | |||
| [[HV Syscall Reference#lv1_undocumented_function_247|lv1_undocumented_function_247]] | |||
| | |||
| | |||
|- | |||
| 101 | |||
| [[HV Syscall Reference#lv1_undocumented_function_247|lv1_undocumented_function_247]] | |||
| | |||
| | |||
|- | |- | ||
| 102 | | 102 | ||
Line 281: | Line 531: | ||
| 2 | | 2 | ||
| 1 | | 1 | ||
|- | |||
| 104 | |||
| [[HV Syscall Reference#lv1_undocumented_function_247|lv1_undocumented_function_247]] | |||
| | |||
| | |||
|- | |- | ||
| 105 | | 105 | ||
Line 321: | Line 576: | ||
| ?? | | ?? | ||
| ?? | | ?? | ||
|- | |||
| 113 | |||
| [[HV Syscall Reference#lv1_undocumented_function_247|lv1_undocumented_function_247]] | |||
| | |||
| | |||
|- | |- | ||
| 114 | | 114 | ||
Line 391: | Line 651: | ||
| 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 416: | Line 706: | ||
| ?? | | ?? | ||
| ?? | | ?? | ||
|- | |||
| 139 | |||
| [[HV Syscall Reference#lv1_undocumented_function_247|lv1_undocumented_function_247]] | |||
| | |||
| | |||
|- | |- | ||
| 140 | | 140 | ||
Line 511: | Line 806: | ||
| 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 546: | Line 856: | ||
| ?? | | ?? | ||
| ?? | | ?? | ||
|- | |||
| 169 | |||
| [[HV Syscall Reference#lv1_undocumented_function_247|lv1_undocumented_function_247]] | |||
| | |||
| | |||
|- | |- | ||
| 170 | | 170 | ||
Line 616: | Line 931: | ||
| ?? | | ?? | ||
| ?? | | ?? | ||
|- | |||
| 184 | |||
| [[HV Syscall Reference#lv1_undocumented_function_247|lv1_undocumented_function_247]] | |||
| | |||
| | |||
|- | |- | ||
| 185 | | 185 | ||
Line 651: | Line 971: | ||
| 4 | | 4 | ||
| 0 | | 0 | ||
|- | |||
| 192 | |||
| [[HV Syscall Reference#lv1_undocumented_function_247|lv1_undocumented_function_247]] | |||
| | |||
| | |||
|- | |- | ||
| 193 | | 193 | ||
Line 701: | Line 1,026: | ||
| 0 | | 0 | ||
| 0 | | 0 | ||
|- | |||
| 203 | |||
| [[HV Syscall Reference#lv1_undocumented_function_247|lv1_undocumented_function_247]] | |||
| | |||
| | |||
|- | |||
| 204 | |||
| [[HV Syscall Reference#lv1_undocumented_function_247|lv1_undocumented_function_247]] | |||
| | |||
| | |||
|- | |||
| 205 | |||
| [[HV Syscall Reference#lv1_undocumented_function_247|lv1_undocumented_function_247]] | |||
| | |||
| | |||
|- | |||
| 206 | |||
| [[HV Syscall Reference#lv1_undocumented_function_247|lv1_undocumented_function_247]] | |||
| | |||
| | |||
|- | |- | ||
| 207 | | 207 | ||
Line 706: | Line 1,051: | ||
| 2 | | 2 | ||
| 0 | | 0 | ||
|- | |||
| 208 | |||
| [[HV Syscall Reference#lv1_undocumented_function_247|lv1_undocumented_function_247]] | |||
| | |||
| | |||
|- | |- | ||
| 209 | | 209 | ||
Line 736: | Line 1,086: | ||
| 5 | | 5 | ||
| 2 | | 2 | ||
|- | |||
| 215 | |||
| [[HV Syscall Reference#lv1_undocumented_function_247|lv1_undocumented_function_247]] | |||
| | |||
| | |||
|- | |- | ||
| 216 | | 216 | ||
Line 751: | Line 1,106: | ||
| 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 761: | Line 1,126: | ||
| 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 772: | Line 1,147: | ||
| 6 | | 6 | ||
| 0 | | 0 | ||
|- | |||
| 226 | |||
| [[HV Syscall Reference#lv1_undocumented_function_247|lv1_undocumented_function_247]] | |||
| | |||
| | |||
|- | |- | ||
| 227 | | 227 | ||
Line 807: | Line 1,187: | ||
| ?? | | ?? | ||
| ?? | | ?? | ||
|- | |||
| 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 |
Revision as of 06:50, 19 February 2012
LV1/hvcall index
This page is used as an indexpage of the hypercalls listed @ HV Syscall Reference
HV Syscalls
Unofficial Hypercalls added
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).
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 | 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
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 |