VirtualBox

Ignore:
Timestamp:
Feb 2, 2010 6:02:15 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
57171
Message:

PDMDEVHLPR3 cleanup; reduced the number of strict functions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Storage/DevLsiLogicSCSI.cpp

    r26001 r26157  
    36663666        if (pThis->fGCEnabled)
    36673667        {
    3668             rc = PDMDevHlpMMIORegisterGC(pDevIns, GCPhysAddress, cb, 0,
     3668            rc = PDMDevHlpMMIORegisterRC(pDevIns, GCPhysAddress, cb, 0,
    36693669                                         "lsilogicMMIOWrite", "lsilogicMMIORead", NULL);
    36703670            if (RT_FAILURE(rc))
     
    36923692        if (pThis->fGCEnabled)
    36933693        {
    3694             rc = PDMDevHlpMMIORegisterGC(pDevIns, GCPhysAddress, cb, 0,
     3694            rc = PDMDevHlpMMIORegisterRC(pDevIns, GCPhysAddress, cb, 0,
    36953695                                         "lsilogicDiagnosticWrite", "lsilogicDiagnosticRead", NULL);
    36963696            if (RT_FAILURE(rc))
     
    37153715        if (pThis->fGCEnabled)
    37163716        {
    3717             rc = PDMDevHlpIOPortRegisterGC(pDevIns, (RTIOPORT)GCPhysAddress, LSILOGIC_PCI_SPACE_IO_SIZE,
     3717            rc = PDMDevHlpIOPortRegisterRC(pDevIns, (RTIOPORT)GCPhysAddress, LSILOGIC_PCI_SPACE_IO_SIZE,
    37183718                                           0, "lsilogicIOPortWrite", "lsilogicIOPortRead", NULL, NULL, "LsiLogic");
    37193719            if (RT_FAILURE(rc))
     
    45014501
    45024502    /* Intialize task queue. */
    4503     rc = PDMDevHlpPDMQueueCreate(pDevIns, sizeof(PDMQUEUEITEMCORE), 2, 0,
    4504                                  lsilogicNotifyQueueConsumer, true, "LsiLogic-Task", &pThis->pNotificationQueueR3);
     4503    rc = PDMDevHlpQueueCreate(pDevIns, sizeof(PDMQUEUEITEMCORE), 2, 0,
     4504                              lsilogicNotifyQueueConsumer, true, "LsiLogic-Task", &pThis->pNotificationQueueR3);
    45054505    if (RT_FAILURE(rc))
    45064506        return rc;
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