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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [ecos-2.0/] [packages/] [hal/] [sh/] [sh2/] [v2_0/] [ChangeLog] - Blame information for rev 174

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 27 unneback
2002-08-06  Gary Thomas  
2
2002-08-06  Motoya Kurotsu 
3
 
4
        * src/sh2_scif.c:
5
        * src/sh2_sci.c: I/O channel data can't be constant - contains
6
        timeout information which can be changed.
7
 
8
2002-05-22  Jesper Skov  
9
 
10
        * cdl/hal_sh_sh2.cdl: Select variant 7044 by default.
11
 
12
2002-05-08  Jesper Skov  
13
 
14
        * src/sh2_sci.c: Register renaming.
15
        * src/sh2_scif.c: Register renaming.
16
 
17
        * include/sh2_scif.h (_REG_SCSSR): Define.
18
 
19
        * include/mod_regs_ser.h: Register renaming. SCI registers now
20
        contain _SCI_, SCIF registers contain _SCIF_.
21
 
22
2002-04-30  Jesper Skov  
23
 
24
        * include/var_intr.h: Renumber the 7044 vectors to get rid of the
25
        gaps. CYGHWR_HAL_SH_SH2_CUSTOM_INTERRUPT_LAYOUT now takes care of
26
        the translation from HW interrupt vectors to the eCos vector
27
        numbers.
28
 
29
2002-04-24  Jesper Skov  
30
 
31
        * include/mod_regs_adc.h: Added.
32
 
33
        * include/var_regs.h: Include adc header.
34
 
35
        * include/mod_7044.h (CYGARC_SH_MOD_ADC): Added.
36
 
37
2002-04-22  Jesper Skov  
38
 
39
        * include/mod_regs_wdt.h (CYGARC_REG_RSTCSR_W_RSTx_MAGIC,
40
        CYGARC_REG_RSTCSR_W_WOVF_MAGIC): set 5 lsb.
41
        * include/mod_regs_wdt_2.h (CYGARC_REG_RSTCSR_W_RSTx_MAGIC,
42
        CYGARC_REG_RSTCSR_W_WOVF_MAGIC): set 5 lsb.
43
        Also define CYGARC_REG_WTCNT_W.
44
 
45
        * include/var_intr.h (HAL_PLATFORM_RESET): Fixed. Set WTIT flag.
46
 
47
        * src/var_misc.c (hal_interrupt_mask, hal_interrupt_unmask): Add
48
        range for INTC=2 and error for undefined to catch such a bobo
49
        easier next time.
50
 
51
        * include/var_intr.h: Fix access size typos.
52
 
53
        * include/sh2_sci.h: Fix offsets.
54
 
55
        * include/mod_regs_pfc_2.h (CYGARC_REG_PEDR): Added.
56
 
57
2002-04-18  Jesper Skov  
58
 
59
        * include/var_regs.h: Include BSC header according to type.
60
        * include/mod_regs_pfc_2.h (CYGARC_REG_PADRH, CYGARC_REG_PADRL): Added.
61
        * include/mod_regs_bsc_2.h: Added.
62
        * include/mod_7044.h: BSC Type 2.
63
        * include/mod_7615.h: BSC Type 1.
64
 
65
        * include/variant.inc: Only disable UBC if type defined. Fix INTC
66
        type 1/2 mixup.
67
        * include/var_regs.h: Include watchdog header according to type.
68
        * include/mod_regs_wdt_2.h: Added.
69
        * include/mod_7615.h: WDT type 1.
70
        * include/mod_7044.h: WDT type 2.
71
 
72
        * src/var_misc.c (cyg_var_enable_caches): Only set mode if the
73
        feature is present.
74
        * include/variant.inc: CYGARC_REG_CCR is 16bit in type 2 CAC
75
        module.
76
        * src/variant.S: Support for type 2 cache.
77
        * include/var_regs.h: Include cache header according to type.
78
        * include/mod_7615.h (CYGARC_SH_MOD_CAC): Type 1.
79
        * include/var_cache.h: Support for type 2.
80
        * include/mod_regs_cac_2.h: Added.
81
        * include/mod_7044.h (CYGARC_SH_MOD_CAC): Type 2.
