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

4.104.114.84.95
Last change on this file since d5607c5a was d5607c5a, checked in by Ralf Corsepius <ralf.corsepius@…>, on 11/02/04 at 07:39:59

2004-10-02 Ralf Corsepius <ralf_corsepius@…>

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