VirtualBox

Changeset 13174 in vbox for trunk/include/VBox


Ignore:
Timestamp:
Oct 10, 2008 1:29:27 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
37697
Message:

Cleaned up a bit

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/cpum.h

    r13005 r13174  
    744744
    745745/**
     746 * Tests if the guest is running in paged protected or not.
     747 *
     748 * @returns true if in paged protected mode, otherwise false.
     749 * @param   pVM     The VM handle.
     750 */
     751DECLINLINE(bool) CPUMIsGuestInPagedProtectedModeEx(PCPUMCTX pCtx)
     752{
     753    return (pCtx->cr0 & (X86_CR0_PE | X86_CR0_PG)) == (X86_CR0_PE | X86_CR0_PG);
     754}
     755
     756/**
    746757 * Tests if the guest is running in long mode or not.
    747758 *
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