source: rtems/testsuites/tmtests/tmoverhd/dumrtems.h @ 7f6a24ab

4.104.114.84.95
Last change on this file since 7f6a24ab was 7f6a24ab, checked in by Joel Sherrill <joel.sherrill@…>, on Aug 28, 1995 at 3:30:29 PM

Added unused priority ceiling parameter to rtems_semaphore_create.

Rearranged code to created thread handler routines to initialize,
start, restart, and "close/delete" a thread.

Made internal threads their own object class. This now uses the
thread support routines for starting and initializing a thread.

Insured deleted tasks are freed to the Inactive pool associated with the
correct Information block.

Added an RTEMS API specific data area to the thread control block.

Beginnings of removing the word "rtems" from the core.

  • Property mode set to 100644
File size: 9.7 KB
Line 
1/*  dumrtems.h
2 *
3 *  This include file contains phony macros to map
4 *  executive calls to Empty_directive().
5 *
6 *  COPYRIGHT (c) 1989, 1990, 1991, 1992, 1993, 1994.
7 *  On-Line Applications Research Corporation (OAR).
8 *  All rights assigned to U.S. Government, 1994.
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 __DUMRTEMS_h
18#define __DUMRTEMS_h
19
20/* RTEMS call redefinition macros */
21
22#undef rtems_signal_catch
23#undef rtems_signal_send
24#undef rtems_io_close
25#undef rtems_io_control
26#undef rtems_io_initialize
27#undef rtems_io_open
28#undef rtems_io_read
29#undef rtems_io_write
30#undef rtems_port_internal_to_external
31#undef rtems_port_external_to_internal
32#undef rtems_port_create
33#undef rtems_port_delete
34#undef rtems_port_ident
35#undef rtems_event_receive
36#undef rtems_event_send
37#undef rtems_initialize_executive
38#undef rtems_shutdown_executive
39#undef rtems_interrupt_catch
40#undef rtems_partition_create
41#undef rtems_partition_delete
42#undef rtems_partition_get_buffer
43#undef rtems_partition_ident
44#undef rtems_partition_return_buffer
45#undef rtems_message_queue_broadcast
46#undef rtems_message_queue_create
47#undef rtems_message_queue_delete
48#undef rtems_message_queue_flush
49#undef rtems_message_queue_ident
50#undef rtems_message_queue_receive
51#undef rtems_message_queue_send
52#undef rtems_message_queue_urgent
53#undef rtems_region_create
54#undef rtems_region_delete
55#undef rtems_region_get_segment
56#undef rtems_region_ident
57#undef rtems_region_return_segment
58#undef rtems_semaphore_create
59#undef rtems_semaphore_delete
60#undef rtems_semaphore_ident
61#undef rtems_semaphore_obtain
62#undef rtems_semaphore_release
63#undef rtems_task_create
64#undef rtems_task_delete
65#undef rtems_task_get_note
66#undef rtems_task_ident
67#undef rtems_task_mode
68#undef rtems_task_restart
69#undef rtems_task_resume
70#undef rtems_task_set_note
71#undef rtems_task_set_priority
72#undef rtems_task_start
73#undef rtems_task_suspend
74#undef rtems_clock_get
75#undef rtems_clock_set
76#undef rtems_clock_tick
77#undef rtems_task_wake_after
78#undef rtems_task_wake_when
79#undef rtems_fatal_error_occurred
80#undef rtems_rate_monotonic_create
81#undef rtems_rate_monotonic_ident
82#undef rtems_rate_monotonic_delete
83#undef rtems_rate_monotonic_cancel
84#undef rtems_rate_monotonic_period
85#undef rtems_multiprocessing_announce
86#undef rtems_timer_create
87#undef rtems_timer_ident
88#undef rtems_timer_delete
89#undef rtems_timer_cancel
90#undef rtems_timer_fire_after
91#undef rtems_timer_fire_when
92#undef rtems_timer_reset
93
94#define     rtems_signal_catch( asraddr, mode ) \
95           Empty_directive( asraddr, mode )
96#define     rtems_signal_send( tid, signal ) \
97           Empty_directive( tid, signal )
98
99#define     rtems_io_close( major, minor, argp, rval ) \
100           Empty_directive( major, minor, argp, rval )
101#define     rtems_io_control( major, minor, argp, rval ) \
102           Empty_directive( major, minor, argp, rval )
103#define     rtems_io_initialize( major, minor, argp, rval ) \
104           Empty_directive( major, minor, argp, rval )
105#define     rtems_io_open( major, minor, argp, rval ) \
106           Empty_directive( major, minor, argp, rval )
107#define     rtems_io_read( major, minor, argp, rval ) \
108           Empty_directive( major, minor, argp, rval )
109#define     rtems_io_write( major, minor, argp, rval ) \
110           Empty_directive( major, minor, argp, rval )
111
112#define     rtems_port_internal_to_external( dpid, internal, external ) \
113           Empty_directive( dpid, internal, external )
114#define     rtems_port_external_to_internal( dpid, external, internal ) \
115           Empty_directive( dpid, external, internal )
116#define     rtems_port_create( name, intaddr, extaddr, length, dpid ) \
117           Empty_directive( name, intaddr, extaddr, length, dpid )
118#define     rtems_port_delete( dpid ) \
119           Empty_directive( dpid )
120#define     rtems_port_ident( name, dpid ) \
121           Empty_directive( name, dpid )
122
123#define     rtems_event_receive( eventin, options, timeout, eventout ) \
124           Empty_directive( eventin, options, timeout, eventout )
125#define     rtems_event_send( tid, event ) \
126           Empty_directive( tid, event )
127
128#define     rtems_initialize_executive( conftbl, cputbl ) \
129           Empty_directive( conftbl, cputbl )
130#define     rtems_shutdown_executive( the_error ) \
131           Empty_directive( the_error )
132
133#define     rtems_interrupt_catch( israddr, vector, oldisr ) \
134           Empty_directive( israddr, vector, oldisr )
135
136#define     rtems_partition_create( name, paddr, length, bsize, attr, ptid ) \
137           Empty_directive( name, paddr, length, bsize, attr, ptid )
138#define     rtems_partition_delete( ptid ) \
139           Empty_directive( ptid )
140#define     rtems_partition_get_buffer( ptid, bufaddr ) \
141           Empty_directive( ptid, bufaddr )
142#define     rtems_partition_ident( name, node, ptid ) \
143           Empty_directive( name, node, ptid )
144#define     rtems_partition_return_buffer( ptid, bufaddr ) \
145           Empty_directive( ptid, bufaddr )
146
147#define     rtems_message_queue_broadcast( qid, buffer, count ) \
148           Empty_directive( qid, buffer, count )
149#define     rtems_message_queue_create( name, count, attr, qid ) \
150           Empty_directive( name, count, attr, qid )
151#define     rtems_message_queue_delete( qid ) \
152           Empty_directive( qid )
153#define     rtems_message_queue_flush( qid, count ) \
154           Empty_directive( qid, count )
155#define     rtems_message_queue_ident( name, node, qid ) \
156           Empty_directive( name, node, qid )
157#define     rtems_message_queue_receive( qid, buffer, options, timeout ) \
158           Empty_directive( qid, buffer, options, timeout )
159#define     rtems_message_queue_send( qid, buffer ) \
160           Empty_directive( qid, buffer )
161#define     rtems_message_queue_urgent( qid, buffer ) \
162           Empty_directive( qid, buffer )
163
164#define     rtems_region_create( name, paddr, length, pagesize, attr, rnid ) \
165           Empty_directive( name, paddr, length, pagesize, attr, rnid )
166#define     rtems_region_delete( rnid ) \
167           Empty_directive( rnid )
168#define     rtems_region_get_segment( rnid, size, options, timeout, segaddr ) \
169           Empty_directive( rnid, size, options, timeout, segaddr )
170#define     rtems_region_ident( name, rnid ) \
171           Empty_directive( name, rnid )
172#define     rtems_region_return_segment( rnid, segaddr ) \
173           Empty_directive( rnid, segaddr )
174
175#define     rtems_semaphore_create( name, count, attr, priceil, smid ) \
176           Empty_directive( name, count, attr, priceil, smid )
177#define     rtems_semaphore_delete( smid ) \
178           Empty_directive( smid )
179#define     rtems_semaphore_ident( name, node, smid ) \
180           Empty_directive( name, node, smid )
181#define     rtems_semaphore_obtain( smid, options, timeout ) \
182           Empty_directive( smid, options, timeout )
183#define     rtems_semaphore_release( smid ) \
184           Empty_directive( smid )
185
186#define     rtems_task_create( name, priority, stack_size, mode, attr, tid ) \
187           Empty_directive( name, priority, stack_size, mode, attr, tid )
188#define     rtems_task_delete( tid ) \
189           Empty_directive( tid )
190#define     rtems_task_get_note( tid, notepad, note ) \
191           Empty_directive( tid, notepad, note )
192#define     rtems_task_ident( name, node, tid ) \
193           Empty_directive( name, node, tid )
194#define     rtems_task_mode( mode, mask, pmode ) \
195           Empty_directive( mode, mask, pmode )
196#define     rtems_task_restart( tid, arg ) \
197           Empty_directive( tid, arg )
198#define     rtems_task_resume( tid ) \
199           Empty_directive( tid )
200#define     rtems_task_set_note( tid, notepad, note ) \
201           Empty_directive( tid, notepad, note )
202#define     rtems_task_set_priority( tid, priority, ppriority ) \
203           Empty_directive( tid, priority, ppriority )
204#define     rtems_task_start( tid, saddr, arg ) \
205           Empty_directive( tid, saddr, arg )
206#define     rtems_task_suspend( tid ) \
207           Empty_directive( tid )
208
209#define     rtems_clock_get( options, time ) \
210           Empty_directive( options, time )
211#define     rtems_clock_set( time ) \
212           Empty_directive( time )
213#define     rtems_clock_tick() \
214           Empty_directive()
215#define     rtems_task_wake_after( ticks ) \
216           Empty_directive( ticks )
217#define     rtems_task_wake_when( time ) \
218           Empty_directive( time )
219
220#define     rtems_fatal_error_occurred( errcode ) \
221           Empty_directive( errcode )
222
223#define     rtems_rate_monotonic_create( name, id ) \
224           Empty_directive( name, id )
225#define     rtems_rate_monotonic_ident( name, id ) \
226           Empty_directive( name, id )
227#define     rtems_rate_monotonic_delete( id ) \
228           Empty_directive( id )
229#define     rtems_rate_monotonic_cancel( id ) \
230           Empty_directive( id )
231#define     rtems_rate_monotonic_period( id, period ) \
232           Empty_directive( id, period )
233
234#define     rtems_multiprocessing_announce() \
235           Empty_directive()
236
237#define     rtems_timer_create( name, tmid ) \
238           Empty_directive( name, tmid )
239#define     rtems_timer_delete( tmid ) \
240           Empty_directive( tmid )
241#define     rtems_timer_cancel( tmid ) \
242           Empty_directive( tmid )
243#define     rtems_timer_ident( name, tmid ) \
244           Empty_directive( name, tmid )
245#define     rtems_timer_fire_after( tmid, ticks, routine, user_data ) \
246           Empty_directive( tmid, ticks, routine, user_data )
247#define     rtems_timer_fire_when( tmid, time, routine, user_data ) \
248           Empty_directive( tmid, time, routine, user_data )
249#define     rtems_timer_reset( tmid ) \
250           Empty_directive( tmid )
251
252rtems_status_code Empty_directive();
253
254#endif
255/* end of include file */
Note: See TracBrowser for help on using the repository browser.