Changeset 8129 in vbox
- Timestamp:
- Apr 18, 2008 9:13:04 AM (16 years ago)
- Location:
- trunk/src/VBox/VMM
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/CPUM.cpp
r8112 r8129 406 406 } 407 407 408 #ifndef PGM_WITH_BROKEN_32PAE_SWITCHER409 408 /* Check if PAE was explicitely enabled by the user. */ 410 409 bool fEnable = false; … … 412 411 if (VBOX_SUCCESS(rc) && fEnable) 413 412 CPUMSetGuestCpuIdFeature(pVM, CPUMCPUIDFEATURE_PAE); 414 #endif415 413 416 414 /* -
trunk/src/VBox/VMM/PGM.cpp
r8112 r8129 1579 1579 { 1580 1580 LogFlow(("PGMR3Relocate\n")); 1581 1582 #ifdef PGM_WITH_BROKEN_32PAE_SWITCHER1583 if (!CPUMGetGuestCpuIdFeature(pVM, CPUMCPUIDFEATURE_PAE))1584 {1585 bool fEnable = false;1586 int rc = CFGMR3QueryBool(CFGMR3GetRoot(pVM), "EnablePAE", &fEnable);1587 if ( VBOX_SUCCESS(rc)1588 && fEnable1589 && (PGMGetHostMode(pVM) >= PGMMODE_PAE || HWACCMIsEnabled(pVM))1590 )1591 {1592 CPUMSetGuestCpuIdFeature(pVM, CPUMCPUIDFEATURE_PAE);1593 LogRel(("PGMR3Relocate: turned on PAE\n"));1594 }1595 }1596 #endif1597 1581 1598 1582 /* -
trunk/src/VBox/VMM/VMMAll/CPUMAllRegs.cpp
r8113 r8129 27 27 #include "CPUMInternal.h" 28 28 #include <VBox/vm.h> 29 #include <VBox/pgm.h>30 #include <VBox/hwaccm.h>31 29 #include <VBox/err.h> 32 30 #include <VBox/dis.h> … … 1036 1034 return; 1037 1035 } 1038 #ifdef PGM_WITH_BROKEN_32PAE_SWITCHER1039 /* Remove this restriction once the 32->PAE switcher works properly. */1040 if ( PGMGetHostMode(pVM) <= PGMMODE_32_BIT1041 && !HWACCMIsEnabled(pVM))1042 {1043 LogRel(("WARNING: Can't turn on PAE when the host is in 32 bits paging mode!!\n"));1044 return;1045 }1046 #endif1047 1036 1048 1037 if (pVM->cpum.s.aGuestCpuIdStd[0].eax >= 1)
Note:
See TracChangeset
for help on using the changeset viewer.

