source: rtems/cpukit/score/cpu/powerpc/rtems/score/types.h @ 57624a1

4.104.114.84.9
Last change on this file since 57624a1 was 57624a1, checked in by Joel Sherrill <joel.sherrill@…>, on Oct 12, 2001 at 8:57:47 PM

2001-10-12 Joel Sherrill <joel@…>

  • shared/ppctypes.h: Fixed typo.
  • Property mode set to 100644
File size: 2.2 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-1997.
24 *  On-Line Applications Research Corporation (OAR).
25 *
26 *  The license and distribution terms for this file may in
27 *  the file LICENSE in this distribution or at
28 *  http://www.OARcorp.com/rtems/license.html.
29 *
30 *  $Id$
31 */
32
33#ifndef __PPC_TYPES_h
34#define __PPC_TYPES_h
35
36#ifndef ASM
37
38#ifdef __cplusplus
39extern "C" {
40#endif
41
42/*
43 *  This section defines the basic types for this processor.
44 */
45
46typedef unsigned char  unsigned8;      /* unsigned 8-bit  integer */
47typedef unsigned short unsigned16;     /* unsigned 16-bit integer */
48typedef unsigned int   unsigned32;     /* unsigned 32-bit integer */
49typedef unsigned long long unsigned64; /* unsigned 64-bit integer */
50
51typedef unsigned32     Priority_Bit_map_control;
52
53typedef signed char      signed8;      /* 8-bit  signed integer */
54typedef signed short     signed16;     /* 16-bit signed integer */
55typedef signed int       signed32;     /* 32-bit signed integer */
56typedef signed long long signed64;     /* 64 bit signed integer */
57
58typedef unsigned32 boolean;     /* Boolean value   */
59
60typedef float          single_precision;     /* single precision float */
61typedef double         double_precision;     /* double precision float */
62
63typedef void ppc_isr;
64
65#ifdef __cplusplus
66}
67#endif
68
69#endif  /* !ASM */
70
71#endif
72/* end of include file */
Note: See TracBrowser for help on using the repository browser.