Changeset 44793 in vbox
- Timestamp:
- Feb 21, 2013 6:39:05 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vmm/cpum.h
r44657 r44793 283 283 } 284 284 285 286 /** 287 * Tests if the guest has paging enabled or not. 288 * 289 * @returns true if paging is enabled, otherwise false. 290 * @param pCtx Current CPU context 291 */ 292 DECLINLINE(bool) CPUMIsGuestPagingEnabledEx(PCPUMCTX pCtx) 293 { 294 return !!(pCtx->cr0 & X86_CR0_PG); 295 } 296 285 297 #endif /* VBOX_WITHOUT_UNNAMED_UNIONS */ 286 298
Note:
See TracChangeset
for help on using the changeset viewer.