Changeset 13831 in vbox
- Timestamp:
- Nov 5, 2008 1:53:59 AM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 38822
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vm.h
r13830 r13831 464 464 /** Ring-0 Host Context VM Pointer. */ 465 465 R0PTRTYPE(struct VM *) pVMR0; 466 /** Raw-mode Context VM Pointer.467 * @deprecated Use VM::pVMRC. */468 RCPTRTYPE(struct VM *) pVMGCUnused;469 466 /** Raw-mode Context VM Pointer. */ 470 467 RCPTRTYPE(struct VM *) pVMRC; … … 482 479 483 480 /** Reserved; alignment. */ 484 uint32_t u32Reserved[ 5];481 uint32_t u32Reserved[6]; 485 482 486 483 /** @name Public VMM Switcher APIs -
trunk/include/VBox/vm.mac
r13830 r13831 54 54 .pVMR3 RTR3PTR_RES 1 55 55 .pVMR0 RTR0PTR_RES 1 56 .pVMGCUnused RTRCPTR_RES 157 56 .pVMRC RTRCPTR_RES 1 58 57 .hSelf resd 1 … … 60 59 .cbSelf resd 1 61 60 .offVMCPU resd 1 62 .u32Reserved resd 561 .u32Reserved resd 6 63 62 64 63 .pfnVMMGCGuestToHostAsmGuestCtx RTRCPTR_RES 1 -
trunk/src/VBox/VMM/MMHyper.cpp
r13830 r13831 111 111 { 112 112 pVM->pVMRC = (RTRCPTR)GCPtr; 113 pVM->pVMGCUnused = pVM->pVMRC;114 113 for (uint32_t i = 0; i < pVM->cCPUs; i++) 115 114 pVM->aCpus[i].pVMRC = pVM->pVMRC; … … 288 287 * Relocate the VM structure and ourselves. 289 288 */ 290 RTGCINTPTR 289 RTGCINTPTR offDelta = GCPtrNew - GCPtrOld; 291 290 pVM->pVMRC += offDelta; 292 pVM->pVMGCUnused = pVM->pVMRC;293 291 for (uint32_t i = 0; i < pVM->cCPUs; i++) 294 292 pVM->aCpus[i].pVMRC = pVM->pVMRC;
Note:
See TracChangeset
for help on using the changeset viewer.