82
        Also define cache array addresses.
83
 
84
        * src/var_misc.c (hal_interrupt_update_level): 7044 support.
85
 
86
        * include/var_intr.h: Fall-back
87
        CYGPRI_HAL_INTERRUPT_UPDATE_LEVEL_PLF is variant specific.
88
 
89
2002-04-17  Jesper Skov  
90
 
91
        * src/var_mk_defs.c: Adjustment for 7044.
92
        * src/variant.S: Same.
93
 
94
        * src/var_misc.c: Most of the functions update to handle INTC type
95
        2. Some still to do. Added hal_delay_us for CMT.
96
 
97
        * include/variant.inc: Clear CMT on init, and clear INTC type 2
98
        registers.
99
 
100
        * include/var_regs.h: Allow different headers for INT and
101
        PFC. Also include CMT header.
102
 
103
        * include/var_intr.h: Some adjustments for 7044, and vectors for
104
        it. Also define CMT style RTC support.
105
 
106
        * include/sh2_sci.h: Removed error.
107
        * src/sh2_sci.c: Same.
108
 
109
        * include/mod_regs_intc_2.h: Added.
110
        * include/mod_regs_pfc_2.h: Added.
111
        * include/mod_regs_cmt.h: Added.
112
 
113
        * include/mod_regs_cpg.h: Handle type 2.
114
 
115
        * include/mod_7044.h: Enable more modules. No cache windows in
116
        memory map.
117
 
118
        * cdl/hal_sh_sh2.cdl: Added 7044 clock options.
119
        Added 7044 variant option.
120
 
121
        * include/mod_regs_ser.h: Fixed SCI definitions.
122
 
123
        * include/mod_7044.h: Added.
124
 
125
2002-03-07  Jesper Skov  
126
 
127
        * include/mod_regs_eth.h (CYGARC_REG_CNDCR): Added more
128
        definitions.
129
 
130
2002-03-06  Jesper Skov  
131
 
132
        * src/sh2_scif.c: Added cyg_hal_plf_scif_sync_rxtx that allows
133
        switching mode at runtime. Changed code to respect setting.
134
        * include/sh2_scif.h: Same.
135
 
136
        * cdl/hal_sh_sh2.cdl: Added CYGHWR_HAL_SH_SH2_SCIF_ASYNC_RXTX to
137
        control RX/TX enabling. In async mode (when set), only one of TX
138
        or RX will be set at the same time.
139
 
140
2002-03-01  Jesper Skov  
141
 
142
        * cdl/hal_sh_sh2.cdl: Added
143
        CYGHWR_HAL_SH_SH2_SCIF_IRDA_TXRX_COMPENSATION option to control
144
        IrDA TX/RX kludge.
145
        * src/sh2_scif.c: Use above option. Don't force 9600 baud in IrDA
146
        mode.
147
 
148
2002-02-22  Jesper Skov  
149
 
150
        * src/sh2_scif.c (cyg_hal_plf_scif_putc): In IrDA mode, eat the
151
        spurious received character after TX has completed.
152
 
153
2002-02-21  Jesper Skov  
154
 
155
        * src/sh2_scif.c: Force 9600 baud for IrDA mode
156
        initialization. Disable transmitter when not used in IrDA
157
        mode. Check transmitter state instead of FIFO count for
158
        determining when to cease transmission.
159
 
160
2002-02-20  Jesper Skov  
161
 
162
        * include/mod_regs_eth.h: More definitions.
163
 
164
2002-02-19  Jesper Skov  
165
 
166
        * include/var_regs.h: Include ethernet definitions.
167
 
168
        * include/mod_7615.h: Has ethernet module.
169
 
170
        * include/mod_regs_eth.h: Added more definitions.
171
 
172
        * include/mod_regs_wdt.h: Added some more definitions.
173
 
174
        * include/var_intr.h (HAL_PLATFORM_RESET): Defined (doesn't work
175
        though).
176
 
177
        * include/mod_7615.h: Disable UBC for now since software emulation
178
        works just fine.
179
 
180
2002-02-12  Jesper Skov  
181
 
182
        * include/var_intr.h: Added HAL_CLOCK_VAR_INITIALIZE which does
