VirtualBox

Changeset 54718 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Mar 11, 2015 4:14:41 PM (10 years ago)
Author:
vboxsync
Message:

VMM: VMMR0ThreadCtxHooksDeregister returns void, further simplified HM_[DISABLE|RESTORE]_PREEMPT_IF_NEEDED() a bit.

File:
1 edited

Legend:

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

    r54717 r54718  
    503503 * Deregisters the thread-context hook for this VCPU.
    504504 *
    505  * @returns VBox status code.
    506505 * @param   pVCpu       Pointer to the VMCPU.
    507506 *
    508507 * @thread  EMT(pVCpu)
    509508 */
    510 VMMR0DECL(int) VMMR0ThreadCtxHooksDeregister(PVMCPU pVCpu)
     509VMMR0DECL(void) VMMR0ThreadCtxHooksDeregister(PVMCPU pVCpu)
    511510{
    512511    /* Clear the VCPU <-> host CPU mapping as we've left HM context. See @bugref{7726} comment #19. */
     
    517516        Assert(!RTThreadPreemptIsEnabled(NIL_RTTHREAD));
    518517        int rc = RTThreadCtxHooksDeregister(pVCpu->vmm.s.hR0ThreadCtx);
    519         AssertRCReturn(rc, rc);
    520     }
    521     return VINF_SUCCESS;
     518        AssertRC(rc);
     519    }
    522520}
    523521
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