VirtualBox

Changeset 72327 in vbox for trunk/include


Ignore:
Timestamp:
May 24, 2018 7:27:55 PM (7 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
122783
Message:

VMM: Expose VM::bMainExecutionEngine thru external API EMR3QueryMainExecutionEngine. bugref:9044

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

Legend:

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

    r70979 r72327  
    280280VMMR3DECL(int)                  EMR3SetExecutionPolicy(PUVM pUVM, EMEXECPOLICY enmPolicy, bool fEnforce);
    281281VMMR3DECL(int)                  EMR3QueryExecutionPolicy(PUVM pUVM, EMEXECPOLICY enmPolicy, bool *pfEnforced);
     282VMMR3DECL(int)                  EMR3QueryMainExecutionEngine(PUVM pUVM, uint8_t *pbMainExecutionEngine);
    282283
    283284VMMR3_INT_DECL(int)             EMR3Init(PVM pVM);
  • trunk/include/VBox/vmm/vm.h

    r71415 r72327  
    935935
    936936
    937 /** @name VM_EXEC_ENGINE_XXX - VM::bMainExecutionEngine values.
    938  * @{ */
    939 /** Has not yet been set. */
    940 #define VM_EXEC_ENGINE_NOT_SET              UINT8_C(0)
    941 /** Raw-mode. */
    942 #define VM_EXEC_ENGINE_RAW_MODE             UINT8_C(1)
    943 /** Hardware assisted virtualization thru HM. */
    944 #define VM_EXEC_ENGINE_HW_VIRT              UINT8_C(2)
    945 /** Hardware assisted virtualization thru native API (NEM). */
    946 #define VM_EXEC_ENGINE_NATIVE_API           UINT8_C(3)
    947 /** @} */
    948 
    949937/**
    950938 * Helper that HM and NEM uses for safely modifying VM::bMainExecutionEngine.
  • trunk/include/VBox/vmm/vmapi.h

    r71129 r72327  
    3838 * @ingroup grp_vm
    3939 * @{ */
     40
     41/** @name VM_EXEC_ENGINE_XXX - VM::bMainExecutionEngine values.
     42 * @sa EMR3QueryMainExecutionEngine, VM_IS_RAW_MODE_ENABLED,  VM_IS_HM_ENABLED,
     43 *     VM_IS_HM_OR_NEM_ENABLED, VM_IS_NEM_ENABLED,  VM_SET_MAIN_EXECUTION_ENGINE
     44 * @{ */
     45/** Has not yet been set. */
     46#define VM_EXEC_ENGINE_NOT_SET              UINT8_C(0)
     47/** Raw-mode. */
     48#define VM_EXEC_ENGINE_RAW_MODE             UINT8_C(1)
     49/** Hardware assisted virtualization thru HM. */
     50#define VM_EXEC_ENGINE_HW_VIRT              UINT8_C(2)
     51/** Hardware assisted virtualization thru native API (NEM). */
     52#define VM_EXEC_ENGINE_NATIVE_API           UINT8_C(3)
     53/** @} */
     54
    4055
    4156/** @def VM_RC_ADDR
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