source: rtems/c/src/exec/score/cpu/powerpc/ppctypes.h @ 2ff1d549

4.104.114.84.95
Last change on this file since 2ff1d549 was 5c491aef, checked in by Joel Sherrill <joel.sherrill@…>, on 12/20/95 at 15:39:19

changes remerged after lost in disk crash -- recovered from snapshot, partially recovered working tree, etc

  • Property mode set to 100644
File size: 2.4 KB
Line 
1/*  ppctypes.h
2 *
3 *  This include file contains type definitions pertaining to the PowerPC
4 *  processor family.
5 *
6 *  Author:     Andrew Bray <andy@i-cubed.co.uk>
7 *
8 *  COPYRIGHT (c) 1995 by i-cubed ltd.
9 *
10 *  To anyone who acknowledges that this file is provided "AS IS"
11 *  without any express or implied warranty:
12 *      permission to use, copy, modify, and distribute this file
13 *      for any purpose is hereby granted without fee, provided that
14 *      the above copyright notice and this notice appears in all
15 *      copies, and that the name of i-cubed limited not be used in
16 *      advertising or publicity pertaining to distribution of the
17 *      software without specific, written prior permission.
18 *      i-cubed limited makes no representations about the suitability
19 *      of this software for any purpose.
20 *
21 *  Derived from c/src/exec/cpu/no_cpu/no_cputypes.h:
22 *
23 *  COPYRIGHT (c) 1989, 1990, 1991, 1992, 1993, 1994.
24 *  On-Line Applications Research Corporation (OAR).
25 *  All rights assigned to U.S. Government, 1994.
26 *
27 *  This material may be reproduced by or for the U.S. Government pursuant
28 *  to the copyright license under the clause at DFARS 252.227-7013.  This
29 *  notice must appear in all copies of this file and its derivatives.
30 *
31 *  $Id$
32 */
33
34#ifndef __PPC_TYPES_h
35#define __PPC_TYPES_h
36
37#ifndef ASM
38
39#ifdef __cplusplus
40extern "C" {
41#endif
42
43/*
44 *  This section defines the basic types for this processor.
45 */
46
47typedef unsigned char  unsigned8;      /* unsigned 8-bit  integer */
48typedef unsigned short unsigned16;     /* unsigned 16-bit integer */
49typedef unsigned int   unsigned32;     /* unsigned 32-bit integer */
50typedef unsigned long long unsigned64; /* unsigned 64-bit integer */
51
52typedef unsigned32     Priority_Bit_map_control;
53
54typedef signed char      signed8;      /* 8-bit  signed integer */
55typedef signed short     signed16;     /* 16-bit signed integer */
56typedef signed int       signed32;     /* 32-bit signed integer */
57typedef signed long long signed64;     /* 64 bit signed integer */
58
59typedef unsigned32 boolean;     /* Boolean value   */
60
61typedef float          single_precision;     /* single precision float */
62typedef double         double_precision;     /* double precision float */
63
64typedef void ppc_isr;
65typedef void ( *ppc_isr_entry )( int, struct CPU_Interrupt_frame * );
66
67#ifdef __cplusplus
68}
69#endif
70
71#endif  /* !ASM */
72
73#endif
74/* end of include file */
Note: See TracBrowser for help on using the repository browser.