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