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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [ecos-3.0/] [packages/] [hal/] [sh/] [arch/] [current/] [ChangeLog] - Blame information for rev 817

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

Line No. Rev Author Line
1 786 skrzyp
2011-01-02  Sergei Gavrikov  
2
 
3
        * cdl/hal_sh.cdl: Eliminate some warnings. [ Bugzilla 1001083 ]
4
 
5
2009-02-04  John Dallaway  
6
 
7
        * src/sh.ld: Process *(.gcc_except_table.*) as for i386
8
        architecture.
9
 
10
2004-05-27  Gary Thomas  
11
 
12
        * src/redboot_linux_exec.c (do_exec): Be sensitive to value in
13
        "entry_address" as this can indicate if the image to be executed
14
        is valid (the "load" functions set it to "NO_MEMORY" when invalid)
15
 
16
2004-04-30  Yoshinori Sato  
17
 
18
        * src/sh.ld: Add entry section for targets, like Dreamcast, that
19
        need special entry code.
20
 
21
2004-04-22  Jani Monoses 
22
 
23
         * cdl/hal_sh.cdl :
24
         Invoke tail with stricter syntax that works in latest coreutils.
25
 
26
2004-02-05  Kelvin Lawson  
27
 
28
        * include/hal_var_bank.inc: Fix build error on non-FPU systems due to
29
        CYG_FPSCR.
30
 
31
2003-12-05  Andrew Lunn  
32
 
33
        * include/hal_intr_excevt.h:
34
        * include/hal_intr_vecs.h: hal_delay_us() is a C function.
35
 
36
2003-09-21  Jonathan Larmour  
37
 
38
        * cdl/hal_sh.cdl: CYGHWR_HAL_SH_FPU_REGS is only needed if there's an
39
        FPU.
40
 
41
        * include/hal_var_bank.h (HAL_THREAD_INIT_CONTEXT_FPU): Use FPSCR
42
        init value from HAL register definitions.
43
 
44
2003-09-19  John Dallaway  
45
 
46
        * cdl/hal_sh.cdl: Specify default CDL values for sh4_202_md target.
47
 
48
2003-09-11  Nick Garnett  
49
 
50
        * include/hal_var_bank.h (HAL_THREAD_INIT_CONTEXT_FPU): Changed
51
        initial value of fpscr to do round-to-nearest rather than
52
        round-to-zero.
53
 
54
2003-09-08  Nick Garnett  
55
 
56
        * src/vectors.S (cyg_hal_default_exception_vsr): Added code to
57
        switch to interrupt stack when fielding exceptions from RedBoot or
58
        some other ROM monitor. Without this we get potential stack
59
        overflows when debugging via the network.
60
 
61
2003-09-05  Nick Garnett  
62
 
63
        * include/hal_arch.h:
64
        * include/hal_var_bank.h:
65
        * include/hal_var_bank.inc:
66
        * src/context.S:
67
        Added support for floating point state save and restore and GDB
68
 
69
        * src/hal_misc.c (hal_delay_us): Fixed implementation of this
70
        routine so that it actually works.
71
 
72
        * src/hal_syscall.c:
73
        Added support for all supportable syscalls.
74
 
75
        * src/sh_stub.c:
76
        Added check in __is_bsp_syscall() for trap 34 traps using the TRA
77
        register.
78
 
79
        * src/vectors.S: Set startup stack size to the same as the
80
        interrupt stack size. In some configurations of RedBoot the
81
        previous value was too small.
82
 
83
        * include/sh_stub.h:
84
        Fixed HAL_STUB_PLATFORM_STUBS_FIXUP() to only rewind for a
85
        breakpoint. Traps are not rewound.
86
 
87
        * cdl/hal_sh.cdl: Added option for SH architecture FP register
88
        count.
89
 
90
2003-07-29  Gary Thomas   on behalf of
91
2003-07-29  Yoshinori Sato 
92
 
93
        * src/sh.ld: Handle all bss* sections (newer compilers).
94
 
95
2003-07-18  Nick Garnett  
96
 
97
        * cdl/hal_sh.cdl:
98
        Changed values for CYGNUM_HAL_RTC_NUMERATOR,
99
        CYGNUM_HAL_RTC_DENOMINATOR and CYGNUM_HAL_RTC_PERIOD to
100
        "default_value" from "calculated". This makes it easier
101
        to change these values globally.
102
 
103
2003-04-17  Jonathan Larmour  
104
 
105
        * include/hal_var_bank.h (HAL_THREAD_INIT_CONTEXT): Align stack
106
        pointer before using it.
107
        * include/hal_var_sp.h (HAL_THREAD_INIT_CONTEXT): Ditto.
108
 
109
2003-04-10  Nick Garnett  
110
 
111
        * src/sh.ld:
112
        Added entry for .stack section in data section.
113
 
114
2003-03-11  Mark Salter  
115
 
116
        * src/redboot_linux_exec.c (do_exec): Call eth_drv_stop as necessary.
117
 
118
2003-01-31  Mark Salter  
119
 
120
        * src/hal_syscall.c (hal_syscall_handler): Let generic syscall code
121
        handle exit.
122
 
123
2002-08-02  Andrew Lunn 
124
 
125
        * cdl/hal_sh.cdl: The Redboot exec command can now be
126
          disabled by CDL
127
 
128
2002-04-30  Jesper Skov  
129
 
130
        * include/hal_var_sp.inc: Allow variant to provide custom
131
        interrupt vector layout. This means the size of
132
        hal_interrupt_handlers/objects/data can be reduced if the vector
133
        layout is sparse. Something similar could be done for
134
        _HW_EXEC_ENTRY_TABLE, saving exception_vector_int entries in the
135
        $vectors_code block. However, this code usually resides in flash
136
        so there's not much point given todays flash block sizes.
137
 
138
        * cdl/hal_sh.cdl: Added CYGHWR_HAL_SH_FPU and
139
        CYGHWR_HAL_SH_NO_FPU, allowing an arch level control of FPU
140
        related tests.
141
        Skipping test handled in a different way now, so the implements
142
        statement has been deleted again.
143
 
144
2002-04-29  Jesper Skov  
145
 
146
        * include/hal_var_bank.inc: Define hal_exception_entry_extras and
