vbox的更動 13020 路徑 trunk/src/VBox/VMM/VMMAll/EMAll.cpp
- 時間撮記:
- 2008-10-6 下午04:27:16 (16 年 以前)
- 檔案:
-
- 修改 1 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/VBox/VMM/VMMAll/EMAll.cpp
r13013 r13020 2579 2579 /* In X2APIC specification this range is reserved for APIC control. */ 2580 2580 if ((pRegFrame->ecx >= MSR_IA32_APIC_START) && (pRegFrame->ecx < MSR_IA32_APIC_END)) 2581 { 2582 rc = PDMApicRDMSR(pVM, VMMGetCpuId(pVM), pRegFrame->ecx, &val); 2583 } 2581 rc = PDMApicReadMSR(pVM, VMMGetCpuId(pVM), pRegFrame->ecx, &val); 2584 2582 else 2585 {2586 2583 /* We should actually trigger a #GP here, but don't as that might cause more trouble. */ 2587 2584 val = 0; 2588 break; 2589 } 2585 break; 2590 2586 } 2591 2587 Log(("EMInterpretRdmsr %s (%x) -> val=%VX64\n", emMSRtoString(pRegFrame->ecx), pRegFrame->ecx, val)); … … 2728 2724 /* In X2APIC specification this range is reserved for APIC control. */ 2729 2725 if ((pRegFrame->ecx >= MSR_IA32_APIC_START) && (pRegFrame->ecx < MSR_IA32_APIC_END)) 2730 { 2731 return PDMApicWRMSR(pVM, VMMGetCpuId(pVM), pRegFrame->ecx, val); 2732 } 2726 return PDMApicWriteMSR(pVM, VMMGetCpuId(pVM), pRegFrame->ecx, val); 2727 2733 2728 /* We should actually trigger a #GP here, but don't as that might cause more trouble. */ 2734 2729 break;
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器