VirtualBox

Changeset 80093 in vbox


Ignore:
Timestamp:
Aug 1, 2019 4:24:48 AM (5 years ago)
Author:
vboxsync
Message:

hmvmxinline.h: Kicking out 32-bit host support [nit]. bugref:9511

File:
1 edited

Legend:

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

    r80092 r80093  
    574574DECLINLINE(int) VMXWriteVmcs16(uint32_t uVmcsField, uint16_t u16Val)
    575575{
    576     AssertMsg(((uVmcsField >> VMX_BF_VMCSFIELD_WIDTH_SHIFT) & 7) == VMX_VMCSFIELD_WIDTH_16BIT, ("%#RX32\n", uVmcsField));
     576    AssertMsg(RT_BF_GET(uVmcsField, VMX_BF_VMCSFIELD_WIDTH) == VMX_VMCSFIELD_WIDTH_16BIT, ("%#RX32\n", uVmcsField));
    577577    return VMXWriteVmcs32(uVmcsField, u16Val);
    578578}
     
    755755    uint32_t u32Tmp;
    756756    int      rc;
    757     AssertMsg(((uVmcsField >> VMX_BF_VMCSFIELD_WIDTH_SHIFT) & 7) == VMX_VMCSFIELD_WIDTH_16BIT, ("%#RX32\n", uVmcsField));
     757    AssertMsg(RT_BF_GET(uVmcsField, VMX_BF_VMCSFIELD_WIDTH) == VMX_VMCSFIELD_WIDTH_16BIT, ("%#RX32\n", uVmcsField));
    758758    rc = VMXReadVmcs32(uVmcsField, &u32Tmp);
    759759    *pData = (uint16_t)u32Tmp;
Note: See TracChangeset for help on using the changeset viewer.

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