147
        hal_interrupt_entry_extras.
148
        * include/hal_var_sp.inc: Define hal_exception_entry_extras and
149
        hal_interrupt_entry_extras. Disable interrupts on exception
150
        entry.
151
        * src/vectors.S: Call hal_exception_entry_extras and
152
        hal_interrupt_entry_extras.
153
 
154
2002-04-29  Jonathan Larmour  
155
 
156
        * src/vectors.S:
157
        Don't use .file as it can confuse debugging since the .file
158
        doesn't contain the path and therefore the debugger will never
159
        know where it lives! This conflicts with using -Wa,--gstabs.
160
 
161
2002-04-15  Jonathan Larmour  
162
 
163
        * src/hal_syscall.c (hal_syscall_handler): Add extra sig argument to
164
        __do_syscall.
165
 
166
2002-04-22  Jesper Skov  
167
 
168
        * include/hal_var_sp.inc: 7044 needs different vector layout than
169
        76xx since its vectors are hardwired.
170
 
171
2002-04-18  Jesper Skov  
172
 
173
        * include/hal_var_sp.inc: Do no translation of entry address if
174
        cache module defines CYGARC_SH_MOD_CAC_NO_WINDOWS.
175
 
176
        * include/hal_intr_vecs.h: Move all vectors after IRQ7 to variant
177
        header. Define _IRQ and _LVL for all of the first 7
178
        interrupts. Define CYGNUM_HAL_INTERRUPT_LVL_MAX
179
 
180
2002-03-06  Jesper Skov  
181
 
182
        * include/hal_var_sp.inc: Fix asm comments.
183
 
184
2002-02-28  Jesper Skov  
185
 
186
        * src/hal_syscall.c (hal_syscall_handler): Added.
187
        * src/sh_stub.c (__is_bsp_syscall): Added.
188
        * cdl/hal_sh.cdl: Build hal_syscall.c
189
 
190
2002-02-27  Jesper Skov  
191
 
192
        * src/sh_stub.c (__computeSignal): Changed to use DATA_ACCESS
193
        names as well.
194
        * include/hal_intr_vecs.h (_CYGNUM_HAL_VECTOR_FIRST_MEM_FAULT,
195
        _CYGNUM_HAL_VECTOR_LAST_MEM_FAULT): Same.
196
 
197
2002-02-26  Jesper Skov  
198
 
199
        * include/hal_intr_vecs.h: Use DATA_ACCESS vector names instead of
200
        ADDRESS_ERROR names.
201
 
202
2002-02-15  Jesper Skov  
203
 
204
        * src/sh_stub.c (__single_step): Use normal breakpoint instruction
