VirtualBox

忽略:
時間撮記:
2008-10-6 下午04:27:16 (16 年 以前)
作者:
vboxsync
訊息:

Knut-compatibility fixes

檔案:
修改 1 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/VBox/VMM/VMMAll/EMAll.cpp

    r13013 r13020  
    25792579        /* In X2APIC specification this range is reserved for APIC control. */
    25802580        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);
    25842582        else
    2585         {
    25862583            /* We should actually trigger a #GP here, but don't as that might cause more trouble. */
    25872584            val = 0;
    2588             break;
    2589         }
     2585        break;
    25902586    }
    25912587    Log(("EMInterpretRdmsr %s (%x) -> val=%VX64\n", emMSRtoString(pRegFrame->ecx), pRegFrame->ecx, val));
     
    27282724        /* In X2APIC specification this range is reserved for APIC control. */
    27292725        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
    27332728        /* We should actually trigger a #GP here, but don't as that might cause more trouble. */
    27342729        break;
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette