Changeset 78431 in vbox for trunk/src/VBox/VMM/VMMR0/EMR0.cpp
- Timestamp:
- May 7, 2019 2:01:45 PM (6 years ago)
- svn:sync-xref-src-repo-rev:
- 130430
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/EMR0.cpp
r76553 r78431 39 39 * @param pVM The cross context VM structure. 40 40 */ 41 #ifdef VBOX_BUGREF_9217 42 VMMR0_INT_DECL(int) EMR0InitVM(PGVM pGVM) 43 # define pVM pGVM /* temp hack */ 44 #else 41 45 VMMR0_INT_DECL(int) EMR0InitVM(PGVM pGVM, PVM pVM) 46 #endif 42 47 { 43 48 /* … … 50 55 && pVM->aCpus[0].em.s.fExitOptimizationEnabledR0PreemptDisabled 51 56 && RTThreadPreemptIsPendingTrusty(); 57 #ifdef VBOX_BUGREF_9217 58 for (VMCPUID i = 0; i < pGVM->cCpusSafe; i++) 59 #else 52 60 for (VMCPUID i = 0; i < pGVM->cCpus; i++) 61 #endif 53 62 { 54 63 pVM->aCpus[i].em.s.fExitOptimizationEnabledR0 = fEnabledR0;
Note:
See TracChangeset
for help on using the changeset viewer.