Changeset 9802 in vbox
- Timestamp:
- Jun 18, 2008 4:04:58 PM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 32171
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/cpum.h
r9800 r9802 574 574 * @param pCtx Current CPU context 575 575 */ 576 DECLINLINE(bool) CPUMIsGuestIn64BitCodeEx(P VM pVM, PCCPUMCTX pCtx)576 DECLINLINE(bool) CPUMIsGuestIn64BitCodeEx(PCCPUMCTX pCtx) 577 577 { 578 578 if ((pCtx->msrEFER & MSR_K6_EFER_LMA)) -
trunk/src/VBox/VMM/VMMR0/HWVMXR0.cpp
r9720 r9802 962 962 963 963 /* 64 bits guest mode? */ 964 if ( pCtx->msrEFER & MSR_K6_EFER_LMA)964 if (CPUMIsGuestIn64BitCodeEx(pCtx)) 965 965 { 966 966 #ifndef VBOX_WITH_64_BITS_GUESTS -
trunk/src/recompiler/VBoxRecompiler.c
r9800 r9802 1827 1827 1828 1828 /* FS & GS base addresses need to be loaded from the MSRs if in 64 bits mode. */ 1829 if (CPUMIsGuestIn64BitCodeEx(p VM, pCtx))1829 if (CPUMIsGuestIn64BitCodeEx(pCtx)) 1830 1830 { 1831 1831 /* Note that the base values in the hidden fs & gs registers are cut to 32 bits and can't be used in this case. */
Note:
See TracChangeset
for help on using the changeset viewer.