Hypercall Function Code Reference
The following table lists hypercall functions by each function's code number. The table also indicates whether each function is a rep or fast hypercall function and if the partition that calls the function requires any particular privilege or must be a particular type (for example, if the partition must be the parent partition). The HV_CALL_CODE enumeration contains all hypercall codes. For more information about hypercall functions, see Hypercall Interface.
Function code | Rep call | Fastcall | Hypercall | Caller | Partition privilege required (if any) |
---|---|---|---|---|---|
0x0001 |
x | HvSwitchVirtualAddressSpace |
Any |
UseHypercallForAddressSpaceSwitch | |
0x0002 | HvFlushVirtualAddressSpace |
Any |
UseHypercallFor[Local][Remote]Flush | ||
0x0003 |
x | HvFlushVirtualAddressList |
Any |
UseHypercallFor[Local][Remote]Flush | |
0x0004 |
Any |
CPUManagement | |||
0x0005 through 0x0007 |
Reserved for future use | ||||
0x0008 |
x | HvNotifyLongSpinWait |
Any | ||
0x0009 |
Any |
CPUManagement | |||
0x000A |
Any | ||||
0x000B through 0x003F |
Reserved for future use | ||||
0x0040 |
Any |
CreatePartitions | |||
0x0041 |
x | HvInitializePartition |
Parent | ||
0x0042 |
x | HvFinalizePartition |
Parent | ||
0x0043 |
x | HvDeletePartition |
Parent | ||
0x0044 | HvGetPartitionProperty |
| |||
0x0045 | HvSetPartitionProperty |
| |||
0x0046 |
Any |
AccessPartitionId | |||
0x0047 | HvGetNextChildPartition |
Parent | |||
0x0048 |
x |
|
AccessMemoryPool | ||
0x0049 |
x |
|
AccessMemoryPool | ||
0x004A |
|
AccessMemoryPool | |||
0x004B |
x | HvMapGpaPages |
| ||
0x004C |
x | HvUnmapGpaPages |
Parent | ||
0x004D | HvInstallIntercept |
Parent | |||
0x004E | HvCreateVp |
Parent | |||
0x004F |
x | HvDeleteVp |
Parent | ||
0x0050 |
x | HvGetVpRegisters |
| ||
0x0051 |
x | HvSetVpRegisters |
Parent | ||
0x0052 | HvTranslateVirtualAddress |
Parent | |||
0x0053 | HvReadGpa |
Parent | |||
0x0054 | HvWriteGpa |
Parent | |||
0x0055 | HvAssertVirtualInterrupt |
Parent | |||
0x0056 |
x | HvClearVirtualInterrupt |
Parent | ||
0x0057 |
|
CreatePort | |||
0x0058 |
x | HvDeletePort |
| ||
0x0059 |
|
ConnectPort | |||
0x005A | HvGetPortProperty |
| |||
0x005B |
x | HvDisconnectPort |
| ||
0x005C |
Any |
PostMessages | |||
0x005D |
x | HvSignalEvent |
Any |
SignalEvents | |
0x005E | HvSavePartitionState |
Parent | |||
0x005F |
Parent |
CreatePartitions | |||
0x0060 | HvInitializeEventLogBufferGroup |
Root | |||
0x0061 |
x | HvFinalizeEventLogBufferGroup |
Root | ||
0x0062 |
x | HvCreateEventLogBuffer |
Root | ||
0x0063 |
x | HvDeleteEventLogBuffer |
Root | ||
0x0064 | HvMapEventLogBuffer |
Root | |||
0x0065 |
x | HvUnmapEventLogBuffer |
Root | ||
0x0066 |
x | HvSetEventLogGroupSources |
Root | ||
0x0067 |
x | HvReleaseEventLogBuffer |
Root | ||
0x0068 |
x | HvFlushEventLogBuffer |
Root | ||
0x0069 | HvPostDebugData |
Any |
Debugging | ||
0x006A | HvRetrieveDebugData |
Any |
Debugging | ||
0x006B |
x | HvResetDebugSession |
Any |
Debugging | |
0x006C | HvMapStatsPage |
Parent |
AccessStats | ||
0x006D | HvUnmapStatsPage |
Parent |
AccessStats | ||
0x006E |
Parent/Root | ||||
0x006F |
Root |
ConfigureProfiler | |||
0x0070 |
Parent/Self |
CreatePort |
Send comments about this topic to Microsoft
Build date: 11/16/2013