source: rtems/cpukit/score/cpu/bfin/rtems/score/types.h @ 30e2df6

4.104.114.95
Last change on this file since 30e2df6 was 30e2df6, checked in by Ralf Corsepius <ralf.corsepius@…>, on 08/21/08 at 04:10:35

Include stdbool.h. Use bool as base-type for boolean.

  • Property mode set to 100644
File size: 1.2 KB
Line 
1/*
2 *  This include file contains type definitions pertaining to the
3 *  Blackfin processor family.
4 *
5 *  COPYRIGHT (c) 1989-2006.
6 *  On-Line Applications Research Corporation (OAR).
7 *
8 *  The license and distribution terms for this file may be
9 *  found in the file LICENSE in this distribution or at
10 *  http://www.rtems.com/license/LICENSE.
11 *
12 *  $Id$
13 */
14
15#ifndef _RTEMS_SCORE_TYPES_H
16#define _RTEMS_SCORE_TYPES_H
17
18#ifndef ASM
19
20#include <stdbool.h>
21#include <rtems/stdint.h>
22
23#ifdef __cplusplus
24extern "C" {
25#endif
26
27/*
28 *  This section defines the basic types for this processor.
29 */
30
31/** This defines the type for a priority bit map entry. */
32typedef uint16_t Priority_Bit_map_control;
33
34/** This defines the type for a Boolean value, */
35typedef bool boolean;     /* Boolean value   */
36
37/** This defines the type for a single precision float. */
38typedef float          single_precision;
39/** This defines the type for a double precision float. */
40typedef double         double_precision;
41
42/** This defines the return type for an ISR entry point. */
43typedef void blackfin_isr;
44
45/** This defines the prototype for an ISR entry point. */
46typedef blackfin_isr ( *blackfin_isr_entry )( void );
47
48#ifdef __cplusplus
49}
50#endif
51
52#endif  /* !ASM */
53
54#endif
Note: See TracBrowser for help on using the repository browser.