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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [newlib-1.17.0/] [libgloss/] [bfin/] [include/] [cdef_LPBlackfin.h] - Blame information for rev 304

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

Line No. Rev Author Line
1 148 jeremybenn
/*
2
 * The authors hereby grant permission to use, copy, modify, distribute,
3
 * and license this software and its documentation for any purpose, provided
4
 * that existing copyright notices are retained in all copies and that this
5
 * notice is included verbatim in any distributions. No written agreement,
6
 * license, or royalty fee is required for any of the authorized uses.
7
 * Modifications to this software may be copyrighted by their authors
8
 * and need not follow the licensing terms described here, provided that
9
 * the new terms are clearly indicated on the first page of each file where
10
 * they apply.
11
 */
12
 
13
/************************************************************************
14
 *
15
 * cdef_LPBlackfin.h
16
 *
17
 * Copyright (C) 2008 Analog Devices, Inc.
18
 *
19
 ************************************************************************/
20
 
21
#ifndef _CDEF_LPBLACKFIN_H
22
#define _CDEF_LPBLACKFIN_H
23
 
24
#if !defined(__ADSPLPBLACKFIN__)
25
#warning cdef_LPBlackfin.h should only be included for 532 compatible chips.
26
#endif
27
#include <def_LPBlackfin.h>
28
 
29
#ifndef _PTR_TO_VOL_VOID_PTR
30
#ifndef _USE_LEGACY_CDEF_BEHAVIOUR
31
#define _PTR_TO_VOL_VOID_PTR (void * volatile *)
32
#else
33
#define _PTR_TO_VOL_VOID_PTR (volatile void **)
34
#endif
35
#endif
36
 
