Changeset 1826 in vbox for trunk/include
- Timestamp:
- Mar 30, 2007 12:37:18 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/cpum.h
r1133 r1826 679 679 CPUMDECL(void) CPUMSetHiddenSelRegsValid(PVM pVM, bool fValid); 680 680 681 /** 682 * Get the current privilege level of the guest. 683 * 684 * @returns cpl 685 * @param pVM VM Handle. 686 * @param pRegFrame Trap register frame. 687 * @param eflags Current eflags 688 */ 689 CPUMDECL(uint32_t) CPUMGetGuestCPLEx(PVM pVM, PCPUMCTXCORE pCtxCore, X86EFLAGS eflags); 690 691 /** 692 * Get the current privilege level of the guest. 693 * 694 * @returns cpl 695 * @param pVM VM Handle. 696 * @param pRegFrame Trap register frame. 697 */ 698 DECLINLINE(uint32_t) CPUMGetGuestCPL(PVM pVM, PCPUMCTXCORE pCtxCore) 699 { 700 return CPUMGetGuestCPLEx(pVM, pCtxCore, pCtxCore->eflags); 701 } 702 681 703 682 704 #ifdef IN_RING3
Note:
See TracChangeset
for help on using the changeset viewer.