- Timestamp:
- Feb 9, 2009 4:09:14 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/cpum.h
r14870 r16598 826 826 * 827 827 * @returns true if in PAE mode, otherwise false. 828 * @param pVM The VM handle. 829 */ 830 DECLINLINE(bool) CPUMIsGuestInPAEMode(PVM pVM) 831 { 832 return ( CPUMIsGuestInPagedProtectedMode(pVM) 833 && (CPUMGetGuestCR4(pVM) & X86_CR4_PAE) 834 && !CPUMIsGuestInLongMode(pVM)); 835 } 836 837 /** 838 * Tests if the guest is running in PAE mode or not. 839 * 840 * @returns true if in PAE mode, otherwise false. 828 841 * @param pCtx Current CPU context 829 842 */
Note:
See TracChangeset
for help on using the changeset viewer.