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 |
---|
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 | typedef 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 */ |
---|