VirtualBox

Changeset 37795 in vbox for trunk/src/VBox/Devices/Input


Ignore:
Timestamp:
Jul 6, 2011 10:28:24 AM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
72671
Message:

Devices: use helpers

Location:
trunk/src/VBox/Devices/Input
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Input/UsbKbd.cpp

    r37388 r37795  
    14251425     * Attach the keyboard driver.
    14261426     */
    1427     rc = pUsbIns->pHlpR3->pfnDriverAttach(pUsbIns, 0 /*iLun*/, &pThis->Lun0.IBase, &pThis->Lun0.pDrvBase, "Keyboard Port");
     1427    rc = PDMUsbHlpDriverAttach(pUsbIns, 0 /*iLun*/, &pThis->Lun0.IBase, &pThis->Lun0.pDrvBase, "Keyboard Port");
    14281428    if (RT_FAILURE(rc))
    14291429        return PDMUsbHlpVMSetError(pUsbIns, rc, RT_SRC_POS, N_("HID failed to attach keyboard driver"));
  • trunk/src/VBox/Devices/Input/UsbMouse.cpp

    r37788 r37795  
    13011301     * Attach the mouse driver.
    13021302     */
    1303     rc = pUsbIns->pHlpR3->pfnDriverAttach(pUsbIns, 0 /*iLun*/, &pThis->Lun0.IBase, &pThis->Lun0.pDrvBase, "Mouse Port");
     1303    rc = PDMUsbHlpDriverAttach(pUsbIns, 0 /*iLun*/, &pThis->Lun0.IBase, &pThis->Lun0.pDrvBase, "Mouse Port");
    13041304    if (RT_FAILURE(rc))
    13051305        return PDMUsbHlpVMSetError(pUsbIns, rc, RT_SRC_POS, N_("HID failed to attach mouse driver"));
Note: See TracChangeset for help on using the changeset viewer.

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