Changeset 453 in vbox for trunk/src/VBox
- Timestamp:
- Jan 30, 2007 11:36:58 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/PATM/PATM.cpp
r367 r453 37 37 #include <VBox/pdm.h> 38 38 #include <VBox/trpm.h> 39 #include <VBox/cfgm.h> 39 40 #include <VBox/param.h> 40 41 #include <VBox/selm.h> … … 147 148 pVM->patm.s.PatchLookupTreeGC = MMHyperHC2GC(pVM, pVM->patm.s.PatchLookupTreeHC); 148 149 150 #ifdef __AMD64__ /* see patmReinit(). */ 151 /* Check CFGM option. */ 152 rc = CFGMR3QueryBool(CFGMR3GetRoot(pVM), "PATMEnabled", &pVM->fPATMEnabled); 153 if (VBOX_FAILURE(rc)) 154 # ifdef PATM_DISABLE_ALL 155 pVM->fPATMEnabled = false; 156 # else 157 pVM->fPATMEnabled = true; 158 # endif 159 #endif 160 149 161 rc = patmReinit(pVM); 150 162 AssertRC(rc); … … 297 309 pVM->patm.s.offVM = RT_OFFSETOF(VM, patm); 298 310 311 #ifndef __AMD64__ /* would be nice if this was changed everywhere. was driving me crazy on AMD64. */ 299 312 #ifndef PATM_DISABLE_ALL 300 313 pVM->fPATMEnabled = true; 314 #endif 301 315 #endif 302 316
Note:
See TracChangeset
for help on using the changeset viewer.