37
/* Cache & SRAM Memory */
38
#define pSRAM_BASE_ADDRESS (_PTR_TO_VOL_VOID_PTR SRAM_BASE_ADDRESS)
39
#define pDMEM_CONTROL ((volatile unsigned long *)DMEM_CONTROL)
40
#define pDCPLB_STATUS ((volatile unsigned long *)DCPLB_STATUS)
41
#define pDCPLB_FAULT_ADDR (_PTR_TO_VOL_VOID_PTR DCPLB_FAULT_ADDR)
42
#define pDCPLB_ADDR0 (_PTR_TO_VOL_VOID_PTR DCPLB_ADDR0)
43
#define pDCPLB_ADDR1 (_PTR_TO_VOL_VOID_PTR DCPLB_ADDR1)
44
#define pDCPLB_ADDR2 (_PTR_TO_VOL_VOID_PTR DCPLB_ADDR2)
45
#define pDCPLB_ADDR3 (_PTR_TO_VOL_VOID_PTR DCPLB_ADDR3)
46
#define pDCPLB_ADDR4 (_PTR_TO_VOL_VOID_PTR DCPLB_ADDR4)
47
#define pDCPLB_ADDR5 (_PTR_TO_VOL_VOID_PTR DCPLB_ADDR5)
48
#define pDCPLB_ADDR6 (_PTR_TO_VOL_VOID_PTR DCPLB_ADDR6)
49
#define pDCPLB_ADDR7 (_PTR_TO_VOL_VOID_PTR DCPLB_ADDR7)
50
#define pDCPLB_ADDR8 (_PTR_TO_VOL_VOID_PTR DCPLB_ADDR8)
51
#define pDCPLB_ADDR9 (_PTR_TO_VOL_VOID_PTR DCPLB_ADDR9)
52
#define pDCPLB_ADDR10 (_PTR_TO_VOL_VOID_PTR DCPLB_ADDR10)
53
#define pDCPLB_ADDR11 (_PTR_TO_VOL_VOID_PTR DCPLB_ADDR11)
54
#define pDCPLB_ADDR12 (_PTR_TO_VOL_VOID_PTR DCPLB_ADDR12)
55
#define pDCPLB_ADDR13 (_PTR_TO_VOL_VOID_PTR DCPLB_ADDR13)
56
#define pDCPLB_ADDR14 (_PTR_TO_VOL_VOID_PTR DCPLB_ADDR14)
57
#define pDCPLB_ADDR15 (_PTR_TO_VOL_VOID_PTR DCPLB_ADDR15)
58
#define pDCPLB_DATA0 ((volatile unsigned long *)DCPLB_DATA0)
59
#define pDCPLB_DATA1 ((volatile unsigned long *)DCPLB_DATA1)
60
#define pDCPLB_DATA2 ((volatile unsigned long *)DCPLB_DATA2)
61
#define pDCPLB_DATA3 ((volatile unsigned long *)DCPLB_DATA3)
62
#define pDCPLB_DATA4 ((volatile unsigned long *)DCPLB_DATA4)
63
#define pDCPLB_DATA5 ((volatile unsigned long *)DCPLB_DATA5)
64
#define pDCPLB_DATA6 ((volatile unsigned long *)DCPLB_DATA6)
65
#define pDCPLB_DATA7 ((volatile unsigned long *)DCPLB_DATA7)
66
#define pDCPLB_DATA8 ((volatile unsigned long *)DCPLB_DATA8)
67
#define pDCPLB_DATA9 ((volatile unsigned long *)DCPLB_DATA9)
68
#define pDCPLB_DATA10 ((volatile unsigned long *)DCPLB_DATA10)
69
#define pDCPLB_DATA11 ((volatile unsigned long *)DCPLB_DATA11)
70
#define pDCPLB_DATA12 ((volatile unsigned long *)DCPLB_DATA12)
71
#define pDCPLB_DATA13 ((volatile unsigned long *)DCPLB_DATA13)
72
#define pDCPLB_DATA14 ((volatile unsigned long *)DCPLB_DATA14)
73
#define pDCPLB_DATA15 ((volatile unsigned long *)DCPLB_DATA15)
74
#define pDTEST_COMMAND ((volatile unsigned long *)DTEST_COMMAND)
75
#define pDTEST_DATA0 ((volatile unsigned long *)DTEST_DATA0)
76
#define pDTEST_DATA1 ((volatile unsigned long *)DTEST_DATA1)
77
#define pIMEM_CONTROL ((volatile unsigned long *)IMEM_CONTROL)
78
#define pICPLB_STATUS ((volatile unsigned long *)ICPLB_STATUS)
79
#define pICPLB_FAULT_ADDR (_PTR_TO_VOL_VOID_PTR ICPLB_FAULT_ADDR)
80
#define pICPLB_ADDR0 (_PTR_TO_VOL_VOID_PTR ICPLB_ADDR0)
81
#define pICPLB_ADDR1 (_PTR_TO_VOL_VOID_PTR ICPLB_ADDR1)
82
#define pICPLB_ADDR2 (_PTR_TO_VOL_VOID_PTR ICPLB_ADDR2)
83
#define pICPLB_ADDR3 (_PTR_TO_VOL_VOID_PTR ICPLB_ADDR3)
84
#define pICPLB_ADDR4 (_PTR_TO_VOL_VOID_PTR ICPLB_ADDR4)
85
#define pICPLB_ADDR5 (_PTR_TO_VOL_VOID_PTR ICPLB_ADDR5)
86
#define pICPLB_ADDR6 (_PTR_TO_VOL_VOID_PTR ICPLB_ADDR6)
87
#define pICPLB_ADDR7 (_PTR_TO_VOL_VOID_PTR ICPLB_ADDR7)
88
#define pICPLB_ADDR8 (_PTR_TO_VOL_VOID_PTR ICPLB_ADDR8)
89
#define pICPLB_ADDR9 (_PTR_TO_VOL_VOID_PTR ICPLB_ADDR9)
90
#define pICPLB_ADDR10 (_PTR_TO_VOL_VOID_PTR ICPLB_ADDR10)
91
#define pICPLB_ADDR11 (_PTR_TO_VOL_VOID_PTR ICPLB_ADDR11)
92
#define pICPLB_ADDR12 (_PTR_TO_VOL_VOID_PTR ICPLB_ADDR12)
93
#define pICPLB_ADDR13 (_PTR_TO_VOL_VOID_PTR ICPLB_ADDR13)
94
#define pICPLB_ADDR14 (_PTR_TO_VOL_VOID_PTR ICPLB_ADDR14)
95
#define pICPLB_ADDR15 (_PTR_TO_VOL_VOID_PTR ICPLB_ADDR15)
96
#define pICPLB_DATA0 ((volatile unsigned long *)ICPLB_DATA0)
97
#define pICPLB_DATA1 ((volatile unsigned long *)ICPLB_DATA1)
98
#define pICPLB_DATA2 ((volatile unsigned long *)ICPLB_DATA2)
99
#define pICPLB_DATA3 ((volatile unsigned long *)ICPLB_DATA3)
100
#define pICPLB_DATA4 ((volatile unsigned long *)ICPLB_DATA4)
101
#define pICPLB_DATA5 ((volatile unsigned long *)ICPLB_DATA5)
102
#define pICPLB_DATA6 ((volatile unsigned long *)ICPLB_DATA6)
103
#define pICPLB_DATA7 ((volatile unsigned long *)ICPLB_DATA7)
104
#define pICPLB_DATA8 ((volatile unsigned long *)ICPLB_DATA8)
105
#define pICPLB_DATA9 ((volatile unsigned long *)ICPLB_DATA9)
106
#define pICPLB_DATA10 ((volatile unsigned long *)ICPLB_DATA10)
107
#define pICPLB_DATA11 ((volatile unsigned long *)ICPLB_DATA11)
108
#define pICPLB_DATA12 ((volatile unsigned long *)ICPLB_DATA12)
109
#define pICPLB_DATA13 ((volatile unsigned long *)ICPLB_DATA13)
110
#define pICPLB_DATA14 ((volatile unsigned long *)ICPLB_DATA14)
111
#define pICPLB_DATA15 ((volatile unsigned long *)ICPLB_DATA15)
112
#define pITEST_COMMAND ((volatile unsigned long *)ITEST_COMMAND)
113
#define pITEST_DATA0 ((volatile unsigned long *)ITEST_DATA0)
114
#define pITEST_DATA1 ((volatile unsigned long *)ITEST_DATA1)
115
 
