
Dialogic® DSI SS7MD Programmer’s Manual Issue 3
4.4System Configuration
System configuration is handled by the gctload program that reads system configuration data from a file called system.txt. System initialization requires:
•First, that a pool of message buffers is created for subsequent
•Second, that a message queue is created for each process that will run and that any message redirection for modules that are running remotely is initialized.
•Finally, that all processes can be started.
The gctload program handles this initialization sequence and creates the
The system.txt configuration file is a
The gctload program creates a message queue for each of the local module identifiers. The program subsequently expects a process to service its message queue; otherwise messages written to that queue will never be read causing eventual loss of system messages.
The gctload program initializes the message queue
Having created the system environment, the gctload program proceeds to spawn the processes listed in the system.txt configuration file in the order listed.
Note: Prior to running the gctload program, the system.txt configuration file must be edited to reflect the requirements of your system.
4.4.1System Configuration File Syntax
The system.txt configuration file is a text file used by the gctload program to configure the software environment. The file syntax permits the use of comments to improve the readability of the file. See the Software Environment Programmer's Manual for more information about this file.
An example system.txt configuration file is shown below:
********************************************************************************
*
*Example System Configuration File (system.txt) for use with
*the Linux Development Package for Dialogic(R) SS7 Boards
*
*
********************************************************************************
*
*Essential modules running on host:
LOCAL | 0x20 | * | ssdm - Board interface task |
LOCAL | 0x00 | * | tim_lnx - Timer task |
* |
|
|
|
*Optional modules running on the host:
LOCAL | 0xcf | * | s7_mgt - Management/config task |
LOCAL | 0x2d | * | upe - Example user part task |
* |
|
|
|
*Modules logically running on the board (all redirected via ssdm):
REDIRECT 0x10 0x20 *
REDIRECT 0x41 0x20 * Q.SAAL Module
REDIRECT 0x70 0x20 * Signalling Driver Module REDIRECT 0x71 0x20 * SP0 MTP2 Module
*
29