1 | /** |
---|
2 | * @file rtems/score/types.h |
---|
3 | */ |
---|
4 | |
---|
5 | /* |
---|
6 | * $Id$ |
---|
7 | * |
---|
8 | * This include file contains type definitions pertaining to the |
---|
9 | * arm processor family. |
---|
10 | * |
---|
11 | * COPYRIGHT (c) 2000 Canon Research Centre France SA. |
---|
12 | * Emmanuel Raguet, mailto:raguet@crf.canon.fr |
---|
13 | * |
---|
14 | * The license and distribution terms for this file may be |
---|
15 | * found in the file LICENSE in this distribution or at |
---|
16 | * http://www.rtems.com/license/LICENSE. |
---|
17 | * |
---|
18 | */ |
---|
19 | |
---|
20 | #ifndef __rtems_score_types_h |
---|
21 | #define __rtems_score_types_h |
---|
22 | |
---|
23 | #ifndef ASM |
---|
24 | |
---|
25 | #ifdef __cplusplus |
---|
26 | extern "C" { |
---|
27 | #endif |
---|
28 | |
---|
29 | /* |
---|
30 | * This section defines the basic types for this processor. |
---|
31 | */ |
---|
32 | |
---|
33 | typedef unsigned char unsigned8; /* unsigned 8-bit integer */ |
---|
34 | typedef unsigned short unsigned16; /* unsigned 16-bit integer */ |
---|
35 | typedef unsigned int unsigned32; /* unsigned 32-bit integer */ |
---|
36 | typedef unsigned long long unsigned64; /* unsigned 64-bit integer */ |
---|
37 | |
---|
38 | typedef signed char signed8; /* 8-bit signed integer */ |
---|
39 | typedef signed short signed16; /* 16-bit signed integer */ |
---|
40 | typedef signed int signed32; /* 32-bit signed integer */ |
---|
41 | typedef signed long long signed64; /* 64 bit signed integer */ |
---|
42 | |
---|
43 | typedef unsigned32 boolean; /* Boolean value */ |
---|
44 | typedef unsigned16 Priority_Bit_map_control; |
---|
45 | |
---|
46 | typedef float single_precision; /* single precision float */ |
---|
47 | typedef double double_precision; /* double precision float */ |
---|
48 | |
---|
49 | typedef void arm_cpu_isr; |
---|
50 | typedef void ( *arm_cpu_isr_entry )( void ); |
---|
51 | |
---|
52 | #ifdef __cplusplus |
---|
53 | } |
---|
54 | #endif |
---|
55 | |
---|
56 | #endif /* !ASM */ |
---|
57 | |
---|
58 | #endif |
---|