VirtualBox

Changeset 55118 in vbox for trunk/include


Ignore:
Timestamp:
Apr 7, 2015 3:21:45 PM (10 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
99415
Message:

VMM: GIM raw-mode support.

Location:
trunk/include/VBox
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/err.h

    r55037 r55118  
    26222622/** The GIM device is not registered with GIM when it ought to be. */
    26232623#define VERR_GIM_DEVICE_NOT_REGISTERED              (-6310)
     2624/** Hypercall cannot be enabled/performed due to access/permissions/CPL. */
     2625#define VERR_GIM_HYPERCALL_ACCESS_DENIED            (-6311)
    26242626/** @} */
    26252627
  • trunk/include/VBox/vmm/gim.h

    r55037 r55118  
    174174VMM_INT_DECL(bool)          GIMAreHypercallsEnabled(PVMCPU pVCpu);
    175175VMM_INT_DECL(int)           GIMHypercall(PVMCPU pVCpu, PCPUMCTX pCtx);
    176 VMM_INT_DECL(int)           GIMXcptUD(PVMCPU pVCpu, PCPUMCTX pCtx);
     176VMM_INT_DECL(int)           GIMXcptUD(PVMCPU pVCpu, PCPUMCTX pCtx, PDISCPUSTATE pDis);
    177177VMM_INT_DECL(bool)          GIMShouldTrapXcptUD(PVM pVM);
    178178VMM_INT_DECL(VBOXSTRICTRC)  GIMReadMsr(PVMCPU pVCpu, uint32_t idMsr, PCCPUMMSRRANGE pRange, uint64_t *puValue);
  • trunk/include/VBox/vmm/hm.h

    r54878 r55118  
    144144VMM_INT_DECL(int)               HMAmdIsSubjectToErratum170(uint32_t *pu32Family, uint32_t *pu32Model, uint32_t *pu32Stepping);
    145145VMM_INT_DECL(bool)              HMSetSingleInstruction(PVMCPU pVCpu, bool fEnable);
    146 VMM_INT_DECL(int)               HMPatchHypercall(PVM pVM, void *pvBuf, size_t cbBuf, size_t *pcbWritten);
     146VMM_INT_DECL(void)              HMHypercallsEnable(PVM pVM);
     147VMM_INT_DECL(void)              HMHypercallsDisable(PVM pVM);
    147148
    148149#ifndef IN_RC
  • trunk/include/VBox/vmm/vmm.h

    r54720 r55118  
    268268VMM_INT_DECL(bool)          VMMIsInRing3Call(PVMCPU pVCpu);
    269269VMM_INT_DECL(void)          VMMTrashVolatileXMMRegs(void);
     270VMM_INT_DECL(int)           VMMPatchHypercall(PVM pVM, void *pvBuf, size_t cbBuf, size_t *pcbWritten);
     271VMM_INT_DECL(void)          VMMHypercallsEnable(PVM pVM);
     272VMM_INT_DECL(void)          VMMHypercallsDisable(PVM pVM);
    270273
    271274
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