Changeset 53627 in vbox for trunk/src/VBox
- Timestamp:
- Dec 31, 2014 3:37:56 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HMVMXR0.cpp
r53613 r53627 3623 3623 Assert(!(pMixedCtx->rflags.u64 >> 32)); 3624 3624 X86EFLAGS Eflags = pMixedCtx->eflags; 3625 /** @todo r=bird: There shall be no need to OR in X86_EFL_1 here, nor 3626 * shall there be any reason for clearing bits 63:22, 15, 5 and 3. 3627 * These will never be cleared/set, unless some other part of the VMM 3628 * code is buggy - in which case we're better of finding and fixing 3629 * those bugs than hiding them. */ 3630 Assert(Eflags.u32 & X86_EFL_RA1_MASK); 3631 Assert(!(Eflags.u32 & ~(X86_EFL_1 | X86_EFL_LIVE_MASK))); 3625 3632 Eflags.u32 &= VMX_EFLAGS_RESERVED_0; /* Bits 22-31, 15, 5 & 3 MBZ. */ 3626 3633 Eflags.u32 |= VMX_EFLAGS_RESERVED_1; /* Bit 1 MB1. */
Note:
See TracChangeset
for help on using the changeset viewer.