From 18470ebae284474a53ebafedcb8ad656c11c4058 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 25 May 1995 20:56:58 +0000 Subject: Added types.h file for each CPU --- c/src/exec/score/cpu/hppa1.1/hppatypes.h | 46 ++++++++++++++++++++++++++ c/src/exec/score/cpu/i386/i386types.h | 56 ++++++++++++++++++++++++++++++++ 2 files changed, 102 insertions(+) create mode 100644 c/src/exec/score/cpu/hppa1.1/hppatypes.h create mode 100644 c/src/exec/score/cpu/i386/i386types.h diff --git a/c/src/exec/score/cpu/hppa1.1/hppatypes.h b/c/src/exec/score/cpu/hppa1.1/hppatypes.h new file mode 100644 index 0000000000..ac0ff8aeb6 --- /dev/null +++ b/c/src/exec/score/cpu/hppa1.1/hppatypes.h @@ -0,0 +1,46 @@ +/* hppatypes.h + * + * This include file contains type definitions pertaining to the Hewlett + * Packard PA-RISC processor family. + * + * $Id$ + */ + +#ifndef _INCLUDE_HPPATYPES_H +#define _INCLUDE_HPPATYPES_H + +#ifndef ASM + +#ifdef __cplusplus +extern "C" { +#endif + +/* + * This section defines the basic types for this processor. + */ + +typedef unsigned char unsigned8; /* 8-bit unsigned integer */ +typedef unsigned short unsigned16; /* 16-bit unsigned integer */ +typedef unsigned int unsigned32; /* 32-bit unsigned integer */ +typedef unsigned long long unsigned64; /* 64-bit unsigned integer */ + +typedef unsigned16 Priority_Bit_map_control; + +typedef char signed8; /* 8-bit signed integer */ +typedef short signed16; /* 16-bit signed integer */ +typedef int signed32; /* 32-bit signed integer */ +typedef 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 */ + +#ifdef __cplusplus +} +#endif + +#endif /* !ASM */ + +#endif /* _INCLUDE_HPPATYPES_H */ +/* end of include file */ diff --git a/c/src/exec/score/cpu/i386/i386types.h b/c/src/exec/score/cpu/i386/i386types.h new file mode 100644 index 0000000000..33e06e49fd --- /dev/null +++ b/c/src/exec/score/cpu/i386/i386types.h @@ -0,0 +1,56 @@ +/* i386types.h + * + * This include file contains type definitions pertaining to the Intel + * i386 processor family. + * + * COPYRIGHT (c) 1989, 1990, 1991, 1992, 1993, 1994. + * On-Line Applications Research Corporation (OAR). + * All rights assigned to U.S. Government, 1994. + * + * This material may be reproduced by or for the U.S. Government pursuant + * to the copyright license under the clause at DFARS 252.227-7013. This + * notice must appear in all copies of this file and its derivatives. + * + * $Id$ + */ + +#ifndef __i386_TYPES_h +#define __i386_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 char signed8; /* signed 8-bit integer */ +typedef short signed16; /* signed 16-bit integer */ +typedef int signed32; /* signed 32-bit integer */ +typedef long long signed64; /* signed 64-bit integer */ + +typedef unsigned32 boolean; /* Boolean value */ + +typedef float single_precision; /* single precision float */ +typedef double double_precision; /* double precision float */ + +typedef void ( *i386_isr )( void ); + +#ifdef __cplusplus +} +#endif + +#endif /* !ASM */ + +#endif +/* end of include file */ -- cgit v1.2.3