1 | /** |
---|
2 | * @file |
---|
3 | * |
---|
4 | * @brief PowerPC CPU Type Definitions |
---|
5 | * |
---|
6 | * This include file contains type definitions pertaining to the PowerPC |
---|
7 | * processor family. |
---|
8 | */ |
---|
9 | |
---|
10 | /* |
---|
11 | * Author: Andrew Bray <andy@i-cubed.co.uk> |
---|
12 | * |
---|
13 | * COPYRIGHT (c) 1995 by i-cubed ltd. |
---|
14 | * |
---|
15 | * To anyone who acknowledges that this file is provided "AS IS" |
---|
16 | * without any express or implied warranty: |
---|
17 | * permission to use, copy, modify, and distribute this file |
---|
18 | * for any purpose is hereby granted without fee, provided that |
---|
19 | * the above copyright notice and this notice appears in all |
---|
20 | * copies, and that the name of i-cubed limited not be used in |
---|
21 | * advertising or publicity pertaining to distribution of the |
---|
22 | * software without specific, written prior permission. |
---|
23 | * i-cubed limited makes no representations about the suitability |
---|
24 | * of this software for any purpose. |
---|
25 | * |
---|
26 | * Derived from c/src/exec/cpu/no_cpu/no_cputypes.h: |
---|
27 | * |
---|
28 | * COPYRIGHT (c) 1989-1997. |
---|
29 | * On-Line Applications Research Corporation (OAR). |
---|
30 | * |
---|
31 | * The license and distribution terms for this file may in |
---|
32 | * the file LICENSE in this distribution or at |
---|
33 | * http://www.rtems.org/license/LICENSE. |
---|
34 | */ |
---|
35 | |
---|
36 | #ifndef _RTEMS_SCORE_TYPES_H |
---|
37 | #define _RTEMS_SCORE_TYPES_H |
---|
38 | |
---|
39 | #include <rtems/score/basedefs.h> |
---|
40 | |
---|
41 | #ifndef ASM |
---|
42 | |
---|
43 | #ifdef __cplusplus |
---|
44 | extern "C" { |
---|
45 | #endif |
---|
46 | |
---|
47 | /* |
---|
48 | * This section defines the basic types for this processor. |
---|
49 | */ |
---|
50 | |
---|
51 | /** Type that can store a 32-bit integer or a pointer. */ |
---|
52 | typedef uintptr_t CPU_Uint32ptr; |
---|
53 | |
---|
54 | #ifdef __cplusplus |
---|
55 | } |
---|
56 | #endif |
---|
57 | |
---|
58 | #endif /* !ASM */ |
---|
59 | |
---|
60 | #endif |
---|