- Timestamp:
- Jun 12, 2008 1:11:40 PM (17 years ago)
- Location:
- trunk/src/VBox/VMM
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/CPUM.cpp
r9649 r9661 790 790 { 791 791 case CPUMDUMPTYPE_TERSE: 792 if (CPUMIsGuestIn LongMode(pVM))792 if (CPUMIsGuestIn64BitCode(pVM, pCtxCore)) 793 793 { 794 794 pHlp->pfnPrintf(pHlp, … … 818 818 819 819 case CPUMDUMPTYPE_DEFAULT: 820 if (CPUMIsGuestIn LongMode(pVM))820 if (CPUMIsGuestIn64BitCode(pVM, pCtxCore)) 821 821 { 822 822 pHlp->pfnPrintf(pHlp, … … 854 854 855 855 case CPUMDUMPTYPE_VERBOSE: 856 if (CPUMIsGuestIn LongMode(pVM))856 if (CPUMIsGuestIn64BitCode(pVM, pCtxCore)) 857 857 { 858 858 pHlp->pfnPrintf(pHlp, -
trunk/src/VBox/VMM/PGM.cpp
r9649 r9661 2383 2383 /** @todo fix this! Convert the PGMR3DumpHierarchyHC functions to do guest stuff. */ 2384 2384 /* Big pages supported? */ 2385 const bool fPSE = CPUMIsGuestInLongMode(pVM) ||!!(CPUMGetGuestCR4(pVM) & X86_CR4_PSE);2385 const bool fPSE = !!(CPUMGetGuestCR4(pVM) & X86_CR4_PSE); 2386 2386 2387 2387 /* Global pages supported? */ … … 3257 3257 return VERR_INVALID_PARAMETER; 3258 3258 } 3259 const bool fBigPagesSupported = CPUMIsGuestInLongMode(pVM)|| !!(cr4 & X86_CR4_PSE);3259 const bool fBigPagesSupported = fLongMode || !!(cr4 & X86_CR4_PSE); 3260 3260 3261 3261 int rc = VINF_SUCCESS; -
trunk/src/VBox/VMM/VMMAll/CPUMAllRegs.cpp
r9649 r9661 1797 1797 return enmMode; 1798 1798 } 1799 -
trunk/src/VBox/VMM/VMMAll/EMAll.cpp
r9659 r9661 1868 1868 int rc; 1869 1869 1870 if (CPUMIsGuestIn LongMode(pVM))1870 if (CPUMIsGuestIn64BitCode(pVM, pRegFrame)) 1871 1871 { 1872 1872 rc = DISFetchReg64(pRegFrame, SrcRegGen, &val); … … 1905 1905 int rc = CPUMGetGuestDRx(pVM, SrcRegDrx, &val64); 1906 1906 AssertMsgRCReturn(rc, ("CPUMGetGuestDRx %d failed\n", SrcRegDrx), VERR_EM_INTERPRETER); 1907 if (CPUMIsGuestIn LongMode(pVM))1907 if (CPUMIsGuestIn64BitCode(pVM, pRegFrame)) 1908 1908 { 1909 1909 rc = DISWriteReg64(pRegFrame, DestRegGen, val64);
Note:
See TracChangeset
for help on using the changeset viewer.