Changeset 44373 in vbox for trunk/src/VBox/VMM/VMMR3/EM.cpp
- Timestamp:
- Jan 25, 2013 12:19:29 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR3/EM.cpp
r44362 r44373 63 63 #include "EMInternal.h" 64 64 #include <VBox/vmm/vm.h> 65 #include <VBox/vmm/uvm.h> 65 66 #include <VBox/vmm/cpumdis.h> 66 67 #include <VBox/dis.h> … … 666 667 667 668 /** 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 */ 674 VMMR3DECL(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 */ 689 VMMR3DECL(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 /** 668 699 * Raise a fatal error. 669 700 *
Note:
See TracChangeset
for help on using the changeset viewer.