1 | /* sparctypes.h |
---|
2 | * |
---|
3 | * This include file contains type definitions pertaining to the |
---|
4 | * SPARC processor family. |
---|
5 | * |
---|
6 | * COPYRIGHT (c) 1989-1999. |
---|
7 | * On-Line Applications Research Corporation (OAR). |
---|
8 | * |
---|
9 | * The license and distribution terms for this file may be |
---|
10 | * found in the file LICENSE in this distribution or at |
---|
11 | * http://www.OARcorp.com/rtems/license.html. |
---|
12 | * |
---|
13 | * Ported to ERC32 implementation of the SPARC by On-Line Applications |
---|
14 | * Research Corporation (OAR) under contract to the European Space |
---|
15 | * Agency (ESA). |
---|
16 | * |
---|
17 | * ERC32 modifications of respective RTEMS file: COPYRIGHT (c) 1995. |
---|
18 | * European Space Agency. |
---|
19 | * |
---|
20 | * $Id$ |
---|
21 | */ |
---|
22 | |
---|
23 | #ifndef __SPARC_TYPES_h |
---|
24 | #define __SPARC_TYPES_h |
---|
25 | |
---|
26 | #ifndef ASM |
---|
27 | |
---|
28 | #ifdef __cplusplus |
---|
29 | extern "C" { |
---|
30 | #endif |
---|
31 | |
---|
32 | /* |
---|
33 | * This section defines the basic types for this processor. |
---|
34 | */ |
---|
35 | |
---|
36 | typedef unsigned char unsigned8; /* unsigned 8-bit integer */ |
---|
37 | typedef unsigned short unsigned16; /* unsigned 16-bit integer */ |
---|
38 | typedef unsigned int unsigned32; /* unsigned 32-bit integer */ |
---|
39 | typedef unsigned long long unsigned64; /* unsigned 64-bit integer */ |
---|
40 | |
---|
41 | typedef unsigned16 Priority_Bit_map_control; |
---|
42 | |
---|
43 | typedef signed char signed8; /* 8-bit signed integer */ |
---|
44 | typedef signed short signed16; /* 16-bit signed integer */ |
---|
45 | typedef signed int signed32; /* 32-bit signed integer */ |
---|
46 | typedef signed long long signed64; /* 64 bit signed integer */ |
---|
47 | |
---|
48 | typedef unsigned32 boolean; /* Boolean value */ |
---|
49 | |
---|
50 | typedef float single_precision; /* single precision float */ |
---|
51 | typedef double double_precision; /* double precision float */ |
---|
52 | |
---|
53 | typedef void sparc_isr; |
---|
54 | typedef void ( *sparc_isr_entry )( void ); |
---|
55 | |
---|
56 | #ifdef __cplusplus |
---|
57 | } |
---|
58 | #endif |
---|
59 | |
---|
60 | #endif /* !ASM */ |
---|
61 | |
---|
62 | #endif |
---|
63 | /* end of include file */ |
---|