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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [ecos-2.0/] [packages/] [cygmon/] [v2_0/] [misc/] [bsp/] [defs.h] - Blame information for rev 361

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

Line No. Rev Author Line
1 27 unneback
#ifndef __BSP_DEFS_H__
2
#define __BSP_DEFS_H__
3
//==========================================================================
4
//
5
//      defs.h
6
//
7
//      Definitions of interest to Red Hat BSP.
8
//
9
//==========================================================================
10
//####ECOSGPLCOPYRIGHTBEGIN####
11
// -------------------------------------------
12
// This file is part of eCos, the Embedded Configurable Operating System.
13
// Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.
14
//
15
// eCos is free software; you can redistribute it and/or modify it under
16
// the terms of the GNU General Public License as published by the Free
17
// Software Foundation; either version 2 or (at your option) any later version.
18
//
19
// eCos is distributed in the hope that it will be useful, but WITHOUT ANY
20
// WARRANTY; without even the implied warranty of MERCHANTABILITY or
21
// FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
22
// for more details.
23
//
24
// You should have received a copy of the GNU General Public License along
25
// with eCos; if not, write to the Free Software Foundation, Inc.,
26
// 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
27
//
28
// As a special exception, if other files instantiate templates or use macros
29
// or inline functions from this file, or you compile this file and link it
30
// with other works to produce a work based on this file, this file does not
31
// by itself cause the resulting work to be covered by the GNU General Public
32
// License. However the source code for this file must still be made available
33
// in accordance with section (3) of the GNU General Public License.
34
//
35
// This exception does not invalidate any other reasons why a work based on
36
// this file might be covered by the GNU General Public License.
37
//
38
// Alternative licenses for eCos may be arranged by contacting Red Hat, Inc.
39
// at http://sources.redhat.com/ecos/ecos-license/
40
// -------------------------------------------
41
//####ECOSGPLCOPYRIGHTEND####
42
//==========================================================================
43
//#####DESCRIPTIONBEGIN####
44
//
45
// Author(s):    
46
// Contributors: gthomas
47
// Date:         1999-10-20
48
// Purpose:      Definitions of interest to Red Hat BSP.
49
// Description:  
50
//               
51
//
52
//####DESCRIPTIONEND####
53
//
54
//=========================================================================
55
 
56
 
57
#define BIT0            0x00000001
58
#define BIT1            0x00000002
59
#define BIT2            0x00000004
60
#define BIT3            0x00000008
61
#define BIT4            0x00000010
62
#define BIT5            0x00000020
63
#define BIT6            0x00000040
64
#define BIT7            0x00000080
65
#define BIT8            0x00000100
66
#define BIT9            0x00000200
67
#define BIT10           0x00000400
68
#define BIT11           0x00000800
69
#define BIT12           0x00001000
70
#define BIT13           0x00002000
71
#define BIT14           0x00004000
72
#define BIT15           0x00008000
73
#define BIT16           0x00010000
74
#define BIT17           0x00020000
75
#define BIT18           0x00040000
76
#define BIT19           0x00080000
77
#define BIT20           0x00100000
78
#define BIT21           0x00200000
79
#define BIT22           0x00400000
80
#define BIT23           0x00800000
81
#define BIT24           0x01000000
82
#define BIT25           0x02000000
83
#define BIT26           0x04000000
84
#define BIT27           0x08000000
85
#define BIT28           0x10000000
86
#define BIT29           0x20000000
87
#define BIT30           0x40000000
88
#define BIT31           0x80000000
89
 
90
#define SZ_1K           0x00000400
91
#define SZ_2K           0x00000800
92
#define SZ_4K           0x00001000
93
#define SZ_8K           0x00002000
94
#define SZ_16K          0x00004000
95
#define SZ_32K          0x00008000
96
#define SZ_64K          0x00010000
97
#define SZ_128K         0x00020000
98
#define SZ_256K         0x00040000
99
#define SZ_512K         0x00080000
100
#define SZ_1M           0x00100000
101
#define SZ_2M           0x00200000
102
#define SZ_4M           0x00400000
103
#define SZ_8M           0x00800000
104
#define SZ_16M          0x01000000
105
#define SZ_32M          0x02000000
106
#define SZ_64M          0x04000000
107
#define SZ_128M         0x08000000
108
#define SZ_256M         0x10000000
109
#define SZ_512M         0x20000000
110
#define SZ_1G           0x40000000
111
 
112
#endif // __BSP_DEFS_H__

powered by: WebSVN 2.1.0

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