- Timestamp:
- May 23, 2016 1:21:47 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/APICAll.cpp
r61132 r61133 1746 1746 Assert(pu64Value); 1747 1747 1748 #ifndef IN_RING3 1748 1749 PCAPIC pApic = VM_TO_APIC(pVCpu->CTX_SUFF(pVM)); 1749 1750 if (pApic->fRZEnabled) … … 1751 1752 else 1752 1753 { 1753 #ifndef IN_RING31754 1754 return VINF_CPUM_R3_MSR_READ; 1755 } 1755 1756 #endif 1756 }1757 1757 1758 1758 STAM_COUNTER_INC(&pVCpu->apic.s.CTX_SUFF(StatMsrRead)); … … 1852 1852 Assert(u32Reg >= MSR_IA32_X2APIC_START && u32Reg <= MSR_IA32_X2APIC_END); 1853 1853 1854 #ifndef IN_RING3 1854 1855 PCAPIC pApic = VM_TO_APIC(pVCpu->CTX_SUFF(pVM)); 1855 1856 if (pApic->fRZEnabled) … … 1857 1858 else 1858 1859 { 1859 #ifndef IN_RING31860 1860 return VINF_CPUM_R3_MSR_WRITE; 1861 } 1861 1862 #endif 1862 }1863 1863 1864 1864 STAM_COUNTER_INC(&pVCpu->apic.s.CTX_SUFF(StatMsrWrite));
Note:
See TracChangeset
for help on using the changeset viewer.