Changeset 80093 in vbox
- Timestamp:
- Aug 1, 2019 4:24:48 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vmm/hmvmxinline.h
r80092 r80093 574 574 DECLINLINE(int) VMXWriteVmcs16(uint32_t uVmcsField, uint16_t u16Val) 575 575 { 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)); 577 577 return VMXWriteVmcs32(uVmcsField, u16Val); 578 578 } … … 755 755 uint32_t u32Tmp; 756 756 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)); 758 758 rc = VMXReadVmcs32(uVmcsField, &u32Tmp); 759 759 *pData = (uint16_t)u32Tmp;
Note:
See TracChangeset
for help on using the changeset viewer.