183
        partial FRT initialization so it can be used from
184
        hal_delay_us. Updated other timer macros.
185
        (HAL_CLOCK_READ): Fix typo.
186
 
187
        * include/mod_regs_frt.h: Renamed 16bit access registers.
188
 
189
        * src/var_misc.c (hal_delay_us): Fixed.
190
        Call HAL_CLOCK_VAR_INITIALIZE from hal_variant_init.
191
 
192
        * include/mod_regs_bsc.h: Changed register locations and made
193
        flags be 32bit constants.
194
 
195
2002-02-07  Jesper Skov  
196
 
197
        * src/var_misc.c (hal_delay_us): Fixed typo. Increasy dummy loop
198
        since the typo didn't fix the problem.
199
 
200
        * include/mod_regs_pcm.h: Added.
201
 
202
        * include/var_regs.h: Include PCM.
203
 
204
        * include/mod_7615.h: Added DMA and PCM defs.
205
 
206
2002-02-06  Jesper Skov  
207
 
208
        * include/mod_regs_frt.h: Fix comment.
209
 
210
2002-02-05  Jesper Skov  
211
 
212
        * src/sh2_scif.c: Set SC2SSR in initialization. Clear errors in
213
        getc function.
214
 
215
        * include/mod_regs_cpg.h (CYGARC_REG_FMR_INIT): Define as value
216
        provided by platform.
217
 
218
        * cdl/hal_sh_sh2.cdl: Variant is big-endian only.
219
 
220
2002-01-30  Jesper Skov  
221
 
222
        * include/mod_regs_eth.h: Added.
223
 
224
        * include/mod_regs_pfc.h: Updated for SH7615.
225
 
226
2002-01-22  Jesper Skov  
227
 
228
        * cdl/hal_sh_sh2.cdl: Set as type1 clock module.
229
 
230
        * src/sh2_scif.c: Added IrDA mode support.
231
        * include/sh2_scif.h: Same.
232
 
233
        * include/mod_regs_dma.h: Updated for SH7615.
234
 
235
        * include/mod_regs_ser.h: Fixed a typo.
236
 
237
2002-01-18  Jesper Skov  
238
 
239
        * src/sh2_sci.c: Added #error about not being updated.
240
        * src/sh2_sci.h: Updated for SH2 naming.
241
        * src/sh2_scif.h: Updated for SH2 naming, and registers.
242
        * src/sh2_scif.c: Updated for changed register names.
243
        * include/mod_regs_ser.h: Updated SCIF register names/values.
244
 
245
        * src/var_misc.c (hal_delay_us): Added.
246
 
247
        * include/variant.inc: Fixed some bade conditional code.
248
 
249
        * include/var_intr.h (HAL_CLOCK_INITIALIZE): Fix typos. Guard
250
        against too large period.
251
 
252
        * include/mod_regs_ubc.h: Updated to match SH7615 (type 2).
253
 
254
        * include/mod_7615.h (CYGARC_SH_MOD_UBC): Is type 2.
255
 
256
2002-01-17  Jesper Skov  
257
 
258
        * include/mod_regs_ubc.h: Partially updated.
259
 
260
        * include/mod_regs_wdt.h: Added.
261
        * include/var_regs.h: Include WDT header.
262
 
263
        * src/var_misc.c (hal_interrupt_set_vectors): Updated vector
264
        names.
265
 
266
        * src/variant.S (cyg_hal_ILVL_table): Changed for SH2.
267
 
268
        * src/var_mk_defs.c: Added more interrupt defs.
269
 
270
        * include/var_intr.h (CYGPRI_HAL_INTERRUPT_UPDATE_LEVEL_PLF):
271
        Ignore LVLs 0-3 since they overlap with IRQs
272
        0-3. hal_interrupt_update_level contains code to handle according
273
        to configuration.
274
 
275
        * include/mod_regs_intc.h: Added def.
276
 
277
        * src/var_misc.c: Interrupt configury updated for 7615.
278
 
279
        * include/var_intr.h: Add module identifier to vector names. Set
280
        RTC vector.
281
 
282
2002-01-16  Jesper Skov  
283
 
284
        * src/var_mk_defs.c: Removed some defs.
