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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rtems-20020807/] [cpukit/] [rtems/] [inline/] [rtems/] [rtems/] [options.inl] - Blame information for rev 1026

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1026 ivang
/*  options.inl
2
 *
3
 *  This file contains the static inline implementation of the inlined
4
 *  routines from the Options Handler.
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
 *  options.inl,v 1.8 1999/11/17 17:50:26 joel Exp
14
 */
15
 
16
#ifndef __OPTIONS_inl
17
#define __OPTIONS_inl
18
 
19
/*PAGE
20
 *
21
 *  _Options_Is_no_wait
22
 *
23
 *  DESCRIPTION:
24
 *
25
 *  This function returns TRUE if the RTEMS_NO_WAIT option is enabled in
26
 *  option_set, and FALSE otherwise.
27
 */
28
 
29
RTEMS_INLINE_ROUTINE boolean _Options_Is_no_wait (
30
  rtems_option option_set
31
)
32
{
33
   return (option_set & RTEMS_NO_WAIT);
34
}
35
 
36
/*PAGE
37
 *
38
 *  _Options_Is_any
39
 *
40
 *  DESCRIPTION:
41
 *
42
 *  This function returns TRUE if the RTEMS_EVENT_ANY option is enabled in
43
 *  OPTION_SET, and FALSE otherwise.
44
 */
45
 
46
RTEMS_INLINE_ROUTINE boolean _Options_Is_any (
47
  rtems_option option_set
48
)
49
{
50
   return (option_set & RTEMS_EVENT_ANY);
51
}
52
 
53
#endif
54
/* end of include file */

powered by: WebSVN 2.1.0

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