Changeset 20682 in vbox for trunk/src/VBox/VMM/VMMAll
- Timestamp:
- Jun 18, 2009 11:07:33 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/EMAll.cpp
r20671 r20682 2908 2908 default: 2909 2909 /* In X2APIC specification this range is reserved for APIC control. */ 2910 if ((pRegFrame->ecx >= MSR_IA32_APIC_START) && (pRegFrame->ecx < MSR_IA32_APIC_END)) 2910 if ( pRegFrame->ecx >= MSR_IA32_APIC_START 2911 && pRegFrame->ecx < MSR_IA32_APIC_END) 2911 2912 rc = PDMApicReadMSR(pVM, pVCpu->idCpu, pRegFrame->ecx, &val); 2912 2913 else … … 2919 2920 { 2920 2921 pRegFrame->rax = (uint32_t) val; 2921 pRegFrame->rdx = (uint32_t) (val >> 32ULL);2922 pRegFrame->rdx = (uint32_t)(val >> 32); 2922 2923 } 2923 2924 return rc; … … 2966 2967 switch (pRegFrame->ecx) 2967 2968 { 2969 case MSR_IA32_TSC: 2970 TMCpuTickSet(pVM, pVCpu, val); 2971 break; 2972 2968 2973 case MSR_IA32_APICBASE: 2969 2974 { … … 3058 3063 default: 3059 3064 /* In X2APIC specification this range is reserved for APIC control. */ 3060 if ((pRegFrame->ecx >= MSR_IA32_APIC_START) && (pRegFrame->ecx < MSR_IA32_APIC_END)) 3065 if ( pRegFrame->ecx >= MSR_IA32_APIC_START 3066 && pRegFrame->ecx < MSR_IA32_APIC_END) 3061 3067 return PDMApicWriteMSR(pVM, pVCpu->idCpu, pRegFrame->ecx, val); 3062 3068
Note:
See TracChangeset
for help on using the changeset viewer.