VirtualBox

Changeset 14719 in vbox


Ignore:
Timestamp:
Nov 27, 2008 4:29:24 PM (16 years ago)
Author:
vboxsync
Message:

VMMR0: Fixed mac breakage.

File:
1 edited

Legend:

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

    r14679 r14719  
    977977        switch (enmOperation)
    978978        {
     979            /* These might/will be called before VMMR3Init. */
    979980            case VMMR0_DO_GMM_INITIAL_RESERVATION:
    980981            case VMMR0_DO_GMM_UPDATE_RESERVATION:
     
    985986            case VMMR0_DO_GMM_MAP_UNMAP_CHUNK:
    986987            case VMMR0_DO_GMM_SEED_CHUNK:
    987                 /* these might/will be called before VMMR3Init. */
    988                 if (!pVM->vmm.s.CallHostR0JmpBuf.pvSavedStack)
    989                     break;
     988            /* On the mac we might not have a valid jmp buf, so check these as well. */
    990989            case VMMR0_DO_VMMR0_INIT:
    991990            case VMMR0_DO_VMMR0_TERM:
    992991            {
     992                if (!pVM->vmm.s.CallHostR0JmpBuf.pvSavedStack)
     993                    break;
     994
    993995                /** @todo validate this EMT claim... GVM knows. */
    994996                VMMR0ENTRYEXARGS Args;
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