VirtualBox

Changeset 69653 in vbox for trunk


Ignore:
Timestamp:
Nov 10, 2017 6:42:55 PM (7 years ago)
Author:
vboxsync
Message:

VMM: scm cleanups

Location:
trunk/src/VBox/VMM
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR3/cpus/Intel_Core2_X6800_2_93GHz.h

    r69586 r69653  
    2525 * CPUID leaves for Intel(R) Core(TM)2 CPU         X6800  @ 2.93GHz.
    2626 */
    27 static CPUMCPUIDLEAF const g_aCpuIdLeaves_Intel_Core2_X6800_2_93GHz[] = 
     27static CPUMCPUIDLEAF const g_aCpuIdLeaves_Intel_Core2_X6800_2_93GHz[] =
    2828{
    2929    { 0x00000000, 0x00000000, 0x00000000, 0x0000000a, 0x756e6547, 0x6c65746e, 0x49656e69, 0 },
     
    5858 * MSR ranges for Intel(R) Core(TM)2 CPU         X6800  @ 2.93GHz.
    5959 */
    60 static CPUMMSRRANGE const g_aMsrRanges_Intel_Core2_X6800_2_93GHz[] = 
     60static CPUMMSRRANGE const g_aMsrRanges_Intel_Core2_X6800_2_93GHz[] =
    6161{
    6262    MFX(0x00000000, "IA32_P5_MC_ADDR", Ia32P5McAddr, Ia32P5McAddr, 0, UINT64_C(0xfffffffffffbffff), 0), /* value=0x1398780 */
     
    232232 * Database entry for Intel(R) Core(TM)2 CPU         X6800  @ 2.93GHz.
    233233 */
    234 static CPUMDBENTRY const g_Entry_Intel_Core2_X6800_2_93GHz = 
     234static CPUMDBENTRY const g_Entry_Intel_Core2_X6800_2_93GHz =
    235235{
    236236    /*.pszName          = */ "Intel Core2 X6800 2.93GHz",
  • trunk/src/VBox/VMM/tools/MsrLinux.cpp

    r69584 r69653  
    3333#define MSR_DEV_NAME    "/dev/cpu/0/msr"
    3434
     35
    3536/*********************************************************************************************************************************
    3637*   Structures and Typedefs                                                                                                      *
    3738*********************************************************************************************************************************/
     39
    3840
    3941/*********************************************************************************************************************************
  • trunk/src/VBox/VMM/tools/VBoxCpuReport.cpp

    r69585 r69653  
    4141
    4242#include "VBoxCpuReport.h"
     43
    4344
    4445/*********************************************************************************************************************************
     
    25512552            return VBCPUREPBADNESS_BOND_VILLAIN;
    25522553
    2553         /* 
    2554          * The TSC is tricky -- writing it isn't a problem, but if we put back the original 
    2555          * value, we'll throw it out of whack. If we're on an SMP OS that uses the TSC for timing, 
     2554        /*
     2555         * The TSC is tricky -- writing it isn't a problem, but if we put back the original
     2556         * value, we'll throw it out of whack. If we're on an SMP OS that uses the TSC for timing,
    25562557         * we'll likely kill it, especially if we can't do the modification very quickly.
    25572558         */
     
    25612562            break;
    25622563
    2563         /* 
    2564          * The following MSRs are not safe to modify in a typical OS if we can't do it atomically, 
    2565          * i.e. read/modify/restore without allowing any other code to execute. Everything related 
     2564        /*
     2565         * The following MSRs are not safe to modify in a typical OS if we can't do it atomically,
     2566         * i.e. read/modify/restore without allowing any other code to execute. Everything related
    25662567         * to syscalls will blow up in our face if we go back to userland with modified MSRs.
    2567          */ 
     2568         */
    25682569//        case 0x0000001b: /* IA32_APIC_BASE */
    25692570        case 0xc0000081: /* MSR_K6_STAR */
  • trunk/src/VBox/VMM/tools/VBoxCpuReport.h

    r69584 r69653  
    2828extern int PlatformMsrProberInit(VBMSRFNS *fnsMsr, bool *pfAtomicMsrMod);
    2929
    30 
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