Changeset 72300 in vbox for trunk/src/VBox/VMM/include
- Timestamp:
- May 23, 2018 3:13:06 PM (7 years ago)
- svn:sync-xref-src-repo-rev:
- 122749
- Location:
- trunk/src/VBox/VMM/include
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/include/NEMInternal.h
r72221 r72300 27 27 #ifdef RT_OS_WINDOWS 28 28 #include <iprt/nt/hyperv.h> 29 #include <iprt/critsect.h> 29 30 #endif 30 31 … … 160 161 NEMWINIOCTL IoCtlMessageSlotHandleAndGetNext; 161 162 163 /** Statistics updated by NEMR0UpdateStatistics. */ 164 struct 165 { 166 uint64_t cPagesAvailable; 167 uint64_t cPagesInUse; 168 } R0Stats; 162 169 #endif /* RT_OS_WINDOWS */ 163 170 } NEM; … … 256 263 257 264 #ifdef IN_RING0 265 # ifdef RT_OS_WINDOWS 266 /** 267 * Windows: Hypercall input/ouput page info. 268 */ 269 typedef struct NEMR0HYPERCALLDATA 270 { 271 /** Host physical address of the hypercall input/output page. */ 272 RTHCPHYS HCPhysPage; 273 /** Pointer to the hypercall input/output page. */ 274 uint8_t *pbPage; 275 /** Handle to the memory object of the hypercall input/output page. */ 276 RTR0MEMOBJ hMemObj; 277 } NEMR0HYPERCALLDATA; 278 /** Pointer to a Windows hypercall input/output page info. */ 279 typedef NEMR0HYPERCALLDATA *PNEMR0HYPERCALLDATA; 280 # endif /* RT_OS_WINDOWS */ 258 281 259 282 /** … … 263 286 { 264 287 # ifdef RT_OS_WINDOWS 265 /** @name Hypercall input/ouput page. 266 * @{ */ 267 /** Host physical address of the hypercall input/output page. */ 268 RTHCPHYS HCPhysHypercallData; 269 /** Pointer to the hypercall input/output page. */ 270 uint8_t *pbHypercallData; 271 /** Handle to the memory object of the hypercall input/output page. */ 272 RTR0MEMOBJ hHypercallDataMemObj; 273 /** @} */ 288 /** Hypercall input/ouput page. */ 289 NEMR0HYPERCALLDATA HypercallData; 274 290 # else 275 291 uint32_t uDummy; … … 298 314 NEMWINIOCTL IoCtlMessageSlotHandleAndGetNext; 299 315 316 /** Hypercall input/ouput page for non-EMT. */ 317 NEMR0HYPERCALLDATA HypercallData; 318 /** Critical section protecting use of HypercallData. */ 319 RTCRITSECT HypercallDataCritSect; 320 300 321 # else 301 322 uint32_t uDummy; -
trunk/src/VBox/VMM/include/STAMInternal.h
r69474 r72300 124 124 /** Unit. */ 125 125 STAMUNIT enmUnit; 126 /** The refresh group number (STAM_REFRESH_GRP_XXX). */ 127 uint8_t iRefreshGroup; 126 128 /** Description. */ 127 129 const char *pszDesc;
Note:
See TracChangeset
for help on using the changeset viewer.