VirtualBox

Changeset 42815 in vbox for trunk/src


Ignore:
Timestamp:
Aug 15, 2012 4:11:49 AM (12 years ago)
Author:
vboxsync
Message:

VMM/VMMR0: Remove commented code, no CSTARs on Intels.

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

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR0/HWACCMR0Mixed.mac

    r42156 r42815  
    77
    88;
    9 ; Copyright (C) 2006-2007 Oracle Corporation
     9; Copyright (C) 2006-2012 Oracle Corporation
    1010;
    1111; This file is part of VirtualBox Open Source Edition (OSE), as
     
    407407    ; Save the host MSRs and load the guest MSRs
    408408    LOADGUESTMSR MSR_K8_LSTAR, CPUMCTX.msrLSTAR
    409 %if 0  ; not supported on Intel CPUs
    410     LOADGUESTMSR MSR_K8_CSTAR, CPUMCTX.msrCSTAR
    411 %endif
    412409    LOADGUESTMSR MSR_K6_STAR, CPUMCTX.msrSTAR
    413410    LOADGUESTMSR MSR_K8_SF_MASK, CPUMCTX.msrSFMASK
     
    546543    LOADHOSTMSREX MSR_K8_SF_MASK, CPUMCTX.msrSFMASK
    547544    LOADHOSTMSREX MSR_K6_STAR, CPUMCTX.msrSTAR
    548 %if 0  ; not supported on Intel CPUs
    549     LOADHOSTMSREX MSR_K8_CSTAR, CPUMCTX.msrCSTAR
    550 %endif
    551545    LOADHOSTMSREX MSR_K8_LSTAR, CPUMCTX.msrLSTAR
    552546%endif
     
    619613    LOADHOSTMSR MSR_K8_SF_MASK
    620614    LOADHOSTMSR MSR_K6_STAR
    621 %if 0  ; not supported on Intel CPUs
    622     LOADHOSTMSR MSR_K8_CSTAR
    623 %endif
    624615    LOADHOSTMSR MSR_K8_LSTAR
    625616%endif
     
    668659    LOADHOSTMSR MSR_K8_SF_MASK
    669660    LOADHOSTMSR MSR_K6_STAR
    670 %if 0  ; not supported on Intel CPUs
    671     LOADHOSTMSR MSR_K8_CSTAR
    672 %endif
    673661    LOADHOSTMSR MSR_K8_LSTAR
    674662%endif
  • trunk/src/VBox/VMM/VMMRC/HWACCMRCA.asm

    r37955 r42815  
    55
    66;
    7 ; Copyright (C) 2006-2007 Oracle Corporation
     7; Copyright (C) 2006-2012 Oracle Corporation
    88;
    99; This file is part of VirtualBox Open Source Edition (OSE), as
     
    232232    ;; @todo use the automatic load feature for MSRs
    233233    LOADGUESTMSR MSR_K8_LSTAR,          CPUMCTX.msrLSTAR
    234 %if 0  ; not supported on Intel CPUs
    235     LOADGUESTMSR MSR_K8_CSTAR,          CPUMCTX.msrCSTAR
    236 %endif
    237234    LOADGUESTMSR MSR_K6_STAR,           CPUMCTX.msrSTAR
    238235    LOADGUESTMSR MSR_K8_SF_MASK,        CPUMCTX.msrSFMASK
     
    307304    ;; @todo use the automatic load feature for MSRs
    308305    SAVEGUESTMSR MSR_K8_LSTAR,          CPUMCTX.msrLSTAR
    309 %if 0  ; not supported on Intel CPUs
    310     SAVEGUESTMSR MSR_K8_CSTAR,          CPUMCTX.msrCSTAR
    311 %endif
    312306    SAVEGUESTMSR MSR_K6_STAR,           CPUMCTX.msrSTAR
    313307    SAVEGUESTMSR MSR_K8_SF_MASK,        CPUMCTX.msrSFMASK
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