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


ADMXRC_BUFFERMAP

Declaration

typedef struct _ADMXRC_BUFFERMAP
{
    unsigned long  MaxPages;
    unsigned long* PagesPci;
    unsigned long  PageLength;
    unsigned long  PageBits;
    unsigned long  PagesSpanned;
    unsigned long  BytesSpanned;
    unsigned long  InitOffset;
} ADMXRC_BUFFERMAP;

Description

The ADMXRC_BUFFERMAP structure is filled in by ADMXRC_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 ADMXRC_MapDirectMaster:

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

 


 Top of page