User guide

72 DC 900-1338I
Protocol Software Toolkit Programmer Guide
4.2.1 Configuration Table
The format of the configuration table is defined in the OS/Impact Programmer Guide
and consists of a list of configurable parameters and a list of task initialization struc-
tures.
OS/Impact creates its data structures based on the values of the parameters, then creates
a task for each task initialization structure.
Section 4.3 discusses the selection of appropriate configuration parameters. Figure 48
gives an example of a configuration table (not including the task initialization struc-
tures).
4.2.2 Task Initialization Structures
A list of task initialization structures must follow the configuration table. The sample
configuration table shown previously in Figure 48 is repeated in Figure49 with task
initialization structures for a sample task.
spscon
DC.W 8 numberoftasks
DC.W 8 numberofpriorities
DC.W 164 number of queues
DC.W 10 number of alarms
DC.W 8 number of partitions
DC.W 0 number of resources
DC.W 100 tick length (milliseconds)
DC.W 8 ticks for time slice
DC.L 0 no user clock isr
Figure 48: Sample Configuration Table