VirtualBox

忽略:
時間撮記:
2011-10-24 下午01:58:22 (13 年 以前)
作者:
vboxsync
訊息:

More parameter warning fixes; made PciIch9 check the saved state version.

檔案:
修改 1 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/VBox/Devices/Input/DevPS2.cpp

    r38454 r39091  
    437437{
    438438    KBDState *s = (KBDState*)opaque;
    439     int val;
    440     val = s->status;
     439    int val = s->status;
     440    NOREF(addr);
     441
    441442#if defined(DEBUG_KBD)
    442443    Log(("kbd: read status=0x%02x\n", val));
     
    449450    int rc = VINF_SUCCESS;
    450451    KBDState *s = (KBDState*)opaque;
     452    NOREF(addr);
    451453
    452454#ifdef DEBUG_KBD
     
    573575    KBDState *s = (KBDState*)opaque;
    574576    uint32_t val;
     577    NOREF(addr);
    575578
    576579    /* Return the current DBB contents. */
     
    799802}
    800803
     804#ifdef IN_RING3
     805
    801806static bool kbd_mouse_unreported(KBDState *s)
    802807{
    803    return    s->mouse_dx
    804           || s->mouse_dy
    805           || s->mouse_dz
    806           || s->mouse_dw
    807           || s->mouse_buttons != s->mouse_buttons_reported;
    808 }
    809 
    810 #ifdef IN_RING3
     808    return s->mouse_dx
     809        || s->mouse_dy
     810        || s->mouse_dz
     811        || s->mouse_dw
     812        || s->mouse_buttons != s->mouse_buttons_reported;
     813}
     814
    811815static size_t kbd_mouse_event_queue_free(KBDState *s)
    812816{
     
    850854    pDrv->pfnReportModes(pDrv, fEnabled, false);
    851855}
     856
    852857#endif /* IN_RING3 */
    853858
     
    10581063    int rc = VINF_SUCCESS;
    10591064    KBDState *s = (KBDState*)opaque;
     1065    NOREF(addr);
    10601066
    10611067#ifdef DEBUG_KBD
     
    15931599{
    15941600    AssertFailedReturn(VERR_NOT_SUPPORTED);
     1601    NOREF(pInterface); NOREF(uX); NOREF(uY); NOREF(iDeltaZ); NOREF(iDeltaW); NOREF(fButtons);
    15951602}
    15961603
     
    17171724            break;
    17181725    }
     1726#else
     1727    NOREF(pDevIns); NOREF(iLUN); NOREF(fFlags);
    17191728#endif
    17201729}
     
    17281737    KBDState   *pThis = PDMINS_2_DATA(pDevIns, KBDState *);
    17291738    pThis->pDevInsRC = PDMDEVINS_2_RCPTR(pDevIns);
     1739    NOREF(offDelta);
    17301740}
    17311741
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

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