Changeset 41147 in vbox for trunk/src/VBox/VMM/include
- Timestamp:
- May 3, 2012 8:15:27 PM (13 years ago)
- svn:sync-xref-src-repo-rev:
- 77764
- Location:
- trunk/src/VBox/VMM/include
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/include/VMMInternal.h
r39303 r41147 20 20 21 21 #include <VBox/cdefs.h> 22 #include <VBox/sup.h> 22 23 #include <VBox/vmm/stam.h> 23 24 #include <VBox/log.h> … … 425 426 * attempts at recursive rendezvous. */ 426 427 bool volatile fInRendezvous; 427 bool afPadding[HC_ARCH_BITS == 32 ? 7 : 3];428 bool afPadding[HC_ARCH_BITS == 32 ? 3 : 7]; 428 429 /** @} */ 430 431 /** @name Raw-mode context tracting data. 432 * @{ */ 433 SUPDRVTRACERUSRCTX TracerCtx; 434 /** @} */ 435 436 /** Alignment padding, making sure u64CallRing3Arg is nicly aligned. */ 437 uint32_t u32Padding1; 429 438 430 439 /** @name Call Ring-3 … … 439 448 /** The argument to the operation. */ 440 449 uint64_t u64CallRing3Arg; 441 /** The Ring-0 jmp buffer. */ 450 /** The Ring-0 jmp buffer. 451 * @remarks The size of this type isn't stable in assembly, so don't put 452 * anything that needs to be accessed from assembly after it. */ 442 453 VMMR0JMPBUF CallRing3JmpBufR0; 443 454 /** @} */ 444 455 445 456 } VMMCPU; 457 AssertCompileMemberAlignment(VMMCPU, TracerCtx, 8); 446 458 /** Pointer to VMMCPU. */ 447 459 typedef VMMCPU *PVMMCPU; -
trunk/src/VBox/VMM/include/VMMInternal.mac
r35333 r41147 17 17 18 18 %include "VBox/asmdefs.mac" 19 %include "VBox/sup.mac" 19 20 20 21 ; … … 95 96 endstruc 96 97 98 99 struc VMMCPU 100 101 .offVMCPU resd 1 102 .iLastGZRc resd 1 103 .pbEMTStackR3 RTR3PTR_RES 1 104 .pbEMTStackRC RTRCPTR_RES 1 105 .pbEMTStackBottomRC RTRCPTR_RES 1 106 %ifdef LOG_ENABLED 107 .pR0LoggerR3 RTR3PTR_RES 1 108 .pR0LoggerR0 RTR0PTR_RES 1 109 %endif 110 111 .fInRendezvous resb 1 112 %if HC_ARCH_BITS == 32 113 .afPadding resb 7 114 %else 115 .afPadding resb 3 116 %endif 117 118 alignb 8 119 .TracerCtx resb SUPDRVTRACERUSRCTX64_size 120 121 122 .cCallRing3Disabled resd 1 123 .enmCallRing3Operation resd 1 124 .rcCallRing3 resd 1 125 .u64CallRing3Arg resq 1 126 ; .CallRing3JmpBufR0 resb no-can-do 127 128 endstruc 129
Note:
See TracChangeset
for help on using the changeset viewer.