Functions | Variables

SysLink.h File Reference


Detailed Description

This module contains common definitions, types, structures and functions used by SysLink.

Go to the source code of this file.

Functions

Void SysLink_setup (Void)
 Function to initialize SysLink.
Void SysLink_destroy (Void)
 Function to finalize SysLink.

Variables

String SysLink_params
 Config params override strings.

Function Documentation

Void SysLink_setup ( Void   )

Function to initialize SysLink.

This function must be called in every user process before making calls to any other SysLink APIs.

See also:
SysLink_destroy()
Void SysLink_destroy ( Void   )

Function to finalize SysLink.

This function must be called in every user process at the end after all usage of SysLink in that process is complete.

See also:
SysLink_setup()

Variable Documentation

Config params override strings.

This string is a list of semi-colon-delimited "assignments" that can be set by users prior to the initial call to SysLink_setup() to affect system behavior.

Example assignments include:

  • "ProcMgr.proc[DSP].mmuEnable=FALSE;"
  • "ProcMgr.proc[VPSS-M3].mmuEnable=TRUE;"
  • "SharedRegion.entry[1].cacheEnable=FALSE;"
  • "SharedRegion.entry[3].cacheEnable=FALSE;"
Remarks:
Note that many users don't explicitly set this string and rebuild their app, but rather leverage the SL_PARAMS environment variable to set this string's value.
In many systems, slaveloader (or similar) is used to load and start the slaves, and is therefore the initial app in the system. In those systems, it's important to set this variable (or SL_PARAMS) prior to running slaveloader.
A common mistake is to forget to terminate the string with a trailing semi-colon.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines

Copyright 2011, Texas Instruments Incorporated