VirtualBox

Changeset 72655 in vbox for trunk/include/VBox


Ignore:
Timestamp:
Jun 22, 2018 10:05:53 AM (7 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
123166
Message:

EM,HM,NEM,TRPM: Renamed some EMEXIT_XXXX stuff to shorten things down a bit. Added missing HMCPU_CF_SET(pVCpu, HM_CHANGED_ALL_GUEST) after EMHistoryExec in the VT-x code. Prepped the SVM code for CPUID, IO and MMIO exit optimizations. bugref:9198

File:
1 edited

Legend:

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

    r72642 r72655  
    230230 *
    231231 * The flags the exit type are combined to a 32-bit number using the
    232  * EMEXIT_MAKE_FLAGS_AND_TYPE() macro.
     232 * EMEXIT_MAKE_FT() macro.
    233233 *
    234234 * @{  */
     
    242242#define EMEXIT_F_CS_EIP             UINT32_C(0x00010000)    /**< The PC is EIP in the low dword and CS in the high. */
    243243#define EMEXIT_F_UNFLATTENED_PC     UINT32_C(0x00020000)    /**< The PC hasn't had CS.BASE added to it. */
    244 /** Preemption is currently disabled (or we're using preemption hooks). */
    245 #define EMEXIT_F_PREEMPT_DISABLED   UINT32_C(0x00040000)
     244/** HM is calling (from ring-0).  Preemption is currently disabled or we're using preemption hooks. */
     245#define EMEXIT_F_HM                 UINT32_C(0x00040000)
    246246/** Combines flags and exit type into EMHistoryAddExit() input. */
    247 #define EMEXIT_MAKE_FLAGS_AND_TYPE(a_fFlags, a_uType)   ((a_fFlags) | (uint32_t)(a_uType))
     247#define EMEXIT_MAKE_FT(a_fFlags, a_uType)   ((a_fFlags) | (uint32_t)(a_uType))
    248248/** @} */
    249249
     
    273273    /** The flat PC of the exit. */
    274274    uint64_t            uFlatPC;
    275     /** Flags and type, see EMEXIT_MAKE_FLAGS_AND_TYPE. */
     275    /** Flags and type, see EMEXIT_MAKE_FT. */
    276276    uint32_t            uFlagsAndType;
    277277    /** The action to take (EMEXITACTION). */
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