- Timestamp:
- Aug 13, 2016 5:04:36 PM (8 years ago)
- Location:
- trunk/src/VBox/ExtPacks/BusMouseSample
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ExtPacks/BusMouseSample/BusMouse.cpp
r62496 r63419 244 244 static DECLCALLBACK(void) bmsTimerCallback(PPDMDEVINS pDevIns, PTMTIMER pTimer, void *pvUser) 245 245 { 246 RT_NOREF(pvUser); 246 247 MouState *pThis = PDMINS_2_DATA(pDevIns, MouState *); 247 248 uint8_t irq_bit; … … 420 421 default: 421 422 AssertMsgFailed(("invalid port %#x\n", offPort)); 423 uValue = 0xff; 422 424 break; 423 425 } … … 602 604 * @interface_method_impl{PDMIMOUSEPORT, pfnPutEventAbs} 603 605 */ 604 static DECLCALLBACK(int) mouPutEventAbs(PPDMIMOUSEPORT pInterface, uint32_t x, 605 uint32_t y, int32_t dz, int32_t dw,606 uint32_t fButtons) 607 { 606 static DECLCALLBACK(int) mouPutEventAbs(PPDMIMOUSEPORT pInterface, uint32_t x, uint32_t y, 607 int32_t dz, int32_t dw, uint32_t fButtons) 608 { 609 RT_NOREF(pInterface, x, y, dz, dw, fButtons); 608 610 AssertFailedReturn(VERR_NOT_SUPPORTED); 609 611 } … … 615 617 const uint64_t *pau64Contacts, uint32_t u32ScanTime) 616 618 { 619 RT_NOREF(pInterface, cContacts, pau64Contacts, u32ScanTime); 617 620 AssertFailedReturn(VERR_NOT_SUPPORTED); 618 621 } … … 712 715 break; 713 716 } 717 #else 718 RT_NOREF(pDevIns, iLUN, fFlags); 714 719 #endif 715 720 } … … 721 726 static DECLCALLBACK(void) mouRelocate(PPDMDEVINS pDevIns, RTGCINTPTR offDelta) 722 727 { 723 MouState *pThis = PDMINS_2_DATA(pDevIns, MouState *); 728 RT_NOREF(offDelta); 729 MouState *pThis = PDMINS_2_DATA(pDevIns, MouState *); 724 730 pThis->pDevInsRC = PDMDEVINS_2_RCPTR(pDevIns); 725 731 } … … 731 737 static DECLCALLBACK(int) mouConstruct(PPDMDEVINS pDevIns, int iInstance, PCFGMNODE pCfg) 732 738 { 739 RT_NOREF(iInstance); 740 PDMDEV_CHECK_VERSIONS_RETURN(pDevIns); 733 741 MouState *pThis = PDMINS_2_DATA(pDevIns, MouState *); 734 742 int rc; … … 738 746 Assert(iInstance == 0); 739 747 740 PDMDEV_CHECK_VERSIONS_RETURN(pDevIns);741 748 742 749 /* -
trunk/src/VBox/ExtPacks/BusMouseSample/VBoxBusMouseMain.cpp
r62496 r63419 79 79 static DECLCALLBACK(int) vboxBusMouseExtPack_VMConfigureVMM(PCVBOXEXTPACKREG pThis, IConsole *pConsole, PVM pVM) 80 80 { 81 RT_NOREF(pThis, pConsole); 82 81 83 /* 82 84 * Find the bus mouse module and tell PDM to load it.
Note:
See TracChangeset
for help on using the changeset viewer.