Changeset 54714 in vbox for trunk/src/VBox/VMM/VMMR0
- Timestamp:
- Mar 11, 2015 2:00:23 PM (10 years ago)
- svn:sync-xref-src-repo-rev:
- 98878
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/CPUMR0.cpp
r54674 r54714 80 80 { 81 81 uint32_t uLeaf; /**< Leaf to check. */ 82 uint32_t ecx;/**< which bits in ecx to unify between CPUs. */83 uint32_t edx;/**< which bits in edx to unify between CPUs. */82 uint32_t uEcx; /**< which bits in ecx to unify between CPUs. */ 83 uint32_t uEdx; /**< which bits in edx to unify between CPUs. */ 84 84 } 85 85 const g_aCpuidUnifyBits[] = … … 170 170 ASMCpuIdExSlow(uLeaf, 0, 0, 0, &eax, &ebx, &ecx, &edx); 171 171 172 ASMAtomicAndU32(&pLegacyLeaf-> ecx, ecx | ~g_aCpuidUnifyBits[i].ecx);173 ASMAtomicAndU32(&pLegacyLeaf-> edx, edx | ~g_aCpuidUnifyBits[i].edx);172 ASMAtomicAndU32(&pLegacyLeaf->uEcx, ecx | ~g_aCpuidUnifyBits[i].uEcx); 173 ASMAtomicAndU32(&pLegacyLeaf->uEdx, edx | ~g_aCpuidUnifyBits[i].uEdx); 174 174 } 175 175 } … … 300 300 continue; 301 301 302 pLeaf->uEcx = pLegacyLeaf-> ecx;303 pLeaf->uEdx = pLegacyLeaf-> edx;302 pLeaf->uEcx = pLegacyLeaf->uEcx; 303 pLeaf->uEdx = pLegacyLeaf->uEdx; 304 304 } 305 305 }
Note:
See TracChangeset
for help on using the changeset viewer.