VirtualBox

Ignore:
Timestamp:
Jan 6, 2022 1:09:49 PM (3 years ago)
Author:
vboxsync
Message:

VMM,{HMVMXR0.cpp,VMXTemplate.cpp.h}: Make use of the VMX template code in HM, getting rid of the temporary code duplication, bugref:10136 [build fix]

File:
1 edited

Legend:

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

    r93132 r93133  
    19861986 * Enables VMCS shadowing for the given VMCS info. object.
    19871987 *
     1988 * @param   pVCpu       The cross context virtual CPU structure.
    19881989 * @param   pVmcsInfo   The VMCS info. object.
    19891990 *
    19901991 * @remarks No-long-jump zone!!!
    19911992 */
    1992 static void vmxHCEnableVmcsShadowing(PVMXVMCSINFO pVmcsInfo)
     1993static void vmxHCEnableVmcsShadowing(PCVMCPUCC pVCpu, PVMXVMCSINFO pVmcsInfo)
    19931994{
    19941995    uint32_t uProcCtls2 = pVmcsInfo->u32ProcCtls2;
     
    20092010 * Disables VMCS shadowing for the given VMCS info. object.
    20102011 *
     2012 * @param   pVCpu       The cross context virtual CPU structure.
    20112013 * @param   pVmcsInfo   The VMCS info. object.
    20122014 *
    20132015 * @remarks No-long-jump zone!!!
    20142016 */
    2015 static void vmxHCDisableVmcsShadowing(PVMXVMCSINFO pVmcsInfo)
     2017static void vmxHCDisableVmcsShadowing(PCVMCPUCC pVCpu, PVMXVMCSINFO pVmcsInfo)
    20162018{
    20172019    /*
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