Changeset 45739 in vbox for trunk/src/VBox/VMM/include
- Timestamp:
- Apr 25, 2013 7:44:05 PM (12 years ago)
- Location:
- trunk/src/VBox/VMM/include
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/include/PGMInline.h
r44528 r45739 1485 1485 #ifdef PGM_WITHOUT_MAPPINGS 1486 1486 /* There are no mappings in VT-x and AMD-V mode. */ 1487 Assert( pVM->pgm.s.fMappingsDisabled);1487 Assert(HMIsEnabled(pVM)); 1488 1488 return false; 1489 1489 #else 1490 return !pVM->pgm.s.fMappingsDisabled; 1490 Assert(pVM->cCpus == 1); 1491 return !HMIsEnabled(pVM); 1491 1492 #endif 1492 1493 } … … 1503 1504 #ifdef PGM_WITHOUT_MAPPINGS 1504 1505 /* There are no mappings in VT-x and AMD-V mode. */ 1505 Assert( pVM->pgm.s.fMappingsDisabled);1506 Assert(HMIsEnabled(pVM)); 1506 1507 return false; 1507 1508 #else 1508 return !pVM->pgm.s.fMappings Disabled1509 && !pVM->pgm.s.fMappingsFixed;1509 return !pVM->pgm.s.fMappingsFixed 1510 && pgmMapAreMappingsEnabled(pVM); 1510 1511 #endif 1511 1512 } -
trunk/src/VBox/VMM/include/PGMInternal.h
r45695 r45739 3028 3028 bool fPciPassthrough; 3029 3029 /** Alignment padding that makes the next member start on a 8 byte boundary. */ 3030 bool afAlignment1[ 2];3030 bool afAlignment1[3]; 3031 3031 3032 3032 /** Indicates that PGMR3FinalizeMappings has been called and that further … … 3038 3038 * location because of room or address incompatibilities. */ 3039 3039 bool fMappingsFixedRestored; 3040 /** If set, then no mappings are put into the shadow page table.3041 * Use pgmMapAreMappingsEnabled() instead of direct access. */3042 bool fMappingsDisabled;3043 3040 /** Size of fixed mapping. 3044 3041 * This is valid if either fMappingsFixed or fMappingsFixedRestored is set. */
Note:
See TracChangeset
for help on using the changeset viewer.