VirtualBox

Changeset 1855 in vbox for trunk


Ignore:
Timestamp:
Apr 2, 2007 11:40:16 AM (18 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
20070
Message:

PDMDevHlpDriverAttach

Location:
trunk/src/VBox/Devices
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Input/pckbd.c

    r481 r1855  
    14931493        /* LUN #0: keyboard */
    14941494        case 0:
    1495             rc = pDevIns->pDevHlp->pfnDriverAttach(pDevIns, iLUN, &pData->Keyboard.Base, &pData->Keyboard.pDrvBase, "Keyboard Port");
     1495            rc = PDMDevHlpDriverAttach(pDevIns, iLUN, &pData->Keyboard.Base, &pData->Keyboard.pDrvBase, "Keyboard Port");
    14961496            if (VBOX_SUCCESS(rc))
    14971497            {
     
    15141514        /* LUN #1: aux/mouse */
    15151515        case 1:
    1516             rc = pDevIns->pDevHlp->pfnDriverAttach(pDevIns, iLUN, &pData->Mouse.Base, &pData->Mouse.pDrvBase, "Aux (Mouse) Port");
     1516            rc = PDMDevHlpDriverAttach(pDevIns, iLUN, &pData->Mouse.Base, &pData->Mouse.pDrvBase, "Aux (Mouse) Port");
    15171517            if (VBOX_SUCCESS(rc))
    15181518            {
  • trunk/src/VBox/Devices/Network/ne2000.c

    r1 r1855  
    13401340     * Attach status driver (optional).
    13411341     */
    1342     rc = pDevIns->pDevHlp->pfnDriverAttach(pDevIns, PDM_STATUS_LUN, &pData->IBase, &pBase, "Status Port");
     1342    rc = PDMDevHlpDriverAttach(pDevIns, PDM_STATUS_LUN, &pData->IBase, &pBase, "Status Port");
    13431343    if (VBOX_SUCCESS(rc))
    13441344        pData->pLedsConnector = pBase->pfnQueryInterface(pBase, PDMINTERFACE_LED_CONNECTORS);
     
    13521352     * Attach driver.
    13531353     */
    1354     rc = pDevIns->pDevHlp->pfnDriverAttach(pDevIns, 0, &pData->IBase, &pData->pDrvBase, "Network Port");
     1354    rc = PDMDevHlpDriverAttach(pDevIns, 0, &pData->IBase, &pData->pDrvBase, "Network Port");
    13551355    if (VBOX_SUCCESS(rc))
    13561356    {
  • trunk/src/VBox/Devices/Storage/fdc.c

    r1 r1855  
    26142614     * Try attach the block device and get the interfaces.
    26152615     */
    2616     rc = pDevIns->pDevHlp->pfnDriverAttach (
    2617         pDevIns,
    2618         drv->iLUN,
    2619         &drv->IBase,
    2620         &drv->pDrvBase,
    2621         descs[drv->iLUN]
    2622         );
     2616    rc = PDMDevHlpDriverAttach (pDevIns, drv->iLUN, &drv->IBase, &drv->pDrvBase, descs[drv->iLUN]);
    26232617    if (VBOX_SUCCESS (rc))
    26242618    {
     
    29772971     * Attach the status port (optional).
    29782972     */
    2979     rc = pDevIns->pDevHlp->pfnDriverAttach (
    2980         pDevIns,
    2981         PDM_STATUS_LUN,
    2982         &fdctrl->IBaseStatus,
    2983         &pBase,
    2984         "Status Port");
     2973    rc = PDMDevHlpDriverAttach (pDevIns, PDM_STATUS_LUN, &fdctrl->IBaseStatus, &pBase, "Status Port");
    29852974    if (VBOX_SUCCESS (rc)) {
    29862975        fdctrl->pLedsConnector =
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