Changeset 90460 in vbox
- Timestamp:
- Aug 1, 2021 8:55:36 PM (3 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
-
include/VBox/vmm/vm.h (modified) (3 diffs)
-
include/VBox/vmm/vm.mac (modified) (1 diff)
-
src/VBox/VMM/VMMR3/VM.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vmm/vm.h
r90380 r90460 32 32 #ifndef VBOX_FOR_DTRACE_LIB 33 33 # ifndef USING_VMM_COMMON_DEFS 34 # error "Compile job does not include VMM_COMMON_DEFS from src/VBox/ Config.kmk - make sure you really need to include this file!"34 # error "Compile job does not include VMM_COMMON_DEFS from src/VBox/VMM/Config.kmk - make sure you really need to include this file!" 35 35 # endif 36 36 # include <iprt/param.h> … … 156 156 /** The native R0 thread handle. (different from the R3 handle!) */ 157 157 RTNATIVETHREAD hNativeThreadR0; 158 /** The IPRT thread handle (for VMMDevTesting). */ 159 RTTHREAD hThread; 158 160 /** The CPU ID. 159 161 * This is the index into the VM::aCpu array. */ … … 172 174 * following it (to grow into and align the struct size). 173 175 */ 174 uint8_t abAlignment1[64 - 5* (HC_ARCH_BITS == 32 ? 4 : 8) - 8 - 4];176 uint8_t abAlignment1[64 - 6 * (HC_ARCH_BITS == 32 ? 4 : 8) - 8 - 4]; 175 177 /** @} */ 176 178 -
trunk/include/VBox/vmm/vm.mac
r90380 r90460 55 55 .pVMRC resq 1 56 56 .pUVCpu RTR3PTR_RES 1 57 .hNativeThread RTR 0PTR_RES 157 .hNativeThread RTR3PTR_RES 1 58 58 .hNativeThreadR0 RTR0PTR_RES 1 59 .hThread RTR3PTR_RES 1 59 60 .idCpu resd 1 60 61 -
trunk/src/VBox/VMM/VMMR3/VM.cpp
r90397 r90460 605 605 pVCpu->idCpu = i; 606 606 pVCpu->hNativeThread = pUVM->aCpus[i].vm.s.NativeThreadEMT; 607 pVCpu->hThread = pUVM->aCpus[i].vm.s.ThreadEMT; 607 608 Assert(pVCpu->hNativeThread != NIL_RTNATIVETHREAD); 608 609 /* hNativeThreadR0 is initialized on EMT registration. */
Note:
See TracChangeset
for help on using the changeset viewer.

