VirtualBox

Changeset 100714 in vbox for trunk/src/VBox/VMM/include


Ignore:
Timestamp:
Jul 27, 2023 10:12:09 AM (18 months ago)
Author:
vboxsync
Message:

VMM/IEM: Require a IEMOP_HLP_DONE_DECODING in all MC blocks so we know exacly when the recompiler starts emitting code (calls) and we can make sure it's still safe to restart insturction decoding. Also made the python script check this and that nothing that smells like decoding happens after IEMOP_HLP_DONE_DECODING and its friends. bugref:10369

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/include/IEMOpHlp.h

    r100579 r100714  
    327327 *
    328328 *  @note Update IEM_VMX_IN_VMX_OPERATION if changes are made here.
     329 *
     330 * @todo r=bird: This is absolutely *INCORRECT* since IEM_VMX_IS_ROOT_MODE
     331 *       is a complicated runtime state (calls CPUMIsGuestInVmxRootMode), and
     332 *       not something we can decide while decoding.  Convert to an IEM_MC!
    329333 */
    330334# define IEMOP_HLP_IN_VMX_OPERATION(a_szInstr, a_InsDiagPrefix) \
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