VirtualBox

Ignore:
Timestamp:
May 7, 2019 2:01:45 PM (6 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
130430
Message:

VMM: Started refactoring GVM & VM structures for bugref:9217

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR0/EMR0.cpp

    r76553 r78431  
    3939 * @param   pVM             The cross context VM structure.
    4040 */
     41#ifdef VBOX_BUGREF_9217
     42VMMR0_INT_DECL(int) EMR0InitVM(PGVM pGVM)
     43# define pVM pGVM /* temp hack */
     44#else
    4145VMMR0_INT_DECL(int) EMR0InitVM(PGVM pGVM, PVM pVM)
     46#endif
    4247{
    4348    /*
     
    5055                                  && pVM->aCpus[0].em.s.fExitOptimizationEnabledR0PreemptDisabled
    5156                                  && RTThreadPreemptIsPendingTrusty();
     57#ifdef VBOX_BUGREF_9217
     58    for (VMCPUID i = 0; i < pGVM->cCpusSafe; i++)
     59#else
    5260    for (VMCPUID i = 0; i < pGVM->cCpus; i++)
     61#endif
    5362    {
    5463        pVM->aCpus[i].em.s.fExitOptimizationEnabledR0                = fEnabledR0;
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette