VirtualBox

Changeset 9802 in vbox for trunk/src


Ignore:
Timestamp:
Jun 18, 2008 4:04:58 PM (17 years ago)
Author:
vboxsync
Message:

CPUMIsGuestIn64BitCodeEx update

Location:
trunk/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR0/HWVMXR0.cpp

    r9720 r9802  
    962962
    963963    /* 64 bits guest mode? */
    964     if (pCtx->msrEFER & MSR_K6_EFER_LMA)
     964    if (CPUMIsGuestIn64BitCodeEx(pCtx))
    965965    {
    966966#ifndef VBOX_WITH_64_BITS_GUESTS
  • trunk/src/recompiler/VBoxRecompiler.c

    r9800 r9802  
    18271827
    18281828        /* FS & GS base addresses need to be loaded from the MSRs if in 64 bits mode. */
    1829         if (CPUMIsGuestIn64BitCodeEx(pVM, pCtx))
     1829        if (CPUMIsGuestIn64BitCodeEx(pCtx))
    18301830        {
    18311831            /* 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.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette