VirtualBox

Changeset 19358 in vbox


Ignore:
Timestamp:
May 5, 2009 10:08:35 AM (16 years ago)
Author:
vboxsync
Message:

Fixed infinite recursion in VMMGetCpu (ring 0).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/VMMAll.cpp

    r19293 r19358  
    6060
    6161#elif defined(IN_RING0)
    62     /* ASSUME that only EMTs calls this function in R0. */
    63     VM_ASSERT_EMT(pVM);
    6462    if (pVM->cCPUs == 1)
    6563        return 0;
     
    8987
    9088#elif defined(IN_RING0)
    91     /* ASSUME that only EMTs calls this function in R0. */
    92     VM_ASSERT_EMT(pVM);
    9389    if (pVM->cCPUs == 1)
    9490        return &pVM->aCpus[0];
Note: See TracChangeset for help on using the changeset viewer.

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