OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rtems/] [c/] [src/] [exec/] [rtems/] [macros/] [rtems/] [rtems/] [message.inl] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 158 chris
/*  message.inl
2
 *
3
 *  This include file contains the macro implementation of all
4
 *  inlined routines in the Message Manager.
5
 *
6
 *  COPYRIGHT (c) 1989-1999.
7
 *  On-Line Applications Research Corporation (OAR).
8
 *
9
 *  The license and distribution terms for this file may be
10
 *  found in the file LICENSE in this distribution or at
11
 *  http://www.OARcorp.com/rtems/license.html.
12
 *
13 208 chris
 *  $Id: message.inl,v 1.2 2001-09-27 11:59:19 chris Exp $
14 158 chris
 */
15
 
16
#ifndef __MESSAGE_QUEUE_inl
17
#define __MESSAGE_QUEUE_inl
18
 
19
/*PAGE
20
 *
21
 *  _Message_queue_Is_null
22
 *
23
 */
24
 
25
#define _Message_queue_Is_null( _the_message_queue ) \
26
   ( (_the_message_queue) == NULL  )
27
 
28
/*PAGE
29
 *
30
 *  _Message_queue_Free
31
 *
32
 */
33
 
34
#define _Message_queue_Free( _the_message_queue ) \
35
  _Objects_Free( &_Message_queue_Information, &(_the_message_queue)->Object )
36
 
37
/*PAGE
38
 *
39
 *  _Message_queue_Get
40
 *
41
 */
42
 
43
#define _Message_queue_Get( _id, _location ) \
44
  (Message_queue_Control *) \
45
     _Objects_Get( &_Message_queue_Information, (_id), (_location) )
46
 
47
#endif
48
/* end of include file */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.