285
 
286
        * src/var_misc.c: Cache init fixed and compiler warnings + typos
287
        fixed.
288
 
289
        * src/sh2_scif.c: Renamed for SH2.
290
        * src/sh2_sci.c: Same.
291
 
292
        * include/var_regs.h: TMU header inclusion removed.
293
 
294
        * include/var_intr.h: Shift vectors down one (to make room for NMI
295
        as vector 0).
296
 
297
        * include/mod_regs_ser.h: Protect SCI defs by CYGARC_SH_MOD_SCI.
298
 
299
        * include/mod_regs_cpg.h: No magic here - CDL provides a hardwired
300
        constant to use.
301
 
302
        * include/mod_regs_bsc.h: Updated to match SH7615.
303
 
304
        * include/mod_7615.h (CYGARC_SH_MOD_BCN): Is type 2.
305
 
306
        * cdl/hal_sh_sh2.cdl: Added CYGHWR_HAL_SH_RTC_PRESCALE.
307
 
308
        * include/mod_regs_frt.h: Added.
309
 
310
        * include/var_intr.h: Added support for eCos RTC driven by FRT module.
311
 
312
        * include/mod_7615.h (CYGARC_SH_MOD_FRT): Added.
313
        * include/var_regs.h: Include FRT header. Removed RTC header inclusion.
314
 
315
        * src/var_misc.c (hal_interrupt_set_vectors): Set VCRx registers
316
        to map the module interrupt sources to specific HWR_EXC vectors.
317
 
318
        * include/var_intr.h: Added SH7615 vectors.
319
 
320
        * cdl/hal_sh_sh2.cdl: Select INTR model header.
321
 
322
        * include/mod_regs_intc.h: Added stuff for 7615 INTC.
323
 
324
        * include/mod_7615.h: Does update the IP on exception. All modules
325
        are type 1.
326
 
327
2002-01-14  Jesper Skov  
328
 
329
        * cdl/hal_sh_sh2.cdl: Added exception model header definitions.
330
 
331
        * include/variant.inc: Fixed assembler warning. Change CYG_SR.
332
 
333
2002-01-11  Jesper Skov  
334
 
335
        * cdl/hal_sh_sh2.cdl: Changed the clock setup some.
336
 
337
2002-01-09  Jesper Skov  
338
 
339
        * cdl/hal_sh_sh2.cdl: Changed to match SH2 caching details.
340
        * src/var_misc.c: Same.
341
        * include/var_cache.h: Same.
342
        * src/variant.S: Same.
343
 
344
        * include/mod_7615.h: Added some 7615 details.
345
 
346
        Cloned from SH3 HAL.
347
 
348
//===========================================================================
349
//####ECOSGPLCOPYRIGHTBEGIN####
350
// -------------------------------------------
351
// This file is part of eCos, the Embedded Configurable Operating System.
352
// Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.
353
//
354
// eCos is free software; you can redistribute it and/or modify it under
355
// the terms of the GNU General Public License as published by the Free
356
// Software Foundation; either version 2 or (at your option) any later version.
357
//
358
// eCos is distributed in the hope that it will be useful, but WITHOUT ANY
359
// WARRANTY; without even the implied warranty of MERCHANTABILITY or
360
// FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
361
// for more details.
362
//
363
// You should have received a copy of the GNU General Public License along
364
// with eCos; if not, write to the Free Software Foundation, Inc.,
365
// 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
366
//
367
// As a special exception, if other files instantiate templates or use macros
368
// or inline functions from this file, or you compile this file and link it
369
// with other works to produce a work based on this file, this file does not
370
// by itself cause the resulting work to be covered by the GNU General Public
371
// License. However the source code for this file must still be made available
372
// in accordance with section (3) of the GNU General Public License.
373
//
374
// This exception does not invalidate any other reasons why a work based on
375
// this file might be covered by the GNU General Public License.
376
//
377
// Alternative licenses for eCos may be arranged by contacting Red Hat, Inc.
378
// at http://sources.redhat.com/ecos/ecos-license/
379
// -------------------------------------------
380
//####ECOSGPLCOPYRIGHTEND####
381
//===========================================================================

powered by: WebSVN 2.1.0

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