Skip to content

Commit 50c3525

Browse files
authored
Fixed __vmx_on parameter being incorrect
according to the intel manual Vol. 3C 30-27, "The operand of this instruction is a 4KB-aligned physical address (the VMXON pointer) that references the VMXON region, which the logical processor may use to support VMX operation. This operand is always 64 bits and is always in memory.". this was already correctly explained in the "Parameters" section, but also wrongly named.
1 parent 592ef4a commit 50c3525

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/intrinsics/vmx-on.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@ Activates virtual machine extensions (VMX) operation in the processor.
1616

1717
```C
1818
unsigned char __vmx_on(
19-
unsigned __int64 *VmsSupportPhysicalAddress
19+
unsigned __int64 *VmxonRegionPhysicalAddress
2020
);
2121
```
2222

2323
### Parameters
2424

25-
*VmsSupportPhysicalAddress*\
26-
[in] A pointer to a 64-bit physical address that points to a VMXON region.
25+
*VmxonRegionPhysicalAddress*\
26+
[in] A pointer to a 64-bit 4KB-aligned physical address that points to a VMXON region.
2727

2828
## Return value
2929

0 commit comments

Comments
 (0)