VirtualBox

Changeset 48649 in vbox for trunk/include/VBox/vmm


Ignore:
Timestamp:
Sep 24, 2013 9:05:56 AM (12 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
89247
Message:

VMM/HMVMXR0: VMCS size is bits 44:32 not 43:32. Assert what the Intel spec. claims as well.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/vmm/hm_vmx.h

    r48543 r48649  
    115115 *  for storing guest MSRs. */
    116116#define VMX_UFC_INSUFFICIENT_GUEST_MSR_STORAGE                  6
     117/** Invalid VMCS size. */
     118#define VMX_UFC_INVALID_VMCS_SIZE                               7
    117119/** @} */
    118120
     
    10791081#define MSR_IA32_VMX_BASIC_INFO_VMCS_ID(a)                      ((a) & 0x7FFFFFFF)
    10801082/** Size of the VMCS. */
    1081 #define MSR_IA32_VMX_BASIC_INFO_VMCS_SIZE(a)                    (((a) >> 32) & 0xFFF)
     1083#define MSR_IA32_VMX_BASIC_INFO_VMCS_SIZE(a)                    (((a) >> 32) & 0x1FFF)
    10821084/** Width of physical address used for the VMCS.
    10831085 *  0 -> limited to the available amount of physical ram
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette