Partager via


OALIoWriteBusData (Compact 2013)

10/16/2014

This function writes data to the device configuration space as specified by the first parameter.

Syntax

UINT32 OALIoWriteBusData(
  DEVICE_LOCATION *pDevLoc,
  UINT32 address,
  UINT32 size,
  VOID *pData
);

Parameters

  • address
    [in] Address to write to in device configuration space.
  • size
    [in] Specifies the size of the data to be written, in bytes.
  • pData
    [in] Pointer to the data to write to the device configuration space.

Return Value

This function returns the number of bytes written.

Remarks

On most hardware platforms, this function supports only PCI bus-based devices.

Requirements

Header

oal_io.h

Library

Developer Implemented

See Also

Reference

OAL I/O Functions