VirtualBox

Changeset 69653 in vbox for trunk/src/VBox/VMM/tools


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

VMM: scm cleanups

Location:
trunk/src/VBox/VMM/tools
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • 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