VirtualBox

Changeset 19263 in vbox


Ignore:
Timestamp:
Apr 29, 2009 1:05:37 PM (16 years ago)
Author:
vboxsync
Message:

Got rid of more SMP related assertions

Location:
trunk/src/VBox/VMM
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/PATM/CSAM.cpp

    r19141 r19263  
    14281428    RTGCPHYS GCPhys = 0;
    14291429    uint64_t fFlags = 0;
    1430     Assert(pVM->cCPUs == 1);
    1431     PVMCPU pVCpu = VMMGetCpu0(pVM);
     1430    Assert(pVM->cCPUs == 1 || !CSAMIsEnabled(pVM));
    14321431
    14331432    if (!CSAMIsEnabled(pVM))
    14341433        return VINF_SUCCESS;
     1434
     1435    PVMCPU pVCpu = VMMGetCpu0(pVM);
    14351436
    14361437    STAM_PROFILE_START(&pVM->csam.s.StatTimeFlushPage, a);
  • trunk/src/VBox/VMM/VMMAll/IOMAll.cpp

    r19015 r19263  
    2929#include "IOMInternal.h"
    3030#include <VBox/vm.h>
     31#include <VBox/vmm.h>
    3132#include <VBox/selm.h>
    3233#include <VBox/trpm.h>
     
    711712VMMDECL(int) IOMInterpretCheckPortIOAccess(PVM pVM, PCPUMCTXCORE pCtxCore, RTIOPORT Port, unsigned cb)
    712713{
    713     /* @todo SMP support */
    714     Assert(pVM->cCPUs == 1);
    715     PVMCPU pVCpu = &pVM->aCpus[0];
     714    PVMCPU pVCpu = VMMGetCpu(pVM);
    716715
    717716    /*
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