VirtualBox

忽略:
時間撮記:
2008-7-8 下午05:53:27 (16 年 以前)
作者:
vboxsync
訊息:

Updates for 64 bits mmio.

檔案:
修改 1 筆資料

圖例:

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

    r10379 r10381  
    663663     */
    664664    unsigned cb = DISGetParamSize(pCpu, &pCpu->param2);
    665     AssertMsg(cb > 0 && cb <= sizeof(uint32_t), ("cb=%d\n", cb));
     665    AssertMsg(cb > 0 && cb <= sizeof(uint64_t), ("cb=%d\n", cb));
    666666    int     offIncrement = pRegFrame->eflags.Bits.u1DF ? -(signed)cb : (signed)cb;
    667667
     
    669669     * Perform read.
    670670     */
    671     int rc = iomMMIODoRead(pVM, pRange, GCPhysFault, &pRegFrame->eax, cb);
     671    int rc = iomMMIODoRead(pVM, pRange, GCPhysFault, &pRegFrame->rax, cb);
    672672    if (rc == VINF_SUCCESS)
    673673        pRegFrame->rsi += offIncrement;
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

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