Changeset 14174 in vbox
- Timestamp:
- Nov 13, 2008 1:23:56 PM (16 years ago)
- Location:
- trunk/src/VBox/VMM
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/PGMInternal.h
r14154 r14174 1236 1236 */ 1237 1237 #define PGM_PAGER3MAPTLB_IDX(GCPhys) ( ((GCPhys) >> PAGE_SHIFT) & (PGM_PAGER3MAPTLB_ENTRIES - 1) ) 1238 1239 1240 /** 1241 * Mapping cache usage set entry. 1242 */ 1243 typedef struct PGMMAPSETENTRY 1244 { 1245 /** The mapping cache index. */ 1246 uint16_t iMap; 1247 /** The number of references. */ 1248 uint16_t cRef; 1249 } PGMMAPSETENTRY; 1250 /** Pointer to a mapping cache usage set entry. */ 1251 typedef PGMMAPSETENTRY *PPGMMAPSETENTRY; 1252 1253 /** 1254 * . 1255 */ 1256 typedef struct PGMMAPSET 1257 { 1258 1259 }; 1238 1260 1239 1261 -
trunk/src/VBox/VMM/VMMInternal.h
r14172 r14174 184 184 /** Pointer to core code guest context mapping. */ 185 185 RTRCPTR pvCoreCodeRC; 186 RTRCPTR pRCPadding0; /**< Alignment padding */ 186 187 #ifdef VBOX_WITH_NMI 187 188 /** The guest context address of the APIC (host) mapping. */ 188 189 RTRCPTR GCPtrApicBase; 189 RTRCPTR p GCPadding0; /**< Alignment padding */190 RTRCPTR pRCPadding1; /**< Alignment padding */ 190 191 #endif 191 192 /** The current switcher. 192 193 * This will be set before the VMM is fully initialized. */ 193 194 VMMSWITCHER enmSwitcher; 195 /** Flag to disable the switcher permanently (VMX) (boolean) */ 196 bool fSwitcherDisabled; 194 197 /** Array of offsets to the different switchers within the core code. */ 195 198 RTUINT aoffSwitchers[VMMSWITCHER_MAX]; 196 /** Flag to disable the switcher permanently (VMX) (boolean) */197 bool fSwitcherDisabled;198 //#if HC_ARCH_BITS == 64199 uint32_t u32PaddingMinus1; /**< Alignment padding. */200 //#endif201 199 202 200 /** Host to guest switcher entry point. */ … … 213 211 /** The last RC/R0 return code. */ 214 212 RTINT iLastGZRc; 215 #if HC_ARCH_BITS == 64216 uint32_t u32Padding0; /**< Alignment padding. */217 #endif218 213 /** @} */ 219 214 … … 226 221 /** Pointer to the bottom of the stack - needed for doing relocations. */ 227 222 RCPTRTYPE(uint8_t *) pbEMTStackBottomRC; 223 #if HC_ARCH_BITS == 32 224 uint32_t u32Padding0; /**< Alignment padding. */ 225 #endif 228 226 229 227 /** @name Logging … … 238 236 * This is NULL if logging is disabled. */ 239 237 R3PTRTYPE(PRTLOGGERRC) pRCLoggerR3; 240 #ifdef VBOX_WITH_RC_RELEASE_LOGGING241 /** Size of the allocated release logger instance (pRCRelLoggerRC/pRCRelLoggerR3).242 * This may differ from cbRCLogger. */243 uint32_t cbRCRelLogger;244 /** Pointer to the GC release logger instance - RC Ptr. */245 RCPTRTYPE(PRTLOGGERRC) pRCRelLoggerRC;246 /** Pointer to the GC release logger instance - R3 Ptr. */247 R3PTRTYPE(PRTLOGGERRC) pRCRelLoggerR3;248 #endif /* VBOX_WITH_RC_RELEASE_LOGGING */249 238 /** Pointer to the R0 logger instance - R3 Ptr. 250 239 * This is NULL if logging is disabled. */ … … 253 242 * This is NULL if logging is disabled. */ 254 243 R0PTRTYPE(PVMMR0LOGGER) pR0LoggerR0; 255 #if HC_ARCH_BITS == 32 256 uint32_t u32Padding1; /**< Alignment padding. */ 257 #endif 244 #ifdef VBOX_WITH_RC_RELEASE_LOGGING 245 /** Pointer to the GC release logger instance - R3 Ptr. */ 246 R3PTRTYPE(PRTLOGGERRC) pRCRelLoggerR3; 247 /** Pointer to the GC release logger instance - RC Ptr. */ 248 RCPTRTYPE(PRTLOGGERRC) pRCRelLoggerRC; 249 /** Size of the allocated release logger instance (pRCRelLoggerRC/pRCRelLoggerR3). 250 * This may differ from cbRCLogger. */ 251 uint32_t cbRCRelLogger; 252 #else /* !VBOX_WITH_RC_RELEASE_LOGGING */ 253 RTR3PTR pR3Padding0; /**< Alignment padding. */ 254 #endif /* !VBOX_WITH_RC_RELEASE_LOGGING */ 258 255 /** @} */ 259 256 … … 270 267 uint32_t cYieldEveryMillies; 271 268 #if HC_ARCH_BITS == 32 272 uint32_t u32Padding0; /**< Alignment padding. */269 RTR3PTR pR3Padding1; /**< Alignment padding. */ 273 270 #endif 274 271 /** The timestamp of the previous yield. (nano) */
Note:
See TracChangeset
for help on using the changeset viewer.