Changeset 46041 in vbox
- Timestamp:
- May 13, 2013 7:43:55 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HMVMXR0.cpp
r46018 r46041 840 840 * Initialize per-VCPU VT-x structures. 841 841 */ 842 for (VMCPUID i = 0; i < pVM->cCpus; i++)842 for (VMCPUID i = 0; i < pVM->cCpus; i++) 843 843 { 844 844 PVMCPU pVCpu = &pVM->aCpus[i]; … … 8152 8152 8153 8153 /* Paranoia. */ 8154 pMixedCtx->dr[7] &= 0xffffffff; /* Upper 32 bits reserved. */8154 pMixedCtx->dr[7] &= UINT64_C(0xffffffff); /* Upper 32 bits MBZ. */ 8155 8155 pMixedCtx->dr[7] &= ~(RT_BIT(11) | RT_BIT(12) | RT_BIT(14) | RT_BIT(15)); /* MBZ. */ 8156 8156 pMixedCtx->dr[7] |= 0x400; /* MB1. */ … … 8615 8615 8616 8616 /* Paranoia. */ 8617 pMixedCtx->dr[7] &= UINT 32_C(0xffffffff); /* upper 32 bits MBZ. */8617 pMixedCtx->dr[7] &= UINT64_C(0xffffffff); /* upper 32 bits MBZ. */ 8618 8618 pMixedCtx->dr[7] &= ~(RT_BIT(11) | RT_BIT(12) | RT_BIT(14) | RT_BIT(15)); /* must be zero */ 8619 8619 pMixedCtx->dr[7] |= 0x400; /* must be one */
Note:
See TracChangeset
for help on using the changeset viewer.