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 _RTEMS_SCORE_TYPES_H |
---|
37 | #define _RTEMS_SCORE_TYPES_H |
---|
38 | |
---|
39 | #ifndef ASM |
---|
40 | |
---|
41 | #include <stdbool.h> |
---|
42 | #include <stdint.h> |
---|
43 | |
---|
44 | #ifdef __cplusplus |
---|
45 | extern "C" { |
---|
46 | #endif |
---|
47 | |
---|
48 | /* |
---|
49 | * This section defines the basic types for this processor. |
---|
50 | */ |
---|
51 | typedef uint32_t Priority_Bit_map_control; |
---|
52 | typedef void ppc_isr; |
---|
53 | |
---|
54 | #ifdef RTEMS_DEPRECATED_TYPES |
---|
55 | typedef bool boolean; /* Boolean value */ |
---|
56 | typedef float single_precision; /* single precision float */ |
---|
57 | typedef double double_precision; /* double precision float */ |
---|
58 | #endif |
---|
59 | |
---|
60 | #ifdef __cplusplus |
---|
61 | } |
---|
62 | #endif |
---|
63 | |
---|
64 | #endif /* !ASM */ |
---|
65 | |
---|
66 | #endif |
---|