VirtualBox

Changeset 37582 in vbox for trunk/src/VBox/VMM/VMMR0


Ignore:
Timestamp:
Jun 22, 2011 9:24:45 AM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
72426
Message:

PDMCritSect: Fixed PDMCritSectIsOwner[Ex] returning true in ring-0/rawmode when it should not.

File:
1 edited

Legend:

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

    r37354 r37582  
    6868VMMR0DECL(int) PGMR0PhysAllocateHandyPages(PVM pVM, PVMCPU pVCpu)
    6969{
    70     Assert(PDMCritSectIsOwnerEx(&pVM->pgm.s.CritSect, pVCpu->idCpu));
     70    Assert(PDMCritSectIsOwnerEx(&pVM->pgm.s.CritSect, pVCpu));
    7171
    7272    /*
     
    181181VMMR0DECL(int) PGMR0PhysAllocateLargeHandyPage(PVM pVM, PVMCPU pVCpu)
    182182{
    183     Assert(PDMCritSectIsOwnerEx(&pVM->pgm.s.CritSect, pVCpu->idCpu));
     183    Assert(PDMCritSectIsOwnerEx(&pVM->pgm.s.CritSect, pVCpu));
    184184
    185185    Assert(!pVM->pgm.s.cLargeHandyPages);
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