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

4.104.114.84.95
Last change on this file since c2a45947 was c2a45947, checked in by Joel Sherrill <joel.sherrill@…>, on 09/04/03 at 18:55:04

2003-09-04 Joel Sherrill <joel@…>

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