/target-syslibs

Primary LanguageCApache License 2.0Apache-2.0

System Abstraction Libraries
==============================================
The <target-syslib> package contains sources to build system abstraction
functions needed by TDI or any device drivers. The interfaces to these
functions is not expected to change but the implementation is expected to be
mapped to the target system's OS services.

Here's a summary of the functions implemented in this package

    bf_sal:
        Timers
        Threading
        Synchronization
        Tracing and Logging
        Heap memory management
        DMA memory management

While the above functions are implementated for LINUX, it is expected they
would be ported to the target system's OS services before the driver stack
is exercised.

Building and installing
=======================
```
mkdir -p build
cd build
cmake -DCMAKE_INSTALL_PREFIX=<install path> ..
make install
```

Artifacts installed
===================
Here're the artifacts that get installed for <bf-syslibs>

    header files for SAL API to <CMAKE_INSTALL_PREFIX>/include/target_sys

    libtarget_sys.[a,la,so] to <CMAKE_INSTALL_PREFIX>/lib/
        System abstraction library used by TDI and device drivers

    zlog-cfg to install/share/target_sys/
        Configuration file used with logging and tracing implementation

Documentation:<TBD>
==============
    sudo apt-get install doxygen
    make doc