VirtualBox

Changeset 61133 in vbox for trunk


Ignore:
Timestamp:
May 23, 2016 1:21:47 PM (9 years ago)
Author:
vboxsync
Message:

VMM/APIC: Nit.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/APICAll.cpp

    r61132 r61133  
    17461746    Assert(pu64Value);
    17471747
     1748#ifndef IN_RING3
    17481749    PCAPIC pApic = VM_TO_APIC(pVCpu->CTX_SUFF(pVM));
    17491750    if (pApic->fRZEnabled)
     
    17511752    else
    17521753    {
    1753 #ifndef IN_RING3
    17541754        return VINF_CPUM_R3_MSR_READ;
     1755    }
    17551756#endif
    1756     }
    17571757
    17581758    STAM_COUNTER_INC(&pVCpu->apic.s.CTX_SUFF(StatMsrRead));
     
    18521852    Assert(u32Reg >= MSR_IA32_X2APIC_START && u32Reg <= MSR_IA32_X2APIC_END);
    18531853
     1854#ifndef IN_RING3
    18541855    PCAPIC pApic = VM_TO_APIC(pVCpu->CTX_SUFF(pVM));
    18551856    if (pApic->fRZEnabled)
     
    18571858    else
    18581859    {
    1859 #ifndef IN_RING3
    18601860        return VINF_CPUM_R3_MSR_WRITE;
     1861    }
    18611862#endif
    1862     }
    18631863
    18641864    STAM_COUNTER_INC(&pVCpu->apic.s.CTX_SUFF(StatMsrWrite));
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