Partager via


OALIoReadBusData (Compact 2013)

10/16/2014

This function reads data from the device configuration space as specified by the first parameter.

Syntax

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

Parameters

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

Return Value

This function returns the number of bytes read.

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