4.9
Last change
on this file since d0279f6e was
d0279f6e,
checked in by Ralf Corsepius <ralf.corsepius@…>, on 09/18/08 at 03:01:49
|
Do not define boolean, single_precision, double_precision unless RTEMS_DEPRECATED_TYPES is given.
|
-
Property mode set to
100644
|
File size:
1.1 KB
|
Rev | Line | |
---|
[d9a6ab3] | 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 | |
---|
[30e2df6] | 20 | #include <stdbool.h> |
---|
[d9a6ab3] | 21 | #include <rtems/stdint.h> |
---|
| 22 | |
---|
| 23 | #ifdef __cplusplus |
---|
| 24 | extern "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. */ |
---|
| 32 | typedef uint16_t Priority_Bit_map_control; |
---|
| 33 | |
---|
| 34 | /** This defines the return type for an ISR entry point. */ |
---|
| 35 | typedef void blackfin_isr; |
---|
| 36 | |
---|
| 37 | /** This defines the prototype for an ISR entry point. */ |
---|
| 38 | typedef blackfin_isr ( *blackfin_isr_entry )( void ); |
---|
| 39 | |
---|
[d0279f6e] | 40 | #ifdef RTEMS_DEPRECATED_TYPES |
---|
| 41 | typedef bool boolean; /* Boolean value */ |
---|
| 42 | typedef float single_precision; /* single precision float */ |
---|
| 43 | typedef double double_precision; /* double precision float */ |
---|
| 44 | #endif |
---|
| 45 | |
---|
[d9a6ab3] | 46 | #ifdef __cplusplus |
---|
| 47 | } |
---|
| 48 | #endif |
---|
| 49 | |
---|
| 50 | #endif /* !ASM */ |
---|
| 51 | |
---|
| 52 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.