VirtualBox

Changeset 19449 in vbox


Ignore:
Timestamp:
May 6, 2009 6:07:53 PM (16 years ago)
Author:
vboxsync
Message:

PDMQueue.cpp: stricter assertions.

File:
1 edited

Legend:

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

    r19420 r19449  
    199199     * Validate input.
    200200     */
    201     VM_ASSERT_EMT(pVM);
     201    VMCPU_ASSERT_EMT(&pVM->aCpus[0]);
    202202    if (!pfnCallback)
    203203    {
     
    248248     * Validate input.
    249249     */
    250     VM_ASSERT_EMT(pVM);
     250    VMCPU_ASSERT_EMT(&pVM->aCpus[0]);
    251251    if (!pfnCallback)
    252252    {
     
    297297     * Validate input.
    298298     */
    299     VM_ASSERT_EMT(pVM);
     299    VMCPU_ASSERT_EMT(&pVM->aCpus[0]);
    300300    if (!pfnCallback)
    301301    {
     
    343343     * Validate input.
    344344     */
    345     VM_ASSERT_EMT(pVM);
     345    VMCPU_ASSERT_EMT(&pVM->aCpus[0]);
    346346    if (!pfnCallback)
    347347    {
     
    387387    Assert(pQueue && pQueue->pVMR3);
    388388    PVM pVM = pQueue->pVMR3;
    389     VM_ASSERT_EMT(pVM);
     389    VMCPU_ASSERT_EMT(&pVM->aCpus[0]);
    390390
    391391    /*
     
    471471    if (!pDevIns)
    472472        return VERR_INVALID_PARAMETER;
    473     VM_ASSERT_EMT(pVM);
     473    VMCPU_ASSERT_EMT(&pVM->aCpus[0]);
    474474
    475475    /*
     
    520520    if (!pDrvIns)
    521521        return VERR_INVALID_PARAMETER;
    522     VM_ASSERT_EMT(pVM);
     522    VMCPU_ASSERT_EMT(&pVM->aCpus[0]);
    523523
    524524    /*
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