VirtualBox

Changeset 4690 in vbox for trunk/src


Ignore:
Timestamp:
Sep 11, 2007 9:38:38 AM (17 years ago)
Author:
vboxsync
Message:

Enabled clflush and corrected cpuid[1].ebx.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/CPUM.cpp

    r4425 r4690  
    224224                                       //| X86_CPUID_FEATURE_EDX_PSE36 - not virtualized.
    225225                                       //| X86_CPUID_FEATURE_EDX_PSN   - no serial number.
    226                                        //| X86_CPUID_FEATURE_EDX_CLFSH - no CLFLUSH instruction.
     226                                       | X86_CPUID_FEATURE_EDX_CLFSH
    227227                                       //| X86_CPUID_FEATURE_EDX_DS    - no debug store.
    228228                                       //| X86_CPUID_FEATURE_EDX_ACPI  - not virtualized yet.
     
    269269                                       | X86_CPUID_AMD_FEATURE_EDX_FXSR
    270270                                       | X86_CPUID_AMD_FEATURE_EDX_FFXSR
    271                                        //| X86_CPUID_AMD_FEATURE_EDX_LONG_MODE - definintly not.
     271                                       //| X86_CPUID_AMD_FEATURE_EDX_LONG_MODE - definitly not.
    272272                                       | X86_CPUID_AMD_FEATURE_EDX_3DNOW_EX
    273273                                       | X86_CPUID_AMD_FEATURE_EDX_3DNOW
     
    294294     * (APIC-ID := 0 and #LogCpus := 0)
    295295     */
    296     pCPUM->aGuestCpuIdStd[1].ebx = 0x0000ffff;
     296    pCPUM->aGuestCpuIdStd[1].ebx &= 0x0000ffff;
    297297
    298298    /*
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