VirtualBox

Changeset 93901 in vbox for trunk/include/VBox/vmm/vm.h


Ignore:
Timestamp:
Feb 23, 2022 3:35:26 PM (3 years ago)
Author:
vboxsync
Message:

VMM,Main,++: Removed VM_IS_RAW_MODE_ENABLED/VM_EXEC_ENGINE_RAW_MODE and added VM_IS_EXEC_ENGINE_IEM/VM_EXEC_ENGINE_IEM instead. In IMachineDebugger::getExecutionEngine VMExecutionEngine_RawMode was removed and VMExecutionEngine_Emulated added. Removed dead code and updated frontends accordingly. On darwin.arm64 HM now falls back on IEM execution since neither HM or NEM is availble there. bugref:9898

File:
1 edited

Legend:

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

    r93650 r93901  
    10911091
    10921092/**
    1093  * Checks whether raw-mode is used.
    1094  *
    1095  * @retval  true if either is used.
    1096  * @retval  false if software virtualization (raw-mode) is used.
     1093 * Checks whether iem-executes-all-mode is used.
     1094 *
     1095 * @retval  true if IEM is used.
     1096 * @retval  false if not.
    10971097 *
    10981098 * @param   a_pVM       The cross context VM structure.
     
    11001100 * @internal
    11011101 */
    1102 #ifdef VBOX_WITH_RAW_MODE
    1103 # define VM_IS_RAW_MODE_ENABLED(a_pVM)      ((a_pVM)->bMainExecutionEngine == VM_EXEC_ENGINE_RAW_MODE)
    1104 #else
    1105 # define VM_IS_RAW_MODE_ENABLED(a_pVM)      (false)
    1106 #endif
     1102#define VM_IS_EXEC_ENGINE_IEM(a_pVM)      ((a_pVM)->bMainExecutionEngine == VM_EXEC_ENGINE_IEM)
    11071103
    11081104/**
     
    11131109 *
    11141110 * @param   a_pVM       The cross context VM structure.
    1115  * @sa      VM_IS_RAW_MODE_ENABLED, VM_IS_HM_ENABLED, VM_IS_NEM_ENABLED.
     1111 * @sa      VM_IS_EXEC_ENGINE_IEM, VM_IS_HM_ENABLED, VM_IS_NEM_ENABLED.
    11161112 * @internal
    11171113 */
    1118 #define VM_IS_HM_OR_NEM_ENABLED(a_pVM)      ((a_pVM)->bMainExecutionEngine != VM_EXEC_ENGINE_RAW_MODE)
     1114#define VM_IS_HM_OR_NEM_ENABLED(a_pVM)      ((a_pVM)->bMainExecutionEngine != VM_EXEC_ENGINE_IEM)
    11191115
    11201116/**
     
    11251121 *
    11261122 * @param   a_pVM       The cross context VM structure.
    1127  * @sa      VM_IS_NEM_ENABLED, VM_IS_RAW_MODE_ENABLED, VM_IS_HM_OR_NEM_ENABLED.
     1123 * @sa      VM_IS_NEM_ENABLED, VM_IS_EXEC_ENGINE_IEM, VM_IS_HM_OR_NEM_ENABLED.
    11281124 * @internal
    11291125 */
     
    11371133 *
    11381134 * @param   a_pVM       The cross context VM structure.
    1139  * @sa      VM_IS_HM_ENABLED, VM_IS_RAW_MODE_ENABLED, VM_IS_HM_OR_NEM_ENABLED.
     1135 * @sa      VM_IS_HM_ENABLED, VM_IS_EXEC_ENGINE_IEM, VM_IS_HM_OR_NEM_ENABLED.
    11401136 * @internal
    11411137 */
Note: See TracChangeset for help on using the changeset viewer.

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