devLib2  2.12
Macros | Functions
osdPciShared.c File Reference
#include <stdlib.h>
#include <errlog.h>
#include <epicsMutex.h>
#include <epicsInterrupt.h>
#include "devLibPCIImpl.h"
#include "devLibPCI.h"
#include "osdPciShared.h"

Go to the source code of this file.

Macros

#define epicsExportSharedSymbols
 
#define PCI_MEM_OFFSET   0
 
#define PCI_IO_OFFSET   0
 

Functions

int sharedDevPCIInit (void)
 
int sharedDevPCIFindCB (const epicsPCIID *idlist, devPCISearchFn searchfn, void *arg, unsigned int opt)
 
int sharedDevPCIToLocalAddr (const epicsPCIDevice *dev, unsigned int bar, volatile void **ppLocalAddr, unsigned int opt)
 
int sharedDevPCIBarLen (const epicsPCIDevice *dev, unsigned int bar, epicsUInt32 *len)
 
int sharedDevPCIConfigAccess (const epicsPCIDevice *dev, unsigned offset, void *pArg, devPCIAccessMode mode)
 

Macro Definition Documentation

◆ epicsExportSharedSymbols

#define epicsExportSharedSymbols

Definition at line 21 of file osdPciShared.c.

◆ PCI_IO_OFFSET

#define PCI_IO_OFFSET   0

Definition at line 29 of file osdPciShared.c.

◆ PCI_MEM_OFFSET

#define PCI_MEM_OFFSET   0

Definition at line 25 of file osdPciShared.c.

Function Documentation

◆ sharedDevPCIBarLen()

int sharedDevPCIBarLen ( const epicsPCIDevice dev,
unsigned int  bar,
epicsUInt32 *  len 
)

Definition at line 230 of file osdPciShared.c.

◆ sharedDevPCIConfigAccess()

int sharedDevPCIConfigAccess ( const epicsPCIDevice dev,
unsigned  offset,
void *  pArg,
devPCIAccessMode  mode 
)

Definition at line 296 of file osdPciShared.c.

◆ sharedDevPCIFindCB()

int sharedDevPCIFindCB ( const epicsPCIID idlist,
devPCISearchFn  searchfn,
void *  arg,
unsigned int  opt 
)

Definition at line 146 of file osdPciShared.c.

◆ sharedDevPCIInit()

int sharedDevPCIInit ( void  )

Definition at line 36 of file osdPciShared.c.

◆ sharedDevPCIToLocalAddr()

int sharedDevPCIToLocalAddr ( const epicsPCIDevice dev,
unsigned int  bar,
volatile void **  ppLocalAddr,
unsigned int  opt 
)

Definition at line 194 of file osdPciShared.c.