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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [rtems/] [c/] [src/] [exec/] [score/] [macros/] [rtems/] [score/] [coresem.inl] - Blame information for rev 666

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

Line No. Rev Author Line
1 30 unneback
/*  macros/coresem.h
2
 *
3
 *  This include file contains all of the inlined routines associated
4
 *  with core semaphores.
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
 *  $Id: coresem.inl,v 1.2 2001-09-27 11:59:34 chris Exp $
14
 */
15
 
16
#ifndef __MACROS_CORE_SEMAPHORE_h
17
#define __MACROS_CORE_SEMAPHORE_h
18
 
19
/*PAGE
20
 *
21
 *  _CORE_semaphore_Is_priority
22
 *
23
 */
24
 
25
#define _CORE_semaphore_Is_priority( _the_attribute ) \
26
  ( (_the_attribute)->discipline == CORE_SEMAPHORE_DISCIPLINES_PRIORITY )
27
 
28
/*PAGE
29
 *
30
 *  _Core_semaphore_Get_count
31
 *
32
 */
33
 
34
#define _Core_semaphore_Get_count( _the_semaphore ) \
35
  ( (_the_semaphore)->count )
36
 
37
 
38
#endif
39
/* end of include file */

powered by: WebSVN 2.1.0

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