VirtualBox

Changeset 73073 in vbox for trunk/include/VBox


Ignore:
Timestamp:
Jul 11, 2018 4:19:48 PM (7 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
123634
Message:

PGM/DBG: Optimize page scanning to speed up 'detect'.

File:
1 edited

Legend:

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

    r72569 r73073  
    847847#endif
    848848
     849/** @def VMSTATE_IS_RUNNING
     850 * Checks if the given state indicates a running VM.
     851 */
     852#define VMSTATE_IS_RUNNING(a_enmVMState) \
     853    (   (enmVMState) == VMSTATE_RUNNING \
     854     || (enmVMState) == VMSTATE_RUNNING_LS \
     855     || (enmVMState) == VMSTATE_RUNNING_FT )
     856
    849857/** @def VM_IS_RUNNING_FOR_ASSERTIONS_ONLY
    850  * Checks if the the VM is running.
    851  * @note Thie is only for pure debug assertions.  No AssertReturn or similar!
     858 * Checks if the VM is running.
     859 * @note This is only for pure debug assertions.  No AssertReturn or similar!
     860 * @sa  VMSTATE_IS_RUNNING
    852861 */
    853862#define VM_IS_RUNNING_FOR_ASSERTIONS_ONLY(pVM) \
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