OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [rtems/] [c/] [src/] [exec/] [score/] [cpu/] [or1k/] [rtems/] [score/] [or1ktypes.h] - Blame information for rev 30

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 30 unneback
/*  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.OARcorp.com/rtems/license.html.
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
24
extern "C" {
25
#endif
26
 
27
/*
28
 *  This section defines the basic types for this processor.
29
 */
30
 
31
typedef unsigned char  unsigned8;      /* unsigned 8-bit  integer */
32
typedef unsigned short unsigned16;     /* unsigned 16-bit integer */
33
typedef unsigned int   unsigned32;     /* unsigned 32-bit integer */
34
typedef unsigned long long unsigned64; /* unsigned 64-bit integer */
35
 
36
typedef unsigned16     Priority_Bit_map_control;
37
 
38
typedef signed char      signed8;      /* 8-bit  signed integer */
39
typedef signed short     signed16;     /* 16-bit signed integer */
40
typedef signed int       signed32;     /* 32-bit signed integer */
41
typedef signed long long signed64;     /* 64 bit signed integer */
42
 
43
typedef unsigned32 boolean;     /* Boolean value   */
44
 
45
typedef float          single_precision;     /* single precision float */
46
typedef double         double_precision;     /* double precision float */
47
 
48
typedef void no_cpu_isr;
49
typedef 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 */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.