source: rtems/cpukit/score/cpu/or32/rtems/score/types.h @ 609b924

4.104.114.84.95
Last change on this file since 609b924 was 609b924, checked in by Ralf Corsepius <ralf.corsepius@…>, on 01/24/05 at 16:10:39

2005-01-24 Ralf Corsepius <ralf.corsepius@…>

  • rtems/score/types.h: Remove signed8, signed16, signed32, unsigned8, unsigned16, unsigned32.
  • Property mode set to 100644
File size: 1.6 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#include <rtems/stdint.h>
27
28#ifdef __cplusplus
29extern "C" {
30#endif
31
32/*
33 *  This section defines the basic types for this processor.
34 */
35
36typedef unsigned long long unsigned64; /* unsigned 64-bit integer */
37
38typedef unsigned16     Priority_Bit_map_control;
39
40typedef signed long long signed64;     /* 64 bit signed integer */
41
42typedef unsigned32 boolean;     /* Boolean value   */
43
44typedef float          single_precision;     /* single precision float */
45typedef double         double_precision;     /* double precision float */
46
47typedef void no_cpu_isr;
48typedef void ( *no_cpu_isr_entry )( void );
49
50/*
51 * Turns out the that the disable POSIX option doesn't work
52 * too well. Specifically, the libc library still wants to know
53 * these POSIX values. We'll go ahead and include them here
54 * until such time as someone like OAR who is familiar with this
55 * can figure out what should really be done.
56 */
57
58#define NAME_MAX 255
59#define LINK_MAX 8
60
61#ifdef __cplusplus
62}
63#endif
64
65#endif  /* !ASM */
66
67#endif
Note: See TracBrowser for help on using the repository browser.