Changeset 13784 in vbox
- Timestamp:
- Nov 4, 2008 12:49:42 PM (16 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vm.h
r13751 r13784 95 95 * This is the index into the VM::aCpu array. */ 96 96 VMCPUID idCpu; 97 /** The ring-3 thread handle of the emulation thread for this CPU.98 * @todo Use the VM_IS_EMT() macro to check if executing in EMT? */99 RTTHREAD hThreadR3;100 97 /** The native ring-3 handle. */ 101 98 RTNATIVETHREAD hNativeThreadR3; … … 104 101 105 102 /** Align the next bit on a 64-byte boundary. */ 106 uint32_t au32Alignment[HC_ARCH_BITS == 32 ? 7 : 2];103 uint32_t au32Alignment[HC_ARCH_BITS == 32 ? 8 : 4]; 107 104 108 105 /** CPUM part. */ … … 519 516 /** @name Various VM data owned by VM. 520 517 * @{ */ 521 /** The thread handle of the emulation thread. 522 * Use the VM_IS_EMT() macro to check if executing in EMT. */ 523 RTTHREAD ThreadEMT; 518 RTTHREAD uPadding1; 524 519 /** The native handle of ThreadEMT. Getting the native handle 525 520 * is generally faster than getting the IPRT one (except on OS/2 :-). */ -
trunk/include/VBox/vm.mac
r13749 r13784 66 66 .pfnVMMGCGuestToHostAsm RTGCPTR32_RES 1 67 67 68 . ThreadEMTRTHCPTR_RES 168 .uPadding1 RTHCPTR_RES 1 69 69 .NativeThreadEMT RTHCPTR_RES 1 70 70 -
trunk/src/VBox/VMM/VM.cpp
r13782 r13784 490 490 */ 491 491 pVM->pUVM = pUVM; 492 pVM->ThreadEMT = pVM->aCpu[0].hThreadR3 = pUVM->vm.s.ThreadEMT;493 492 pVM->NativeThreadEMT = pVM->aCpu[0].hNativeThreadR3 = pUVM->vm.s.NativeThreadEMT; 494 493
Note:
See TracChangeset
for help on using the changeset viewer.