Changeset 72741 in vbox
- Timestamp:
- Jun 29, 2018 7:34:08 AM (7 years ago)
- svn:sync-xref-src-repo-rev:
- 123277
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vmm/cpum.h
r72643 r72741 1331 1331 * @param pCtx Current CPU context. 1332 1332 */ 1333 DECLINLINE(bool) CPUMIsGuestInRealModeEx(PC PUMCTX pCtx)1333 DECLINLINE(bool) CPUMIsGuestInRealModeEx(PCCPUMCTX pCtx) 1334 1334 { 1335 1335 return !(pCtx->cr0 & X86_CR0_PE); … … 1354 1354 * @param pCtx Current CPU context. 1355 1355 */ 1356 DECLINLINE(bool) CPUMIsGuestInV86ModeEx(PC PUMCTX pCtx)1356 DECLINLINE(bool) CPUMIsGuestInV86ModeEx(PCCPUMCTX pCtx) 1357 1357 { 1358 1358 return (pCtx->eflags.Bits.u1VM == 1); … … 1404 1404 * @param pCtx Current CPU context. 1405 1405 */ 1406 DECLINLINE(bool) CPUMIsGuestPagingEnabledEx(PC PUMCTX pCtx)1406 DECLINLINE(bool) CPUMIsGuestPagingEnabledEx(PCCPUMCTX pCtx) 1407 1407 { 1408 1408 return !!(pCtx->cr0 & X86_CR0_PG); … … 1415 1415 * @param pCtx Current CPU context. 1416 1416 */ 1417 DECLINLINE(bool) CPUMIsGuestInPAEModeEx(PC PUMCTX pCtx)1417 DECLINLINE(bool) CPUMIsGuestInPAEModeEx(PCCPUMCTX pCtx) 1418 1418 { 1419 1419 /* Intel mentions EFER.LMA and EFER.LME in different parts of their spec. We shall use EFER.LMA rather
Note:
See TracChangeset
for help on using the changeset viewer.