OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [rtems/] [c/] [src/] [exec/] [score/] [cpu/] [powerpc/] [shared/] [ppctypes.h] - Blame information for rev 30

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 30 unneback
/*  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
 *  Copyright assigned to U.S. Government, 1994.
26
 *
27
 *  The license and distribution terms for this file may in
28
 *  the file LICENSE in this distribution or at
29
 *  http://www.OARcorp.com/rtems/license.html.
30
 *
31
 *  $Id: ppctypes.h,v 1.2 2001-09-27 11:59:30 chris Exp $
32
 */
33
 
34
#ifndef __PPC_TYPES_h
35
#define __PPC_TYPES_h
36
 
37
#ifndef ASM
38
 
39
#ifdef __cplusplus
40
extern "C" {
41
#endif
42
 
43
/*
44
 *  This section defines the basic types for this processor.
45
 */
46
 
47
typedef unsigned char  unsigned8;      /* unsigned 8-bit  integer */
48
typedef unsigned short unsigned16;     /* unsigned 16-bit integer */
49
typedef unsigned int   unsigned32;     /* unsigned 32-bit integer */
50
typedef unsigned long long unsigned64; /* unsigned 64-bit integer */
51
 
52
typedef unsigned32     Priority_Bit_map_control;
53
 
54
typedef signed char      signed8;      /* 8-bit  signed integer */
55
typedef signed short     signed16;     /* 16-bit signed integer */
56
typedef signed int       signed32;     /* 32-bit signed integer */
57
typedef signed long long signed64;     /* 64 bit signed integer */
58
 
59
typedef unsigned32 boolean;     /* Boolean value   */
60
 
61
typedef float          single_precision;     /* single precision float */
62
typedef double         double_precision;     /* double precision float */
63
 
64
typedef void ppc_isr;
65
 
66
#ifdef __cplusplus
67
}
68
#endif
69
 
70
#endif  /* !ASM */
71
 
72
#endif
73
/* end of include file */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.