VirtualBox

Changeset 78253 in vbox for trunk/src


Ignore:
Timestamp:
Apr 23, 2019 4:17:43 AM (6 years ago)
Author:
vboxsync
Message:

VMM/HM: Remove couple of unused functions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/HMAll.cpp

    r78245 r78253  
    742742
    743743
    744 /**
    745  * Notifies HM that GIM provider wants to trap \#UD.
    746  *
    747  * @param   pVCpu   The cross context virtual CPU structure.
    748  */
    749 VMM_INT_DECL(void) HMTrapXcptUDForGIMEnable(PVMCPU pVCpu)
    750 {
    751     pVCpu->hm.s.fGIMTrapXcptUD = true;
    752     if (pVCpu->CTX_SUFF(pVM)->hm.s.vmx.fSupported)
    753         ASMAtomicUoOrU64(&pVCpu->hm.s.fCtxChanged, HM_CHANGED_VMX_GUEST_XCPT_INTERCEPTS);
    754     else
    755         ASMAtomicUoOrU64(&pVCpu->hm.s.fCtxChanged, HM_CHANGED_SVM_GUEST_XCPT_INTERCEPTS);
    756 }
    757 
    758 
    759 /**
    760  * Notifies HM that GIM provider no longer wants to trap \#UD.
    761  *
    762  * @param   pVCpu   The cross context virtual CPU structure.
    763  */
    764 VMM_INT_DECL(void) HMTrapXcptUDForGIMDisable(PVMCPU pVCpu)
    765 {
    766     pVCpu->hm.s.fGIMTrapXcptUD = false;
    767     if (pVCpu->CTX_SUFF(pVM)->hm.s.vmx.fSupported)
    768         ASMAtomicUoOrU64(&pVCpu->hm.s.fCtxChanged, HM_CHANGED_VMX_GUEST_XCPT_INTERCEPTS);
    769     else
    770         ASMAtomicUoOrU64(&pVCpu->hm.s.fCtxChanged, HM_CHANGED_SVM_GUEST_XCPT_INTERCEPTS);
    771 }
    772 
    773 
    774744#ifndef IN_RC
    775745/**
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