VirtualBox

Changeset 44507 in vbox for trunk/include/VBox


Ignore:
Timestamp:
Feb 1, 2013 11:12:37 AM (12 years ago)
Author:
vboxsync
Message:

Documented locking on PCI device callbacks.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/pci.h

    r42551 r44507  
    8888 * @param   enmType         One of the PCI_ADDRESS_SPACE_* values.
    8989 *
     90 * @remarks Called with the PDM lock held.  The device lock is NOT take because
     91 *          that is very likely be a lock order violation.
    9092 */
    9193typedef DECLCALLBACK(int) FNPCIIOREGIONMAP(PPCIDEVICE pPciDev, /*unsigned*/ int iRegion, RTGCPHYS GCPhysAddress, uint32_t cb, PCIADDRESSSPACE enmType);
     
    471473 * @param   Address         The configuration space register address. [0..4096]
    472474 * @param   cb              The register size. [1,2,4]
     475 *
     476 * @remarks Called with the PDM lock held.  The device lock is NOT take because
     477 *          that is very likely be a lock order violation.
    473478 */
    474479typedef DECLCALLBACK(uint32_t) FNPCICONFIGREAD(PPCIDEVICE pPciDev, uint32_t Address, unsigned cb);
     
    486491 *                          this value is determined by the cb parameter.
    487492 * @param   cb              The register size. [1,2,4]
     493 *
     494 * @remarks Called with the PDM lock held.  The device lock is NOT take because
     495 *          that is very likely be a lock order violation.
    488496 */
    489497typedef DECLCALLBACK(void) FNPCICONFIGWRITE(PPCIDEVICE pPciDev, uint32_t Address, uint32_t u32Value, unsigned cb);
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