VirtualBox

Changeset 60438 in vbox


Ignore:
Timestamp:
Apr 11, 2016 5:47:37 PM (8 years ago)
Author:
vboxsync
Message:

CPUR3CpuId: Fixed fake 8086/80186 classification.

Location:
trunk/src/VBox/VMM/VMMR3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR3/CPUMR3CpuId.cpp

    r60414 r60438  
    325325                break;
    326326            /* The following are not kosher but kind of follow intuitively from 6, 5 & 4. */
     327            case 0:
     328                return kCpumMicroarch_Intel_8086;
    327329            case 1:
    328                 return kCpumMicroarch_Intel_8086;
     330                return kCpumMicroarch_Intel_80186;
    329331            case 2:
    330332                return kCpumMicroarch_Intel_80286;
  • trunk/src/VBox/VMM/VMMR3/IEMR3.cpp

    r60415 r60438  
    9090                default:                            pVCpu->iem.s.uTargetCpu = IEMTARGETCPU_CURRENT; break;
    9191            }
     92            LogRel(("IEM: uTargetCpu=%d (%d)\n", pVCpu->iem.s.uTargetCpu, pVM->cpum.ro.GuestFeatures.enmMicroarch));
    9293#endif
    9394        }
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