VirtualBox

Changeset 14719

Show
Ignore:
Timestamp:
11/27/08 17:29:24 (1 month ago)
Author:
vboxsync
Message:

VMMR0: Fixed mac breakage.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • 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; 

© 2008 Sun Microsystems, Inc.
ContactPrivacy policy