Changeset 7646 in vbox
- Timestamp:
- Mar 31, 2008 11:10:27 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/CPUMAllRegs.cpp
r7645 r7646 1048 1048 case CPUMCPUIDFEATURE_LONG_MODE: 1049 1049 { 1050 uint32_t ulEdx , ulDummy;1050 uint32_t ulEdx , ulDummy; 1051 1051 1052 1052 ASMCpuId(0x80000001, &ulDummy, &ulDummy, &ulDummy, &ulEdx); 1053 if (!(ulEdx & X86_CPUID_AMD_FEATURE_EDX_LONG_MODE)) 1053 if ( pVM->cpum.s.aGuestCpuIdExt[0].eax < 0x80000001 1054 || !(ulEdx & X86_CPUID_AMD_FEATURE_EDX_LONG_MODE)) 1054 1055 { 1055 1056 AssertMsgFailed(("ERROR: Can't turn on LONG MODE when the host doesn't support it!!\n"));
Note:
See TracChangeset
for help on using the changeset viewer.