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

Subversion Repositories openrisc

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

Details | Compare with Previous | View Log

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

powered by: WebSVN 2.1.0

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