- Timestamp:
- Jun 27, 2008 10:14:36 AM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 32429
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/cpum.h
r9852 r9986 535 535 536 536 /** 537 * Tests if the guest is running in long mode or not. 538 * 539 * @returns true if in long mode, otherwise false. 540 * @param pVM The VM handle. 541 */ 542 DECLINLINE(bool) CPUMIsGuestInLongModeEx(PCPUMCTX pCtx) 543 { 544 return (pCtx->msrEFER & MSR_K6_EFER_LMA) == MSR_K6_EFER_LMA; 545 } 546 547 /** 537 548 * Tests if the guest is running in 16 bits paged protected or not. 538 549 * -
trunk/src/VBox/VMM/HWACCM.cpp
r9985 r9986 643 643 /** @note The context supplied by REM is partial. If we add more checks here, be sure to verify that REM provides this info! */ 644 644 645 if (!CPUMIsGuestInLongMode (pVM))645 if (!CPUMIsGuestInLongModeEx(pCtx)) 646 646 { 647 647 /* Too early for VT-x; Solaris guests will fail with a guru meditation otherwise; same for XP. */
Note:
See TracChangeset
for help on using the changeset viewer.