vbox的更動 39091 路徑 trunk/src/VBox/Devices/Input/DevPS2.cpp
- 時間撮記:
- 2011-10-24 下午01:58:22 (13 年 以前)
- 檔案:
-
- 修改 1 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/VBox/Devices/Input/DevPS2.cpp
r38454 r39091 437 437 { 438 438 KBDState *s = (KBDState*)opaque; 439 int val; 440 val = s->status; 439 int val = s->status; 440 NOREF(addr); 441 441 442 #if defined(DEBUG_KBD) 442 443 Log(("kbd: read status=0x%02x\n", val)); … … 449 450 int rc = VINF_SUCCESS; 450 451 KBDState *s = (KBDState*)opaque; 452 NOREF(addr); 451 453 452 454 #ifdef DEBUG_KBD … … 573 575 KBDState *s = (KBDState*)opaque; 574 576 uint32_t val; 577 NOREF(addr); 575 578 576 579 /* Return the current DBB contents. */ … … 799 802 } 800 803 804 #ifdef IN_RING3 805 801 806 static bool kbd_mouse_unreported(KBDState *s) 802 807 { 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 811 815 static size_t kbd_mouse_event_queue_free(KBDState *s) 812 816 { … … 850 854 pDrv->pfnReportModes(pDrv, fEnabled, false); 851 855 } 856 852 857 #endif /* IN_RING3 */ 853 858 … … 1058 1063 int rc = VINF_SUCCESS; 1059 1064 KBDState *s = (KBDState*)opaque; 1065 NOREF(addr); 1060 1066 1061 1067 #ifdef DEBUG_KBD … … 1593 1599 { 1594 1600 AssertFailedReturn(VERR_NOT_SUPPORTED); 1601 NOREF(pInterface); NOREF(uX); NOREF(uY); NOREF(iDeltaZ); NOREF(iDeltaW); NOREF(fButtons); 1595 1602 } 1596 1603 … … 1717 1724 break; 1718 1725 } 1726 #else 1727 NOREF(pDevIns); NOREF(iLUN); NOREF(fFlags); 1719 1728 #endif 1720 1729 } … … 1728 1737 KBDState *pThis = PDMINS_2_DATA(pDevIns, KBDState *); 1729 1738 pThis->pDevInsRC = PDMDEVINS_2_RCPTR(pDevIns); 1739 NOREF(offDelta); 1730 1740 } 1731 1741
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器