205
        (trapa #32) for single-stepping.
206
        On the SH2 the use of trapa#255 causes a different (and unhandled)
207
        exception, in the range reserved for application
208
        exceptions/interrupts.
209
 
210
2002-02-14  Jesper Skov  
211
 
212
        * include/hal_var_bank.h: Switch mach/macl entries.
213
        * include/hal_var_sp.h: Same.
214
 
215
        * include/hal_var_sp.inc: Reserve (additional) trampoline for NMI
216
        to make eCos interrupt numbers match. Make traps use trap numbers
217
        32-64.
218
        (hal_cpu_save_regs): Remember to adjust SP for R0 save location.
219
        (hal_cpu_restore_regs_return): Rewritten to fix errors and allow
220
        SP to be changed from GDB.
221
 
222
2002-02-13  Jesper Skov  
223
 
224
        * src/context.S (hal_thread_load_context): Load up stack pointer
225
        before enabling interrupts.
226
 
227
        * include/hal_var_sp.inc: Fetch the VSR pointer and jump to it
228
        instead of into the VSR table.
229
        (hal_cpu_restore_regs_return): adjust sp to point to exception
230
        state before returning.
231
 
232
2002-02-08  Jesper Skov  
233
 
234
        * src/vectors.S: tweak ROMRAM relocation code.
235
 
236
2002-02-07  Jesper Skov  
237
 
238
        * include/hal_var_sp.inc: Moved _reset code to below vectors.
239
 
240
2002-01-17  Jesper Skov  
241
 
242
        * include/hal_var_bank.inc: Include SH3 register references. Make
243
        better use of some delay slots.
244
 
245
        * src/vectors.S: Don't save exception/interrupt state on stack
246
        with debug markers. Load up event value in R4 before calling
247
        hal_intc_decode so it can be a nop if desired. Removed some SH3
248
        register references.
249
 
250
        * include/hal_var_sp.inc: Include SH2 offsets, export
251
        _HW_EXC_ENTRY_TABLE, fix some typos.
252
 
253
        * include/hal_intr_vecs.h: IRL vectors renamed. Added IRQ
254
        vectors.
255
 
256
2002-01-16  Jesper Skov  
257
 
258
        * include/hal_var_bank.h: Fix typo.
259
 
260
        * src/sh_stub.c (__computeSignal): Only handle defined vectors.
261
 
262
        * include/hal_intr_vecs.h: Decode NMI as interrupt 0, moved all
263
        other vectors. Provide MEM_FAULT vector range.
264
        * include/hal_var_sp.inc: Changes for NMI-as-interrupt-0.
265
        * include/hal_var_sp.h: Renamed vector to event to share code.
266
 
267
        * include/hal_intr_excevt.h: Added MEM_FAULT vector ranges and
268
        CYGHWR_SH_RTC_TIMER_IS_TMU.
269
        * src/hal_misc.c (hal_delay_us): Only build if
270
        CYGHWR_SH_RTC_TIMER_IS_TMU. Use MEM_FAULT vector range.
271
 
272
        * include/hal_intr.h: Deleted clock controls.
273
 
274
        * cdl/hal_sh.cdl: Use CYGNUM_HAL_RTC_PRESCALE instread of
275
        module-specific prescale variable.
276
 
277
        * include/hal_intr_excevt.h (_CYGNUM_HAL_VECTOR_FIRST_MEM_FAULT,
278
        _CYGNUM_HAL_VECTOR_LAST_MEM_FAULT): Define.
279
        * include/hal_intr_vecs.h: Same.
280
        * src/hal_misc.c (cyg_hal_exception_handler): Use new _MEM_FAULT
281
        vector range.
282
 
283
 
284
        * include/hal_intr_vecs.h: Removed RTC code.
285
 
286
        * include/hal_arch.h: Changed breakpoint instruction to match that
287
        used in GDB 5.1.
288
        It also makes better sense on the SH2.
289
 
290
        * include/hal_intr_excevt.h: Interrupt/exception vectors and clock
291
        handling code moved here...
292
        * include/hal_intr.h: From here.
293
        * include/hal_intr_vecs.h: Interrupt/exception vector layout +
294
        clock handling for SH1/SH2 variants.
295
 
296
        * include/hal_var_sp.inc: Added some comments, fixed number of
297
        pre-VSR vectors, renamed HW_VSR_TABLE to HW_EXC_ENTRY_TABLE to
298
        avoid confusion (it has nothing to do with eCos VSRs). Finally,
299
        made the pre-VSR stuff only compile when really required (since
300
        it's 4KiB).
301
 
302
2002-01-14  Jesper Skov  
303
 
304
        * include/hal_arch.h: Moved HAL_SavedRegisters structure to
305
        bank variant headers. Same with HAL_THREAD_INIT_CONTEXT,
306
        HAL_THREAD_GET_SAVED_REGISTERS, HAL_GET_GDB_REGISTERS,
307
        HAL_SET_GDB_REGISTERS, CYGARC_BUS_ADDRESS, CYGARC_CACHED_ADDRESS,
308
        and CYGARC_UNCACHED_ADDRESS.
309
        * src/vectors.S: Moved exception/interrupt entry code to bank
310
        variant include file.
311
        * include/hal_var_sp.inc: Added. Contains (new) vectors.S stuff
312
        for SH2.
313
        * include/hal_var_sp.h: Added. Contains (new) hal_arch.h stuff for
314
        SH2 variant.
315
        * include/hal_var_bank.inc: Added. Contains old vectors.S stuff
316
        for SH3/SH4 variants.
317
        * include/hal_var_bank.h: Added. Contains old hal_arch.h stuff for
318
        SH3/SH4 variants.
319
 
320
        * src/hal_mk_defs.c: Added conversion for entry stack.
321
 
322
2001-11-16  Nick Garnett  
323
 
324
        * src/hal_misc.c (hal_msbit_index): Fixed this function so that it
325
        actually works!
326
 
327
2001-10-15  David Howells  
328
 
329
        * cdl/hal_sh.cdl: improved the description on the RTC constants
330
        component.
331
 
332
2001-10-11  Jesper Skov  
333
 
334
        * src/hal_mk_defs.c (main): Fixed warning.
335
 
336
2001-10-01  Jonathan Larmour  
337
 
338
        * src/sh.ld: Make separate section for GOT and .eh_frame.
339
        Make macro section for all reloc sections.
340
        Input extras.o unconditionally.
341
        * cdl/hal_sh.cdl: Don't bother with -DEXTRAS=1 - unconditional now.
342
 
343
2001-09-12  Jesper Skov  
344
 
345
        * src/vectors.S: Don't include C intr header.
346
 
347
2001-09-11  Jonathan Larmour  
348
 
349
        * cdl/hal_sh.cdl (CYGHWR_HAL_SH_BIGENDIAN): Set the default
350
        from what the platform requests, using the new
351
        CYGINT_HAL_SH_PLF_LITTLEENDIAN_DEFAULT CDL interface.
352
 
353
        * src/sh.ld: Support .rel.got input sections.
354
 
355
2001-09-05  Jesper Skov  
356
 
357
        * src/sh_stub.c (__single_step): Changed type 2 handling.
358
 
359
2001-08-22  Gary Thomas  
360
 
361
        * src/redboot_linux_exec.c:
362
        printf() is no longer a part of RedBoot.  Thus all programs
363
        must use diag_printf() and related functions instead.
364
 
365
2001-07-09  Jesper Skov  
366
 
367
        * src/sh_stub.c: Fixed potential SH4 problem in UBC handling.
368
 
369
2001-07-02  Jesper Skov  
370
 
371
        * include/hal_arch.h: CYGARC_PHYSICAL_ADDRESS renamed to
372
        CYGARC_BUS_ADDRESS.
373
 
374
2001-06-27  Jesper Skov  
375
 
376
        * include/hal_arch.h: Added CPU address space translation macros.
377
 
378
2001-06-19  Jesper Skov  
379
 
380
        * src/redboot_linux_exec.c: Only base address, entry and cmdline
381
        options are always used. Other commands only affect image if
382
        set. This allows combined kernel&initrd images to be loaded in one
383
        file where the initrd address & size is already recorded at the
384
        start of the image.
385
 
386
        From YAEGASHI Takeshi  with a few changes:
387
        * cdl/hal_sh.cdl: Added RedBoot exec command options.
388
        * src/redboot_linux_exec.c: Added.
389
 
390
2001-05-29  Jesper Skov  
391
 
392
        * include/hal_io.h: Include var_io.h
393
 
394
2001-05-28  Jesper Skov  
395
 
396
        * src/sh.ld: Added .2ram section handling.
397
 
398
2001-01-26  Jesper Skov  
399
 
400
        * tests/intr0.c: Moved test header inclusion to proper location.
401
 
402
2001-01-18  Jesper Skov  
403
 
404
        Case 105302
405
        * src/vectors.S: Moved ILVL table to variant code.
406
        * tests/intr0.c: Added.
407
 
408
2001-01-04  Jesper Skov  
409
 
410
        * src/sh.ld: Make sure .data and .bss section sizes are aligned.
411
 
412
2000-12-13  Jesper Skov  
413
2000-12-13  Jonathan Larmour  
414
 
415
        * src/vectors.S (__reset): Use proper entry pointer for ROMRAM
416
        startup type.
417
 
418
2000-12-08  Jesper Skov  
419
 
420
        * src/vectors.S (cyg_scheduler_sched_lock): Changed to use
421
        SYM_PTR_REF. Brian Danilko spotted this.
422
 
423
2000-11-24  Jonathan Larmour  
424
 
425
        * src/sh.ld: _reset should be adorned with CYG_LABEL_DEFN
426
        * src/vectors.S: CYG_LABEL_DEFN should have been used everywhere
427
        that CYG_LABEL_NAME was used, except for the scheduler lock which
428
        is special as it is defined in C as an asm alias.
429
        * include/arch.inc: Similarly here for symbol macros
430
 
431
        * include/basetype.h (CYG_LABEL_NAME): Delete. This is now obsolete.
432
 
433
2000-11-22  Jesper Skov  
434
 
435
        * src/sh.ld: Added mangling to all symbols.
436
        * src/vectors.S: Same. Plus introduce macro to simplify (a bit)
437
        the definition of inline immediate constants.
438
 
439
        * include/sh_regs.h: Include HAL config.
440
 
441
        * include/hal_arch.h: Don't prefix with _ in HAL_BREAKPOINT.
442
        * src/sh_stub.c: Matching changes - hack to handle both
443
        conventions.
444
 
445
        * include/basetype.h: Made CYG_LABEL_DEFN depend on toolchain.
446
 
447
        * include/arch.inc: Added symbol ref/def macros.
448
        * src/context.S: Removed FUNC_START macro.
449
 
450
2000-11-09  Jesper Skov  
451
 
452
        * src/sh_stub.c (__single_step): Fix CPP problem.
453
 
454
2000-10-31  Jesper Skov  
455
 
456
 
457
        * include/mod_7707a.h: Moved to SH3 HAL.
458
        * include/mod_7708.h: Same.
459
        * include/mod_7709a.h: Same.
460
        * include/mod_7729.h: Same.
461
        * include/sh3_sci.h: Same.
462
        * include/sh3_scif.h: Same.
463
        * src/sh3_sci.c: Same.
464
        * src/sh3_scif.c: Same.
465
 
466
        * include/hal_cache.h: Moved SH3 code out to new SH3 HAL.
467
        * cdl/hal_sh.cdl: Same.
468
        * include/hal_intr.h: Same.
469
        * include/sh_regs.h: Same.
470
        * src/hal_misc.c: Same.
471
        * src/hal_mk_defs.c: Same.
472
 
473
        * src/vectors.S: Changed to support SH4. Moved CPU post-reset init
474
        code to variant HALs. Moved interrupt decoding to variant HAL
475
        macros. Moved cache code to variant HALs.
476
 
477
2000-10-24  Jesper Skov  
478
 
479
        * src/vectors.S (hal_hw_init): Added errata comment.
480
 
481
2000-10-23  Jesper Skov  
482
 
483
        * src/hal_misc.c: Always include hal_intr.h
484
 
485
        * src/sh3_sci.c: Use specified value for default baud rate.
486
        * src/sh3_scif.c: Same.
487
 
488
2000-10-20  Jesper Skov  
489
 
490
        * src/hal_misc.c: Update __mem_fault_handler declaration.
491
 
492
2000-10-19  Jesper Skov  
493
 
494
        * include/sh_regs.h (CYGARC_REG_WCR1_0WS, CYGARC_REG_WCR2_0WS):
495
        Added for consistent init code.
496
 
497
2000-10-17  Jesper Skov  
498
 
499
        * src/vectors.S (__reset_platform): Rearrange constants used in
500
        early init code.
501
 
502
2000-10-16  Jonathan Larmour  
503
 
504
        * include/hal_arch.h (CYGARC_JMP_BUF_SIZE): Define hal_jmp_buf in
505
        terms of this.
506
 
507
2000-10-11  Jesper Skov  
508
 
509
        * src/vectors.S (__reset_platform): Clear watchdog control flags.
510
        Added missing NOP in bra delay slot.
511
 
512
        * src/hal_misc.c (hal_delay_us): Updated to use the correct config
513
        constants.
514
 
515
        * cdl/hal_sh.cdl: Fix typo.
516
 
517
        * include/sh_regs.h: Added macros to compute CYGARC_RTCSR init
518
        values for SDRAM refresh. Needs to be backed up by generic CDL
519
        configury for memory controller.
520
 
521
2000-10-10  Jesper Skov  
522
 
523
        * include/sh_regs.h: Compute CPG init value for all versions.
524
 
525
        * include/mod_7707a.h: Added CPG version.
526
        * include/mod_7708.h: Same.
527
        * include/mod_7709a.h: Same.
528
        * include/mod_7729.h: Same.
529
 
530
        * cdl/hal_sh.cdl: Support various CPG versions.
531
 
532
2000-10-05  Jesper Skov  
533
 
534
        * src/sh_stub.c: Handle UBC versions in CPUs currently supported
535
        by HAL.
536
        * include/sh_regs.h: Added UBC version differences.
537
        * include/mod_7707a.h: Specify UBC version.
538
        * include/mod_7708.h: Ditto.
539
        * include/mod_7709a.h: Ditto.
540
        * include/mod_7729.h: Ditto.
541
 
542
        * src/hal_misc.c: Skip IRQ0-3 handling in IRQIRL mode.
543
        * include/sh_regs.h: Define interrupt controler init value.
544
        * src/vectors.S: Use interrupt controller init value.
545
        * cdl/hal_sh.cdl: Put CPU type/endian mode in a component. Added
546
        interrupt control options.
547
 
548
2000-10-03  Jesper Skov  
549
 
550
        * src/vectors.S: Added flush function. Changes to cache_write_mode
551
        function.
552
 
553
        * src/hal_mk_defs.c: Added cache definitions.
554
 
555
        * src/hal_misc.c (cyg_hal_enable_caches): Let config control cache
556
        init.
557
        * include/hal_cache.h: Added flush macro. Changes to allow
558
        mode function to handle different settings for the two
559
        controllable areas.
560
 
561
        * cdl/hal_sh.cdl: Added cache controls.
562
 
563
2000-09-26  Jesper Skov  
564
 
565
        * include/sh_regs.h: Added computation of initial FRQCR
566
        value. Made watchdog timeout time depend on the proper clock
567
        setting.
568
 
569
        * include/hal_intr.h (HAL_CLOCK_INITIALIZE): Allow timer
570
        prescaling to be controlled. Fix typo.
571
 
572
        * cdl/hal_sh.cdl: Added options to properly compute/control the
573
        various clock signals.
574
 
575
2000-09-25  Jesper Skov  
576
 
577
        * src/sh3_scif.c (cyg_hal_plf_scif_init_channel): Use _SCBRR_
578
        macros.
579
 
580
        * include/sh_regs.h (CYGARC_SCBRR_CKSx, CYGARC_SCBRR_N): Removed
581
        duplicates of the macros. Compute _CKSx properly.
582
 
583
2000-09-06  Gary Thomas  
584
 
585
        * include/mod_7729.h: Includes PFC (programmable I/O) module.
586
 
587
2000-09-06  Jesper Skov  
588
 
589
        * cdl/hal_sh.cdl: Added 7729 option.
590
 
591
2000-08-31  Jesper Skov  
592
 
593
        * include/mod_7709a.h: Added UBC definition.
594
        * include/mod_7708.h: Same.
595
        * include/mod_7729.h: Same.
596
        * include/mod_7707a.h: Same.
597
        * include/sh_regs.h: Extra UBC definitions.
598
        * src/sh_stub.c: If core supports UBC, use it for
599
        single-stepping.
600
 
601
2000-08-29  Jesper Skov  
602
 
603
        * include/mod_7729.h: Added.
604
 
605
2000-07-20  Jesper Skov  
606
 
607
        * src/sh_stub.c (__single_step): Skip trap instructions.
608
 
609
2000-07-18  Gary Thomas  
610
 
611
        * src/vectors.S (__reset): Change calculation of uncached startup
612
        address.
613
        * include/mod_7707a.h: 7707a has 32K caches (we believe).
614
 
615
2000-07-17  Gary Thomas  
616
 
617
        * src/hal_misc.c (cyg_hal_exception_handler): Handle exception caused by
618
        GDB stubs memory accesses.
619
 
620
2000-07-16  Gary Thomas  
621
 
622
        * include/hal_intr.h: Define HAL_DELAY_US() - see below.
623
 
624
        * src/hal_misc.c (hal_delay_us): New function.  Used in ROM/stand-alone
625
        applications when there is no kernel.
626
 
627
2000-07-15  Gary Thomas  
628
 
629
        * include/sh_regs.h: Add additional 7707 registers.
630
 
631
2000-07-06  Jesper Skov  
632
 
633
        * src/vectors.S:
634
        * include/mod_7707a.h:
635
        * include/hal_intr.h:
636
        * include/sh_regs.h:
637
        Added additional 7707 interrupt vectors.
638
 
639
2000-06-30  Jesper Skov  
640
 
641
        * src/vectors.S (__reset): Jump to VMA for RAM startup.
642
        (_complete_setup): Fix merge bug.
643
 
644
        * src/sh3_scif.c:
645
        * src/sh3_sci.c:
646
        calling i/f macro changes.
647
 
648
        * src/vectors.S (__reset): Fix alignment problem.
649
 
650
2000-06-29  Gary Thomas  
651
 
652
        * src/vectors.S: Reorg initialization (reset) code to be all
653
        in one, non-fixed location.  Required for platforms with more
654
        complex initialization sequences.
655
 
656
2000-06-29  Jesper Skov  
657
 
658
        * src/sh3_sci.c:
659
        * src/sh3_scif.c:
660
        Use per-channel data structure instead of code cruft.
661
 
662
2000-06-28  Jesper Skov  
663
 
664
        * include/sh3_sci.h:    [added]
665
        * include/sh3_scif.h:   [added]
666
        * include/sh3_scif.inl: [removed]
667
        * include/sh_sci.inl:   [removed]
668
        * src/sh3_sci.c:        [added]
669
        * src/sh3_scif.c:       [added]
670
        * cdl/hal_sh.cdl:
671
        Rewrote serial drivers for comm procs usage.
672
 
673
2000-06-27  Jesper Skov  
674
 
675
        * src/vectors.S: Added arch and platform init calls. Added ctrlc
676
        init call. Replaced old BREAK magic with new ctrlc magic.
677
 
678
        * src/sh.ld: Added extra _ on NETDEVTAB labels. Define
679
        hal_virtual_vector_table.
680
 
681
        * src/hal_misc.c: hal_default_isr moved to common HAL.
682
 
683
        * cdl/hal_sh.cdl: Also build simple drivers.
684
 
685
2000-06-21  Nick Garnett  
686
 
687
        * src/sh_stub.c (__is_breakpoint_function): Removed use of
688
        CYG_LABEL_NAME() and added underscore to _breakinst.
689
 
690
        * src/context.S: Switched use of CYG_LABEL_NAME() to
691
        CYG_LABEL_DEFN().
692
 
693
        * include/basetype.h: Removed definition of CYG_LABEL_NAME() and
694
        added CYG_LABEL_DEFN().
695
 
696
        * src/sh.ld: Switched to new table definition mechanism.
697
 
698
2000-06-15  Jesper Skov  
699
 
700
        * include/hal_intr.h: Added HAL_DEFAULT_ISR.
701
 
702
2000-06-08  Jesper Skov  
703
 
704
        * include/hal_arch.h (CYGARC_HAL_SAVE_GP, CYGARC_HAL_RESTORE_GP):
705
        Added.
706
 
707
        * include/mod_7708.h:
708
        * include/mod_7709a.h:
709
        * src/vectors.S:
710
        Minor config change to get rid of growing list of variant checks.
711
 
712
2000-06-08  Jesper Skov  
713
 
714
        * include/mod_7707a.h:
715
        * src/vectors.S:
716
        * cdl/hal_sh.cdl:
717
        Added first level of support for 7707A variant.
718
 
719
2000-06-06  Jesper Skov  
720
 
721
        * src/vectors.S: INTEVT2 is not defined on all variants. Protect
722
        accordingly. (Haruki Kashiwaya)
723
 
724
2000-05-08  Jesper Skov  
725
 
726
        * cdl/hal_sh.cdl: Make sure CPU variant definition ends up in
727
        system.h
728
 
729
2000-05-01  Jesper Skov  
730
 
731
        * include/mod_7709a.h:
732
        * include/sh_regs.h:
733
        Add PFC/C definitions.
734
 
735
2000-04-26  Jesper Skov  
736
 
737
        * src/hal_mk_defs.c: Added some caching data.
738
 
739
        * src/vectors.S:
740
        * include/hal_cache.h:
741
        Rewrote caching functions in assembly with appropriate magic to
742
        have the code execute out of a non-cachable memory shadow.
743
 
744
2000-04-25  Jesper Skov  
745
 
746
        * include/hal_cache.h (HAL_UCACHE_WRITE_MODE): Also wiggle the WT
747
        bit. It has opposite polarity of the CB bit.
748
 
749
2000-04-25  Jesper Skov  
750
 
751
        * src/vectors.S: Init IPRC-E. Force IRQ mode.
752
        * include/hal_intr.h: Added IRQ0-IRQ3 entries. Added simple
753
        interrupt configuration and acknowledge.
754
        * include/sh_regs.h: Added more interrupt control definitions.
755
 
756
2000-04-12  Jesper Skov  
757
 
758
        * src/vectors.S: Entry code rewritten to allow ROMRAM startups.
759
 
760
        * src/sh.ld: Change LMA alignment to 16 (workaround
761
        902557-CR). Provide vector LMA address.
762
 
763
        * include/sh_sci.inl: Replaced hardcoded baud rate constant with
764
        macro function.
765
 
766
        * cdl/hal_sh.cdl: Don't let interface define anything.
767
 
768
2000-04-10  Jesper Skov  
769
 
770
        * src/vectors.S: Get interrupt event code from the proper register.
771
        Removed some platform specific debug code. Let cyg_hal_gdb_isr
772
        deal with C-c issues.
773
 
774
        * include/sh_regs.h: Moved module registers to
775
        0xa0000000-0xc0000000 which is also non-cachable. The reason is
776
        that EVENT2 can only be accessed at 0xa4000000.
777
 
778
        * include/sh3_scif.inl: Read back SR before clearing it (or the
779
        clear don't have an effect).
780
 
781
        * include/hal_intr.h: Mask/unmask functions handle entire ISR
782
        range now.
783
 
784
2000-04-07  Jesper Skov  
785
 
786
        * include/sh3_scif.inl: Status register is 16 bit wide, not 8.
787
 
788
        * include/sh_regs.h: Access all module registers in the space
789
        0xe0000000-0xffffffff since caching is disabled here.
790
 
791
2000-04-06  Jesper Skov  
792
 
793
        * src/sh.ld (_hal_vsr_table): Get address from platform CDL.
794
 
795
2000-04-04  Jesper Skov  
796
 
797
        * include/sh3_scif.inl: Should be able to work with FIFO enabled.
798
        * include/sh_regs.h: Fixed RCOUNT/TCOUNT and added some comments.
799
 
800
2000-04-03  Jesper Skov  
801
 
802
        * include/sh3_scif.inl: Can drive either IRDA or SCIF module.
803
 
804
        * include/sh_regs.h:
805
        * include/mod_7709a.h:
806
        Added IRDA definitions (mostly a copy of SCIF definitions).
807
 
808
2000-03-31  Jesper Skov  
809
 
810
        * include/sh_regs.h: Added bit definitions for BSC.
811
 
812
        * include/sh3_scif.inl: Added.
813
        * include/hal_intr.h: Added hack to work around macro
814
        problem. Need to rewrite macro as inline function, but need to
815
        investigate a optimization problem first.
816
        * include/sh_regs.h: Replaced hardcoded baud rate constants with
817
        a macro which calculates the proper values based on baud rate
818
        and CPU clock speed.
819
 
820
        * include/sh_regs.h:
821
        * include/hal_intr.h (HAL_INTERRUPT_SET_LEVEL):
822
        Level handling for 7709a added.
823
 
824
        * src/vectors.S: ISR mask tables enabled per CPU variant, not
825
        target.
826
 
827
2000-03-30  Jesper Skov  
828
 
829
        * include/hal_intr.h: Added 7709a interrupt definitions.
830
 
831
2000-03-20  Jesper Skov  
832
 
833
        * include/sh_regs.h: Add definitions for RTC module.
834
 
835
2000-03-20  Jesper Skov  
836
 
837
        * src/hal_mk_defs.c: Added CYGNUM_HAL_VSR_EXCEPTION_COUNT
838
 
839
2000-03-16  Jesper Skov  
840
 
841
        * include/mod_7709a.h:
842
        * include/mod_7708.h:
843
        * include/sh_regs.h:
844
        Adding new module definitions, conditionally included depending on
845
        chosen CPU implementation. Each CPU defines its own set of
846
        included modules (and module versions).
847
 
848
        * include/hal_cache.h: Get cache specs from CPU module file.
849
 
850
        * cdl/hal_sh.cdl: Added CPU implementation controls.
851
 
852
2000-03-03  Jonathan Larmour  
853
 
854
        * include/sh_stub.h: Make C++ safe
855
 
856
2000-02-28  Jesper Skov  
857
 
858
        * src/vectors.S:
859
        * src/hal_mk_defs.c:
860
        * src/context.S:
861
        * include/hal_arch.h:
862
        * cdl/hal_sh.cdl:
863
        Added hal_mk_defs allowing assembly to use C symbols.
864
        Cleaned up setjmp/longjmp structure.
865
 
866
        * include/arch.inc: Added interrupt macros.
867
        * src/vectors.S: Leave interrupt enable to interrupt_end, ensuring
868
        proper use of interrupt_stack. Use range-checking instead of
869
        counter for switches to interrupt_stack.
870
        * src/context.S: Save and restore interrupt state on thread
871
        switches.
872
        * include/hal_arch.h: Set thread initial SR state to allow
873
        interrupts.
874
 
875
2000-02-18  Jesper Skov  
876
 
877
        * src/context.S: Fix comment character.
878
 
879
2000-02-16  Jesper Skov  
880
 
881
        * cdl/hal_sh.cdl:
882
        * include/basetype.h:
883
        Added LE support.
884
 
885
2000-02-15  Jesper Skov  
886
 
887
        * src/vectors.S: Leave vector initialization to platform. Get rid
888
        of stubs startup type.
889
 
890
        * src/sh.ld: Define hal_vsr_table address.
891
 
892
        * include/hal_intr.h: provide CYGNUM_HAL_VSR_EXCEPTION_COUNT.
893
 
894
2000-02-02  Jesper Skov  
895
 
896
        * src/sh.ld: Fix typo.
897
 
898
2000-01-28  Gary Thomas  
899
 
900
        * src/sh.ld: Add support for network package.
901
 
902
2000-01-24  Jesper Skov  
903
 
904
        * src/vectors.S (__interrupt_stack): Remove stubs config check for
905
        CYGIMP_HAL_COMMON_INTERRUPTS_USE_INTERRUPT_STACK.
906
 
907
1999-12-21  Jonathan Larmour  
908
 
909
        * include/hal_cache.h: Rename CYG_HAL_SH_SH7708 ->
910
        CYGPKG_HAL_SH_EDK7708
911
 
912
        * include/sh_regs.h: Likewise
913
 
914
        * src/vectors.S: Likewise
915
        Rename CYG_HAL_USE_ROM_MONITOR_GDB_STUBS ->
916
        CYGSEM_HAL_USE_ROM_MONITOR_GDB_stubs
917
 
918
1999-12-02  John Dallaway  
919
 
920
        * cdl/hal_sh.cdl:
921
 
922
        Use the  token in custom rules.
923
 
924
1999-12-01  John Dallaway  
925
 
926
        * cdl/hal_sh.cdl:
927
 
928
        Use the  token in custom rules.
929
 
930
1999-11-04  John Dallaway  
931
 
932
        * cdl/hal_sh.cdl:
933
 
934
        Output custom rule dependency information to .deps files in
935
        the current directory.
936
 
937
        Dispense with the need to create a 'src' sub-directory.
938
 
939
1999-10-29  Jesper Skov  
940
 
941
        * cdl/hal_sh.cdl: Added.
942
 
943
1999-09-01  Jesper Skov  
944
 
945
        * include/sh_regs.h: Added watchdog registers.
946
 
947
1999-07-30  Jesper Skov  
948
 
949
        * src/sh_stub.c (__single_step): Added handling of bt/s and bf/s.
950
 
951
1999-07-12  Jesper Skov  
952
 
953
        * src/sh_stub.c: Use UCOND_RBR_MASK instead of BRAF_MASK.
954
 
955
1999-07-05  Jesper Skov  
956
 
957
        * src/sh_stub.c (__single_step): And of bsrf.
958
 
959
1999-07-02  Jesper Skov  
960
 
961
        * src/sh_stub.c (__single_step): Added handling of braf
962
        instruction.
963
 
964
1999-06-25  Jesper Skov  
965
 
966
        * src/vectors.S (__startup_stack): Increased size to allow the
967
        twothreads example to run.
968
 
969
1999-06-24  Jesper Skov  
970
 
971
        * src/vectors.S: CYGDBG_HAL_DEBUG_GDB_INCLUDE_STUBS overrides use
972
        of stubs in ROM.
973
 
974
        * src/sh_stub.c (__computeSignal): Renamed _IO_ vectors to _DATA_.
975
 
976
1999-06-21  Jesper Skov  
977
        PR 20200
978
        * include/hal_intr.h: Renamed _IO_ error vectors to _DATA_.
979
 
980
        * src/vectors.S: Increased size of startup stack.
981
 
982
1999-06-08  Jesper Skov  
983
 
984
        * include/pkgconf/hal_sh.h: Added CDL for
985
        CYGHWR_HAL_SH_HANDLE_SPURIOUS_INTERRUPTS.
986
 
987
        * src/vectors.S:
988
        * include/hal_intr.h:
989
        Decode exceptions before the VSR level.
990
 
991
1999-06-02  Jesper Skov  
992
 
993
        * src/vectors.S: Cleaned up the interrupt entry/exit code.
994
        Made it have consistent register-bank usage.
995
 
996
1999-06-01  Jesper Skov  
997
 
998
        * src/context.S (hal_thread_switch_context): Save PC when thread
999
        debugging enabled.
1000
 
1001
        * src/vectors.S:
1002
        * include/hal_arch.h:
1003
        * include/sh.inc:
1004
        Added handling of VBR and GBR.
1005
 
1006
        * include/hal_intr.h:
1007
        * src/vectors.S:
1008
        Added proper handling of nested interrupts.
1009
 
1010
        * src/vectors.S (__interrupt): Added handling of spurious event=0
1011
        interrupts.
1012
 
1013
1999-05-31  Jesper Skov  
1014
 
1015
        * src/vectors.S: Fixed comment.
1016
 
1017
        * include/sh_sci.inl (cyg_hal_gdb_isr): Alter CR using the proper
1018
        mask.
1019
 
1020
        * include/hal_cache.h (HAL_UCACHE_WRITE_MODE): Fixed typo.
1021
 
1022
        * src/hal_misc.c (cyg_hal_enable_caches): Enable write-back mode.
1023
 
1024
        * src/sh_stub.c (__computeSignal):
1025
        Added proper cause->signal decoding.
1026
 
1027
        * src/sh_stub.c:
1028
        * src/hal_misc.c:
1029
        * include/hal_intr.h:
1030
        * include/hal_arch.h:
1031
        Cleaned up some FIX MEs.
1032
 
1033
        * include/sh_regs.h: Added CYGARC_REG_SCSSR_CLEARMASK.
1034
 
1035
1999-05-28  Jesper Skov  
1036
 
1037
        * include/hal_arch.h:
1038
        * src/vectors.S:
1039
        Fixed stack size macros.
1040
 
1041
1999-05-27  Jesper Skov  
1042
 
1043
        * include/hal_cache.h: Include io and register header files.
1044
 
1045
        * include/hal_intr.h:
1046
        * src/vectors.S (_hal_interrupt_stack_call_pending_DSRs):
1047
        Added DSR-calls-on-interrupt-stack support.
1048
 
1049
1999-05-27  Jesper Skov  
1050
 
1051
        * include/hal_cache.h: Force cache macros to use registers, or
1052
        they fail when compiled without optimization.
1053
 
1054
1999-05-26  Jesper Skov  
1055
 
1056
        * include/hal_intr.h:
1057
        Fix asm constraints.
1058
 
1059
        * src/vectors.S: Fixed cyg_instrument call.
1060
        Added forgotten delay-slot nop after bra.
1061
 
1062
1999-05-26  Jesper Skov  
1063
 
1064
        * include/sh_regs.h: Added some more baud rate values.
1065
 
1066
1999-05-25  Jesper Skov  
1067
 
1068
        * src/vectors.S: Get ISR count from hal_intr.h.
1069
        Define regions of interrupt/exception handlers that are debugging
1070
        safe.
1071
 
1072
        * include/hal_intr.h: Split in two parts - top is assembly safe.
1073
 
1074
1999-05-24  Jesper Skov  
1075
 
1076
        * src/hal_misc.c (cyg_hal_enable_caches): Disable writeback for
1077
        now.
1078
 
1079
        * include/hal_cache.h:
1080
        Fixed typos and compiler warnings.
1081
 
1082
        * src/hal_misc.c:
1083
        Renamed BCACHE to U(nified)CACHE.
1084
 
1085
1999-05-24  Jesper Skov  
1086
 
1087
        * include/sh_regs.h: Added cache register definitions.
1088
 
1089
        * include/hal_cache.h: Defined cache macros.
1090
 
1091
        * src/hal_misc.c (cyg_hal_enable_caches): Use BCACHE macros.
1092
 
1093
        * src/vectors.S (_start): Call cache init function.
1094
 
1095
        * include/hal_intr.h: Ignore reserved vectors when accessed by ISR
1096
        macros.
1097
        (HAL_CLOCK_INITIALIZE): Removed hack that made clock run at 1/4 speed.
1098
 
1099
        * include/hal_arch.h:
1100
        * src/context.S:
1101
        Implemented setjmp/longjmp functions.
1102
 
1103
1999-05-21  Jesper Skov  
1104
 
1105
        * src/sh.ld: Fix _stext/_etext naming.
1106
 
1107
        * include/hal_intr.h: Added missing interrupt sources.
1108
 
1109
        * include/sh_sci.inl: Added GDB_BREAK support.
1110
 
1111
        * src/vectors.S (__default_interrupt_vsr): Added GDB_BREAK
1112
        support.
1113
        Fixed register overwrite.
1114
        Set SR on exception/interrupt entry to allow breakpoints in
1115
        handlers.
1116
 
1117
1999-05-21  Jesper Skov  
1118
 
1119
        * src/vectors.S: Added support for handling of exceptions by stub
1120
        in ROM.
1121
 
1122
        * include/sh_sci.inl (init_serial): Added comment.
1123
 
1124
        * src/vectors.S (_cyg_interrupt_stack_base, _cyg_interrupt_stack):
1125
        Fixed naming.
1126
 
1127
        * src/context.S: Removed MINIMUM_CONTEXT handling as it was
1128
        flawed. A better version doesn't save many cycles.
1129
 
1130
1999-05-21  Hugo Tyson  
1131
 
1132
        * include/hal_intr.h: Define HAL_INTERRUPT_STACK_BASE and
1133
        HAL_INTERRUPT_STACK_TOP so that stack usage macros in
1134
        kernel/.../stackmon.hxx can work.
1135
 
1136
        * src/vectors.S (cyg_interrupt_stack_base): Define this symbol for
1137
        the interrupt stack and its friend for the stack top so that we
1138
        can publish them with nice names.
1139
 
1140
1999-05-21  Jesper Skov  
1141
 
1142
        * src/vectors.S (__default_exception_vsr): Decode cause of
1143
        exception.
1144
 
1145
        * src/sh_stub.c (__clear_single_step): Let fixup code handle PC
1146
        decrementing.
1147
 
1148
        * include/sh_stub.h: Fix PC after a trap instruction was hit.
1149
 
1150
1999-05-21  Jesper Skov  
1151
 
1152
        * src/vectors.S:
1153
        * include/hal_intr.h:
1154
        Use IMASK to control interrupts rather than BL.
1155
 
1156
        * src/sh_stub.c: Added single step code.
1157
        Don't skip instructions when single stepping.
1158
 
1159
1999-05-20  Jesper Skov  
1160
 
1161
        * src/vectors.S: Fixed errors due to trunk-move cleanup.
1162
        Added counter to debug code. Fixed bug in debug code(!).
1163
        Doubled startup stack size.
1164
 
1165
1999-05-20  Jesper Skov  
1166
 
1167
        * Moved files to CVS trunk.
1168
 
1169
1999-05-19  Jesper Skov  
1170
 
1171
        * src/vectors.S: Fixed comment.
1172
 
1173
        * include/sh_sci.inl: Set speed to 38400 when not RAM startup.
1174
 
1175
        * include/hal_arch.h: Enable interrupts before a trap.
1176
 
1177
1999-05-19  Jesper Skov  
1178
 
1179
        * src/vectors.S (__reset): Added initial jump to get from address
1180
 
1181
 
1182
        * include/sh_regs.h: Added BSC register definitions.
1183
 
1184
1999-05-19  Jesper Skov  
1185
 
1186
        * Most things working now. Will start keeping track of changes.
1187
 
1188
 
1189
1999-04-22  Jesper Skov  
1190
 
1191
        * Set up directory structure.
1192
 
1193
//===========================================================================
1194
// ####GPLCOPYRIGHTBEGIN####
1195
// -------------------------------------------
1196
// This file is part of eCos, the Embedded Configurable Operating System.
1197
// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2009 Free Software Foundation, Inc.
1198
//
1199
// This program is free software; you can redistribute it and/or modify
1200
// it under the terms of the GNU General Public License as published by
1201
// the Free Software Foundation; either version 2 or (at your option) any
1202
// later version.
1203
//
1204
// This program is distributed in the hope that it will be useful, but
1205
// WITHOUT ANY WARRANTY; without even the implied warranty of
1206
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
1207
// General Public License for more details.
1208
//
1209
// You should have received a copy of the GNU General Public License
1210
// along with this program; if not, write to the
1211
// Free Software Foundation, Inc., 51 Franklin Street,
1212
// Fifth Floor, Boston, MA  02110-1301, USA.
1213
// -------------------------------------------
1214
// ####GPLCOPYRIGHTEND####
1215
//===========================================================================

powered by: WebSVN 2.1.0

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