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

Subversion Repositories openrisc_me

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 27 unneback
2003-02-27  Nick Garnett  
2
 
3
        * include/mips-stub.h: Disabled option that makes MIPS32 targets
4
        use 64 bit registers in GDB protocol. The standard GDB does not
5
        support this, only MIPS own version.
6
 
7
2003-01-31  Mark Salter  
8
 
9
        * src/hal_syscall.c (hal_syscall_handler): Let generic syscall code
10
        handle exit.
11
 
12
2003-01-09  Tim Michals  
13
 
14
        * src/hal_misc.c (hal_delay_us): Use HAL_CLOCK_READ instead of inline
15
        asm, to allow for variant/platform HAL packages overriding.
16
 
17
2002-12-12  Bart Veer  
18
 
19
        * include/hal_cache.h: allow for cache flushes etc. where the base
20
        address is not aligned to a cacheline boundary.
21
 
22
2002-08-02  Andrew Lunn 
23
 
24
        * cdl/hal_mips.cdl: Redboot exec command can now be disabled
25
          by CDL
26
 
27
2002-05-17  Jesper Skov  
28
 
29
        * include/hal_intr.h: Fix CYGNUM_HAL_EXCEPTION_MIN definition so
30
        it reflects the FPU configuration.
31
 
32
2002-04-30  Jesper Skov  
33
 
34
        * include/hal_intr.h: Only define decoded FPU vectors if these are
35
        actually used. This allows tests to check for capabilities and do
36
        N/A when appropriate.
37
 
38
2002-04-15  Jonathan Larmour  
39
 
40
        * src/hal_syscall.c (hal_syscall_handler): Add extra sig argument to
41
        __do_syscall.
42
 
43
2002-03-21  Nick Garnett  
44
 
45
        * include/hal_cache.h: Added macros to adjust the size argument to
46
        some of the cache macros to a whole multiple of the cache line
47
        size. Otherwise, for some values of the arguments, we can miss the
48
        last line.
49
 
50
2001-12-17  Jesper Skov  
51
 
