VirtualBox

Changeset 45620 in vbox for trunk/include/VBox


Ignore:
Timestamp:
Apr 18, 2013 8:07:14 PM (12 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
85123
Message:

CSAM,PATM: Don't bother initializing anything if HMIsEnabled(). Also, don't allow the components to be enabled.

Location:
trunk/include/VBox
Files:
2 edited

Legend:

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

    r45618 r45620  
    360360/** Continue execution after patch trap. */
    361361#define VINF_PATCH_CONTINUE                 (1430)
     362/** The patch manager is not used because we're using HM and VT-x/AMD-V. */
     363#define VERR_PATM_HM_IPE                    (-1431)
    362364
    363365/** @} */
     
    375377/** Reason for leaving RC: CSAM wants perform a task in ring-3. */
    376378#define VINF_CSAM_PENDING_ACTION            1503
     379/** The CSAM is not used because we're using HM and VT-x/AMD-V. */
     380#define VERR_CSAM_HM_IPE                    (-1504)
    377381/** @} */
    378382
  • trunk/include/VBox/vmm/patm.h

    r45528 r45620  
    147147VMM_INT_DECL(uint32_t)  PATMRawGetEFlags(PVM pVM, PCCPUMCTXCORE pCtxCore);
    148148VMM_INT_DECL(void)      PATMRawSetEFlags(PVM pVM, PCPUMCTXCORE pCtxCore, uint32_t efl);
    149 VMM_INT_DECL(RCPTRTYPE(PPATMGCSTATE)) PATMQueryGCState(PVM pVM);
     149VMM_INT_DECL(RCPTRTYPE(PPATMGCSTATE)) PATMGetGCState(PVM pVM);
    150150VMM_INT_DECL(bool)      PATMShouldUseRawMode(PVM pVM, RTRCPTR pAddrGC);
    151151VMM_INT_DECL(int)       PATMSetMMIOPatchInfo(PVM pVM, RTGCPHYS GCPhys, RTRCPTR pCachedData);
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