CompuLab SBC-X270 Bedienungsanleitung Seite 35

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 226
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 34
SCIOPTA - Real-Time Kernel
User’s Manual Manual Version 4.1 4-1
SCIOPTA - Real-Time Kernel
4 Modules
4 Modules
4.1 Introduction
SCIOPTA allows you to group processes into functional units called modules. Very often you want to decompose
a complex application into smaller units which you can realize in SCIOPTA by using modules. This will improve
system structure. A SCIOPTA process can only be created from within a module.
A typical example would be to encapsulate a whole communication stack into one module and to protect it against
other function modules in a system. Modules can be moved and copied between CPUs and systems
When creating and defining modules the maximum number of pools and processes must be defined. There is a
maximum number of 128 modules per SCIOPTA system possible.
4.2 System Module
There is always one static system module in a SCIOPTA system.
This module is called system module (sometimes also named module 0) and is automatically created by the kernel
at system start.
4.3 Module Priority
SCIOPTA modules contain a (module) priority.
For process scheduling SCIOPTA uses a combination of the module priority and process priority called effective
priority. The kernel determines the effective priority as follows:
Effective Priority = Module Priority + Process Priority
The effective priority has an upper limit of 31which will never be exceeded even if the addition of module priority
and process priority is higher. This technique assures that the process with highest process priority (0) cannot dis
-
turb processes in modules with lower module priority (module protection).
4.4 Module Memory
The module start address and the module size must be given when declaring a static module in the SCIOPTA con-
figuration utility (SCONF) or as parameters when dynamically creating a module.
The best method to handle module addresses is to use the linker script to calculate the module address boundaries.
Please consult chapter
15.7.2.2 “Module Sizes” on page 15-11 for more information.
Seitenansicht 34
1 2 ... 30 31 32 33 34 35 36 37 38 39 40 ... 225 226

Kommentare zu diesen Handbüchern

Keine Kommentare