VirtualBox

Changeset 44373 in vbox for trunk/src/VBox/VMM/VMMR3/EM.cpp


Ignore:
Timestamp:
Jan 25, 2013 12:19:29 PM (12 years ago)
Author:
vboxsync
Message:

HM,++: pVM -> pUVM for main, mark as many as possible interfaces module internal.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR3/EM.cpp

    r44362 r44373  
    6363#include "EMInternal.h"
    6464#include <VBox/vmm/vm.h>
     65#include <VBox/vmm/uvm.h>
    6566#include <VBox/vmm/cpumdis.h>
    6667#include <VBox/dis.h>
     
    666667
    667668/**
     669 * Checks if raw ring-3 execute mode is enabled.
     670 *
     671 * @returns true if enabled, false if disabled.
     672 * @param   pUVM            The user mode VM handle.
     673 */
     674VMMR3DECL(bool) EMR3IsRawRing3Enabled(PUVM pUVM)
     675{
     676    UVM_ASSERT_VALID_EXT_RETURN(pUVM, false);
     677    PVM pVM = pUVM->pVM;
     678    VM_ASSERT_VALID_EXT_RETURN(pVM, false);
     679    return EMIsRawRing3Enabled(pVM);
     680}
     681
     682
     683/**
     684 * Checks if raw ring-0 execute mode is enabled.
     685 *
     686 * @returns true if enabled, false if disabled.
     687 * @param   pUVM            The user mode VM handle.
     688 */
     689VMMR3DECL(bool) EMR3IsRawRing0Enabled(PUVM pUVM)
     690{
     691    UVM_ASSERT_VALID_EXT_RETURN(pUVM, false);
     692    PVM pVM = pUVM->pVM;
     693    VM_ASSERT_VALID_EXT_RETURN(pVM, false);
     694    return EMIsRawRing0Enabled(pVM);
     695}
     696
     697
     698/**
    668699 * Raise a fatal error.
    669700 *
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