source: rtems/cpukit/score/cpu/or32/rtems/score/types.h @ 8adc214

4.104.114.84.95
Last change on this file since 8adc214 was 8adc214, checked in by Ralf Corsepius <ralf.corsepius@…>, on 11/21/04 at 11:35:50

Cosmetics.

  • Property mode set to 100644
File size: 2.0 KB
Line 
1/**
2 * @file rtems/score/types.h
3 */
4
5/*
6 *  This include file contains type definitions pertaining to the Opencores
7 *  or1k processor family.
8 *
9 *  COPYRIGHT (c) 1989-1999.
10 *  On-Line Applications Research Corporation (OAR).
11 *
12 *  The license and distribution terms for this file may be
13 *  found in the file LICENSE in this distribution or at
14 *  http://www.rtems.com/license/LICENSE.
15 *
16 *  This file adapted from no_cpu example of the RTEMS distribution.
17 *  The body has been modified for the Opencores Or1k implementation by
18 *  Chris Ziomkowski. <chris@asics.ws>
19 */
20
21#ifndef __rtems_score_types_h
22#define __rtems_score_types_h
23
24#ifndef ASM
25
26#ifdef __cplusplus
27extern "C" {
28#endif
29
30/*
31 *  This section defines the basic types for this processor.
32 */
33
34typedef unsigned char  unsigned8;      /* unsigned 8-bit  integer */
35typedef unsigned short unsigned16;     /* unsigned 16-bit integer */
36typedef unsigned int   unsigned32;     /* unsigned 32-bit integer */
37typedef unsigned long long unsigned64; /* unsigned 64-bit integer */
38
39typedef unsigned16     Priority_Bit_map_control;
40
41typedef signed char      signed8;      /* 8-bit  signed integer */
42typedef signed short     signed16;     /* 16-bit signed integer */
43typedef signed int       signed32;     /* 32-bit signed integer */
44typedef signed long long signed64;     /* 64 bit signed integer */
45
46typedef unsigned32 boolean;     /* Boolean value   */
47
48typedef float          single_precision;     /* single precision float */
49typedef double         double_precision;     /* double precision float */
50
51typedef void no_cpu_isr;
52typedef void ( *no_cpu_isr_entry )( void );
53
54/*
55 * Turns out the that the disable POSIX option doesn't work
56 * too well. Specifically, the libc library still wants to know
57 * these POSIX values. We'll go ahead and include them here
58 * until such time as someone like OAR who is familiar with this
59 * can figure out what should really be done.
60 */
61
62#define NAME_MAX 255
63#define LINK_MAX 8
64
65#ifdef __cplusplus
66}
67#endif
68
69#endif  /* !ASM */
70
71#endif
Note: See TracBrowser for help on using the repository browser.