VirtualBox

Ignore:
Timestamp:
Jul 9, 2018 2:27:49 AM (6 years ago)
Author:
vboxsync
Message:

VMM/HMVMXR0, HMSVMR0: Eliminate hidden parameters from a few macros and other minor nits.

File:
1 edited

Legend:

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

    r72983 r72988  
    31163116static int hmR0SvmLeaveSession(PVMCPU pVCpu)
    31173117{
    3118     HM_DISABLE_PREEMPT();
     3118    HM_DISABLE_PREEMPT(pVCpu);
    31193119    Assert(!VMMRZCallRing3IsEnabled(pVCpu));
    31203120    Assert(!RTThreadPreemptIsEnabled(NIL_RTTHREAD));
     
    31813181        VMMRZCallRing3RemoveNotification(pVCpu);
    31823182        VMMRZCallRing3Disable(pVCpu);
    3183         HM_DISABLE_PREEMPT();
     3183        HM_DISABLE_PREEMPT(pVCpu);
    31843184
    31853185        /* Import the entire guest state. */
     
    67256725            /* We're playing with the host CPU state here, make sure we don't preempt or longjmp. */
    67266726            VMMRZCallRing3Disable(pVCpu);
    6727             HM_DISABLE_PREEMPT();
     6727            HM_DISABLE_PREEMPT(pVCpu);
    67286728
    67296729            /* Save the host & load the guest debug state, restart execution of the MOV DRx instruction. */
     
    69566956                /* We're playing with the host CPU state here, make sure we don't preempt or longjmp. */
    69576957                VMMRZCallRing3Disable(pVCpu);
    6958                 HM_DISABLE_PREEMPT();
     6958                HM_DISABLE_PREEMPT(pVCpu);
    69596959
    69606960                STAM_COUNTER_INC(&pVCpu->hm.s.StatDRxIoCheck);
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