VirtualBox

Changeset 41816 in vbox


Ignore:
Timestamp:
Jun 18, 2012 2:07:17 PM (13 years ago)
Author:
vboxsync
Message:

DevPCI: Changed return values of PCIDevPhysRead/Write to VINF_NOT_SUPPORTED.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Bus/DevPCI.cpp

    r41811 r41816  
    244244/**
    245245 * Reads data via bus mastering, if enabled. If no bus mastering is available,
    246  * this function does nothing and returns VINF_SUCCESS.
     246 * this function does nothing and returns VINF_NOT_SUPPORTED.
    247247 *
    248248 * @return  IPRT status code.
     
    260260              PCIDevGetVendorId(pPciDev), PCIDevGetDeviceId(pPciDev), pvBuf, cbRead));
    261261#endif
    262         return VINF_SUCCESS;
     262        return VINF_NOT_SUPPORTED;
    263263    }
    264264
     
    268268/**
    269269 * Writes data via bus mastering, if enabled. If no bus mastering is available,
    270  * this function does nothing and returns VINF_SUCCESS.
     270 * this function does nothing and returns VINF_NOT_SUPPORTED.
    271271 *
    272272 * @return  IPRT status code.
     
    284284              PCIDevGetVendorId(pPciDev), PCIDevGetDeviceId(pPciDev), pvBuf, cbWrite));
    285285#endif
    286         return VINF_SUCCESS;
     286        return VINF_NOT_SUPPORTED;
    287287    }
    288288
Note: See TracChangeset for help on using the changeset viewer.

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