VirtualBox

Changeset 47760 in vbox for trunk/include/VBox/vmm


Ignore:
Timestamp:
Aug 15, 2013 12:57:02 PM (12 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
88018
Message:

VMM/HM: Preemption hooks. Some common structural changes and cleanup, and initial imlementation
of VT-x/AMD-V specific hook functionality.. Work in progress.

Location:
trunk/include/VBox/vmm
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/vmm/hm.h

    r47737 r47760  
    224224VMMR0_INT_DECL(int)             HMR0Enter(PVM pVM, PVMCPU pVCpu);
    225225VMMR0_INT_DECL(int)             HMR0Leave(PVM pVM, PVMCPU pVCpu);
     226VMMR0_INT_DECL(void)            HMR0EnterEx(PVMCPU pVCpu);
     227VMMR0_INT_DECL(int)             HMR0LeaveEx(PVMCPU pVCpu);
     228VMMR0_INT_DECL(void)            HMR0ThreadCtxCallback(RTTHREADCTXEVENT enmEvent, void *pvUser);
    226229VMMR0_INT_DECL(bool)            HMR0SuspendPending(void);
    227230
  • trunk/include/VBox/vmm/hm_vmx.h

    r47687 r47760  
    19161916 */
    19171917#if ((RT_INLINE_ASM_EXTERNAL || !defined(RT_ARCH_X86)) && !VMX_USE_MSC_INTRINSICS) || defined(VBOX_WITH_HYBRID_32BIT_KERNEL)
    1918 DECLASM(int) VMXClearVMCS(RTHCPHYS pVMCS);
     1918DECLASM(int) VMXClearVmcs(RTHCPHYS pVMCS);
    19191919#else
    1920 DECLINLINE(int) VMXClearVMCS(RTHCPHYS pVMCS)
     1920DECLINLINE(int) VMXClearVmcs(RTHCPHYS pVMCS)
    19211921{
    19221922# if RT_INLINE_ASM_GNU_STYLE
     
    19731973 */
    19741974#if ((RT_INLINE_ASM_EXTERNAL || !defined(RT_ARCH_X86)) && !VMX_USE_MSC_INTRINSICS) || defined(VBOX_WITH_HYBRID_32BIT_KERNEL)
    1975 DECLASM(int) VMXActivateVMCS(RTHCPHYS pVMCS);
     1975DECLASM(int) VMXActivateVmcs(RTHCPHYS pVMCS);
    19761976#else
    1977 DECLINLINE(int) VMXActivateVMCS(RTHCPHYS pVMCS)
     1977DECLINLINE(int) VMXActivateVmcs(RTHCPHYS pVMCS)
    19781978{
    19791979# if RT_INLINE_ASM_GNU_STYLE
     
    20272027 * @param pVMCS    Address that will receive the current pointer
    20282028 */
    2029 DECLASM(int) VMXGetActivateVMCS(RTHCPHYS *pVMCS);
     2029DECLASM(int) VMXGetActivatedVmcs(RTHCPHYS *pVMCS);
    20302030
    20312031/**
  • trunk/include/VBox/vmm/vmm.h

    r47645 r47760  
    3232#include <VBox/log.h>
    3333#include <iprt/stdarg.h>
     34#include <iprt/thread.h>
    3435
    3536RT_C_DECLS_BEGIN
     
    500501VMMR0DECL(void)      VMMR0ThreadCtxHooksRelease(PVMCPU pVCpu);
    501502VMMR0DECL(bool)      VMMR0ThreadCtxHooksAreCreated(PVMCPU pVCpu);
     503VMMR0DECL(int)       VMMR0ThreadCtxHooksRegister(PVMCPU pVCpu, PFNRTTHREADCTXHOOK pfnHook);
     504VMMR0DECL(int)       VMMR0ThreadCtxHooksDeregister(PVMCPU pVCpu);
    502505VMMR0DECL(bool)      VMMR0ThreadCtxHooksAreRegistered(PVMCPU pVCpu);
    503506
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette