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.0 KB
|
Rev | Line | |
---|
[6d6891e] | 1 | /** |
---|
| 2 | * @file rtems/score/types.h |
---|
| 3 | */ |
---|
| 4 | |
---|
| 5 | /* |
---|
[7908ba5b] | 6 | * This include file contains type definitions pertaining to the Intel |
---|
| 7 | * i386 processor family. |
---|
| 8 | * |
---|
[08311cc3] | 9 | * COPYRIGHT (c) 1989-1999. |
---|
[7908ba5b] | 10 | * On-Line Applications Research Corporation (OAR). |
---|
| 11 | * |
---|
| 12 | * The license and distribution terms for this file may be |
---|
| 13 | * found in the file LICENSE in this distribution or at |
---|
[51fa11c] | 14 | * http://www.rtems.com/license/LICENSE. |
---|
[7908ba5b] | 15 | * |
---|
| 16 | * $Id$ |
---|
| 17 | */ |
---|
| 18 | |
---|
[7f70d1b7] | 19 | #ifndef _RTEMS_SCORE_TYPES_H |
---|
| 20 | #define _RTEMS_SCORE_TYPES_H |
---|
[7908ba5b] | 21 | |
---|
| 22 | #ifndef ASM |
---|
| 23 | |
---|
[30e2df6] | 24 | #include <stdbool.h> |
---|
[b9b531f] | 25 | #include <rtems/stdint.h> |
---|
| 26 | |
---|
[7908ba5b] | 27 | #ifdef __cplusplus |
---|
| 28 | extern "C" { |
---|
| 29 | #endif |
---|
| 30 | |
---|
| 31 | /* |
---|
| 32 | * This section defines the basic types for this processor. |
---|
| 33 | */ |
---|
| 34 | |
---|
[7a3f018] | 35 | typedef uint16_t Priority_Bit_map_control; |
---|
[7908ba5b] | 36 | typedef void i386_isr; |
---|
| 37 | typedef i386_isr ( *i386_isr_entry )( void ); |
---|
| 38 | |
---|
[d0279f6e] | 39 | #ifdef RTEMS_DEPRECATED_TYPES |
---|
| 40 | typedef bool boolean; /* Boolean value */ |
---|
| 41 | typedef float single_precision; /* single precision float */ |
---|
| 42 | typedef double double_precision; /* double precision float */ |
---|
| 43 | #endif |
---|
| 44 | |
---|
[7908ba5b] | 45 | #ifdef __cplusplus |
---|
| 46 | } |
---|
| 47 | #endif |
---|
| 48 | |
---|
| 49 | #endif /* !ASM */ |
---|
| 50 | |
---|
| 51 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.