Changeset 12968 in vbox for trunk/src/VBox/VMM/MMInternal.h
- Timestamp:
- Oct 3, 2008 12:16:13 AM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 37400
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/MMInternal.h
r12967 r12968 351 351 * related to a MMPAGESUBPOOL node in one chunk. That means that after the 352 352 * bitmap (which is of variable size) comes the SUPPAGE records and then 353 * follows the lookup tree nodes. 353 * follows the lookup tree nodes. (The heap in question is the hyper heap.) 354 354 */ 355 355 typedef struct MMPAGESUBPOOL 356 356 { 357 357 /** Pointer to next sub pool. */ 358 struct MMPAGESUBPOOL *pNext;358 R3R0PTRTYPE(struct MMPAGESUBPOOL *) pNext; 359 359 /** Pointer to next sub pool in the free chain. 360 360 * This is NULL if we're not in the free chain or at the end of it. */ 361 struct MMPAGESUBPOOL *pNextFree;361 R3R0PTRTYPE(struct MMPAGESUBPOOL *) pNextFree; 362 362 /** Pointer to array of lock ranges. 363 363 * This is allocated together with the MMPAGESUBPOOL and thus needs no freeing. … … 365 365 * The reserved field is a pointer to this structure. 366 366 */ 367 PSUPPAGEpaPhysPages;367 R3R0PTRTYPE(PSUPPAGE) paPhysPages; 368 368 /** Pointer to the first page. */ 369 void *pvPages;369 R3R0PTRTYPE(void *) pvPages; 370 370 /** Size of the subpool. */ 371 371 unsigned cPages; … … 387 387 { 388 388 /** List of subpools. */ 389 PMMPAGESUBPOOLpHead;389 R3R0PTRTYPE(PMMPAGESUBPOOL) pHead; 390 390 /** Head of subpools with free pages. */ 391 PMMPAGESUBPOOLpHeadFree;391 R3R0PTRTYPE(PMMPAGESUBPOOL) pHeadFree; 392 392 /** AVLPV tree for looking up HC virtual addresses. 393 393 * The tree contains MMLOOKUPVIRTPP records. 394 394 */ 395 PAVLPVNODECOREpLookupVirt;395 R3R0PTRTYPE(PAVLPVNODECORE) pLookupVirt; 396 396 /** Tree for looking up HC physical addresses. 397 397 * The tree contains MMLOOKUPPHYSHC records. 398 398 */ 399 AVLHCPHYSTREEpLookupPhys;399 R3R0PTRTYPE(AVLHCPHYSTREE) pLookupPhys; 400 400 /** Pointer to the VM this pool belongs. */ 401 PVMpVM;401 R3R0PTRTYPE(PVM) pVM; 402 402 /** Flag indicating the allocation method. 403 403 * Set: SUPLowAlloc(). … … 601 601 R3PTRTYPE(void *) pvR3; 602 602 /** Host context ring-0 pointer. */ 603 /** @todo #1865: Check if this actually works (doubt it) */ 603 604 RTR0PTR pvR0; 604 605 /** Pointer to the locked mem record. */ … … 611 612 /** Host context pointer. */ 612 613 R3PTRTYPE(void *) pvR3; 614 /** @todo #1865: Add a pvR0 here! */ 613 615 /** HC physical address corresponding to pvR3. */ 614 616 RTHCPHYS HCPhys;
Note:
See TracChangeset
for help on using the changeset viewer.