HV Syscalls: Difference between revisions
Jump to navigation
Jump to search
Line 909: | Line 909: | ||
=== HV | === HV Calls Table Offset === | ||
(preliminary table, please help to fill in/expand) | (preliminary table, please help to fill in/expand) | ||
{| cellspacing="0" cellpadding="2" border="1" class="wikitable" | *The address of HV table is stored at -0x6FC8(HSPRG0). | ||
*The address of HV table size is stored at -0x6FD0(HSPRG0). | |||
(preliminary table, please help to fill in/expand) | |||
{| cellspacing="0" cellpadding="2" border="1" class="wikitable sortable" | |||
|- | |- | ||
| 3.01 | ! rowspan="2" | Function || rowspan="2" | Notes !! 3.55 !! 3.41 !! 3.15 !! 3.10 !! 3.01 !! 2.76 | ||
|- | |- | ||
| | ! colspan="6" | Offset | ||
|- | |- | ||
| | | 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 || || || | ||
|- | |- | ||
|} | |} |
Revision as of 14:46, 26 November 2011
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).
(preliminary table, please help to fill in/expand)
Function | Notes | 3.55 | 3.41 | 3.15 | 3.10 | 3.01 | 2.76 |
---|---|---|---|---|---|---|---|
Offset | |||||||
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 |