From 61ba976360804d85f9203821518bb4b132852188 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Tue, 22 Feb 2000 18:39:52 +0000 Subject: New port of RTEMS to TI C3x and C4x. --- c/src/exec/score/cpu/c4x/rtems/score/c4xtypes.h | 56 +++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 c/src/exec/score/cpu/c4x/rtems/score/c4xtypes.h (limited to 'c/src/exec/score/cpu/c4x/rtems/score/c4xtypes.h') diff --git a/c/src/exec/score/cpu/c4x/rtems/score/c4xtypes.h b/c/src/exec/score/cpu/c4x/rtems/score/c4xtypes.h new file mode 100644 index 0000000000..89d7bc3c35 --- /dev/null +++ b/c/src/exec/score/cpu/c4x/rtems/score/c4xtypes.h @@ -0,0 +1,56 @@ +/* c4xtypes.h + * + * This include file contains type definitions pertaining to the Intel + * C4x processor family. + * + * COPYRIGHT (c) 1989-1999. + * On-Line Applications Research Corporation (OAR). + * + * The license and distribution terms for this file may be + * found in the file LICENSE in this distribution or at + * http://www.OARcorp.com/rtems/license.html. + * + * $Id$ + */ + +#ifndef __C4X_TYPES_h +#define __C4X_TYPES_h + +#ifndef ASM + +#ifdef __cplusplus +extern "C" { +#endif + +/* + * This section defines the basic types for this processor. + */ + +typedef unsigned char unsigned8; /* unsigned 8-bit integer */ +typedef unsigned short unsigned16; /* unsigned 16-bit integer */ +typedef unsigned int unsigned32; /* unsigned 32-bit integer */ +typedef unsigned long long unsigned64; /* unsigned 64-bit integer */ + +typedef unsigned16 Priority_Bit_map_control; + +typedef signed char signed8; /* 8-bit signed integer */ +typedef signed short signed16; /* 16-bit signed integer */ +typedef signed int signed32; /* 32-bit signed integer */ +typedef signed long long signed64; /* 64 bit signed integer */ + +typedef unsigned32 boolean; /* Boolean value */ + +typedef float single_precision; /* single precision float */ +typedef double double_precision; /* double precision float */ + +typedef void c4x_isr; +typedef void ( *c4x_isr_entry )( void ); + +#ifdef __cplusplus +} +#endif + +#endif /* !ASM */ + +#endif +/* end of include file */ -- cgit v1.2.3