source: rtems/c/src/exec/sapi/headers/directives.h @ c64e4ed4

4.104.114.84.95
Last change on this file since c64e4ed4 was c4808ca, checked in by Joel Sherrill <joel.sherrill@…>, on 10/31/95 at 21:28:16

typos fixed

  • Property mode set to 100644
File size: 5.6 KB
Line 
1/*  directives.h
2 *
3 *  The following definitions are the directive numbers used
4 *  in the assembly interface.
5 *
6 *  COPYRIGHT (c) 19891990, 1991, 1992, 1993, 1994.
7 *  On-Line Applications Research Corporation (OAR).
8 *  All rights assigned to U.S. Government1994.
9 *
10 *  This material may be reproduced by or for the U.S. Government pursuant
11 *  to the copyright license under the clause at DFARS 252.227-7013.  This
12 *  notice must appear in all copies of this file and its derivatives.
13 *
14 *  $Id$
15 */
16
17#ifndef __RTEMS_DIRECTIVES_h
18#define __RTEMS_DIRECTIVES_h
19
20#ifdef __cplusplus
21extern "C" {
22#endif
23
24#define RTEMS_INITIALIZE_EXECUTIVE                       0
25#define RTEMS_INITIALIZE_EXECUTIVE_EARLY                 1
26#define RTEMS_INITIALIZE_EXECUTIVE_LATE                  2
27#define RTEMS_SHUTDOWN_EXECUTIVE                         3
28#define RTEMS_TASKS_CREATE                               4
29#define RTEMS_TASKS_NAME_TO_ID                           5
30#define RTEMS_TASKS_START                                6
31#define RTEMS_TASKS_RESTART                              7
32#define RTEMS_TASKS_DELETE                               8
33#define RTEMS_TASKS_SUSPEND                              9
34#define RTEMS_TASKS_RESUME                              10
35#define RTEMS_TASKS_SET_PRIORITY                        11
36#define RTEMS_TASKS_MODE                                12
37#define RTEMS_TASKS_GET_NOTE                            13
38#define RTEMS_TASKS_SET_NOTE                            14
39#define RTEMS_TASKS_WAKE_AFTER                          15
40#define RTEMS_TASKS_WAKE_WHEN                           16
41#define RTEMS_INTERRUPT_CATCH                           17
42#define RTEMS_CLOCK_SET                                 18
43#define RTEMS_CLOCK_GET                                 19
44#define RTEMS_CLOCK_TICK                                20
45#define RTEMS_EXTENSION_CREATE                          21
46#define RTEMS_EXTENSION_NAME_TO_ID                      22
47#define RTEMS_EXTENSION_DELETE                          23
48#define RTEMS_TIMER_CREATE                              24
49#define RTEMS_TIMER_NAME_TO_ID                          25
50#define RTEMS_TIMER_CANCEL                              26
51#define RTEMS_TIMER_DELETE                              27
52#define RTEMS_TIMER_FIRE_AFTER                          28
53#define RTEMS_TIMER_FIRE_WHEN                           29
54#define RTEMS_TIMER_RESET                               30
55#define RTEMS_SEMAPHORE_CREATE                          31
56#define RTEMS_SEMAPHORE_NAME_TO_ID                      32
57#define RTEMS_SEMAPHORE_DELETE                          33
58#define RTEMS_SEMAPHORE_OBTAIN                          34
59#define RTEMS_SEMAPHORE_RELEASE                         35
60#define RTEMS_MESSAGE_QUEUE_CREATE                      36
61#define RTEMS_MESSAGE_QUEUE_NAME_TO_ID                  37
62#define RTEMS_MESSAGE_QUEUE_DELETE                      38
63#define RTEMS_MESSAGE_QUEUE_SEND                        39
64#define RTEMS_MESSAGE_QUEUE_URGENT                      40
65#define RTEMS_MESSAGE_QUEUE_BROADCAST                   41
66#define RTEMS_MESSAGE_QUEUE_RECEIVE                     42
67#define RTEMS_MESSAGE_QUEUE_FLUSH                       43
68#define RTEMS_EVENT_SEND                                44
69#define RTEMS_EVENT_RECEIVE                             45
70#define RTEMS_SIGNAL_CATCH                              46
71#define RTEMS_SIGNAL_SEND                               47
72#define RTEMS_PARTITION_CREATE                          48
73#define RTEMS_PARTITION_NAME_TO_ID                      49
74#define RTEMS_PARTITION_DELETE                          50
75#define RTEMS_PARTITION_GET_BUFFER                      51
76#define RTEMS_PARTITION_RETURN_BUFFER                   52
77#define RTEMS_REGION_CREATE                             53
78#define RTEMS_REGION_EXTEND                             54
79#define RTEMS_REGION_NAME_TO_ID                         55
80#define RTEMS_REGION_DELETE                             56
81#define RTEMS_REGION_GET_SEGMENT_SIZE                   57
82#define RTEMS_REGION_GET_SEGMENT                        58
83#define RTEMS_REGION_RETURN_SEGMENT                     59
84#define RTEMS_DUAL_PORTED_MEMORY_CREATE                 60
85#define RTEMS_DUAL_PORTED_MEMORY_NAME_TO_ID             61
86#define RTEMS_DUAL_PORTED_MEMORY_DELETE                 62
87#define RTEMS_DUAL_PORTED_MEMORY_EXTERNAL_TO_INTERNAL   63
88#define RTEMS_DUAL_PORTED_MEMORY_INTERNAL_TO_EXTERNAL   64
89#define RTEMS_IO_INITIALIZE                             65
90#define RTEMS_IO_REGISTER_NAME                          66
91#define RTEMS_IO_LOOKUP_NAME                            67
92#define RTEMS_IO_OPEN                                   68
93#define RTEMS_IO_CLOSE                                  69
94#define RTEMS_IO_READ                                   70
95#define RTEMS_IO_WRITE                                  71
96#define RTEMS_IO_CONTROL                                72
97#define RTEMS_FATAL_ERROR_OCCURRED                      73
98#define RTEMS_RATE_MONOTONIC_CREATE                     74
99#define RTEMS_RATE_MONOTONIC_NAME_TO_ID                 75
100#define RTEMS_RATE_MONOTONIC_DELETE                     76
101#define RTEMS_RATE_MONOTONIC_CANCEL                     77
102#define RTEMS_RATE_MONOTONIC_PERIOD                     78
103#define RTEMS_MULTIPROCESSING_ANNOUNCE                  79
104#define RTEMS_DEBUG_ENABLE                              80
105#define RTEMS_DEBUG_DISABLE                             81
106
107#define RTEMS_NUMBER_OF_ENTRY_POINTS                    82
108
109/*
110 *  The jump table of entry points into RTEMS directives.
111 */
112
113extern const void *_Entry_points[ RTEMS_NUMBER_OF_ENTRY_POINTS ];
114
115#ifdef __cplusplus
116}
117#endif
118
119#endif
120/* end of directives.h */
Note: See TracBrowser for help on using the repository browser.