devLib2 MMIO Bus Access Library

2.4

What is it?

devLib2 is an extension to the EPICS OS independent VME bus access library (devLib v1) found in the 3.14.x series. The v2 library is an overlay and extension to the v1 library and not a replacement. It is planned that the v2 library will be merged with the v1 library for the 3.15.x series. After that point devlib2 will continue to exist as a location for backports and bug fixes for the 3.14.x series.

Source

Releases can be found at http://sourceforge.net/projects/epics/files/devlib2/

This module is versioned with Mercurial and can be viewed at http://epics.hg.sourceforge.net/hgweb/epics/devlib2/

Or checked out with

hg clone http://epics.hg.sourceforge.net:8000/hgroot/epics/devlib2

The canonical version of this page is http://epics.sourceforge.net/devlib2/

Requires

EPICS Base >= 3.14.8.2

http://www.aps.anl.gov/epics/

Features

devLib2 adds features in several areas: PCI bus access, VME64x CSR/CSR, and memory mapped I/O (MMIO) operations.

PCI Bus

The PCI bus access interface is entirely new. It is currently implemented for RTEMS and vxWorks. An implementation for userspace Linux is also under development. The PCI interface provides functions for: searching the bus, mapping devices into process memory, and (dis)connecting interrupts.

Runtime selection of implementations is also supported. This allows code using this interface to compile and link for all target, even those which lack an implementation.

VME CSR

The VME64x library provides several functions for accessing the CSR/CR address space defined by VME64 and extended by VME64x. This includes: probing by slot number and matching by identifier registers, definitions of standard registers, and functions to access them.

MMIO

The MMIO library provides an OS and CPU architecture independent way to safely access memory mapped I/O devices. Makes guarantees of the width and order of accesses.

Changelog

2.4 (Oct. 2012)

2.3 (Apr. 2012)

2.2 (Sept. 2011)

2.1 (Jan. 2011)

2.0 (Sept. 2010)

Author:
Michael Davidsaver <mdavidsaver@bnl.gov>
Till Straumann <strauman@slac.stanford.edu>