116
/* Event/Interrupt Registers */
117
#define pEVT0 (_PTR_TO_VOL_VOID_PTR EVT0)
118
#define pEVT1 (_PTR_TO_VOL_VOID_PTR EVT1)
119
#define pEVT2 (_PTR_TO_VOL_VOID_PTR EVT2)
120
#define pEVT3 (_PTR_TO_VOL_VOID_PTR EVT3)
121
#define pEVT4 (_PTR_TO_VOL_VOID_PTR EVT4)
122
#define pEVT5 (_PTR_TO_VOL_VOID_PTR EVT5)
123
#define pEVT6 (_PTR_TO_VOL_VOID_PTR EVT6)
124
#define pEVT7 (_PTR_TO_VOL_VOID_PTR EVT7)
125
#define pEVT8 (_PTR_TO_VOL_VOID_PTR EVT8)
126
#define pEVT9 (_PTR_TO_VOL_VOID_PTR EVT9)
127
#define pEVT10 (_PTR_TO_VOL_VOID_PTR EVT10)
128
#define pEVT11 (_PTR_TO_VOL_VOID_PTR EVT11)
129
#define pEVT12 (_PTR_TO_VOL_VOID_PTR EVT12)
130
#define pEVT13 (_PTR_TO_VOL_VOID_PTR EVT13)
131
#define pEVT14 (_PTR_TO_VOL_VOID_PTR EVT14)
132
#define pEVT15 (_PTR_TO_VOL_VOID_PTR EVT15)
133
#define pIMASK ((volatile unsigned long *)IMASK)
134
#define pIPEND ((volatile unsigned long *)IPEND)
135
#define pILAT ((volatile unsigned long *)ILAT)
136
 
137
/* Core Timer Registers */
138
#define pTCNTL ((volatile unsigned long *)TCNTL)
139
#define pTPERIOD ((volatile unsigned long *)TPERIOD)
140
#define pTSCALE ((volatile unsigned long *)TSCALE)
141
#define pTCOUNT ((volatile unsigned long *)TCOUNT)
142
 
143
/* Debug/MP/Emulation Registers */
144
#define pDSPID ((volatile unsigned long *)DSPID)
145
#define pDBGCTL ((volatile unsigned long *)DBGCTL)
146
#define pDBGSTAT ((volatile unsigned long *)DBGSTAT)
147
#define pEMUDAT ((volatile unsigned long *)EMUDAT)
148
 
149
/* Trace Buffer Registers */
150
#define pTBUFCTL ((volatile unsigned long *)TBUFCTL)
151
#define pTBUFSTAT ((volatile unsigned long *)TBUFSTAT)
152
#define pTBUF (_PTR_TO_VOL_VOID_PTR TBUF)
153
 
154
/* Watch Point Control Registers */
155
#define pWPIACTL ((volatile unsigned long *)WPIACTL)
156
#define pWPIA0 (_PTR_TO_VOL_VOID_PTR WPIA0)
157
#define pWPIA1 (_PTR_TO_VOL_VOID_PTR WPIA1)
158
#define pWPIA2 (_PTR_TO_VOL_VOID_PTR WPIA2)
159
#define pWPIA3 (_PTR_TO_VOL_VOID_PTR WPIA3)
160
#define pWPIA4 (_PTR_TO_VOL_VOID_PTR WPIA4)
161
#define pWPIA5 (_PTR_TO_VOL_VOID_PTR WPIA5)
162
#define pWPIACNT0 ((volatile unsigned long *)WPIACNT0)
163
#define pWPIACNT1 ((volatile unsigned long *)WPIACNT1)
164
#define pWPIACNT2 ((volatile unsigned long *)WPIACNT2)
165
#define pWPIACNT3 ((volatile unsigned long *)WPIACNT3)
166
#define pWPIACNT4 ((volatile unsigned long *)WPIACNT4)
167
#define pWPIACNT5 ((volatile unsigned long *)WPIACNT5)
168
#define pWPDACTL ((volatile unsigned long *)WPDACTL)
169
#define pWPDA0 (_PTR_TO_VOL_VOID_PTR WPDA0)
170
#define pWPDA1 (_PTR_TO_VOL_VOID_PTR WPDA1)
171
#define pWPDACNT0 ((volatile unsigned long *)WPDACNT0)
172
#define pWPDACNT1 ((volatile unsigned long *)WPDACNT1)
173
#define pWPSTAT ((volatile unsigned long *)WPSTAT)
174
 
175
/* Performance Monitor Registers */
176
#define pPFCTL ((volatile unsigned long *)PFCTL)
177
#define pPFCNTR0 ((volatile unsigned long *)PFCNTR0)
178
#define pPFCNTR1 ((volatile unsigned long *)PFCNTR1)
179
 
180
#endif /* _CDEF_LPBLACKFIN_H */

powered by: WebSVN 2.1.0

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