VirtualBox

忽略:
時間撮記:
2008-6-20 上午08:57:26 (16 年 以前)
作者:
vboxsync
訊息:

Fixed some inconsistencies (thanks Frank)

檔案:
修改 1 筆資料

圖例:

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

    r9835 r9836  
    11951195        STAM_COUNTER_INC(&pStats->CTXALLSUFF(Read));
    11961196#endif
    1197     *pu32Value = 0;
     1197    /* Unassigned memory; this is actually not supposed to happen. */
     1198    switch (cbValue)
     1199    {
     1200        case 1: *(uint8_t *)pu32Value  = 0xff; break;
     1201        case 2: *(uint16_t *)pu32Value = 0xffff; break;
     1202        case 4: *(uint32_t *)pu32Value = 0xffffffff; break;
     1203        case 8: *(uint64_t *)pu32Value = 0xffffffffffffffff; break;
     1204        default: AssertReleaseMsgFailed(("cbValue=%d GCPhys=%VGp\n", cbValue, GCPhys)); break;
     1205    }
    11981206    Log4(("IOMMMIORead: GCPhys=%RGp *pu32=%08RX32 cb=%d rc=VINF_SUCCESS\n", GCPhys, *pu32Value, cbValue));
    11991207    return VINF_SUCCESS;
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

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