
SCIOPTA - Real-Time Kernel
User’s Manual Manual Version 4.1 11-1
SCIOPTA - Real-Time Kernel
11 System Start and Setup
11 System Start and Setup
11.1 Start Sequence
After a system hardware reset the following sequence will be executed from point 1.
In the SCIOPTA SCSIM Simulator after Windows has started the SCIOPTA application by calling the
sciopta_start function inside the WinMain function the sequence will be executed from point 4.
1. The kernel calls the function reset_hook.
2. The kernel performs some internal initialization.
3. The kernel calls cstartup to initialize the C system.
4. The kernel calls the function start_hook.
5. The kernel calls the function TargetSetup. The code of this function is automatically generated by the
SCONF configuration utility and included in the file sconf.c. TargetSetup creates the system module.
6. The kernel calls the dispatcher.
7. The first process (init process of the system module) is swapped in.
The code of the following functions is automatically generated by the SCONF configuration utility and included
in the file sconf.c.
8. The init process of the system module creates all static modules, processes and pools.
9. The init process of the system module calls the system module start function. The name of the function cor-
responds to the name of the system module.
10. The process priority of the init process of the system module is set to 32 and loops for ever.
11. The init process of each created static module calls the user module start function of each module. The name
of the function corresponds to the name of the respective module.
12. The process priority of the init process of each created static module is set to 32 and loops for ever.
13. The process with the highest system priority will be swapped-in and executed.
Kommentare zu diesen Handbüchern