Changeset 13174 in vbox for trunk/include/VBox
- Timestamp:
- Oct 10, 2008 1:29:27 PM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 37697
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/cpum.h
r13005 r13174 744 744 745 745 /** 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 */ 751 DECLINLINE(bool) CPUMIsGuestInPagedProtectedModeEx(PCPUMCTX pCtx) 752 { 753 return (pCtx->cr0 & (X86_CR0_PE | X86_CR0_PG)) == (X86_CR0_PE | X86_CR0_PG); 754 } 755 756 /** 746 757 * Tests if the guest is running in long mode or not. 747 758 *
Note:
See TracChangeset
for help on using the changeset viewer.