ADM-XRC SDK 2.8.1 User Guide (Linux)
© Copyright 2001-2009 Alpha Data


ADMXRC2_BUFFERMAP

Declaration

typedef struct _ADMXRC2_BUFFERMAP
{
    unsigned long  MaxPages;
    uint32_t*      PagesPci;
    unsigned long  PageLength;
    unsigned long  PageBits;
    unsigned long  PagesSpanned;
    unsigned long  BytesSpanned;
    unsigned long  InitOffset;
} ADMXRC2_BUFFERMAP;

Description

The ADMXRC2_BUFFERMAP structure is filled in by ADMXRC2_MapDirectMaster with a scatter-gather map of an application buffer.

The first two members are always initialized by the application:

The other five members are filled in by ADMXRC2_MapDirectMaster:

The following figures illustrate the relationship between the members of the ADMXRC2_BUFFERMAP structure, in two possible cases:

 


 Top of page