Partager via


OAL_KITLETH_INIT_DMABUFFER (Compact 2013)

10/16/2014

This function pointer initializes DMA buffers for the KITL Ethernet device driver.

Syntax

typedef BOOL (*OAL_KITLETH_INIT_DMABUFFER)(
  UINT32 address,
  UINT32 size
);

Parameters

  • address
    [in] Address of the DMA buffer.
  • size
    [in] Size of the DMA buffer, in bytes.

Return Value

TRUE indicates success.

FALSE indicates failure.

Remarks

The pfnInitDmaBuffer member of the OAL_KITL_ETH_DRIVER structure points to the custom function that implements OAL_KITLETH_INIT_DMABUFFER.

Requirements

Header

oal_kitl.h

Library

Developer Implemented

See Also

Reference

KITL Functions for Ethernet Drivers
KITL Functions for Production-Quality OAL