
OSEK/VDX
Operating System
Specification 2.2.3
4 © by OSEK OSEK OS 2.2.3
9.3 Alarm-callback routines..............................................................................................37
10 Messages .............................................................................................................................38
11 Error handling, tracing and debugging................................................................................39
11.1 Hook routines..............................................................................................................39
11.2 Error handling.............................................................................................................39
11.3 System start-up ...........................................................................................................41
11.4 System shutdown........................................................................................................43
11.5 Debugging...................................................................................................................43
12 Description of system services............................................................................................44
12.1 Definition of system objects .......................................................................................44
12.2 Conventions ................................................................................................................44
12.2.1 Type of calls......................................................................................................44
12.2.2 Legitimacy of calls............................................................................................44
12.2.3 Error characteristics...........................................................................................46
13 Specification of operating system services .........................................................................48
13.1 Common data types ....................................................................................................48
13.2 Task management .......................................................................................................49
13.2.1 Data types..........................................................................................................49
13.2.2 Constructional elements....................................................................................50
13.2.3 System services .................................................................................................50
13.2.4 Constants ...........................................................................................................54
13.2.5 Naming convention ...........................................................................................54
13.3 Interrupt handling .......................................................................................................54
13.3.1 Data types..........................................................................................................54
13.3.2 System services .................................................................................................54
13.3.3 Naming convention ...........................................................................................57
13.4 Resource management................................................................................................58
13.4.1 Data types..........................................................................................................58
13.4.2 Constructional elements....................................................................................58
13.4.3 System services .................................................................................................58
13.4.4 Constants ...........................................................................................................59
13.5 Event control...............................................................................................................60
13.5.1 Data types..........................................................................................................60
13.5.2 Constructional elements....................................................................................60
13.5.3 System services .................................................................................................60
13.6 Alarms.........................................................................................................................62
13.6.1 Data types..........................................................................................................62
13.6.2 Constructional elements....................................................................................62
13.6.3 System services .................................................................................................63
13.6.4 Constants ...........................................................................................................65
13.6.5 Naming convention ...........................................................................................66
13.7 Operating system execution control ...........................................................................66
13.7.1 Data types..........................................................................................................66
13.7.2 System services .................................................................................................66
13.7.3 Constants ...........................................................................................................67
13.8 Hook routines..............................................................................................................68
13.8.1 Data Types.........................................................................................................68
13.8.2 System services .................................................................................................68