source: rtems/c/src/exec/score/cpu/sparc/rtems/score/sparctypes.h @ 4159370

4.104.114.84.95
Last change on this file since 4159370 was 4159370, checked in by Joel Sherrill <joel.sherrill@…>, on Jul 11, 2000 at 9:16:53 PM

Reworked score/cpu/sparc so it can be safely compiled multilib. All
routines and structures that require CPU model specific information
are now in libcpu. This primarily required moving erc32 specific
information from score/cpu files to libcpu/sparc and the erc32 BSP.

  • Property mode set to 100644
File size: 1.6 KB
Line 
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 *  $Id$
14 */
15
16#ifndef __SPARC_TYPES_h
17#define __SPARC_TYPES_h
18
19#ifndef ASM
20
21#ifdef __cplusplus
22extern "C" {
23#endif
24
25/*
26 *  This section defines the basic types for this processor.
27 */
28
29typedef unsigned char      unsigned8;            /* unsigned 8-bit  integer */
30typedef unsigned short     unsigned16;           /* unsigned 16-bit integer */
31typedef unsigned int       unsigned32;           /* unsigned 32-bit integer */
32typedef unsigned long long unsigned64;           /* unsigned 64-bit integer */
33
34typedef unsigned16         Priority_Bit_map_control;
35
36typedef signed char        signed8;              /* 8-bit  signed integer */
37typedef signed short       signed16;             /* 16-bit signed integer */
38typedef signed int         signed32;             /* 32-bit signed integer */
39typedef signed long long   signed64;             /* 64 bit signed integer */
40
41typedef unsigned32         boolean;              /* Boolean value   */
42
43typedef float              single_precision;     /* single precision float */
44typedef double             double_precision;     /* double precision float */
45
46typedef void sparc_isr;
47typedef void ( *sparc_isr_entry )( void );
48
49#ifdef __cplusplus
50}
51#endif
52
53#endif  /* !ASM */
54
55#endif
56/* end of include file */
Note: See TracBrowser for help on using the repository browser.