[10f8664] | 1 | /** |
---|
| 2 | * @file rtems/score/types.h |
---|
| 3 | */ |
---|
| 4 | |
---|
| 5 | /* |
---|
[ccaa35d] | 6 | * This include file contains type definitions pertaining to the |
---|
| 7 | * Texas Instruments C4x processor family. |
---|
[61ba9763] | 8 | * |
---|
| 9 | * COPYRIGHT (c) 1989-1999. |
---|
| 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 |
---|
[b6577224] | 14 | * http://www.rtems.com/license/LICENSE. |
---|
[61ba9763] | 15 | * |
---|
| 16 | * $Id$ |
---|
| 17 | */ |
---|
| 18 | |
---|
[af413e95] | 19 | #ifndef __rtems_score_types_h |
---|
| 20 | #define __rtems_score_types_h |
---|
[61ba9763] | 21 | |
---|
| 22 | #ifndef ASM |
---|
| 23 | |
---|
| 24 | #ifdef __cplusplus |
---|
| 25 | extern "C" { |
---|
| 26 | #endif |
---|
| 27 | |
---|
| 28 | /* |
---|
| 29 | * This section defines the basic types for this processor. |
---|
| 30 | */ |
---|
| 31 | |
---|
| 32 | typedef unsigned char unsigned8; /* unsigned 8-bit integer */ |
---|
| 33 | typedef unsigned short unsigned16; /* unsigned 16-bit integer */ |
---|
| 34 | typedef unsigned int unsigned32; /* unsigned 32-bit integer */ |
---|
| 35 | typedef unsigned long long unsigned64; /* unsigned 64-bit integer */ |
---|
| 36 | |
---|
| 37 | typedef unsigned16 Priority_Bit_map_control; |
---|
| 38 | |
---|
| 39 | typedef signed char signed8; /* 8-bit signed integer */ |
---|
| 40 | typedef signed short signed16; /* 16-bit signed integer */ |
---|
| 41 | typedef signed int signed32; /* 32-bit signed integer */ |
---|
| 42 | typedef signed long long signed64; /* 64 bit signed integer */ |
---|
| 43 | |
---|
| 44 | typedef unsigned32 boolean; /* Boolean value */ |
---|
| 45 | |
---|
| 46 | typedef float single_precision; /* single precision float */ |
---|
| 47 | typedef double double_precision; /* double precision float */ |
---|
| 48 | |
---|
| 49 | typedef void c4x_isr; |
---|
| 50 | typedef void ( *c4x_isr_entry )( void ); |
---|
| 51 | |
---|
| 52 | #ifdef __cplusplus |
---|
| 53 | } |
---|
| 54 | #endif |
---|
| 55 | |
---|
| 56 | #endif /* !ASM */ |
---|
| 57 | |
---|
| 58 | #endif |
---|
| 59 | /* end of include file */ |
---|