52
        * include/hal_arch.h (CYGARC_HAL_GET_RETURN_ADDRESS,
53
        (CYGARC_HAL_GET_RETURN_ADDRESS_BACKUP): Added dummy arguments.
54
 
55
        * src/hal_misc.c (cyg_hal_exception_handler): Fix warning.
56
 
57
2001-12-04  Nick Garnett  
58
 
59
        * src/hal_misc.c: Added hal_arch_program_new_stack() to support
60
        running user programs on a new stack placed at the top of RAM.
61
 
62
        * src/vectors.S: Added hal_program_new_stack function to support
63
        hal_arch_program_new_stack(). This does the actual stack
64
        switching.
65
 
66
        * include/mips-stub.h (NUMREGS):
67
        * include/mips-regs.h (NUM_REGS):
68
        Added test to correctly define these when the target expects the
69
        CP0 registers to be reported to GDB
70
 
71
        * include/hal_arch.h: Added support for fetching CP0 registers in
72
        MIPS64 platforms for GDB. Reorganized the code slightly.
73
 
74
        * cdl/hal_mips.cdl:
75
        Added define_proc to define HAL_ARCH_PROGRAM_NEW_STACK.
76
 
77
2001-11-16  Nick Garnett  
78
 
79
        * src/hal_misc.c (hal_msbit_index): Fixed this function so that it
80
        actually works!
81
 
82
2001-10-24  Nick Garnett  
83
 
84
        * src/vectors.S:
85
        Change behaviour of __default_exception_vsr to only switch to
86
        interrupt stack if we are not already on it. This is now similar
87
        to the way the interrupt VSR operates. This is necessary since it
88
        is possible to take exceptions (such as TLB miss or address error)
89
        while running in the GDB stubs.
90
 
91
        * src/hal_misc.c (cyg_hal_exception_handler): Ensure that PC
92
        planted when catching stub exceptions gets sign extended where
93
        necessary in 64 bit platforms.
94
 
95
2001-10-05  Jesper Skov  
96
 
97
        * include/hal_arch.h: Provide CYGARC_CACHED_ADDRESS() and friends
98
        without casting for use in assembler files.
99
 
100
2001-09-17  Nick Garnett  
101
 
102
        * src/hal_misc.c (hal_delay_us): Rewrote this routine to work
103
        correctly in higher speed CPUs. The counter register counts at
104
        half CPU clock speed. The original ticks calculation could
105
        overflow very easily. For example in a 133MHz CPU, it overflowed
106
        with any argument greater than 32! This is another of those "how
107
        did it ever work?" things.
108
 
109
        * include/hal_arch.h: Added casts to CYGARC_PHYSICAL_ADDRESS() and
110
        friends.
111
 
112
2001-09-07  Nick Garnett  
113
 
114
        * include/mips-stub.h: Returned target_register_t to long long
115
        type for VR4300 target. This is the only platform that does 64bit
116
        register saves/restores, and the GDB registers must be full sized.
117
 
118
        * include/arch.inc: Added option to select correct initial SR
119
        value when the startup is ROMRAM.
120
        Disabled setting of status and config registers when using a ROM
121
        monitor. The monitor should have already set these to appropriate
122
        values.
123
 
124
2001-08-22  Gary Thomas  
125
 
126
        * src/redboot_linux_exec.c:
127
        printf() is no longer a part of RedBoot.  Thus all programs
128
        must use diag_printf() and related functions instead.
129
 
130
2001-08-01  Hugo Tyson  
131
 
132
        * src/vectors.S (restore_state): (see the change below 2001-07-03)
133
        Make the code to keep SR IM bits from the ISR conditional on a CDL
134
        interface so that it is selected on a per-platform or variant basis.
135
 
136
        * cdl/hal_mips.cdl (CYGINT_HAL_MIPS_INTERRUPT_RETURN_KEEP_SR_IM):
137
        New interface to control conditional code.
138
 
139
        * include/hal_intr.h (HAL_ENABLE_INTERRUPTS): Make this (et al)
140
        conditional on CYGHWR_HAL_INTERRUPT_ENABLE_DISABLE_RESTORE_DEFINED
141
        so that the variant HAL can define these insead, in the usual
142
        manner.
143
 
144
2001-07-20  Jonathan Larmour  
145
 
146
        * src/redboot_linux_exec.c: Adjust below change by getting baud
147
        rate, thus allowing for runtime baud rate changes, and no
148
        dependency on platform CDL defines.
149
 
150
2001-07-19  Gary Thomas  
151
 
152
        * src/redboot_linux_exec.c: Define DEFAULT_BAUD.  The supporting
153
        CDL differs from platform to platform, so this define is used to
154
        ameliorate the differences.
155
 
156
2001-07-17  David Woodhouse 
157
 
158
        * src/redboot_linux_exec.c: Add environment stuff to the 'exec'
159
        command, also make it use the entry point from the last 'load'
160
        command if there is one.
161
        Also add '-w' delay option.
162
 
163
2001-07-09  David Woodhouse 
164
 
165
        * src/redboot_linux_exec.c: New 'exec' command for RedBoot, mostly
166
        copied from the SH version, hacked to pass arguments in argc/argv
167
        form as that seems to be what most Linux/MIPS kernels expect to
168
        receive from PMON.
169
        * cdl/hal_mips.cdl: Add necessary magic for the above.
170
 
171
2001-07-03  Hugo Tyson  
172
 
173
        * src/vectors.S (restore_state): When restoring the CPU status
174
        register right at the end of interrupt processing, keep the
175
        current settings of the IM[7:0] bits within the status register.
176
        Depending on platform, these may be used as interrupt masks, so if
177
        an ISR or DSR masks interrupts they must be preserved.  If they
178
        are not used, then this does no harm.
179
        #ifdef'd out for CYG_HAL_MIPS_R3900 anyway 'cos the TX39 does not
180
        use these bits at all.
181
 
182
2001-06-27  Mark Salter  
183
 
184
        * src/vectors.S (_start): Add code to switch from KSEG1 to KSEG0 if
185
        CYGARC_START_FUNC_UNCACHED.
186
 
187
2001-06-27  Hugo Tyson  
188
 
189
        * src/hal_misc.c: Include  for definition of
190
        hal_ctrlc_isr() and hence warnings reduced.
191
 
192
2001-06-19  Mark Salter  
193
 
194
        * include/hal_arch.h: Support saving/restoring CP0 registers for GDB.
195
 
196
        * include/mips-stub.h (NUMREGS): Use different value for mips32.
197
 
198
2001-06-08  Jesper Skov  
199
 
200
        * include/mips.inc (FUNC_START): Added .noreorder.
201
 
202
2001-06-05  Hugo Tyson  
203
 
204
        * include/mips-stub.h: Configuration messing to avoid the need to
205
        add a platform-specific clause for every new 32-as-64-to-GDB
206
        target that we make.  The header can now pick REGSIZE,
207
        target_register_t and so on according to a generic define as well
208
        as specific platform defs.
209
 
210
        * cdl/hal_mips.cdl: Provide interface for the above, so targets
211
        can implement it.  CYGINT_HAL_MIPS_STUB_REPRESENT_32BIT_AS_64BIT
212
 
213
2001-02-27  Chris Morrow  
214
 
215
        * src/vectors.S (hal_zero_bss): Oops, allow for bss being multiple
216
        of block size. And add delay slot.
217
 
218
2001-02-26  Chris Morrow  
219
 
220
        * src/vectors.S (hal_zero_bss): Implemented in assembler for speed.
221
        * src/hal_misc.c (hal_zero_bss): Delete.
222
 
223
2001-02-15  Nick Garnett  
224
 
225
        * src/hal_misc.c: Added option to call hal_ctrlc_isr() in default
226
        ISR when in RedBoot.
227
 
228
2001-02-12  Nick Garnett  
229
 
230
        * include/mips.inc: Added some extra CP0 register names.
231
 
232
2001-02-09  Jesper Skov  
233
 
234
        * src/vectors.S: Small tweak of comments to work around tools problem
235
        with mipsisa32 tools.
236
 
237
2001-01-31  Nick Garnett  
238
 
239
        * include/mips-stub.h: Added prototypes for __is_bsp_syscall() and
240
        hal_syscall_handler().
241
 
242
        * include/hal_arch.h:
243
        Reorganized HAL_SavedRegisters structure to work properly with a
244
        64 bit processor. Fields are now correctly sized, and aligned on
245
        the right boundaries.
246
 
247
        * include/arch.inc:
248
        Added option for variant and platform to supply extra bits to be
249
        added to INITIAL_SR.
250
        Reorganized register save area layout to match changes in
251
        hal_arch.h.
252
        Added macros sva, lva, mvatc0, mvafc0 to transfer 64 bit items to
253
        and from memory/CP0 (*va* is used because most such values are
254
        (virtual) addresses).
255
 
256
        * src/vectors.S: Added use of *va* macros where appropriate.
257
 
258
        * src/mips-stub.c: Added __is_bsp_syscall() function.
259
 
260
        * src/hal_syscall.c: Added this file to support GNUPro system
261
        calls in RedBoot.
262
 
263
        * cdl/hal_mips.cdl: Added hal_syscall.c to compile list.
264
 
265
2001-01-26  Jesper Skov  
266
 
267
        * include/hal_intr.h: Added extern for hal_delay_us.
268
 
269
2001-01-26  Jesper Skov  
270
 
271
        * include/variant.inc: Make hal_intc_decode macro mask the cause
272
        register with the status (interrupt mask) register.
273
 
274
2001-01-25  Jesper Skov  
275
 
276
        * include/arch.inc: Allow hal_intc_decode to be defined by variant
277
        or platform.
278
 
279
2000-12-06  Jesper Skov  
280
 
281
        * include/hal_intr.h (HAL_DELAY_US): Added.
282
        * src/hal_misc.c (hal_delay_us): Added. And fixed to work with an
283
        incrementer that ticks at the pipeline clock rate.
284
 
285
        * include/mips-stub.h: RM7000 is also a 64bit CPU.
286
 
287
2000-12-05  Jonathan Larmour  
288
 
289
        * include/hal_cache.h: IWAY->_IWAY, DWAY->_DWAY for namespace
290
        cleanliness
291
 
292
2000-12-05  Jesper Skov  
293
 
294
        * include/hal_cache.h: Use variant specific method to select cache
295
        WAY.
296
 
297
2000-10-20  Jesper Skov  
298
 
299
        * src/hal_misc.c: Update __mem_fault_handler declaration.
300
 
301
2000-09-15  Jesper Skov  
302
 
303
        * include/hal_intr.h (HAL_DEFAULT_ISR): Fix warning.
304
        (HAL_DEFAULT_ISR): Undo that change.
305
 
306
2000-09-14  Jesper Skov  
307
 
308
        * include/hal_intr.h: Only define _FPE when there's a FPU.
309
 
310
2000-09-13  Jesper Skov  
311
 
312
        * include/hal_intr.h (HAL_VSR_SET_TO_ECOS_HANDLER): Fix compiler
313
        warning.
314
 
315
        * src/vectors.S: Fully decode TLB related exceptions.
316
        * src/hal_misc.c (cyg_hal_exception_handler): Undid below change.
317
 
318
        * src/hal_misc.c (cyg_hal_exception_handler): Base vector
319
        calculation on cause register, not the provided vector value.
320
 
321
2000-09-12  Jesper Skov  
322
 
323
        * include/hal_intr.h: Added definition for decoded FPU
324
        exceptions.
325
 
326
        * src/hal_misc.c (cyg_hal_exception_handler): Decode FPU
327
        exceptions.
328
 
329
2000-09-07  Jesper Skov  
330
 
331
        * include/basetype.h: Removed change from yesterday.
332
 
333
        * include/hal_intr.h (CYGNUM_HAL_EXCEPTION_FPU): Associated to FPE
334
        exceptions.
335
 
336
2000-09-06  Jesper Skov  
337
 
338
        * include/basetype.h: Override the alignment macros for the MIPS
339
        architecture. The MIPS compiler only alows a maximum of 4 bytes
340
        of alignment where as the default is 8
341
 
342
        * include/hal_cache.h (_HAL_ASM_DCACHE_ALL_WAYS): Force d-cache
343
        selection.
344
 
345
2000-09-01  Jonathan Larmour  
346
 
347
        * include/mips-stub.h: No longer need to define
348
        CYGARC_REGSIZE_DIFFERS_FROM_TARGET_REGISTER_T
349
        (CYGARC_SIGN_EXTEND_REGISTERS):
350
 
351
        * include/mips-stub.h: Change vr4300 register sizes to use 32-bit
352
        target_register_t, and tell the generic stub to use sign extension.
353
        Ditto for tx49
354
        * include/hal_cache.h (_HAL_ASM_SET_MIPS_ISA): Don't use pasting
355
        when it doesn't result in a preprocessing token. Just use string
356
        concatenation.
357
 
358
2000-07-21  Drew Moseley  
359
 
360
        * src/vectors.S: Only jump uncached to _start if
361
        CYGARC_START_FUNC_UNCACHED is defined.
362
 
363
2000-07-20  Drew Moseley  
364
 
365
        * include/mips-stub.h: Define CYGARC_REGSIZE_DIFFERS_FROM_TARGET_REGISTER_T
366
        for the MIPS32 targets since GDB needs 64 bit registers regardless of
367
        what size we are really storing.
368
 
369
2000-07-19  Drew Moseley  
370
 
371
        * include/mips-stub.h (CYGARC_SIGN_EXTEND_REGISTERS): Make sure
372
        the stub sign-extends the registers before returning them to GDB.
373
 
374
2000-07-14  Drew Moseley  
375
 
376
        * src/vectors.S: Added hal_reset_vector_first_code and
377
        hal_early_init macros.
378
 
379
        * src/mips-stub.c (__install_breakpoints): Also install any
380
        breakpoints in the list.
381
 
382
        * include/mips-regs.h: Added a few new register definitions.
383
 
384
        * include/hal_intr.h: Added CYGNUM_HAL_EXCEPTION_INTERRUPT.
385
 
386
        * include/hal_arch.h: Added some macros for jumping between cached
387
        and uncached.
388
 
389
        * include/mips-stub.h: Renamed some enums to work around namespace
390
        corruption.  Added breakpoint support in the HAL.
391
 
392
2000-07-14  Drew Moseley  
393
 
394
        * include/arch.inc: Support for mips3264.
395
        * include/mips-stub.h: Ditto.
396
 
397
2000-06-21  Nick Garnett  
398
 
399
        * src/mips-stub.c: Removed use of CYG_LABEL_NAME() and added
400
        underscore to _breakinst.
401
 
402
        * include/basetype.h: Removed definition of CYG_LABEL_NAME().
403
 
404
2000-06-08  Jesper Skov  
405
 
406
        * src/hal_misc.c (hal_arch_default_isr): Removed what's now a
407
        generic C-c check in the common HAL.
408
 
409
        * include/hal_arch.h (CYGARC_HAL_GET_RETURN_ADDRESS): Defined.
410
 
411
2000-06-08  Jesper Skov  
412
 
413
        * include/hal_arch.h (CYGARC_HAL_SAVE_GP, CYGARC_HAL_RESTORE_GP):
414
        Added.
415
 
416
2000-05-25  Jesper Skov  
417
 
418
        * include/basetype.h:
419
        * src/mipsfp.c:
420
        Support FPU double-LE layout in BE mode.
421
 
422
2000-05-24  Jesper Skov  
423
 
424
        * src/mipsfp.c: Also handle doubles in 32bit FPU mode.
425
 
426
2000-05-23  Jesper Skov  
427
 
428
        * include/arch.inc:
429
        * src/vectors.S:
430
        Made exception return safe.
431
 
432
2000-05-22  Jesper Skov  
433
 
434
        * src/vectors.S: Call CTRLC init after stub initialization.
435
 
436
        * cdl/hal_mips.cdl: Only include CTRLC support if not prevented
437
        by platform.
438
 
439
        * include/hal_cache.h: When using 'cache' instruction, hit all
440
        ways, not only way0.
441
 
442
2000-05-18  Jesper Skov  
443
 
444
        * include/hal_io.h: Allow platforms to override IO macro
445
        definitions.
446
 
447
2000-05-16  Jesper Skov  
448
 
449
        * include/hal_intr.h:
450
        * src/vectors.S:
451
        Filter 'break 0x7' (GCC division-by-zero) exceptions out into a
452
        new vector.
453
        Fix typo.
454
 
455
2000-05-15  Jesper Skov  
456
 
457
        * src/vectors.S: Allow warm-start to be treated like cold-start if
458
        platform requires it.
459
 
460
2000-05-11  Jesper Skov  
461
 
462
        * include/mips-stub.h: Added register size for TX49.
463
 
464
2000-05-10  Jesper Skov  
465
 
466
        * include/arch.inc: Force assembler into MIPS3 mode before using
467
        eret.
468
 
469
        * include/basetype.h: Fix comments.
470
 
471
2000-03-20  Jonathan Larmour  
472
 
473
        * include/mips-stub.h: Make C++ safe
474
 
475
        * include/hal_cache.h (_hal_asm_mips_cpp_stringize): Add as a separate
476
        macro because the compiler has got more picky
477
 
478
2000-03-16  Jonathan Larmour  
479
 
480
        * src/vectors.S (_start): Set return address to 0 and unconditionally
481
        jump to cyg_start, so that GDB doesn't get confused with backtraces
482
 
483
2000-03-13  Nick Garnett  
484
 
485
        * src/context.S :
486
        Added jmpbuf_regsize to insulate jumb buffer from changes in
487
        mips_regsize. This will need extra work if we go to a full 64 bit
488
        variant, but for now is the simplest solution to this problem.
489
 
490
2000-02-25  Jonathan Larmour  
491
 
492
        * include/arch.inc: Add lpc and spc macros to save and restore PC
493
        * src/context.S (hal_thread_switch_context): Restore RA into PC
494
        location in context so that thread debugging works
495
 
496
2000-02-23  Jonathan Larmour  
497
 
498
        * src/hal_misc.c (hal_idle_thread_action):
499
        CYG_HAL_MIPS_SIM -> CYGPKG_HAL_MIPS_SIM
500
        CYG_HAL_MIPS_JMR3904 -> CYGPKG_HAL_MIPS_TX39_JMR3904
501
 
502
        * include/arch.inc: CYG_HAL_MIPS_SIM -> CYGPKG_HAL_MIPS_SIM
503
 
504
2000-02-16  Jesper Skov  
505
 
506
        * cdl/hal_mips.cdl: removed fix me.
507
 
508
2000-01-14  Nick Garnett  
509
 
510
        * include/hal_arch.h:
511
        * include/arch.inc:
512
        * src/vectors.S:
513
        * src/context.S:
514
        Several fixes to allow the GPRs to be saved
515
        and restored as 64 bit values on some architectures. This is not
516
        full 64 bit support since it only covers the GPRs, HI and LO,
517
        there is more to be done in the CP0 registers (however it is a
518
        start).
519
 
520
1999-12-21  Jonathan Larmour  
521
 
522
        * src/vectors.S (__default_exception_vsr): Rename
523
        CYG_HAL_USE_ROM_MONITOR_CYGMON -> CYGSEM_HAL_USE_ROM_MONITOR_CygMon
524
        Rename CYG_HAL_ROM_MONITOR -> CYGSEM_HAL_ROM_MONITOR
525
 
526
        * src/hal_misc.c (hal_default_isr): Rename
527
        CYG_HAL_USE_ROM_MONITOR_CYGMON ->
528
        CYGSEM_HAL_USE_ROM_MONITOR_CygMon
529
 
530
        * include/arch.inc: Rename CYG_HAL_USE_ROM_MONITOR ->
531
        CYGSEM_HAL_USE_ROM_MONITOR
532
 
533
1999-12-20  John Dallaway  
534
 
535
        * cdl/hal_mips.cdl:
536
 
537
        Fix syntax error.
538
 
539
1999-12-17  Jonathan Larmour  
540
 
541
        * src/mipsfp.c (flt2reg): New inline function to convert between
542
        float union and register type
543
        (reg2flt): Likewise in reverse
544
        (cyg_hal_mips_process_fpe): Handle endianness correctly using the above
545
        functions. Avoid possible aliasing problems with the compiler. Ensure
546
        values are zeroed with the correct sign. Check for denormalized operands
547
        for all remaining FPU opcodes.
548
 
549
        * src/hal_misc.c (cyg_hal_exception_handler): Allow handling of
550
        unimplemented operation FPU exceptions to be configurable
551
        * include/pkgconf/hal_mips.h: Provide
552
        CYGSEM_HAL_MIPS_EMULATE_UNIMPLEMENTED_FPU_OPS to do this
553
        * cdl/hal_mips.cdl: Likewise
554
 
555
        All the above required for cases 102817 and 102820
556
 
557
1999-12-15  Jonathan Larmour  
558
 
559
        * include/hal_intr.h (CYGNUM_HAL_EXCEPTION_COUNT): Ensure you can
560
        handle FPU exceptions if present
561
        Reported in case 102817
562
 
563
1999-12-02  John Dallaway  
564
 
565
        * cdl/hal_mips.cdl:
566
 
567
        Use the  token in custom rules.
568
 
569
1999-12-01  John Dallaway  
570
 
571
        * cdl/hal_mips.cdl:
572
 
573
        Use the  token in custom rules.
574
 
575
1999-11-04  John Dallaway  
576
 
577
        * cdl/hal_mips.cdl:
578
 
579
        Output custom rule dependency information to .deps files in
580
        the current directory.
581
 
582
        Dispense with the need to create a 'src' sub-directory.
583
 
584
1999-11-04  Nick Garnett  
585
 
586
        * src/vectors.S: Added code in reset vector to reset the config0
587
        register to a known state. This is because on some MIPS variants
588
        the K0 field comes up in an undefined state.
589
        [Later] Moved this code to just work in the case of a cold boot.
590
        NMIs and warm boots should leave it as it was.
591
 
592
1999-11-02  Jesper Skov  
593
 
594
        * cdl/hal_mips.cdl: Added.
595
 
596
1999-10-29  Nick Garnett  
597
 
598
        * include/pkgconf/hal_mips.h: Added condition to set a
599
        MIPS-private option (CYGDBG_HAL_MIPS_DEBUG_GDB_CTRLC_SUPPORT) if
600
        either CYGDBG_HAL_DEBUG_GDB_CTRLC_SUPPORT or
601
        CYGDBG_HAL_DEBUG_GDB_BREAK_SUPPORT are defined. In the MIPS HAL
602
        these are implmented with the same code.
603
 
604
        * src/hal_misc.c: Changed CYGDBG_HAL_DEBUG_GDB_CTRLC_SUPPORT to
605
        CYGDBG_HAL_MIPS_DEBUG_GDB_CTRLC_SUPPORT.
606
 
607
        * src/vectors.S: Space for old SP after switching to interrupt
608
        stack must be 8 bytes to preserve alignment of SP. Otherwise any
609
        nested interrupts or exceptions will get an address error
610
        exception if the FP regs are saved, which then recurses.
611
        Changed CYGDBG_HAL_DEBUG_GDB_CTRLC_SUPPORT to
612
        CYGDBG_HAL_MIPS_DEBUG_GDB_CTRLC_SUPPORT.
613
 
614
        * src/mips-stub.c (__is_breakpoint_function): Fixed comparison
615
        between PC register and label. On 64 bit CPUs these are both 32
616
        bit values in 64 bit types, but the way that they are generated,
617
        the PC is zero extended and the label is sign extended. This
618
        caused them to always differ. Fixed by casting label to unsigned
619
        long before widening.
620
 
621
1999-10-22  Nick Garnett  
622
 
623
        * src/vectors.S: Replaced ifdef with call to hal_intc_translate
624
        macro so the behaviour here may be customized by variant or
625
        platform HALs.
626
 
627
        * include/arch.inc: Added default implementations of
628
        hal_intc_translate macro.
629
 
630
1999-10-05  Nick Garnett  
631
 
632
        * include/basetype.h: Made definition of CYG_BYTEORDER dependent
633
        on definition of CYGPKG_HAL_MIPS_[L|M]SBFIRST.
634
 
635
1999-09-17  Jonathan Larmour  
636
 
637
        * src/vectors.S (__default_exception_vsr):
638
        Rename exception_handler()->cyg_hal_exception_handler()
639
        After all, we will just do a jump rather than a jal into
640
        cyg_hal_exception_handler()
641
        (restore_state): Make the change below (by Hugo) be conditional
642
        on CYG_HAL_USE_ROM_MONITOR_CYGMON.
643
        Add explanatory comment about the additions for Cygmon
644
 
645
        * src/hal_misc.c (hal_default_isr): Use new format HAL_DIAG_IRQ_CHECK()
646
        and check return code is negative; if so, return
647
        (cyg_hal_exception_handler): Rename from exception_handler()
648
        Now return cyg_uint32, but default to returning 0 always
649
 
650
1999-09-16  Hugo Tyson  
651
 
652
        This set of changes with matching ones in jmr3904 comes from Mark
653
        Salter's work to make jmr3904 CygMon talk Ethernet.
654
 
655
        * src/vectors.S (restore_state): Call CygMon for exceptions or
656
        unhandled interrupts if CYG_HAL_USE_ROM_MONITOR.  This is why the
657
        return value from the ISR is preserved.  Don't fully understand
658
        this.
659
 
660
        * src/hal_misc.c (hal_default_isr): Call into hal_diag via
661
        HAL_DIAG_IRQ_CHECK if it's defined and CYG_HAL_USE_ROM_MONITOR.
662
        This lets CygMon check for network interrupts &c.
663
 
664
1999-09-09  Nick Garnett  
665
 
666
        * include/arch.inc:
667
        Moved code to initialize cache out to variant header since it is
668
        variant specific.
669
 
670
1999-09-08  Jonathan Larmour  
671
 
672
        * src/hal_misc.c (exception_handler): Catch exceptions that come from
673
        within GDB stubs and return if that's what the stubs intend
674
 
675
1999-08-19  Nick Garnett  
676
 
677
        * include/hal_io.h: Added include of plf_io.h.
678
 
679
1999-08-10  Jonathan Larmour  
680
 
681
        * src/mipsfp.c (cyg_hal_mips_process_fpe): CYG_REPORT_FUNCNAMETYPE()
682
        must be first in a C file
683
 
684
1999-07-15  Jonathan Larmour  
685
 
686
        * include/arch.inc (hal_fpu_save_caller): Save fcr31 first as
687
        recommended by user's manual
688
        (hal_fpu_load_caller): Similarly restore fcr31 last
689
 
690
        Rename CYG_HAL_MIPS_FSR_INIT to CYG_HAL_MIPS_FCSR_INIT since that's
691
        closer to its documented name
692
 
693
        * include/mips-regs.h:
694
        Add floating point register definitions, and bitfields/masks for FCR31
695
        in particular
696
 
697
        * src/mips-stub.c (__single_step):
698
        Enable FP branch support if the hardware has an FPU.
699
 
700
        Change register access to FCR using HAL macro names from mips-regs.h
701
 
702
        When comparing branch tests with 0, cast the result of get_register()
703
        to int so that it works on 64-bit MIPS targets even in 32-bit mode,
704
        when GDB still insists REG_SIZE must be 8 (in which case negative
705
        results would otherwise go positive)
706
 
707
        * src/mipsfp.c: New file to emulate unimplemented MIPS FP operations
708
        * src/PKGconf.mak (COMPILE): compile it
709
 
710
        * src/hal_misc.c (exception_handler): If we have an FPU and get an FP
711
        exception, call cyg_hal_mips_process_fpe() from mipsfp.c to process
712
        it
713
 
714
 
715
1999-07-09  Jonathan Larmour  
716
 
717
        * include/mips.inc:
718
        * include/arch.inc:
719
        * src/vectors.S:
720
        Rename "cache" register to "cachectrl" to prevent confusion with
721
        the "cache" instruction.
722
        For symmetry therefore also rename mipsreg_cache to mipsreg_cachectrl
723
 
724
        * include/arch.inc (hal_cache_init):
725
        Invalidate caches at startup
726
 
727
        * include/hal_cache.h:
728
        Allow cache invalidation when cache disabled
729
        Add _HAL_ASM_SET_MIPS_ISA() to allow use of cache macros in code
730
        compiled with a MIPS ISA below 3
731
 
732
1999-06-25  Nick Garnett  
733
 
734
        * include/arch.inc:
735
        * include/hal_arch.h:
736
        Added initializer for FPU FSR register.
737
 
738
1999-06-22  Nick Garnett  
739
 
740
        * src/hal_misc.c (hal_default_isr): When chaining, always try the
741
        ctrlc ISR, the passed-in vector number can be bogus.
742
 
743
1999-06-18  Nick Garnett  
744
 
745
        * src/hal_misc.c:
746
        Added cyg_hal_clock_period variable.
747
 
748
        * include/hal_intr.h:
749
        Modified HAL_CLOCK_LATENCY() macro to do the right thing.
750
        Added cyg_hal_clock_period variable.
751
 
752
        * include/hal_cache.h: Modified implementations of cache macros to
753
        only do anything if the appropriate cache is enabled.
754
 
755
1999-06-17  Nick Garnett  
756
 
757
        * src/vectors.S: Added code to discriminate different entry
758
        conditions to the reset vector. Added code to translate an NMI
759
        into a standard exception and added a new vector in the VSR table
760
        for it.
761
        Made above code not be present in RAM. Tidied away some debug
762
        code.
763
 
764
1999-06-11  Jonathan Larmour  
765
 
766
        * src/hal_misc.c: Make sure all symbol addresses are given an
767
        appropriate type that they won't be relocated relative to $gp
768
        Fix for CR 100800
769
 
770
1999-06-10  Nick Garnett  
771
 
772
        * include/hal_arch.h: Added macros to copy FPU registers between
773
        HAL and GDB register save states.
774
 
775
1999-06-08  Nick Garnett  
776
 
777
        * src/vectors.S: Dummy __gccmain did not have a delay slot after
778
        the "jr ra".
779
 
780
        * include/hal_arch.h: Make value of CYGNUM_HAL_STACK_SIZE_TYPICAL
781
        always be greater than CYGNUM_HAL_STACK_SIZE_MINIMUM.
782
 
783
1999-06-02  Jonathan Larmour  
784
 
785
        * src/hal_misc.c (cyg_hal_invoke_constructors):
786
        Rework for new constructor scheme for new compilers. Should work
787
        with old compilers too.
788
 
789
1999-05-28  Nick Garnett  
790
 
791
        * src/vectors.S:
792
        Removed references to CYG_HAL_STARTUP_STUBS.
793
        Removed some defunct code.
794
 
795
        * include/hal_cache.h (HAL_ICACHE_INVALIDATE_ALL): Fixed typo.
796
 
797
1999-05-27  Nick Garnett  
798
 
799
        * src/vectors.S:
800
        Move call to hal_diag_intr_start to a more useful place.
801
        Added a save of the current state pointer to memory for ctrl-c
802
        support. Ensure that exceptions are enabled before calling the ISR
803
        to allow breakpoints to function.
804
 
805
        * src/mips-stub.c: Imported asynchronous interrupt support from
806
        libstub/cygmon.
807
 
808
        * include/hal_intr.h: Added HAL_DEFAULT_ISR to contain the name of
809
        the default ISR.
810
 
811
        * src/hal_misc.c: Added code to call HAL_CTRLC_ISR to default ISR
812
        if it is enabled. Added some (disabled) debug code.
813
 
814
        * include/hal_cache.h: Added default implementation of
815
        HAL_DCACHE_IS_ENABLED(). Made use of it in some cache macros.
816
        Also fixed some typos in some macros.
817
 
818
1999-05-21  Hugo Tyson  
819
 
820
        * include/hal_intr.h: Define HAL_INTERRUPT_STACK_BASE and
821
        HAL_INTERRUPT_STACK_TOP so that stack usage macros in
822
        kernel/.../stackmon.hxx can work.
823
 
824
        * src/vectors.S (cyg_interrupt_stack_base): Define this symbol for
825
        the interrupt stack and its friend for the stack top so that we
826
        can publish them with nice names.
827
 
828
1999-05-21  Nick Garnett  
829
 
830
        * src/vectors.S:
831
        Rationalized use of "at" and "noat" setting.
832
        Made use of "lar" where necessary.
833
 
834
        * src/mips-stub.c (__install_breakpoints): Added cache flushes to
835
        ensure that the just-set breakpoint is migrated to main memory and
836
        will be fetched by the instruction cache.
837
 
838
        * src/context.S:
839
        Rationalized use of "at" and "noat" setting.
840
 
841
        * include/arch.inc:
842
        Added initial value for the config0 register and added code to set
843
        it to hal_cpu_init.
844
        Added default "lar" macro.
845
 
846
1999-05-16  Gary Thomas  
847
 
848
        * include/hal_intr.h (HAL_INTERRUPT_STACK_CALL_PENDING_DSRS):
849
        Add macro for new DSR handling mechanism (was override of a
850
        "weak" symbol in kernel).
851
 
852
1999-05-13  Nick Garnett  
853
        The following have been merged from a branch:
854
 
855
    1999-05-11  Nick Garnett  
856
 
857
        * include/hal_arch.h:
858
        * include/hal_intr.h:
859
        * include/hal_cache.h:
860
        * include/arch.inc:
861
        Changed references to "imp" and "implementation" to "var" and
862
        "variant" respectively. These are better names for these files and
863
        functions.
864
 
865
        * src/vectors.S:
866
        Removed or disabled some development/debug code.
867
        Same imp->var changes as above.
868
 
869
    1999-05-06  Nick Garnett  
870
 
871
        * src/vectors.S: Added call to hal_cpu_except_enable in
872
        __default_exception_vsr to re-enable nested exceptions.
873
 
874
        * src/mips-stub.c: Use _registers[X] rather that register[X] for
875
        accessing CPU registers, since the former may point to per-thread
876
        register sets while the latter only refers to the current trap
877
        register set.
878
 
879
        * include/arch.inc: Added hal_cpu_except_enable macro to
880
        (re-)enable exception processing and disable interrupts. This is
881
        necessary if we are to allow nested exceptions (like breakpoints
882
        in exception handlers).
883
 
884
    1999-04-29  Nick Garnett  
885
 
886
        * src/vectors.S: Reenable interrupts while processing exceptions.
887
        Several temporary kludges to permit us to test ROM code from RAM
888
        under PMON.
889
 
890
        * include/mips.inc: Extended list of CP0 register aliases.
891
 
892
        * include/mips-stub.h: The stubs must behave as if we are on a 64
893
        bit processor when debugging the VR4300, since that is what GDB
894
        expects.
895
 
896
        * include/arch.inc: Added generic version of hal_cache_init to
897
        disable kseg0 caching in config0 register.
898
 
899
        * include/hal_cache.h: Moved dummy addresses used in index
900
        operations to 0x80000000, zero caused MMU exceptions.
901
        Fixed looping bugs in all macros that use them.
902
 
903
    1999-04-28  Gary Thomas  
904
 
905
        [v1_2_2_beta branch]
906
        * src/vectors.S: Add dummy "__gccmain()"
907
 
908
    1999-04-27  Gary Thomas  
909
 
910
        * include/hal_arch.h: Make minimum stack sizes more realistic.
911
        Also fix size of interrupt stack frame when FPU present.
912
 
913
    1999-04-23  Nick Garnett  
914
 
915
        * src/vectors.S: Added support for floating point register save
916
        and restore. Fixed hal_interrupt_stack_call_pending_DSRs to use
917
        hal_cpu_int_merge macro.
918
 
919
        * src/context.S: Added support for floating point register save
920
        and restore. Started some preparations for 64 bit processor
921
        support.
922
 
923
        * include/mips.inc: Added floating point register aliases. Moved
924
        saved state to arch.inc.
925
 
926
        * include/hal_arch.h: Completed support for floating point state
927
        save and restore. Parameterized GDB support macros a little to
928
        enable GDB to work properly.
929
 
930
        * include/arch.inc: Added support for floating point state save
931
        and restore. Moved assembler version of saved state layout here
932
        from mips.inc.
933
 
934
    1999-04-22  Nick Garnett  
935
 
936
        * src/context.S (hal_thread_load_context): Substituted explicit
937
        code to reload the interrupt enable state with a macro.
938
 
939
        * include/hal_cache.h: Removed default implementations of
940
        HAL_[D/I]CACHE_[EN/DIS]ABLE since these were actually TX39
941
        specific. There is aparrently no standard way of implementing
942
        these function in the MIPS architecture.
943
 
944
        * include/mips.inc: Added a comment to point out a TX39-only
945
        register.
946
 
947
        * src/vectors.S: Modified hal_interrupt_stack_call_pending_DSRs()
948
        to also call DSRs with interrupts enabled. Returns interrupt state
949
        to original value when finished.
950
        Use hal_cpu_int_ensable macro in place of explicit code in
951
        hal_interrupt_stack_call_pending_DSRs().
952
 
953
    1999-04-21  Nick Garnett  
954
 
955
        * include/arch.inc: Ifdeffed definition of hal_intc_init macro to
956
        allow it to be defined elsewhere. Added default versions of diag
957
        macros.
958
 
959
        * src/vectors.S: Added some low-level diagnostic macros to show
960
        HAL events if there is adequate hardware (such as leds).
961
        Removed interrupt enable/disables in interrupt processing since we
962
        can now go through a thread switch with interrupts disabled.
963
        Ifdeffed ISR tables so they can be defined elsewhere.
964
        Added implementation of hal_interrupt_stack_call_pending_DSRs.
965
        Added calls to implementation and platform init routines.
966
 
967
        * src/hal_misc.c: Many changes to hal_idle_thread_action() to
968
        print or instrument various CPU registers. Left with code to
969
        wiggle an led in the idle loop.
970
        Stripped out TX39 specific code and moved it to plf_misc.c.
971
 
972
        * src/context.S: Added code to save and restore the interrupt mask
973
        state in thread contexts.
974
 
975
        * include/hal_intr.h:
976
        Renamed default interrupts to match the hardware more closely.
977
        Added ifdef around HAL_TRANSLATE_VECTOR() so it can be made
978
        platform/variant specific. Added implementation of
979
        HAL_INTERRUPT_ACKNOWLEDGE().
980
 
981
        * include/hal_arch.h (HAL_THREAD_INIT_CONTEXT): Aligned the
982
        intitial stack pointer to 16 byte boundary, added an initial value
983
        for the status register.
984
 
985
        * include/arch.inc: Added some nops to eret macros.
986
 
987
    1999-04-13  John Dallaway  
988
 
989
        * src/mips.ld: Migrate global MIPS linker script to individual
990
        MIPS variant directories
991
 
992
1999-04-30  Hugo Tyson  
993
 
994
        Merge the following changes from the 1.2.1 release branch,
995
        but without any CDL for CYGDBG_HAL_MIPS_INSTALL_CTRL_C_ISR,
996
        it is always on.
997
 
998
    1999-04-30  Jesper Skov  
999
        * src/hal_misc.c: Added vector decoding to the below.
1000
    1999-04-30  Hugo Tyson  
1001
        * src/hal_misc.c (hal_init_ctrlc_intr): Chain onto the old value
1002
        of the ISR when attaching the ctrl-c ISR; this allows chained
1003
        interrupts to work (otherwise a stack-wrecking interrupt loop
1004
        occurs).
1005
    1999-04-29  Hugo Tyson  
1006
        * include/pkgconf/hal_tx39.h (CYGDBG_HAL_MIPS_INSTALL_CTRL_C_ISR):
1007
        New config option, on by default.
1008
        * src/hal_misc.c (hal_ctrlc_isr): Enable these features on
1009
        CYGDBG_HAL_MIPS_INSTALL_CTRL_C_ISR new config option.
1010
 
1011
1999-04-28  Bart Veer  
1012
 
1013
        * src/PKGconf.mak:
1014
        Remove the -n argument to tail, it does not appear to be required
1015
        on any supported host and causes problems with some
1016
        implementations of tail.
1017
 
1018
1999-04-20  Jonathan Larmour  
1019
 
1020
        * include/hal_intr.h: Don't sync TRR if platform sim - it doesn't need
1021
        it
1022
 
1023
        * include/pkgconf/hal_tx39.h:
1024
        Allow CYGARC_TX39_PR19846 to override
1025
        CYGHWR_HAL_MIPS_TX3904_TRR_REQUIRES_SYNC so that we can do something
1026
        sensible in the simulators
1027
 
1028
        Related to PR 19846
1029
 
1030
1999-04-15  Jonathan Larmour  
1031
 
1032
        * src/tx39.ld: Define __bss_end at the end of the BSS
1033
        * src/hal_misc.c (hal_zero_bss): Stop at __bss_end rather than _end
1034
        when clearing BSS
1035
        These fix PR 19750
1036
 
1037
1999-04-15  Jonathan Larmour  
1038
 
1039
        * src/hal_misc.c:
1040
        * src/vectors.S:
1041
        Separate parts of cyg_hal_invoke_constructors() out into new functions
1042
        cyg_hal_enable_caches() and cyg_hal_debug_init() so that
1043
        cyg_hal_invoke_constructors() can be called again safely if
1044
        necessary
1045
        Related fix to that of PR19642
1046
 
1047
1999-04-14  Jonathan Larmour  
1048
 
1049
        * src/PKGconf.mak (EXTRAS): Don't generate extras.o here any more
1050
        But do define EXTRAS every time for the linker script
1051
 
1052
1999-04-13  Jonathan Larmour  
1053
 
1054
        * include/hal_intr.h (HAL_CLOCK_READ):
1055
        Add workaround for tx39 bug - needs to sync and wait for the
1056
        write buffer to clear before reading the clock.
1057
        Submitted by akira.yokosawa@toshiba.co.jp
1058
 
1059
        * include/pkgconf/hal_tx39.h
1060
        (CYGHWR_HAL_MIPS_TX3904_TRR_REQUIRES_SYNC): Define this by default
1061
        to implement above
1062
 
1063
1999-04-12  Jonathan Larmour  
1064
 
1065
        * include/hal_intr.h (HAL_VSR_SET_TO_ECOS_HANDLER): Added.
1066
        (HAL_VSR_SET): Cast types to CYG_ADDRESS to prevent warnings
1067
 
1068
        Part of fix for PRs 19731/19607
1069
 
1070
1999-04-09  Jesper Skov  
1071
 
1072
        * src/mips-stub.c:
1073
        Moved get_register and put_register to hal_stub.c.
1074
 
1075
1999-04-08  John Dallaway  
1076
 
1077
        * src/*.ld: Use double underscore substitution for period
1078
        character in SECTION_* macro names (PR 19787)
1079
 
1080
1999-04-08  John Dallaway  
1081
 
1082
        * src/*.ld: Revised SECTION_* macro arguments to
1083
        avoid padded output sections (PR 19787)
1084
 
1085
1999-03-31  Nick Garnett  
1086
 
1087
        * include/hal_cache.h: Added include of hal.h and a test that a
1088
        valid set of macros have been added.
1089
        Also moved address used in HAL_DCACHE_INVALIDATE_ALL() to
1090
        0x9fc00000, which is the cached ROM space.
1091
 
1092
1999-03-24  Nick Garnett  
1093
 
1094
        * src/vectors.S:
1095
        Added options to allow different settings for DRAM initialization.
1096
        Fixed some ifdef bugs.
1097
 
1098
        * src/hal_misc.c (cyg_hal_invoke_constructors):
1099
        Added ifdefs to control enabling and disabling of timeout
1100
        exceptions.
1101
 
1102
        * include/pkgconf/hal_tx39.h:
1103
        Added translations from the user friendly CPU speed settings into
1104
        the real CPU frequencies in Hz.
1105
 
1106
        * include/hal_intr.h:
1107
        Added HAL_TX39_DEBUG_TOE_ENABLE() and ...DISABLE, to switch
1108
        timeout exceptions on and off.
1109
 
1110
1999-03-23  Nick Garnett  
1111
 
1112
        * include/hal_arch.h:
1113
        Modified stack size definitions to be more accurate.
1114
 
1115
1999-03-22  Jonathan Larmour  
1116
 
1117
        * include/mips-regs.h: Update copyright
1118
 
1119
        * include/mips-stub.h: Update copyright
1120
 
1121
        * src/mips-stub.c: Update copyright
1122
 
1123
1999-03-22  Hugo Tyson  
1124
 
1125
        * include/hal_arch.h:
1126
        Use CYGNUM_HAL_STACK_SIZE_TYPICAL for the stack size instead of
1127
        CYGNUM_HAL_MINIMUM_STACK_SIZE.
1128
 
1129
1999-03-17  Jonathan Larmour  
1130
 
1131
        * src/hal_misc.c (cyg_hal_user_break): Remove #warning - it doesn't
1132
        really provide any useful info, and may unnecessarily worry a user
1133
        since it fires in normal situations
1134
 
1135
1999-03-17  John Dallaway  
1136
 
1137
        * src/PKGconf.mak: Remove dependence on echo '-e' switch.
1138
 
1139
1999-03-16  Nick Garnett  
1140
 
1141
        * src/vectors.S: Removed definition of idle thread stack.
1142
 
1143
1999-03-15  Nick Garnett  
1144
 
1145
        * include/hal_cache.h:
1146
        Changed implementation of HAL_DCACHE_INVALIDATE_ALL() to read from
1147
        ROM space rather than RAM. This fixes PR 19510.
1148
 
1149
1999-03-12  Nick Garnett  
1150
 
1151
        * src/vectors.S: Modified ROMC and SCS settings in line with
1152
        Toshiba's suggestions for compatibility with other CPU variants.
1153
 
1154
1999-03-12  Gary Thomas  
1155
 
1156
        * include/hal_arch.h: Add definition for 'CYGNUM_HAL_MINIMUM_STACK_SIZE'
1157
 
1158
1999-03-11  Nick Garnett  
1159
 
1160
        * src/hal_misc.c:
1161
        Disabled use of stand-alone ^C detection interrupt. This is now
1162
        done in the serial driver. Added cyg_hal_is_break() and
1163
        cyg_hal_user_break() to detect and provoke ^C processing. These
1164
        are used by the serial driver and will one day interact with the
1165
        BSP/Cygmon/GDB stubs to do the right thing.
1166
 
1167
1999-03-10  Jesper Skov  
1168
 
1169
        * include/hal_intr.h (HAL_INTERRUPT_IN_USE): Added.
1170
 
1171
1999-03-10  Nick Garnett  
1172
 
1173
        * include/pkgconf/hal_tx39.h:
1174
        * src/vectors.S:
1175
        Changed names used to control CPU frequency into something more
1176
        generic. Moved definition into hal_tx39.h from hal_tx39_jmr3904.h.
1177
 
1178
1999-03-09  Jesper Skov  
1179
        PR 19370
1180
        * src/hal_misc.c (cyg_hal_invoke_constructors): Changed
1181
        constructor loop.
1182
 
1183
1999-03-05  Gary Thomas  
1184
 
1185
        * src/tx39.ld:
1186
        * src/PKGconf.mak: Clean up I/O package changes.
1187
 
1188
1999-03-04  Jonathan Larmour  
1189
 
1190
        * src/tx39.ld:
1191
        Add INPUT(libextras.a), include libextras.a in GROUP() and include
1192
        new __DEVTAB__ section for new device drivers
1193
 
1194
1999-02-25  Nick Garnett  
1195
 
1196
        * src/vectors.S:
1197
        Changed label used to access scheduler lock to one that is not
1198
        mangled by C++. This is intended to make support for interrupt
1199
        handling in non-kernel configurations easier.
1200
        Added some code to initialize DRAM in ROM-only configurations.
1201
 
1202
1999-02-23  Nick Garnett  
1203
 
1204
        * src/hal_misc.c:
1205
        Added support for SIGINT-causing magic breakpoint. This involves
1206
        passing a third, hidden argument to hal_ctrlc_isr() which is a
1207
        pointer to the saved CPU state.
1208
 
1209
        * src/vectors.S:
1210
        Added support for 66MHz part (untested).
1211
        Added support for SIGINT-causing magic breakpoint to allow
1212
        continuation after ^C. This also relies on CYGMON changes.
1213
 
1214
1999-02-20  Jonathan Larmour  
1215
 
1216
        * include/hal_arch.h:
1217
        Rename deliver_exception() -> cyg_hal_deliver_exception()
1218
        QA improvements
1219
 
1220
        * include/hal_intr.h:
1221
        Reorganise vector/interrupt/exception names according to purpose
1222
        QA improvements
1223
 
1224
        * src/hal_misc.c:
1225
        Rename deliver_exception() -> cyg_hal_deliver_exception()
1226
        Rename CYG_VECTOR_SIO_0 -> CYGNUM_HAL_INTERRUPT_SIO_0
1227
 
1228
1999-02-16  Jesper Skov  
1229
 
1230
        * src/vectors.S: Added call to initialize_stub.
1231
 
1232
        * src/mips-stub.c:
1233
        * include/mips-stub.h:
1234
        Cleaned up to only include arch specific stub code.
1235
 
1236
        * include/hal_arch.h (HAL_BREAKPOINT): Added SIM breakpoint code
1237
        from (now dead) jmr3904/.../hal_stub.c.
1238
 
1239
1999-02-05  John Dallaway  
1240
 
1241
        * src/mips.ld: Rename to tx39.ld since this is the target name
1242
        * src/PKGconf.mak: Process tx39.ld instead of mips.ld
1243
 
1244
1999-02-05  John Dallaway  
1245
 
1246
        * src/mips.ld: Add LMA_EQ_VMA macro definition.
1247
 
1248
1999-02-03  Jesper Skov  
1249
 
1250
        * src/hal_misc.c:
1251
        * include/hal_cache.h:
1252
        Moved nested external declarations into top-level scope to avoid
1253
        compiler warnings.
1254
 
1255
1999-02-02  Nick Garnett  
1256
 
1257
        * include/hal_cache.h :
1258
        In HAL_ICACHE_INVALIDATE_ALL() and HAL_ICACHE_INVALIDATE(), fixed
1259
        typos in passing arguments to asm sections.
1260
        Fixes PR 18951.
1261
 
1262
1999-01-26  Hugo Tyson  
1263
 
1264
        * src/mips.ld:
1265
        Add copyright notice.  (Though these files will later be generated
1266
        by a tool and so not copyright, these default setups are.)
1267
 
1268
1999-01-21  Jonathan Larmour  
1269
 
1270
        * src/hal_misc.c (cyg_hal_invoke_constructors):
1271
        Add code to deal with CYGSEM_HAL_STOP_CONSTRUCTORS_ON_FLAG
1272
        Tidy up and update description header
1273
        Shorten needlessly long lines
1274
        Remove all traces of non-CYG_KERNEL_USE_INIT_PRIORITY code
1275
 
1276
1999-01-15  Hugo Tyson  
1277
 
1278
        * src/mips.ld:
1279
        Provide alternate definition of macro SECTION_rom_vectors() for
1280
        RAM startup (CYG_HAL_STARTUP_RAM) so that minimal sim testing
1281
        works.  Note: this is an instance where two definitions (of
1282
        identical "API") of a macro occur in the prototype .ld
1283
        file; the MLT is required not to be confused by this.
1284
 
1285
1999-01-15  John Dallaway  
1286
 
1287
      * src/mips.ld: add section macro for .vsr_table
1288
 
1289
1999-01-13  John Dallaway  
1290
 
1291
      * src/mips.ld: add section macro for .rel.dyn
1292
 
1293
1999-01-13  John Dallaway  
1294
 
1295
      * src/mips.ld: new linker script for MLT
1296
      * src/PKGconf.mak: add mips.ld rules for MLT
1297
 
1298
1999-01-13  Gary Thomas  
1299
 
1300
        * include/basetype.h: CYG_DOUBLE_BYTEORDER now in 
1301
 
1302
1999-01-12  Gary Thomas  
1303
 
1304
        * include/basetype.h (CYG_DOUBLE_BYTEORDER): Define ordering
1305
        for words within doubles.
1306
 
1307
1999-01-12  Nick Garnett  
1308
 
1309
        * include/hal_cache.h:
1310
        Modified HAL_DCACHE_INVALIDATE_ALL() to correctly touch all cache
1311
        lines twice to ensure that the cache and memory are
1312
        consistent. This is the best we can do without direct support for
1313
        invalidation.
1314
 
1315
        * src/hal_misc.c: Altered call to patch_dbg_syscalls() to pass
1316
        pointer to base of vector rather than a single vector entry.
1317
 
1318
1998-12-15  Jesper Skov  
1319
        PR 18543
1320
 
1321
        * include/hal_cache.h (HAL_DCACHE_INVALIDATE): Fixed variable
1322
        name.
1323
 
1324
1998-12-15  Jesper Skov  
1325
 
1326
        * include/hal_arch.h:
1327
        * src/context.S (hal_setjmp, hal_longjump):
1328
        Added CYGARC definitions for jmpbuf entries.
1329
        Corrected jmpbuf size.
1330
 
1331
1998-12-10  Jesper Skov  
1332
 
1333
        * include/hal_cache.h (HAL_DCACHE_UNLOCK_ALL,
1334
        HAL_ICACHE_UNLOCK_ALL): Added.
1335
 
1336
1998-11-26  Jesper Skov  
1337
 
1338
        * include/mips-regs.h:
1339
        * src/mips-stub.c:
1340
        Added use of CYGARC_HAL_COMMON_EXPORT_CPU_MACROS.
1341
 
1342
1998-11-18  Gary Thomas  
1343
 
1344
        * include/hal_intr.h: Add support for interrupt latency
1345
        measurements, controlled by CYGVAR_KERNEL_COUNTERS_CLOCK_LATENCY.
1346
 
1347
1998-10-27  Jesper Skov  
1348
        PR 18033
1349
 
1350
        * include/hal_intr.h: Replaced CYGIMP_HAL_INTERRUPTS_CHAIN
1351
        with the correct CYGIMP_HAL_COMMON_INTERRUPTS_CHAIN.
1352
 
1353
1998-10-27  Jesper Skov  
1354
        PR 18021
1355
        * src/hal_misc.c (hal_ctrlc_isr): Removed break; to prevent
1356
        compiler error.
1357
 
1358
1998-10-25  Jesper Skov  
1359
 
1360
        * src/mips-stub.c (__build_t_packet): Replaced
1361
        CYGDBG_KERNEL_DEBUG_GDB_THREAD_SUPPORT with
1362
        CYGDBG_HAL_DEBUG_GDB_THREAD_SUPPORT.
1363
        Fixed #endif comment.
1364
 
1365
        * src/hal_misc.c (hal_ctrlc_isr): Replaced
1366
        CYGDBG_KERNEL_DEBUG_GDB_INCLUDE_STUBS with
1367
        CYGDBG_HAL_DEBUG_GDB_INCLUDE_STUBS.
1368
 
1369
        * include/hal_intr.h: Replaced CYGIMP_KERNEL_INTERRUPTS_CHAIN with
1370
        CYGIMP_HAL_INTERRUPTS_CHAIN.
1371
 
1372
1998-10-23  Jesper Skov  
1373
 
1374
        * include/hal_intr.h: Include pkgconf/hal.h.
1375
 
1376
1998-10-16  Bart Veer  
1377
 
1378
        * src/vectors.S (__interrupt_stack):
1379
        Made the interrupt stack size configurable.
1380
 
1381
1998-10-16  Nick Garnett  
1382
 
1383
        * src/hal_misc.c:
1384
        Enabled caches by default.
1385
 
1386
1998-10-14  Nick Garnett  
1387
 
1388
        * src/context.S (hal_thread_switch_context):
1389
        Store copy of R31(RA) in PC slot in register state to keep GDB
1390
        happy.
1391
        * include/hal_arch.h (HAL_THREAD_INIT_CONTEXT):
1392
        Intialize PC slot in register state.
1393
 
1394
        * src/hal_misc.c:
1395
        Altered ifdefs to allow building without kernel present.
1396
 
1397
        * include/mips-stub.h:
1398
        Include generic-stub.h from HAL rather than from kernel.
1399
 
1400
        * src/mips-stub.c:
1401
        Added signal definitions to avoid including signal.h.
1402
 
1403
        * include/hal_intr.h:
1404
        Added implementations of HAL_INTERRUPT_ACKNOWLEDGE() and
1405
        HAL_INTERRUPT_SET_LEVEL().
1406
 
1407
1998-10-13  Jesper Skov  
1408
 
1409
        * src/hal_misc.c: Use GDB array rather than HAL_SavedRegisters
1410
        structure. Rely on generic stub to pack/unpack the array.
1411
 
1412
        * include/hal_arch.h (HAL_GET_GDB_REGISTERS,
1413
        HAL_SET_GDB_REGISTERS): get/set full register set.
1414
 
1415
1998-10-13  Jesper Skov  
1416
 
1417
        * include/mips-stub.h: Moved first use of regnames below
1418
        definition.
1419
 
1420
Sun Sep 27 12:17:42 1998  Jesper Skov  
1421
 
1422
        * include/hal_cache.h (HAL_DCACHE_LOCK): Terminate asm string.
1423
 
1424
1998-09-26  Nick Garnett  
1425
 
1426
        * include/hal_cache.h:
1427
        Cleaned up some compilation errors.
1428
 
1429
Tue Sep 15 19:13:43 1998  David Moore  
1430
 
1431
        * src/vectors.S: Cleaned up comments.
1432
 
1433
1998-09-15  Nick Garnett  
1434
 
1435
        * include/hal_arch.h (HAL_GET_GDB_REGISTERS):
1436
        Initialized R30 to a copy of SP to avoid GDB making bogus memory
1437
        references.
1438
 
1439
        * src/hal_misc.c:
1440
        Added support for Ctrl-C processing when running under Cygmon.
1441
        Fixed a compiler warning.
1442
 
1443
1998-09-14  Bart Veer  
1444
 
1445
        * src/PKGconf.mak:
1446
        Made vectors.o dependent on the various files that can contain
1447
        makefile variables or rules. This is needed after changes to
1448
        pkgconf.tcl for PRs 17195 and 17286.
1449
 
1450
Mon Sep 14 11:10:20 1998  Jesper Skov  
1451
        PR 17230
1452
 
1453
        * src/vectors.S: Replaced CYGIMP_KERNEL_INTERRUPTS_CHAIN with new
1454
        CYGIMP_HAL_COMMON_INTERRUPTS_CHAIN.
1455
 
1456
1998-09-14  Nick Garnett  
1457
        PR 17230
1458
 
1459
        * include/hal_intr.h:
1460
        Added HAL_TRANSLATE_VECTOR() to translate a supplied vector number
1461
        into one that can be used in the HAL. Added calls to it in
1462
        HAL_INTERRUPT_ATTACH() and HAL_INTERRUPT_DETACH().
1463
 
1464
1998-09-12  Bart Veer  
1465
 
1466
        * include/pkgconf/hal_tx39.h:
1467
        Added missing descriptions (PR 17184)
1468
 
1469
        * src/vectors.S:
1470
         was being included without properly checking
1471
        that the kernel package was enabled.
1472
 
1473
        * src/hal_misc.c (exception_handler):
1474
        Sort out exception handling options (PR 16953)
1475
 
1476
1998-09-11  Nick Garnett  
1477
        PR 17230
1478
 
1479
        * src/vectors.S (__default_interrupt_vsr):
1480
        Modified interrupt decode code to preserve raising interrupt
1481
        number to pass to ISR, even when using chained interrupts.
1482
 
1483
1998-09-03  Bart Veer  
1484
 
1485
        * src/mips-stub.c:
1486
        Fixed type in config option name.
1487
 
1488
1998-09-02  Bart Veer  
1489
 
1490
        * include/pkgconf/hal_tx39.h:
1491
        New header file for architecture-specific configuration options
1492
 
1493
        * tests/PKGconf.mak:
1494
        * src/PKGconf.mak:
1495
        Sort out package naming conventions.
1496
 
1497
Tue Sep  1 19:26:45 1998  Hugo Tyson  
1498
 
1499
        * src/hal_misc.c:
1500
        Use CYGDBG_INFRA_DIAG_USE_DEVICE (from infra.h) instead of
1501
        CYG_DIAG_USE_DEVICE (badly named, from kernel.h).
1502
 
1503
1998-09-01  Nick Garnett  
1504
 
1505
        * include/hal_intr.h:
1506
        Added CYG_EXCEPTION_COUNT.
1507
 
1508
1998-08-28  Bart Veer  
1509
 
1510
        * src/vectors.S, src/context.S, src/hal_misc.c, src/mips-stub.c:
1511
        Updated for new kernel configuration option symbol names
1512
 
1513
Fri Aug 28 10:01:24 1998  Jonathan Larmour  
1514
 
1515
        * src/hal_misc.c:
1516
        Rename __main() to cyg_hal_invoke_constructors() to prevent the
1517
        implied link with things called, or related to main(). Remove static
1518
        initialised variable as we can now guarantee it is only called
1519
        once.
1520
 
1521
        * src/vectors.S:
1522
        Instead of calling main(), call cyg_start() which lives in the infra
1523
        package.
1524
        Explicitly invoke constructors as it isn't done magically for us
1525
        any more, now that main() is no longer used.
1526
 
1527
 
1528
1998-08-25  Nick Garnett  
1529
 
1530
        * src/vectors.S:
1531
        Now pass pointer to saved registers as third argument to
1532
        interrupt_end().
1533
 
1534
        * include/hal_arch.h:
1535
        Added macros to support GDB.
1536
 
1537
Tue Aug 25 02:33:59 1998  Jonathan Larmour  
1538
 
1539
        * include/mips_stub.h, src/hal_misc.c:
1540
        Add void to prototypes and typedefs that want it to silence warnings
1541
 
1542
1998-08-21  Nick Garnett  
1543
 
1544
        * include/hal_cache.h:
1545
        Now includes cyg_type.h rather than ktypes.h.
1546
 
1547
1998-08-18  Nick Garnett  
1548
 
1549
        * src/context.S:
1550
        * include/hal_arch.h:
1551
        * include/hal_io.h:
1552
        * include/hal_intr.h:
1553
        Now uses cyg_type.h rather than ktypes.h.
1554
 
1555
        * src/hal_misc.c:
1556
        * src/vectors.S:
1557
        Now uses hal.h rather than kernel.h.
1558
 
1559
1998-07-23  Nick Garnett  
1560
 
1561
        * include/hal_intr.h: Fixed some issues raised bt code review.
1562
 
1563
        * src/context.S:
1564
        * include/hal_arch.h: Fixed some typos raised by code review.
1565
 
1566
        * include/hal_intr.h (HAL_INTERRUPT_MASK):
1567
        * src/vectors.S (hal_interrupt_level): Added hal_interrupt_level
1568
        to allow for interaction between HAL_INTERRUPT_UNMASK() and
1569
        HAL_INTERRUPT_SET_LEVEL().
1570
 
1571
 
1572
//===========================================================================
1573
//####ECOSGPLCOPYRIGHTBEGIN####
1574
// -------------------------------------------
1575
// This file is part of eCos, the Embedded Configurable Operating System.
1576
// Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.
1577
//
1578
// eCos is free software; you can redistribute it and/or modify it under
1579
// the terms of the GNU General Public License as published by the Free
1580
// Software Foundation; either version 2 or (at your option) any later version.
1581
//
1582
// eCos is distributed in the hope that it will be useful, but WITHOUT ANY
1583
// WARRANTY; without even the implied warranty of MERCHANTABILITY or
1584
// FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
1585
// for more details.
1586
//
1587
// You should have received a copy of the GNU General Public License along
1588
// with eCos; if not, write to the Free Software Foundation, Inc.,
1589
// 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
1590
//
1591
// As a special exception, if other files instantiate templates or use macros
1592
// or inline functions from this file, or you compile this file and link it
1593
// with other works to produce a work based on this file, this file does not
1594
// by itself cause the resulting work to be covered by the GNU General Public
1595
// License. However the source code for this file must still be made available
1596
// in accordance with section (3) of the GNU General Public License.
1597
//
1598
// This exception does not invalidate any other reasons why a work based on
1599
// this file might be covered by the GNU General Public License.
1600
//
1601
// Alternative licenses for eCos may be arranged by contacting Red Hat, Inc.
1602
// at http://sources.redhat.com/ecos/ecos-license/
1603
// -------------------------------------------
1604
//####ECOSGPLCOPYRIGHTEND####
1605
//===========================================================================

powered by: WebSVN 2.1.0

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