source: SVN/cambria/redboot/packages/hal/common/current/ChangeLog @ 1

Last change on this file since 1 was 1, checked in by Tim Harvey, 2 years ago

restored latest version of files from server backup

Signed-off-by: Tim Harvey <tharvey@…>

File size: 71.8 KB
Line 
12004-08-22  Gary Thomas  <gary@mlbassoc.com>
2
3        * doc/porting.sgml: Replace [very misleading dated] comments
4        about CygMon and platforms which use/need GDB stubs.
5
62004-08-12  Jani Monoses <jani@iv.ro>
7
8        * include/hal_if.h: Make monitor locking work with CYGPKG_LWIP.
9
102004-05-19  John Newlin <jnewlin@stretchinc.com>
11
12        * src/hal_stub.c:
13        (cyg_hal_gdb_interrupt)
14        (cyg_hal_gdb_remove_break): Changed both to use
15        _read_mem_safe/__write_mem_safe for inserting a breakpoint, and
16        restoring the original instruction.
17        The Xtensa architecture (and others maybe?) can have unaligned
18        instructions, which caused unaligned load/store exception.
19       
202004-04-22  Jani Monoses <jani@iv.ro>
21
22         * cdl/hal.cdl :
23         Invoke tail with stricter syntax that works in latest coreutils.
24
252004-02-23  Jonathan Larmour  <jifl@eCosCentric.com>
26
27        * cdl/debugging.cdl (CYGDBG_HAL_DEBUG_GDB_INCLUDE_STUBS): Included
28        stubs should always mean saving full context both on interrupts
29        and context swaps, so make it explicit.
30
312004-01-05  Gary Thomas  <gary@mlbassoc.com>
32
33        * include/hal_if.h: Minor fixup - new 'fconfig' functions broke
34        existing uses of CYGACC_CALL_IF_FLASH_CFG_OP.  Added a new macro
35        CYGACC_CALL_IF_FLASH_CFG_OP2 which handles new API and a wrapper
36        to handle the old way (backwards compatability).
37
382003-12-21  Gary Thomas  <gary@mlbassoc.com>
39
40        * src/hal_if.c (flash_config_op):
41        * include/hal_if.h: New expanded functions for RedBoot 'fconfig'
42        database.
43
442003-09-04  Patrick Doyle  <wpd@dtccom.com>
45
46        * include/hal_if.h:
47        * src/hal_if.c (flash_fis_op): Added support for the rest of the
48        FIS operations.
49
502003-08-06  Bob Koninckx <bob.koninckx@mech.kuleuven.ac.be>
51
52        * src/drv_api.c: Added definition of cyg_interrupt_post_dsr() for
53        use in those HALs that need it.
54
55        * include/hal_arbiter.h (hal_call_isr): Removed ifdef on
56        CYGFUN_HAL_COMMON_KERNEL_SUPPORT around test and call to
57        cyg_interrupt_post_dsr().
58
592003-07-21  Nick Garnett  <nickg@balti.calivar.com>
60
61        * doc/hal.sgml: Reorganized description of clock and timer related
62        stuff into their own section and added a piece about how to change
63        the clock frequency.
64
652003-06-25  Nick Garnett  <nickg@balti.calivar.com>
66
67        * src/hal_if.c (delay_us): The first test against
68        CYGNUM_KERNEL_COUNTERS_RTC_PERIOD is now against the period
69        divided by two. By the time we get to this test we know that usecs
70        can never be > usec_per_period/2 so we can double the range of
71        period values that we can handle without overflow and use the more
72        efficient approximation. The second test is not changed since we
73        cannot make the same assumptions about the elapsed count.
74
752003-06-24  Jonathan Larmour  <jifl@eCosCentric.com>
76
77        * src/generic-stub.c (crc32): Fix crctable option name typo.
78
79        * src/hal_if.c (hal_if_init): Remove kill_by_reset.
80        (kill_by_reset): Remove, unused.
81        (reset): ifdef test on HAL_PLATFORM_RESET and assert on reset failure.
82
83        * cdl/interrupts.cdl (CYGNUM_HAL_COMMON_INTERRUPTS_STACK_SIZE): No
84        reason to forbid people setting this quite small.
85       
862003-06-19  Nick Garnett  <nickg@balti.calivar.com>
87
88        * src/hal_if.c (delay_us): Reorganized to cope with high frequency
89        timers by eliminating a source of arithmetic overflow.
90
912003-05-06  Mark Salter  <msalter@redhat.com>
92
93        * src/hal_stub.c (handle_exception_exit): Call sys_profile_reset from
94        here. Setup to return through return_from_stub() when appropriate.
95        (return_from_stub): New function to call CYGACC_CALL_IF_MONITOR_RETURN
96        from thread context.
97
98        * src/generic-stub.c (__handle_exception): Call exit_vec if
99        hal_syscall_handler returns negative number.
100
1012003-04-08  Mark Salter  <msalter@redhat.com>
102
103        * src/hal_misc.c (hal_default_isr): Allow HAL to override default
104        GDB vector matching test.
105
1062003-04-08  Yoshinori Sato  <qzb04471@nifty.ne.jp>
1072003-04-08  Jonathan Larmour  <jifl@eCosCentric.com>
108
109        * cdl/debugging.cdl: Allow CRC to be allocated in ROM as well as RAM.
110        * src/generic-stub.c: as above.
111
1122003-04-02  Gary Thomas  <gary@mlbassoc.com>
113
114        * src/generic-stub.c:
115        * include/generic-stub.h: Cleanup when program args are not
116        supported (remove some unused static storage).
117
1182003-03-03  Knud Woehler <knud.woehler@microplex.de>
119
120        * src/hal_if.c:
121        * include/hal_if.h: Add CYGNUM_CALL_IF_FLASH_FIS_OP. FIS read
122        via the virtual vector table.
123       
1242003-02-24  Jonathan Larmour  <jifl@eCosCentric.com>
125
126        * cdl/hal.cdl: Fix doc links.
127
128        * doc/hal.sgml: hal-common-current-doc-porting-sgml entity ->
129        hal-common-porting-sgml in line with other docs.
130
1312003-02-13  Mark Salter  <msalter@redhat.com>
132
133        * src/gdb-fileio.h (FILEIO_O_BINARY): New flag.
134        (FILEIO_O_TEXT): New flag.
135
1362003-01-31  Mark Salter  <msalter@redhat.com>
137
138        * include/hal_if.h: Add CYGNUM_CALL_IF_MONITOR_RETURN.
139
1402002-12-04  Gary Thomas  <gthomas@ecoscentric.com>
141
142        * cdl/hal.cdl: RAM applications should not claim (reset) version
143        string by default.
144
1452002-12-03  Gary Thomas  <gthomas@ecoscentric.com>
146
147        * src/hal_if.c (hal_if_init):
148        * include/hal_if.h:
149        * cdl/hal.cdl: Allow monitor (RedBoot) version string to be exported
150        via the virtual vector table.
151
1522002-11-13  Gary Thomas  <gthomas@ecoscentric.com>
153
154        * cdl/hal.cdl: Add CDL control over DATA cache startup mode.
155
1562002-09-11  Mark Salter  <msalter@redhat.com>
157
158        * include/hal_if.h: Add __COMMCTL_ENABLE_LINE_FLUSH and
159        __COMMCTL_DISABLE_LINE_FLUSH.
160
1612002-08-29  Mark Salter  <msalter@redhat.com>
162
163        * include/generic-stub.h: Add defines for Z packet types.
164        * src/bplist-dynamic.c: Add support for deferred hardware breakpoint
165        and watchpoint insertion/deletion. This gets around gdb problem where
166        gdb tries accessing watched memory before removing watchpoint.
167        * src/generic-stub.c (__process_packet): Ditto.
168        * include/hal_stub.h: Ditto.
169
1702002-05-23  Jesper Skov  <jskov@redhat.com>
171
172        * cdl/hal.cdl: Don't build tests that are not applicable with the
173        current configuration.
174        Added CYGINT_HAL_TESTS_NO_CACHES which allows cache tests to be
175        suppressed.
176
1772002-05-13  Jesper Skov  <jskov@redhat.com>
178
179        * cdl/hal.cdl: Removed
180        CYGINT_HAL_VIRTUAL_VECTOR_SUPPORT_NOT_GUARANTEED option and its
181        dependencies.
182
1832002-05-02  Nick Garnett  <nickg@redhat.com>
184
185        * doc/hal.sgml: Added description of HAL_DELAY_US().
186
187        * doc/porting.sgml: Expanded section on architecture porting.
188
1892002-04-30  Jonathan Larmour  <jlarmour@redhat.com>
190
191        * src/gdb-fileio.c (cyg_hal_gdbfileio_process_F_packet): Reset
192        retcode/errno/ctrlc status every F packet.
193
1942002-04-23  Jesper Skov  <jskov@redhat.com>
195
196        * doc/porting.sgml: Fix some typos.
197
1982002-04-22  Jonathan Larmour  <jlarmour@redhat.com>
199
200        * include/generic-stub.h: Prototype __getpacket().
201        * src/generic-stub.c: Rename getpacket() -> __getpacket(),
202        remcomInBuffer -> __remcomInBuffer, and
203        remcomOutBuffer -> __remcomOutBuffer throughout file, and export
204        them (i.e. not file local).
205        (__process_packet): Handle $F packets file I/O protocol responses.
206
207        * src/gdb-fileio.c: New file to implement file I/O operations over
208        the GDB remote protocol.
209        * src/gdb-fileio.h: New file. Header for above.
210
2112002-03-15  Nick Garnett  <nickg@redhat.com>
212
213        * doc/porting.sgml: Platform HAL porting guide tidied up and
214        expanded somewhat. Some work also done on variant
215        guide. Architecture guided needs a lot more work.
216
217        * doc/hal.sgml: Changed explicit section tags to recursive section
218        tags to make any future restructuring easier.
219
2202002-03-14  Nick Garnett  <nickg@redhat.com>
221
222        * src/hal_stub.c: Add calls to HAL memory access check macros in
223        memory access functions.
224
225        * include/hal_stub.h: Added default definitions for HAL memory access
226        check macros.
227
2282002-03-06  Nick Garnett  <nickg@redhat.com>
229
230        * tests/cache.c: Changed tests so that zero sized caches and HALs
231        that define HAL_DCACHE_PURGE_ALL() don't cause this test to throw
232        a compilation error.
233
2342002-02-28  Jesper Skov  <jskov@redhat.com>
235
236        * src/generic-stub.c (__handle_exception): Pay attention to return
237        value from hal_syscall_handler.
238
2392002-02-21  Mark Salter  <msalter@redhat.com>
240
241        * src/hal_if.c (cyg_hal_diag_mangler_gdb_flush): Don't do anything
242        if buffer is empty.
243
2442002-02-20  Nick Garnett  <nickg@redhat.com>
245
246        * doc/hal.sgml: Updated and tidied. Now includes porting guide
247        from a separate file.
248
249        * doc/porting.sgml: Added this file to contain the porting guide
250        section of the HAL document. This is currently largely a
251        conversion of Jesper's porting guide from the website.
252        Unfortunately I have had no time to do much more than include it
253        wholesale, with only minor edits. There are some notes at the end
254        of the file describing what I would like to do.
255
2562002-02-18  Nick Garnett  <nickg@redhat.com>
257
258        * doc/hal.sgml: Restructured most of this document and rewrote
259        large chunks of the basic HAL description stuff. Only the skeleton
260        of the porting guided is currently done. This checkin in mostly
261        for safety and to let others read the current state.
262
2632002-02-06  Mark Salter  <msalter@redhat.com>
264
265        * src/hal_if.c (cyg_hal_diag_mangler_gdb_control): Add flush support.
266        (cyg_hal_diag_mangler_gdb_flush): New function to flush mangler output.
267        (cyg_hal_diag_mangler_gdb_putc): Use new function to flush output.
268
2692002-01-30  Hugo Tyson  <hmt@redhat.com>
270
271        * include/hal_if.h (CYGNUM_FLASH_CFG_OP_CONFIG_INT): New defines for
272        getting Flash Config options out of RedBoot using VV call
273        CYGACC_CALL_IF_FLASH_CFG_OP().  These need to be kept uptodate
274        with (or must override) those in RedBoot's flash_config.h
275        Previously only used for getting an ESA.
276
2772002-01-25  Hugo Tyson  <hmt@redhat.com>
278
279        * src/generic-stub.c (__process_packet): If detach or kill, call
280        sys_profile_reset() if BSP_SYSCALLS_GPROF are enabled, to clear
281        out any dangerous state there.  Such as a callback function
282        pointer into application code.
283
2842002-01-23  Jonathan Larmour  <jlarmour@redhat.com>
285
286        * include/drv_api.h: Add cyg_drv_interrupt_mask/unmask_intunsafe
287        * src/drv_api.c: Ditto. And modify
288         cyg_drv_interrupt_mask/unmask to be interrupt safe.
289       
2902002-01-21  Mark Salter  <msalter@redhat.com>
291
292        * include/hal_spd.h: New file. Definitions for SDRAM module SPD.
293
2942002-01-18  Jesper Skov  <jskov@redhat.com>
295
296        * src/hal_stub.c (__build_t_packet): don't declare extend_val
297        twice.
298
2992001-12-12  Jesper Skov  <jskov@redhat.com>
300
301        * include/hal_stub.h: Add goto to the used label.
302        * src/hal_misc.c: Added (dummy) got for label used in
303        CYGARC_HAL_GET_RETURN_ADDRESS_BACKUP.
304
3052001-12-05  Jonathan Larmour  <jlarmour@redhat.com>
306
307        * src/dbg-threads-syscall.c (dbg_thread_syscall): Don't bother to
308        deref a func ptr. The opcode could theoretically be 0x0!
309
3102001-12-04  Richard Sandiford  <rsandifo@redhat.com>
311
312        * src/generic-stub.c (__add_char_to_packet): Reverse check for
313        end of buffer and end of packet to fix potential buffer overrun.
314
3152001-12-01  Jonathan Larmour  <jlarmour@redhat.com>
316
317        * src/dbg-threads-syscall.c (dbg_thread_syscall): check for
318        NULL dbg_syscall_ptr.
319
320        * cdl/hal.cdl: require CYGPKG_INFRA since all HALs do!
321
3222001-11-29  Hugo Tyson  <hmt@redhat.com>
323
324        * src/hal_stub.c: Enable HAL_STUB_HW_SEND_STOP_REASON_TEXT for
325        XScale architectures per Mark's request; XScale GDB needs to know
326        what's happening with watchpoints (= work around previous change)
327
3282001-11-29  Hugo Tyson  <hmt@redhat.com>
329
330        * src/hal_stub.c: Condition out sending the reason for hardware
331        watchpoint stop in the stop packet as $T05watch:01234568;... most
332        GDBs do not understand it and in fact object to it.
333
3342001-11-23  Nick Garnett  <nickg@redhat.com>
335
336        * src/generic-stub.c (__process_packet): Fixed bogosity in
337        handling of 'r' packet. It tried to send two replies, messing up
338        the protocol and confusing GDB.
339
3402001-11-02  Hugo Tyson  <hmt@redhat.com>
341
342        * include/hal_stub.h (CYG_HAL_GDB_LEAVE_CRITICAL_IO_REGION):
343        Permit this too to be defined externally ie. in a platform HAL.
344
3452001-10-25  Gary Thomas  <gthomas@redhat.com>
346
347        * cdl/hal.cdl:
348        * cdl/debugging.cdl: Reorg CDL a little so that GDB stub routines
349        are only compiled when needed (instead of being compiled "empty").
350
3512001-10-24  Gary Thomas  <gthomas@redhat.com>
352
353        * cdl/hal.cdl: Add 'basic' test.
354
355        * tests/basic.c: New test of some minimal HAL functionality.
356
3572001-10-18  Gary Thomas  <gthomas@redhat.com>
358
359        * src/hal_if.c (cyg_hal_diag_mangler_gdb_putc):
360        * cdl/debugging.cdl: CYGNUM_HAL_DEBUG_GDB_PROTOCOL_RETRIES is now
361        defined as CDL 'data' flavor (tested via #if vs. #ifdef)
362
3632001-10-17  Jesper Skov  <jskov@redhat.com>
364
365        * src/generic-stub.c: Prefixed local version of memcpy and memset
366        with _.
367
3682001-10-17  Gary Thomas  <gthomas@redhat.com>
369
370        * cdl/debugging.cdl:
371        * src/hal_if.c (cyg_hal_diag_mangler_gdb_putc): Make retry/abort optional,
372        only attemped if CYGNUM_HAL_DEBUG_GDB_PROTOCOL_RETRIES is configured to
373        be non-zero (default now 0).
374
3752001-10-16  Jesper Skov  <jskov@redhat.com>
376
377        * include/hal_stub.h: Allow ISOINFRA/LIBC to provide string
378        functions.
379
3802001-10-16  Gary Thomas  <gthomas@redhat.com>
381
382        * include/generic-stub.h: Add prototypes for breakpoint_list functions.
383
3842001-10-15  David Howells  <dhowells@redhat.com>
385
386        * include/hal_stub.h: put semicolon between goto-label and close curly.
387
3882001-10-12  Mark Salter  <msalter@redhat.com>
389
390        * src/thread-packets.c: Don't specify array sizes in extern decls.
391
392        * src/hal_stub.c: Use HAL_STUB_REGISTERS_SIZE to set number of elements
393        in register save areas. Default to NUMREGS if not defined by HAL.
394        Allow HALs to provide specialized get_register()/put_register().
395
396        * src/generic-stub.c (stub_format_registers): Support 'p' packet.
397        (__process_packet): Rearrange ifdefs so error is sent for unsupported
398        Z packet types.
399        (process_query): Add hook for HAL specific queries.
400        (process_set): Add hook for HAL specific sets.
401
402        * include/generic-stub.h: Add extern decls to quiet compiler warnings.
403
4042001-10-11  Gary Thomas  <gthomas@redhat.com>
405
406        * include/generic-stub.h:
407        * src/generic-stub.c: Improve error handling more.  Make sure that
408        packets are consumed, even if they are going to be tossed (overflow).
409        This keeps TCP based connections going, even when the data is bad.
410        (getpacket): Only send NAK in case of overflow.
411
4122001-10-09  Jesper Skov  <jskov@redhat.com>
413
414        * src/hal_if.c (flash_config_op): Protect with
415        CYGARC_HAL_SAVE_GP.
416
4172001-10-04  Jesper Skov  <jskov@redhat.com>
418
419        * include/hal_endian.h: Added.
420        Fix typo.
421
4222001-10-03  Jonathan Larmour  <jlarmour@redhat.com>
423
424        * include/hal_tables.h (CYG_HAL_TABLE_BEGIN): Use plain "object"
425        because some (only some though) MIPS tools complain with %object.
426        (CYG_HAL_TABLE_END): Ditto.
427
4282001-10-02  Jonathan Larmour  <jlarmour@redhat.com>
429
430        * include/hal_tables.h (CYG_HAL_TABLE_BEGIN): Use %object syntax
431        rather than @object since @ is a comment character on ARM. gas
432        accepts either syntax.
433        (CYG_HAL_TABLE_END): Ditto.
434
4352001-10-01  Gary Thomas  <gthomas@redhat.com>
436
437        * src/generic-stub.c (getpacket): Send back error response (E01) if
438        packet received which overflows buffers.  GDB doesn't always do much
439        with this error, but at least it keeps the protocol moving.
440
4412001-09-26  Gary Thomas  <gthomas@redhat.com>
442
443        * cdl/common.cdl: New interface CYGINT_HAL_SUPPORTS_MMU_TABLES which
444        indicates if the HAL supports MMU tables (few do).
445
4462001-09-25  Gary Thomas  <gthomas@redhat.com>
447
448        * cdl/common.cdl (CYGSEM_HAL_INSTALL_MMU_TABLES): Change to be
449        default for ROM startup.
450
4512001-09-20  Jesper Skov  <jskov@redhat.com>
452
453        * tests/vaargs.c (cyg_start): Call CYG_TEST_INIT.
454
4552001-09-10  Nick Garnett  <nickg@redhat.com>
456
457        * include/hal_stub.h (strlen): Changed return type to size_t from
458        int so it matches <string.h>. For some reason the compiler has
459        suddenly started complaining about the type mismatch. Strange.
460
4612001-09-07  Nick Garnett  <nickg@redhat.com>
462
463        * src/hal_stub.c (put_register): Added kludge for VR4300 targets
464        to sign extent the PC when it is being set. This is due to the
465        age of the VR4300 toolchain and the fact that the VR4300 is the
466        only target to do full 64bit register saves/restores.
467
4682001-09-07  Jesper Skov  <jskov@redhat.com>
469
470        * include/hal_if.h: Fix typo in below change.
471
4722001-09-07  Jonathan Larmour  <jlarmour@redhat.com>
473
474        * include/hal_if.h (CYGACC_CALL_IF_DBG_SYSCALL): Define and call
475        with correct arguments.
476
4772001-08-24  Mark Salter  <msalter@redhat.com>
478
479        * src/generic-stub.c (__process_packet): Add support for 'D' packet.
480        (__process_packet): Check for impossible mem write length.
481
4822001-08-17  Jonathan Larmour  <jlarmour@redhat.com>
483
484        * cdl/hal.cdl: Add CYGINT_HAL_VIRTUAL_VECTOR_COMM_BAUD_SUPPORT
485        interface.
486
4872001-08-16  Gary Thomas  <gthomas@redhat.com>
488
489        * cdl/hal.cdl: Add CDL options to control GDB protocol retries.
490
4912001-08-14  Gary Thomas  <gthomas@redhat.com>
492
493        * src/hal_if.c (cyg_hal_diag_mangler_gdb_putc): Use timeout
494        functions to allow for retries.  This should improve the case
495        where [for whatever reason] the host GDB misses or ignores
496        a $O packet - it will get resent after a reasonable timeout.
497
4982001-08-03  Gary Thomas  <gthomas@redhat.com>
4992001-08-03  Jesper Skov  <jskov@redhat.com>
500
501        * include/hal_if.h: Use inline functions for calls - allowing
502        interrupts to be disabled while services are called
503        [CYGACC_COMM_IF_CONTROL is an exception since it's using variable
504        arguments - so it's still a macro].
505        Pruned unused IF vectors: ICTRL_TABLE, EXC_TABLE, DBG_VECTOR,
506        CPU_DATA, BOARD_DATA, SYSINFO, SET_SERIAL_BAUD.
507        Note: this should fix bug CR 902745-CR.
508
509        * cdl/hal.cdl: Removed CYGSEM_HAL_VIRTUAL_VECTOR_CLAIM_ICTRL.
510        * src/hal_if.c (hal_if_init): Removed initialization of
511        ICTRL_TABLE, EXC_TABLE, CPU_DATA and BOARD_DATA entries.
512
5132001-08-03  Nick Garnett  <nickg@redhat.com>
514
515        Imported from a development branch:
516       
517        2001-07-11  Nick Garnett  <nickg@redhat.com>
518
519                * include/drv_api.h:
520                * src/drv_api.c:
521                Added API for controlling routing of interrupts to CPUs in SMP
522                configurations.
523
524        2001-06-29  Nick Garnett  <nickg@cygnus.co.uk>
525
526                * include/drv_api.h:
527                * src/drv_api.c:
528                Added API for using spinlocks.
529
5302001-08-03  Jesper Skov  <jskov@redhat.com>
531
532        * tests/vaargs.c: Added.
533        * cdl/hal.cdl: Added CYGPKG_HAL_BUILD_COMPILER_TESTS to allow cpp1
534        and vaargs tests to be compiled conditionally.
535
5362001-07-27  Jesper Skov  <jskov@redhat.com>
537
538        * tests/intr.c: Set up interrupt ISR using driver API so it works
539        properly in chained mode in the presence of arbiters.
540
541        * src/drv_api.c (chain_isr): Call default ISR when
542        appropriate. Return ISR return value.
543
544        * include/hal_arbiter.h (hal_call_isr): Added version to be used
545        with interrupt chaining.
546
5472001-07-24  Mark Salter  <msalter@redhat.com>
548
549        * cdl/hal.cdl (CYGINT_HAL_PLF_IF_IDE): New interface which
550        indicates platform supports IDE controller I/F macros.
551
5522001-06-29  Jonathan Larmour  <jlarmour@redhat.com>
553
554        * cdl/hal.cdl (CYGPKG_HAL_TESTS): Remove redundant .c extension
555
5562001-06-29  Jesper Skov  <jskov@redhat.com>
557
558        * include/hal_misc.h: Moved arbiter helper to
559        * include/hal_arbiter.h: this file to avoid header file inclusion
560        order problems.
561
5622001-06-28  Jesper Skov  <jskov@redhat.com>
563
564        * include/hal_misc.h (hal_call_isr): Added. Used by ISR arbiters.
565
5662001-06-22  Gary Thomas  <gthomas@redhat.com>
567
568        * src/generic-stub.c (BUFMAX): Define as platform specific, thus
569        reducing memory requirements.
570        (__process_packet): Eliminate program arguments support until eCos
571        makes use of them (more memory savings).
572
5732001-06-22  Mark Salter  <msalter@redhat.com>
574
575        * src/hal_stub.c (__do_copy_mem): Add goto statement to prevent
576        compiler from moving instructions across 'err' label.
577
5782001-06-14  Jonathan Larmour  <jlarmour@redhat.com>
579
580        * src/generic-stub.c (__process_packet): Don't reset the board
581        straight away with a 'r' packet. Let a 'k' packet do it instead.
582
583        * src/hal_stub.c (__install_traps): Remove redundant comment.
584
5852001-06-11  Jonathan Larmour  <jlarmour@redhat.com>
586
587        * src/hal_if.c (delay_us): Revert below change of 2001-05-17
588
5892001-06-05  Hugo Tyson  <hmt@redhat.com>
590
591        * src/hal_if.c (cyg_hal_diag_mangler_gdb_putc): The nesting of
592        CYGARC_HAL_SAVE_GP() and the instant-out if sending a carriage
593        return "\r" was wrong - it scrambled the gp for the caller!  Since
594        the return-test is trivial, I simply re-ordered rather than making
595        the exit clause complex with a restore in it.
596
5972001-05-17  Jonathan Larmour  <jlarmour@redhat.com>
598
599        * src/hal_if.c (delay_us): Warn if using default
600
6012001-05-14  Jonathan Larmour  <jlarmour@redhat.com>
602
603        * cdl/interrupts.cdl (CYGNUM_HAL_COMMON_INTERRUPTS_STACK_SIZE):
604        Default stack size to 32K for non-kernel configs, and describe
605        why.
606
6072001-05-07  Gary Thomas  <gthomas@redhat.com>
608
609        * src/hal_if.c (hal_ctrlc_check): Only return 'true' if the ISR/DSR
610        actually processes a ^C.  Otherwise, interrupts/date can be lost on
611        a shared channel (like an ethernet device).
612
6132001-04-30  Gary Thomas  <gthomas@redhat.com>
614
615        * cdl/hal.cdl: Add configury to control initial cache behaviour.
616
6172001-04-30  Hugo Tyson  <hmt@redhat.com>
618
619        * cdl/hal.cdl: Add tests/cpp1.c to the tests list.
620
621        * tests/cpp1.c: New test, to test for regressions in the tools.
622        This one is for a CPP bug in the XScale tools where '+' binds too
623        strongly following a ')' because it is mistaken for unary plus.
624
6252001-04-25  Bart Veer  <bartv@redhat.com>
626
627        * tests/cache.c:
628        Fix test for cache presence.
629
630        * src/drv_api.c (cyg_drv_interrupt_detach):
631        Added missing indirection.
632
6332001-03-28  Jonathan Larmour  <jlarmour@redhat.com>
634
635        * include/dbg-threads-api.h: Add dbg_thread_id() function prototype.
636
6372001-03-21  Mark Salter  <msalter@redhat.com>
638
639        * src/hal_if.c (hal_if_init): Add explicit typecast when setting
640        version. Needed when sizeof(int) < sizeof(CYG_ADDRWORD).
641
6422001-03-21  Jesper Skov  <jskov@redhat.com>
643
644        * src/hal_if.c (hal_if_init): Added warning about debugging.
645
6462001-03-20  Jonathan Larmour  <jlarmour@redhat.com>
647
648        * include/hal_if.h: Add argument names to __call_if_flash_cfg_op_fn_t
649
6502001-03-16  Mark Salter  <msalter@redhat.com>
651
652        * src/hal_stub.c (__build_t_packet): Add hook for adding arch-specific
653        registers to T packet.
654        (handle_exception_cleanup): Skip orig_registers past breakpoint so we
655        return to original context rather than hit breakpoint again.
656
6572001-03-16  Hugo Tyson  <hmt@redhat.com>
658
659        * include/hal_if.h: Define types and slots and macros themed with
660        the phrase CALL_IF_FLASH_CFG_OP following the pattern of what's
661        there for the other slots.  Thus CYGNUM_CALL_IF_FLASH_CFG_OP,
662        CYGACC_CALL_IF_FLASH_CFG_OP(...) and __call_if_flash_cfg_op_fn_t
663        are all newly defined.  Also CYGNUM_CALL_IF_FLASH_CFG_GET which is
664        the only operation supported in this initial version.
665
666        Also changed many typedef'd function pointers to not include the
667        pointerness; that way the type can be used to validate the
668        correctness of arguments in the called function.
669
670        * src/hal_stub.c (__reset): Minor change to reset function
671        handling; pointerness of typedef removed.
672
673        * src/hal_if.c (flash_config_op): New function to call flash ops
674        in RedBoot.  This is so that RedBoot can manage ethernet addresses
675        for you, and the application can get at the data "cleanly".
676        (hal_if_init): Install flash_config_op() in the table if defined.
677
6782001-03-12  Mark Salter  <msalter@redhat.com>
679
680        * src/hal_misc.c (cyg_hal_user_break): Use macro to find PC
681        in saved regs.
682
683        * src/generic-stub.c: Add support for harvard memories.
684        * src/bplist-dynamic.c: Ditto.
685        * include/generic-stub.h: Ditto.
686        * include/hal_stub.h: Add dummy harvard memory macros for
687        princeton memory systems.
688
6892001-03-12  Jesper Skov  <jskov@redhat.com>
690
691        * src/drv_api.c (cyg_drv_interrupt_detach): Fix missing intr->
692        change.
693
6942001-03-08  Jesper Skov  <jskov@redhat.com>
695
696        * cdl/hal.cdl: Change sense of
697        CYGINT_HAL_VIRTUAL_VECTOR_SUPPORT_GUARANTEED to new
698        CYGINT_HAL_VIRTUAL_VECTOR_SUPPORT_NOT_GUARANTEED.
699
7002001-03-07  Jesper Skov  <jskov@redhat.com>
701
702        * src/drv_api.c: Use macro to provide symbol alias.
703
7042001-03-05  Jesper Skov  <jskov@redhat.com>
705
706        * src/hal_if.c (hal_if_diag_init): Ensure the function only
707        executes once.
708
7092001-03-02  Gary Thomas  <gthomas@redhat.com>
710
711        * cdl/hal.cdl:
712        * include/hal_if.h:
713        * src/hal_if.c (hal_if_init):
714        Support platform specific initializations.
715
7162001-02-26  Mark Salter  <msalter@redhat.com>
717
718        * src/generic-stub.c (__process_packet): Change 'k' packet to cause
719        return to original context. Change 'r' packet to respond with empty
720        packet before resetting board.
721
722        * src/hal_stub.c (handle_exception_exit): New function. Restores
723        original context saved when stub was entered for the first time.
724        (handle_exception_cleanup): Save original context.
725        (__install_traps): Set __process_exit_vec to handle_exception_exit.
726
7272001-02-09  Jesper Skov  <jskov@redhat.com>
728
729        * cdl/debugging.cdl: Make CYGDBG_HAL_DEBUG_GDB_BREAK_SUPPORT and
730        CYGDBG_HAL_DEBUG_GDB_CTRLC_SUPPORT options have sensible defaults.
731
7322001-02-08  Jesper Skov  <jskov@redhat.com>
733
734        * cdl/hal.cdl: Added CYGSEM_HAL_VIRTUAL_VECTOR_INHERIT_CONSOLE and
735        CHANNEL_CONFIGURABLE options.
736        * cdl/common.cdl: Added CYGDBG_HAL_DIAG_TO_DEBUG_CHAN option.
737        * src/hal_if.c: Changes to respect new options. Always do platform
738        driver init from CLAIM_COMMS code.
739        * src/hal_stub.c: Leave channel setup to CLAIM_COMMS code.
740
741        * src/hal_if.c: Added null mangler that gets called via the
742        virtual vector console comms entry and just forwards IO to the
743        debug comms entries.  This differs from setting the console
744        channel to the same as the debug channel in that console output
745        will go to the debug channel even if the debug channel is changed.
746
7472001-02-07  Jesper Skov  <jskov@redhat.com>
748
749        * include/hal_if.h: Allow architecture to override COMM and CALL
750        accessor macros.
751
7522001-02-03  Gary Thomas  <gthomas@redhat.com>
753
754        * src/bplist-dynamic.c (__set_breakpoint, __remove_breakpoint):
755        Fix error introduced below when no breakpoint list defined.
756
7572001-02-02  Mark Salter  <msalter@redhat.com>
758
759        * src/generic-stub.c: __set_breakpoint and __remove_breakpoint now
760        take a length argument.
761
762        * src/bplist-dynamic.c: Support breakpoint length. Use
763        HAL_BREAKINST_ADDR macro (if defined) to get actual breakpoint based
764        on breakpoint length.
765
766        * include/hal_stub.h: Add len argument to __set_breakpoint and
767        __remove_breakpoint.
768
7692001-02-01  Jesper Skov  <jskov@redhat.com>
770
771        * src/drv_api.c: Make it build with chaining.
772
773        * include/hal_if.h: Introduce macros for legal version range and
774        special hacked version number used by ctrlc magic.
775        * src/hal_if.c (hal_ctrlc_isr_init): Be more careful with how the
776        version number is checked (and trashed) by the ctrlc init code.
777        * src/hal_misc.c (hal_default_isr): Same.
778
779        * src/hal_stub.c: Moved mangling code to hal_if.c
780        * src/hal_if.c: New policies for when and how to initialize the
781        IO channels. Mangler code now set up by diag_init to allow for
782        mangling when no stub is included.
783
784        * include/hal_if.h: Added COMM version in upper 16 bits of version
785        word. Removed CYGPRI_HAL_IMPLEMENTS_IF_SERVICES.
786        * src/hal_misc.c: Use masks when checking vv versions.
787
788        * cdl/hal.cdl: Add new options for selecting which parts of the
789        virtual vector table to initialize.
790        * src/hal_if.c: Matching granularity in initialization code.
791        Extra checking of services before using these.
792       
793        * cdl/debugging.cdl: Require channel initialization when enabling
794        stubs.
795
7962001-01-31  Jesper Skov  <jskov@redhat.com>
797
798        * cdl/common.cdl: Get rid of CYGDBG_HAL_DIAG_DISABLE_GDB_PROTOCOL
799        options. They are replaced by the CYGSEM_HAL_DIAG_MANGLER option.
800
8012001-01-31  Hugo Tyson  <hmt@redhat.com>
802
803        * include/hal_if.h: Make it possible to build logical ether driver
804        even without virtual vectors present, by defining a dummy
805        HAL_CTRLC_CHECK in that case; other code invokes it if debugging
806        per se is enabled.
807
8082001-01-26  Jesper Skov  <jskov@redhat.com>
809
810        * src/hal_stub.c (__reset): Rename HAL_STUB_PLATFORM_RESETx macros
811        to HAL_PLATFORM_RESETx.
812        * src/hal_if.c (reset): Same.
813
8142001-01-15  Nick Garnett  <nickg@cygnus.co.uk>
815
816        * src/drv_api.c: Initialized isr_disable_counter to 1 so that it
817        indicates that interrupts are initially disabled.
818
8192000-12-15  Gary Thomas  <gthomas@redhat.com>
820
821        * src/generic-stub.c: Define 'version' string to be a weak
822        symbol that can be easily overridden (e.g. by RedBoot).
823
8242000-12-11  Gary Thomas  <gthomas@redhat.com>
825
826        * src/hal_if.c: Remove unnecessary (polluting) include file.
827
828        * include/hal_stub.h: Support platform/variant supplied
829        include files.  <cyg/hal/plf_XXX.h> can now be layered
830        as <cyg/hal/var_XXX.h> which includes <cyg/hal/plf_XXX.h>.
831
8322000-12-06  Jesper Skov  <jskov@redhat.com>
833
834        * src/hal_if.c (delay_us): Ensure proper _GP save/restore.
835        Reduce number of loops in fall-back code.
836
8372000-12-05  Drew Moseley  <dmoseley@redhat.com>
838
839        * src/hal_stub.c (__build_t_packet): Handle
840        CYGARC_REGSIZE_DIFFERS_FROM_TARGET_REGISTER_T with Little Endian
841        target.
842
843        * include/hal_misc.h: Added BIT and SZ_ defines.
844
8452000-11-22  Mark Salter  <msalter@redhat.com>
846
847        * src/hal_misc.c (hal_default_isr): Version check only when
848        CYGSEM_HAL_ROM_MONITOR not defined.
849
8502000-11-20  Mark Salter  <msalter@redhat.com>
851
852        * src/hal_stub.c (hal_flush_output): New function to flush debug
853        comm interface.
854
855        * src/generic-stub.c (__process_packet): Use hal_flush_output when
856        killing or continuing.
857
858        * include/hal_stub.h: Add declaration for hal_flush_output().
859
860        * include/hal_if.h (__COMMCTL_FLUSH_OUTPUT): New comm control cmd.
861
8622000-11-17  Jesper Skov  <jskov@redhat.com>
863
864        * src/hal_if.c (delay_us): Add dummy loop.
865        Duh! Take usecs argment into account.
866
8672000-11-06  Mark Salter  <msalter@redhat.com>
868
869        * src/generic-stub.c (__handle_exception): Add support for GNUPro bsp
870        syscall handling.
871
872        * src/board.h: Include pkgconf/redboot.h for CYGSEM_REDBOOT_BSP_SYSCALLS.
873
8742000-11-06  Jesper Skov  <jskov@redhat.com>
875
876        * src/hal_if.c (hal_if_diag_write_char): Clear interrupt flag before
877        setting breakpoint.
878
8792000-11-04  Mark Salter  <msalter@redhat.com>
880
881        * src/hal_stub.c (__build_t_packet): Report reason and data
882        address if stopped by hw watchpoint.
883
884        * src/generic-stub.c (__process_packet): Remove experimental
885        support for type 5 Z packet.
886
887        * include/hal_stub.h: Define HAL_STUB_STOP_* reasons returned
888        by HAL_IS_STOPPED_BY_HARDWARE.
889
8902000-10-27  Mark Salter  <msalter@redhat.com>
891
892        * src/generic-stub.c: Fixed preprocessor warning.
893
8942000-10-27  Gary Thomas  <gthomas@redhat.com>
895
896        * src/generic-stub.c (__process_packet): Remove warnings when
897        hardware breakpoint support (Z packet) not enabled.
898
8992000-10-26  Mark Salter  <msalter@redhat.com>
900
901        * src/generic-stub.c (__process_packet): Add Z packet support.
902
903        * src/bplist-dynamic.c: Include <pkgconf/hal.h> to pick up
904        CYGNUM_HAL_BREAKPOINT_LIST_SIZE.
905
9062000-10-24  Jesper Skov  <jskov@redhat.com>
907
908        * src/generic-stub.c (__process_packet): Disable buffer size
909        z-packet.
910
9112000-10-23  Jesper Skov  <jskov@redhat.com>
912
913        * src/hal_stub.c: Made __mem_fault_handler pointer volatile.
914
9152000-10-20  Jonathan Larmour  <jlarmour@redhat.com>
916
917        * include/drv_api.h (cyg_interrupt): Make dsr_count volatile to
918        prevent compilers optimizing accesses in the wrong place.
919
9202000-10-20  Jesper Skov  <jskov@redhat.com>
921
922        * include/drv_api.h: Correct location of volatile keyword.
923        * src/drv_api.c: Same.
924
9252000-10-19  Gary Thomas  <gthomas@redhat.com>
926
927        * src/generic-stub.c (__process_packet): Add RedBoot identifier
928        in maintenance 'd' packet reply.
929
9302000-10-18  Jesper Skov  <jskov@redhat.com>
931
932        * include/hal_if.h (CYGPRI_HAL_IMPLEMENTS_IF_SERVICES): Set for
933        all non-RAM startup types.
934
9352000-10-13  Jonathan Larmour  <jlarmour@redhat.com>
936
937        * src/stubrom/stubrom.c (cyg_start): Remove unnecessary call to
938        initialize_stub()
939
9402000-09-11  Jonathan Larmour  <jlarmour@redhat.com>
941
942        * include/hal_tables.h (CYG_HAL_TABLE_EXTRA): Use new definition of
943        CYGBLD_ATTRIB_SECTION, and fix the string name up better.
944        (CYG_HAL_TABLE_ENTRY): Ditto
945        (CYG_HAL_TABLE_QUALIFIED_ENTRY): Ditto
946
9472000-09-07  Jonathan Larmour  <jlarmour@redhat.com>
948
949        * include/hal_tables.h: Fix non-standard use of paste operator to
950        remove warnings with recent gcc
951
9522000-09-04  Jonathan Larmour  <jlarmour@redhat.com>
953
954        * include/hal_tables.h (CYG_HAL_TABLE_END): Use CYGARC_P2ALIGNMENT
955        to align label
956        (CYG_HAL_TABLE_TYPE): Define
957
9582000-09-01  Jonathan Larmour  <jlarmour@redhat.com>
959
960        * src/hal_stub.c (__build_t_packet): Ensure sign extension applies
961        in the higher word, not the lower.
962        (__build_t_packet): Don't need to conditionalize on
963        CYGARC_REGSIZE_DIFFERS_FROM_TARGET_REGISTER_T as there should be no
964        problems with the current code.
965        * src/generic-stub.c (stub_format_registers): Likewise
966
967        * include/hal_if.h (CYGACC_COMM_IF_CONTROL): Remove warning due to
968        unnecessary use of cpp paste operator
969
9702000-08-28  Gary Thomas  <gthomas@redhat.com>
971
972        * src/hal_if.c:
973        * include/hal_if.h (hal_ctrlc_check): Define new routine to be
974        called by interrupt handlers (DSRs) which may be using hardware
975        shared with a debug channel.  In particular, network adaptors
976        need to call this function to see if a ^C has occurred on the
977        network debug connection.
978
9792000-08-24  Gary Thomas  <gthomas@redhat.com>
980
981        * include/hal_tables.h: Need descriminated tables (for proper sorting).
982
9832000-08-14  Drew Moseley  <dmoseley@redhat.com>
984
985        * src/hal_if.c: Added an extern declaration for
986        cyg_hal_plf_comms_init.
987
988        * src/bplist-dynamic.c: Only use breakpoint lists when building
989        stubs.
990
9912000-08-10  Drew Moseley  <dmoseley@redhat.com>
992
993        * include/generic-stub.h: Added support for register validity
994        checking.
995        * src/generic-stub.c: Ditto.
996        * src/hal_stub.c: Ditto.
997
998        * include/drv_api.h: Added cyg_code_t.
999
10002000-08-03  Gary Thomas  <gthomas@redhat.com>
1001
1002        * include/hal_if.h (CYGNUM_CALL_IF_DBG_DATA): Move to avoid
1003        conflict.
1004
10052000-07-26  Gary Thomas  <gthomas@redhat.com>
1006
1007        * src/hal_stub.c (cyg_hal_gdb_diag_putc): Ignore any characters
1008        other than the protocol chars of ACK/NAK/^C.
1009
1010        * src/hal_if.c (hal_if_diag_init): Only reset console channel
1011        if user has configured a non-default choice.
1012
10132000-07-24  Drew Moseley  <dmoseley@redhat.com>
1014
1015        * src/bplist-dynamic.c (__install_breakpoint_list): Call
1016        HAL_ICACHE_SYNC() rather than HAL_ICACHE_INVALIDATE_ALL().
1017
10182000-07-21  Drew Moseley  <dmoseley@cygnus.com>
1019
1020        * src/hal_stub.c: Cleanup of #define's.
1021
1022        * src/generic-stub.c: Rearrange the linkage between Cygmon and HAL so
1023        that Cygmon needs HAL but not vice-versa.  ie HAL no longer calls
1024        any Cygmon functions.
1025        * src/hal_misc.c: Ditto.
1026
1027        * src/bplist-dynamic.c: Use HAL macros rather than Cygmon
1028        functions for flushing the cache.
1029        Also handle the case where target_register_t is not defined.
1030
10312000-07-21  Gary Thomas  <gthomas@redhat.com>
1032
1033        * src/hal_if.c (CYGNUM_HAL_VIRTUAL_VECTOR_NUM_CHANNELS): Define to allow
1034        the number of channels to be extended by "AUX" packages.
1035
10362000-07-20  Drew Moseley  <dmoseley@redhat.com>
1037
1038        * src/generic-stub.c (stub_format_registers): Make the previous patch
1039        effective only if CYGARC_REGSIZE_DIFFERS_FROM_TARGET_REGISTER_T is
1040        defined so as to not affect any other targets.
1041        * src/hal_stub.c: Ditto.
1042
10432000-07-19  Drew Moseley  <dmoseley@redhat.com>
1044
1045        * src/generic-stub.c (stub_format_registers): Handle the case
1046        where GDB is expecting registers larger than we are storing.  ie
1047        MIPS gdb expects 64 bit registers even if we are on a 32 bit
1048        architecture.  Also, handle the sign-extension correctly if
1049        necessary.
1050        * src/hal_stub.c (__build_t_packet): Ditto.
1051
10522000-07-18  Jesper Skov  <jskov@redhat.com>
1053
1054        * src/hal_misc.c (hal_default_isr):
1055        Version gets hacked by hal_if_init - check for the hacked value.
1056
10572000-07-18  Jesper Skov  <jskov@redhat.com>
1058
1059        * src/hal_stub.c (__mem_fault_handler): Made volatile.
1060       
10612000-07-14  Drew Moseley  <dmoseley@redhat.com>
1062
1063        * src/generic-stub.c: Cleanups for better coexistence with Cygmon.
1064        * include/generic-stub.h: Ditto.
1065        * include/hal_if.h: Ditto.
1066        * include/hal_stub.h: Ditto.
1067        * src/hal_stub.c: Ditto.
1068
1069        * cdl/hal.cdl: Compile bplist-dynamic.c.
1070
1071        * src/bplist-dynamic.c: New file for supporting breakpoints in the HAL.
1072
10732000-07-14  Gary Thomas  <gthomas@redhat.com>
1074
1075        * src/hal_if.c (delay_us): Use HAL_DELAY_US() if defined.
1076
10772000-07-07  Jesper Skov  <jskov@redhat.com>
1078
1079        * src/hal_stub.c (initHardware): Fix #endif location.
1080
1081        * src/hal_if.c (hal_ctrlc_isr_init): Added hack to work around a
1082        silly but critical problem.
1083
1084        * src/hal_stub.c: Removed some CygMon conditional exclusions.
1085
1086        * src/hal_if.c (hal_ctrlc_isr_init): Don't enable interrupts when
1087        configured as ROM monitor.
1088
10892000-07-05  Jesper Skov  <jskov@redhat.com>
1090
1091        * cdl/debugging.cdl: Only allow CTRLC support if there's stubs or
1092        a ROM monitor to handle it. (Haruki Kashiwaya (kashiwaya at redhat
1093        dot com)).
1094
10952000-06-30  Jesper Skov  <jskov@redhat.com>
1096
1097        * include/hal_if.h: Make CYGACC macros call functions. May have to
1098        add some _GET macros at some time if anyone needs to access the
1099        function pointers.
1100
1101        * src/hal_stub.c:
1102        * src/hal_misc.c:
1103        * src/hal_if.c:
1104        Matching changes of CYGACC clients.
1105       
11062000-06-29  Jesper Skov  <jskov@redhat.com>
1107
1108        * src/hal_stub.c (cyg_hal_gdb_diag_putc): Check console interrupt
1109        flag and breakpoint if set.
1110
11112000-06-28  Jesper Skov  <jskov@redhat.com>
1112
1113        * src/hal_stub.c (cyg_hal_gdb_diag_putc): Don't try to set
1114        breakpoints in ROM startup - just disable interrupts. Also, use
1115        procs table function to disable device interrupts.
1116
1117        * include/hal_if.h: Mark vector/comms arrays volatile to avoid
1118        compiler confusion.
1119
1120        * include/dbg-threads-api.h: Fix C/C++ declaration issues.
1121
1122        * src/hal_stub.c: Moved stub platform init call below vector table
1123        setup.
1124
1125        * src/hal_misc.c:
1126        * src/hal_if.c:
1127        * include/hal_if.h: DBG_ISR_VECTOR and SET_TIMEOUT functions added
1128        to comms table. Added DELAY_US function to vector table. Made
1129        switching of debug channel dis/enable Ctrl-c interrupts as
1130        well. Made ctrlc_isr code use new vector entries. All this amounts
1131        to a properly switchable debug channel.
1132
11332000-06-21  Jesper Skov  <jskov@redhat.com>
1134
1135        * src/hal_stub.c: Fixed clients of vector procs tables to pass
1136        in the correct arguments. Hook O-packetizer up on procs slot
1137        reserved for IO mangler. Install mangler when necessary.
1138
1139        * src/hal_if.c: Extended set procs functions to allow temporarily
1140        switching console procs in a safe manner. Removed debug and
1141        console wrappers - all IO happens via drivers hooked up in tables
1142        rather than through hardwired macros. Proper initialization of
1143        console proc entry. Fixed clients of vector procs tables to pass
1144        in the correct arguments. Stub now does its own vector table
1145        initialization. Added special procs slot for IO manglers.
1146
1147        * include/hal_if.h: Define special IDs used by the set procs
1148        functions. PROCS_HANDLED removed since the procs table will now
1149        always service any port.
1150
11512000-06-21  Nick Garnett  <nickg@cygnus.co.uk>
1152
1153        * include/hal_stub.h: Added underscore to breakinst().
1154
1155        * include/hal_tables.h:
1156        Added this file to contain macros for defining datatables in a
1157        systematic and extensible way.
1158
11592000-06-19  Gary Thomas  <gthomas@redhat.com>
1160
1161        * cdl/hal.cdl: Revert change below - GUARANTEED can exist
1162        with STUBS defined.
1163
11642000-06-18  Gary Thomas  <gthomas@redhat.com>
1165
1166        * cdl/hal.cdl: Use of virtual vector functions for diagnostic
1167        output must be disabled when building with stubs.  Note: this
1168        lets stubs be built for platforms with guaranteed virtual
1169        vector support.
1170
11712000-06-16  Jesper Skov  <jskov@redhat.com>
1172
1173        * include/hal_if.h: All vector-dependant features hidden when
1174        config option not enabled.
1175
1176        * src/hal_if.c (hal_if_init): Fix warning.
1177
11782000-06-15  Jesper Skov  <jskov@redhat.com>
1179
1180        * include/hal_if.h: Added console-include decision logic.
1181
11822000-06-15  Nick Garnett  <nickg@cygnus.co.uk>
1183
1184        * src/drv_api.c:
1185        * include/drv_api.h: Added boolean result to cyg_drv_cond_wait()
1186        to match change to the kernel and KAPI functionality.
1187
11882000-06-14  Jesper Skov  <jskov@redhat.com>
1189
1190        * src/hal_stub.c: Added O-packetizer used by GDB stubs for virtual
1191        vector table configs.
1192
1193        * src/hal_misc.c (hal_default_isr): Check Ctrlc for both CTRLC
1194        or BREAK options.
1195
1196        * src/hal_if.c:
1197        * include/hal_if.h:
1198        Define console wrappers when necessary. Platform HALs can use
1199        these by providing raw IO functions and some config data.
1200
12012000-06-09  Jesper Skov  <jskov@redhat.com>
1202
1203        * src/hal_if.c: Implemented most of the remaining services. Some
1204        just don't have an eCos equivalent at the moment.
1205
1206        * cdl/hal.cdl: Allow virtual_vector options to have sensible
1207        default values depending on when the platform HAL port was
1208        written.
1209
1210        * src/hal_misc.c (cyg_hal_user_break): Also expect CygMon to
1211        provide the breakpoint service.
1212
1213        * src/stubrom/stubrom.c (cyg_start): Reverted change. Now handled
1214        by hal_if_init.
1215
1216        * cdl/hal.cdl: Added option for controlling use of diag services
1217        in the virtual vector table.
1218
12192000-06-08  Jesper Skov  <jskov@redhat.com>
1220
1221        * src/stubrom/stubrom.c: Call hal_diag_init to ensure IF table
1222        entries related to diag IO get initialized.
1223
1224        * src/hal_stub.c (cyg_hal_gdb_interrupt): save/restore GP so it
1225        can be used by MIPS platforms.
1226        Use reset function in ROM if available.
1227
1228        * src/hal_misc.c:
1229        * include/hal_misc.h: Functions shared between HALs. More
1230        functions are likely to be moved here if appropriate.
1231
1232        * src/hal_if.c: Interfacing related functions: table init code and
1233        function wrappers.
1234
1235        * include/hal_if.h: ROM/RAM calling interface table
1236        definitions. The layout is a combination of libbsp and vectors
1237        already in use by some eCos platforms.
1238       
1239
1240        * cdl/hal.cdl: Added CYGxxx_HAL_VIRTUAL_VECTOR_SUPPORT
1241        options. These are used to control whether a platform uses the new
1242        ROM/RAM calling interface. All platforms will be converted to use
1243        this, but piecemeal over a period of time, thus the requirement
1244        for selecting behavior.
1245
12462000-06-04  Gary Thomas  <gthomas@redhat.com>
1247
1248        * cdl/hal.cdl: Support variant 'pkgconf' headers.  This will allow
1249        [variant] common symbols to be defined, rather than duplicating
1250        them over all platforms using that variant.
1251
12522000-05-25  Jesper Skov  <jskov@redhat.com>
1253
1254        * cdl/debugging.cdl: Allow thread support to included for ROM
1255        monitor builds.
1256
12572000-05-22  Jesper Skov  <jskov@redhat.com>
1258
1259        * cdl/debugging.cdl: Allow platform to prevent CTRLC inclusion.
1260
12612000-04-12  Jesper Skov  <jskov@redhat.com>
1262
1263        * cdl/debugging.cdl: Don't let interfaces define anything.
1264
12652000-04-07  Jesper Skov  <jskov@redhat.com>
1266
1267        * cdl/hal.cdl: Fix dependencies for stub.
1268
12692000-03-28  Jesper Skov  <jskov@redhat.com>
1270
1271        * src/generic-stub.c (__process_packet): Added 'z' packet reply.
1272
12732000-03-28  John Dallaway  <jld@cygnus.co.uk>
1274
1275        * cdl/hal.cdl:
1276
1277        Adjust documentation URLs.
1278
12792000-03-24  Jesper Skov  <jskov@redhat.com>
1280
1281        * include/hal_stub.h: Fixed a bad function name. Made it opssible
1282        for archs to define CYG_HAL_GDB_ENTER_CRITICAL_IO_REGION.
1283
12842000-03-20  Jesper Skov  <jskov@redhat.com>
1285
1286        * cdl/debugging.cdl: Preclude USE_MONITOR when including stubs.
1287
12882000-03-01  Gary Thomas  <gthomas@cygnus.co.uk>
1289
1290        * cdl/common.cdl:
1291        Define CYGINT_HAL_DIAG_DISABLE_GDB_PROTOCOL_SUPPORTED as an
1292        'interface' so implementations can be properly specified.
1293
12942000-02-29  Gary Thomas  <gthomas@cygnus.co.uk>
1295
1296        * cdl/common.cdl: Option to disable GDB protocol now supported
1297        by QUICC based PowerPC systems.
1298
12992000-02-29  Jonathan Larmour  <jlarmour@redhat.co.uk>
1300
1301        * include/generic-stub.h: Make header C++ safe
1302
13032000-02-16  Jesper Skov  <jskov@redhat.com>
1304
1305        * include/hal_stub.h: fixed endian definitions.
1306
13072000-02-10  Jesper Skov  <jskov@redhat.com>
1308
1309        * include/pkgconf/hal.h: Added CYGSEM_HAL_ROM_MONITOR
1310        * src/hal_stub.c (initHardware): CYG_HAL_STARTUP_STUBS ->
1311        CYGSEM_HAL_ROM_MONITOR.
1312        Removed HAL_STUB_PLATFORM_STUBS_INIT.
1313
13142000-02-09  Jesper Skov  <jskov@redhat.com>
1315
1316        * cdl/hal.cdl: Added remaining build dependencies.
1317
13182000-02-04  Jesper Skov  <jskov@redhat.com>
1319
1320        * cdl/hal.cdl: Fix test list display.
1321
13222000-02-03  Jesper Skov  <jskov@redhat.com>
1323
1324        * include/pkgconf/hal.h: CYG_HAL_POWERPC_x->CYGPKG_...
1325
13262000-02-03  Jesper Skov  <jskov@redhat.com>
1327
1328        * cdl/debugging.cdl: Use interfaces for stub capabilities instead
1329        of exclude list.
1330        * cdl/hal.cdl: Add extra dependencies to common stub build rule.
1331       
13322000-02-02  Jesper Skov  <jskov@redhat.com>
1333
1334        * cdl/hal.cdl: Added HAL tests.
1335
13362000-01-31 Simon FitzMaurice  <sdf@cygnus.co.uk>
1337  * cdl/hal.cdl:
1338
1339  Adjust help URLs in line with new doc layout.
1340
13412000-01-28 Simon FitzMaurice  <sdf@cygnus.co.uk>
1342  * cdl/hal.cdl:
1343
1344  Adjust help URLs in line with new doc layout.
1345
13462000-01-27  Jesper Skov  <jskov@redhat.com>
1347
1348        * cdl/hal.cdl: Added simple build rules for common stub.
1349
13502000-01-26  Jonathan Larmour  <jlarmour@redhat.co.uk>
1351
1352        * src/hal_stub.c (__reset): Replace CYGDAT_CYGMON_ENABLE
1353        dependency with just CYGPKG_CYGMON
1354        (initHardware): Likewise
1355        (__set_baud_rate): Likewise
1356        (putDebugChar): Likewise
1357
13582000-01-17  John Dallaway  <jld@cygnus.co.uk>
1359
1360        * cdl/common.cdl,
1361          cdl/debugging.cdl:
1362
1363        Modify the default_value attribute for
1364        CYGFUN_HAL_COMMON_KERNEL_SUPPORT, CYGPKG_HAL_EXCEPTIONS
1365        and CYGDBG_HAL_DEBUG_GDB_THREAD_SUPPORT to do the right
1366        thing in the absence of the eCos kernel package.
1367
13681999-12-22  John Dallaway  <jld@cygnus.co.uk>
1369
1370        * cdl/hal.cdl:
1371
1372        Add CFLAGS to the custom rule for extras.o to accommodate
1373        arm big-endian targets.
1374
13751999-12-21  Jonathan Larmour  <jlarmour@cygnus.co.uk>
1376
1377        * include/pkgconf/hal.h: Rename all CYG_HAL_USE_ROM_MONITOR_GDB_STUBS
1378        -> CYGSEM_HAL_USE_ROM_MONITOR_GDB_stubs
1379        Rename all CYG_HAL_USE_ROM_MONITOR_CYGMON ->
1380        CYGSEM_HAL_USE_ROM_MONITOR_CygMon
1381        Rename all CYG_HAL_USE_ROM_MONITOR -> CYGSEM_HAL_USE_ROM_MONITOR
1382        Don't need to define CYG_HAL_SH_SH7708 any more
1383
1384        * cdl/hal.cdl: Add CYGPKG_HAL_ROM_MONITOR container package for
1385        platforms to put ROM-monitor related options into
1386        Move all ROM-monitor related options into individual platform CDL
1387
13881999-12-02  John Dallaway  <jld@cygnus.co.uk>
1389
1390        * cdl/hal.cdl:
1391
1392        Use '$<' to reference custom rule dependency.
1393
13941999-12-01  John Dallaway  <jld@cygnus.co.uk>
1395
1396        * cdl/hal.cdl:
1397
1398        Use the <PREFIX> token in custom rules.
1399
14001999-11-29  John Dallaway  <jld@cygnus.co.uk>
1401
1402        * cdl/hal.cdl:
1403
1404        Use wildcard in the custom rule for extras.o to
1405        accommodate 'make -n'.
1406
14071999-11-23  Simon Fitzmaurice <sdf@cygnus.co.uk>
1408        * cdl\common.cdl: Correct example of illiteracy
1409
14101999-11-20  Gary Thomas  <gthomas@cygnus.co.uk>
1411       
1412        * cdl/common.cdl: Add MMU tables options.
1413
1414        * include/pkgconf/hal.h (CYGSEM_HAL_INSTALL_MMU_TABLES):
1415        (CYGSEM_HAL_STATIC_MMU_TABLES): New options to control MMU table
1416        flavour and placement.
1417
14181999-11-15  Jonathan Larmour  <jlarmour@cygnus.co.uk>
1419
1420        * include/dbg-threads-api.h, include/generic-stub.h,
1421        include/hal_stub.h: Add comments to explain these header files should
1422        not be included by user programs
1423
14241999-11-09  Gary Thomas  <gthomas@cygnus.co.uk>
1425
1426        * cdl/common.cdl: Add CYGDBG_HAL_DIAG_DISABLE_GDB_PROTOCOL.
1427       
1428        * include/pkgconf/hal.h (CYGDBG_HAL_DIAG_DISABLE_GDB_PROTOCOL):
1429        New option which [explicitly] controls use of GDB protocol
1430        for diagnostic I/O.
1431
14321999-11-03  Jesper Skov  <jskov@cygnus.co.uk>
1433
1434        * cdl/hal.cdl: More crud out + mn10300 fixes.
1435
14361999-11-02  Jesper Skov  <jskov@cygnus.co.uk>
1437
1438        * cdl/hal.cdl: Cleaned out some of the CPU config entries.
1439
14401999-10-29  Gary Thomas  <gthomas@cygnus.co.uk>
1441
1442        * tests/PKGconf.mak: Add cache tests for Cirrus Logic boards.
1443
14441999-10-29  Jesper Skov  <jskov@cygnus.co.uk>
1445
1446        * tests/cache.c: Made safe for targets with no cache.
1447
1448        * tests/PKGconf.mak: Don't build cache test for ARM unless
1449        explicitly enabled.
1450
14511999-10-28  Jesper Skov  <jskov@cygnus.co.uk>
1452
1453        * tests/cache.c: Fix array size.
1454
14551999-10-27  Gary Thomas  <gthomas@cygnus.co.uk>
1456
1457        * src/hal_stub.c: Fix typo (CYGDAT_CYGMON_ENABLE).  Also need
1458        to include <pkgconf/cygmon.h>
1459
14601999-10-27  Gary Thomas  <gthomas@cygnus.co.uk>
1461
1462        * src/hal_stub.c: Add explicit enable for CygMon package.
1463
14641999-10-27  Hugo Tyson  <hmt@cygnus.co.uk>
1465
1466        * src/hal_stub.c (cyg_hal_gdb_interrupt): Bugfix to previous: ^Cs
1467        were being ignored when received by the diag output code, because
1468        there was already a break in place.  Solution is to let
1469        cyg_hal_gdb_interrupt() override any previous break, and tidy up
1470        state of course.
1471
14721999-10-26  Hugo Tyson  <hmt@cygnus.co.uk>
1473
1474        * include/hal_stub.h (CYG_HAL_GDB_ENTER_CRITICAL_IO_REGION): Place
1475        the break at the address of a label within the calling context
1476        [normally hal_diag_write_char()]; this is neater and more
1477        portable; it's supported for more targets.  Also use
1478        cyg_hal_place_break() to place it, define that, &c.
1479
1480        * src/hal_stub.c (cyg_hal_gdb_place_break): New routine to
1481        specially handle the inline breakpoint.  It basically does the
1482        same as cyg_hal_gdb_interrupt(), except on some platforms where
1483        you must do different things to set a bp from a non-interrupt
1484        context.
1485
14861999-10-25  Gary Thomas  <gthomas@cygnus.co.uk>
1487
1488        * src/hal_stub.c (putDebugChar, getDebugChar): When building with
1489        CygMon, these functions are defined by CygMon.
1490
14911999-10-26  John Dallaway  <jld@cygnus.co.uk>
1492
1493        * cdl/hal.cdl:
1494
1495        Modify custom make rule to specify file paths relative
1496        to the package version directory.
1497
14981999-10-22  Hugo Tyson  <hmt@cygnus.co.uk>
1499
1500        * include/hal_stub.h (CYG_HAL_GDB_ENTER_CRITICAL_IO_REGION):
1501        (CYG_HAL_GDB_LEAVE_CRITICAL_IO_REGION): new macros to be invoked
1502        in hal_diag routines to make atomic the code that outputs a
1503        complete GDB $O packet.  This is required so that watching
1504        variables (which is implemented by stepping) and stepping itself
1505        does not try to ss through that $O output code.  CASE 102327.
1506
1507        * src/hal_stub.c (cyg_hal_gdb_break_is_set): new routine to query
1508        whether a break is set: used by step in the stubs to decide to
1509        continue instead, because we are in a critical region.
1510        (cyg_hal_gdb_running_step): communication between generic stub and
1511        here: if set, a step has been converted into a continue, so we do
1512        NOT obey cyg_hal_gdb_remove_break until it is cleared, in
1513        handle_exception_cleanup().
1514
1515        * src/generic-stub.c (__process_packet): If there is a break set
1516        by the hal_stub.c, convert a step to continue, and set
1517        cyg_hal_gdb_running_step to say we did so.
1518
15191999-10-22  Jesper Skov  <jskov@cygnus.co.uk>
1520        Case 102379
1521        * src/generic-stub.c (__handle_exception): Flush and clear caches
1522        after cleaning up after single-stepping.
1523
1524        (memcpy, memset): Added to prevent stub hanging if user puts
1525        breakpoints in either function.
1526
15271999-10-19  Nick Garnett  <nickg@cygnus.co.uk>
1528
1529        * include/pkgconf/hal.h: Added monitor configury for Brother
1530        board.
1531       
15321999-10-10  Gary Thomas  <gthomas@cygnus.co.uk>
1533
1534        * src/thread-packets.c (stub_pkt_currthread): Fix typo in comment.
1535
1536        * src/generic-stub.c: Reorg to expose register get/set functions.
1537
15381999-10-08  Simon Fitzmaurice <sdf@cygnus.co.uk>
1539        * cdl\interrupts.cdl: Quoted '[' and ']' (significant in TCL and thus CDL)
1540
15411999-10-08  Jesper Skov  <jskov@cygnus.co.uk>
1542
1543        * cdl/interrupts.cdl: Added
1544        CYGIMP_HAL_COMMON_INTERRUPTS_IGNORE_SPURIOUS.
1545
15461999-09-22  Simon FitzMaurice <sdf@cygnus.co.uk>
1547
1548        * cdl\hal.cdl : add priority field to "extras.o" rule
1549
15501999-09-21  Gary Thomas  <gthomas@cygnus.co.uk>
1551
1552        * src/thread-packets.c: Fix some typos in comments.
1553
15541999-09-15  Jesper Skov  <jskov@cygnus.co.uk>
1555
1556        * src/hal_stub.c: Override generic GDB interrupt functions for
1557        ARM. Need them to be thumb aware.
1558
15591999-09-13  Gary Thomas  <gthomas@cygnus.co.uk>
1560
1561        * include/pkgconf/hal.h: Add new config option to allow spurious
1562        interrupts to be ignored by the HAL.
1563
1564        * src/generic-stub.c (__process_packet): Build in version string
1565        (date/time) for stubs in ROM to be returned via 'd' packet.
1566
15671999-09-09  Jonathan Larmour  <jlarmour@cygnus.co.uk>
1568
1569        * include/pkgconf/hal.h (CYGDBG_HAL_DEBUG_GDB_INCLUDE_STUBS): Rename
1570        CYGPKG_HAL_MN10300_SIM to CYGPKG_HAL_MN10300_AM31_SIM
1571
15721999-09-07  Nick Garnett  <nickg@cygnus.co.uk>
1573
1574        * src/dbg-threads-syscall.c (dbg_currthread_id): Fixed to return
1575        zero if dbg_currthread() returns false. Previously it could have
1576        returned a random value which would have made GDB think there had
1577        been a thread switch when there hadn't. It was particularly prone
1578        to do this in configurations where the kernel was absent.
1579
15801999-09-01  Gary Thomas  <gthomas@cygnus.co.uk>
1581
1582        * include/pkgconf/hal.h: Always include target and platform package
1583        include (pkgconf) files.
1584
15851999-08-26  Jonathan Larmour  <jlarmour@cygnus.co.uk>
1586
1587        * src/generic-stub.c (__hex2mem_helper):
1588        Use target_register_t when casting to address type, rather than long
1589        Since the compiler can choose arbitrary alignment of unions, force
1590        to use byte array only
1591        Restore use of loop termination test for *hexMemSrc, just in case
1592        since that's how it used to be
1593        Increment destination, not source at end of loop
1594       
1595        (__mem2hex_helper):
1596        Use target_register_t when casting to address type, rather than long.
1597        Since the compiler can choose arbitrary alignment of unions, force
1598        to use byte array only. Therefore use single __read_mem_safe() call
1599       
1600        * src/hal_stub.c (__do_copy_mem): Reassign back from dst/src at start
1601        of each "if" clause in case we go round the loop again.
1602
16031999-08-24  Gary Thomas  <gthomas@cygnus.co.uk>
1604
1605        * src/hal_stub.c (__do_copy_mem): Move temp variables to top of
1606        function - potentially safer if there is an error.
1607
16081999-08-23  Jonathan Larmour  <jlarmour@cygnus.co.uk>
1609
1610        * src/generic-stub.c (__process_packet): For 'g' and 'G' packets,
1611        when the register size differs from sizeof(target_register_t) we must
1612        adjust according to the endianness
1613
1614        * include/hal_stub.h: Ensure __LITTLE_ENDIAN__ is defined on
1615        little-endian targets
1616
1617        * src/hal_stub.c (__build_t_packet): Use the correct register sizes
1618        for PC and SP rather than assuming they are the same as target_register_t
1619
16201999-08-23  Gary Thomas  <gthomas@cygnus.co.uk>
1621
1622        * include/generic-stub.h: Change prototypes for internal functions.
1623
1624        * src/hal_stub.c (__do_copy_mem):
1625        * src/generic-stub.c (__mem2hex_helper): Rework to perform aligned,
1626        multi-byte operations when conditions allow.  This should handle
1627        most "hardware register" access cases.  Note: there currently is
1628        no good way to force GDB to require/use such accesses.
1629
16301999-08-17  Jonathan Larmour  <jlarmour@cygnus.co.uk>
1631
1632        * tests/intr.c (cyg_start): Use CYG_TEST_NA rather than a pass saying
1633        it's inapplicable
1634
16351999-08-16  Jonathan Larmour  <jlarmour@cygnus.co.uk>
1636
1637        * include/pkgconf/hal.h: Rename CYG_HAL_MN10300_AM32_STDEVAL1 to
1638        CYG_HAL_MN10300_AM31_STDEVAL1
1639
16401999-08-13  Nick Garnett  <nickg@cygnus.co.uk>
1641
1642        * src/hal_stub.c: Removed superfluous trace() extern.
1643
16441999-08-12  Nick Garnett  <nickg@cygnus.co.uk> 
1645
1646        Imported following changes from AM33 branch:
1647       
1648    1999-07-27  Nick Garnett  <nickg@cygnus.co.uk>
1649
1650        * src/hal_stub.c: Added support for 1 byte breakpoints.
1651        Removed invalidates for cache flushes - I am not entirely sure why
1652        we have these here, since HAL_DCACHE_SYNC() should do what we
1653        need, and these invalidates are causing a problem on the MIPS and
1654        MN10300 targets.
1655
1656        * include/pkgconf/hal.h: Added Monitor selection for AM33.
1657
1658    1999-06-29  Nick Garnett  <nickg@cygnus.co.uk>
1659
1660        * include/pkgconf/hal.h: Modified to match new MN10300 HAL
1661        organization.
1662
16631999-08-06  Jesper Skov  <jskov@cygnus.co.uk>
1664
1665        * src/generic-stub.c (__process_packet): FLush and clear caches
1666        after call to __single_step.
1667
16681999-07-05  Jesper Skov  <jskov@cygnus.co.uk>
1669
1670        * tests/intr.c: Don't use kernel's RTC definitions.
1671
16721999-07-02  Jesper Skov  <jskov@cygnus.co.uk>
1673        PR20157
1674        * tests/cache.c: Print stride values, preventing timeout on slow
1675        targets.
1676
16771999-06-28  Jesper Skov  <jskov@cygnus.co.uk>
1678
1679        * include/pkgconf/hal.h (CYGDBG_HAL_DEBUG_GDB_BREAK_SUPPORT):
1680        Fixed parent.
1681
16821999-06-24  Jonathan Larmour  <jlarmour@cygnus.co.uk>
1683
1684        * include/pkgconf/hal.h: Clarify descriptions of
1685        CYGDBG_HAL_DEBUG_GDB_BREAK_SUPPORT and
1686        CYGDBG_HAL_DEBUG_GDB_CTRLC_SUPPORT.
1687
16881999-06-17  Nick Garnett  <nickg@cygnus.co.uk>
1689
1690        * include/pkgconf/hal.h: Added CYGDBG_HAL_DEBUG_GDB_CTRLC_SUPPORT
1691        to enable inclusion of ^C interrupt handler. Added CDL to control
1692        it.
1693
16941999-06-10  Hugo Tyson  <hmt@cygnus.co.uk>
1695
1696        * include/pkgconf/hal.h: Add support for the PowerPC target MBX860
1697        platform, CYG_HAL_POWERPC_MBX.
1698
16991999-06-10  Gary Thomas  <gthomas@cygnus.co.uk>
1700
1701        * src/hal_stub.c: Need to init register pointer.
1702
17031999-06-08  Jesper Skov  <jskov@cygnus.co.uk>
1704
1705        * include/pkgconf/hal.h: Added CYG_HAL_ROM_MONITOR for EDK7708.
1706
17071999-05-31  Jesper Skov  <jskov@cygnus.co.uk>
1708
1709        * src/hal_stub.c: Respect HAL_BREAKINST_SIZE setting.
1710
17111999-05-28  Jesper Skov  <jskov@cygnus.co.uk>
1712
1713        * include/pkgconf/hal.h: Renamed SH platform package to edk7708.
1714
17151999-05-28  Nick Garnett  <nickg@cygnus.co.uk>
1716
1717        * src/hal_stub.c (initHardware): Added call to
1718        HAL_STUB_PLATFORM_INIT if it is defined.
1719
1720        * include/pkgconf/hal.h: Added a #undef for CYG_HAL_ROM_MONITOR,
1721        largely so that a stubrom permutation can define it.
1722
17231999-05-27  Nick Garnett  <nickg@cygnus.co.uk>
1724
1725        * src/hal_stub.c: Do not call HAL_ICACHE_INVALIDATE_ALL() and
1726        HAL_DCACHE_INVALIDATE_ALL() in __instruction_cache() and
1727        __data_cache() for MIPS targets. These macros are simply
1728        duplicates.
1729
17301999-05-27  Jesper Skov  <jskov@cygnus.co.uk>
1731
1732        * tests/cache.c:  Added handling of unified caches.
1733
17341999-05-25  Jonathan Larmour  <jlarmour@cygnus.co.uk>
1735
1736        * tests/cache.c: Use HAL_DCACHE_SYNC if available
1737
17381999-05-24  Jesper Skov  <jskov@cygnus.co.uk>
1739
1740        * include/pkgconf/hal.h: Added CPU specifier for EDK board.
1741
17421999-05-21  Jesper Skov  <jskov@cygnus.co.uk>
1743
1744        * src/hal_stub.c (__install_traps): Set exit vector to __reset.
1745
17461999-05-21  Nick Garnett  <nickg@cygnus.co.uk>
1747
1748        * include/pkgconf/hal.h: Switched VR4300 over to using GDB STUBS
1749        monitor from PMON.
1750       
17511999-05-21  Jesper Skov  <jskov@cygnus.co.uk>
1752
1753        * tests/intr.c: Get RTC values from CYGBLD_HAL_PLATFORM_H.
1754        Ensure there are fallback definitions.
1755
1756        * src/hal_stub.c (handle_exception_cleanup): Added optional call
1757        of HAL_STUB_PLATFORM_STUBS_FIXUP macro.
1758
17591999-05-18  Jesper Skov  <jskov@cygnus.co.uk>
1760
1761        * src/hal_stub.c (hal_output_gdb_string): Added missing ;
1762
17631999-05-13  Nick Garnett  <nickg@cygnus.co.uk>
1764
1765        The following changes were all made on a branch and imported into
1766        the main trunk later.
1767       
1768    1999-05-11  Nick Garnett  <nickg@cygnus.co.uk>
1769
1770        * include/pkgconf/hal.h:
1771        tidied up all MIPS targets to include CYGBLD_HAL_TARGET_H. This
1772        will eventually apply to all configurations.
1773
1774    1999-05-06  Nick Garnett  <nickg@cygnus.co.uk>
1775
1776        * src/PKGconf.mak (COMPILE): Added dbg-threads-syscall.c.
1777
1778        * include/dbg-thread-syscall.h:
1779        * src/dbg-threads-syscall.c:
1780        Files added to enable support for thread-awareness in GDB stub
1781        ROMs. The .h file has been moved from kernel/src/debug.
1782
1783    1999-04-28  Nick Garnett  <nickg@cygnus.co.uk>
1784
1785        * src/hal_stub.c (__build_t_packet): Changed sp variable to a
1786        non-pointer type to force it to be installed in the T packet with
1787        the right size.
1788
1789        * src/drv_api.c: Added cyg_interrupt_call_pending_DSRs() to keep
1790        HAL happy in non-kernel configurations.
1791
1792    1999-04-21  Nick Garnett  <nickg@cygnus.co.uk>
1793
1794        * include/pkgconf/hal.h:
1795        Added VR4300 configury for ROM monitor use and inclusion of
1796        variant-specific configuration header. This needs some further
1797        tidying up.
1798       
17991999-04-28  Bart Veer  <bartv@cygnus.co.uk>
1800
1801        * src/PKGconf.mak:
1802        Use the new rules for generating libextras.a
1803
18041999-04-27  Jesper Skov  <jskov@cygnus.co.uk>
1805
1806        * include/pkgconf/hal.h: GDB_BREAK support now available for ARM
1807        targets.
1808
18091999-04-16  Bart Veer  <bartv@cygnus.co.uk>
1810
1811        * src/PKGconf.mak:
1812        * src/dummy.c:
1813        New file that can always be added to libextras.a without
1814        affecting image sizes.
1815
18161999-04-14  Jonathan Larmour  <jlarmour@cygnus.co.uk>
1817
1818        * include/hal_stub.h:
1819        Make sure all functions have C linkage even in C++
1820
18211999-04-14  Jesper Skov  <jskov@cygnus.co.uk>
1822        PR 19845
1823        * src/generic-stub.c (__process_packet): Reset _register pointer
1824        to the exception state before attempting to set up single-step
1825        magic.
1826
18271999-04-14  Jesper Skov  <jskov@cygnus.co.uk>
1828
1829        * include/hal_stub.h: Added declaration for __stub_copy_registers.
1830
18311999-04-14  Jesper Skov  <jskov@cygnus.co.uk>
1832
1833        * src/hal_stub.c: Use HAL_xCACHE_IS_ENABLED if defined.
1834
18351999-04-09  Jesper Skov  <jskov@cygnus.co.uk>
1836
1837        * src/hal_stub.c:
1838        Moved get_register and put_register here. Made them access the
1839        currently selected register set.
1840
18411999-03-22  Jonathan Larmour  <jlarmour@cygnus.co.uk>
1842
1843        * include/dbg-threads-api.h: Update copyright
1844
1845        * src/generic-stub.c: Change Cygnus Support->Cygnus Solutions
1846
1847        * src/thread-packets.c: Update copyright
1848
1849        * src/thread-pkts.h: Update copyright
1850
18511999-03-19  Nick Garnett  <nickg@cygnus.co.uk>
1852
1853        * tests/cache.c: Added interrupt disable and enable to cache state
1854        change blocks, in line with similar changes to kcache1.
1855
18561999-03-17  Jesper Skov  <jskov@cygnus.co.uk>
1857
1858        * src/hal_stub.c (hal_output_gdb_string): Use disable/restore
1859        macros to make sure it works even when interruptible() is a NOP
1860        function.
1861
18621999-03-10  Nick Garnett  <nickg@cygnus.co.uk>
1863
1864        * include/pkgconf/hal.h:
1865        Changed include of hal_tx39_jmr3904.h to hal_tx39.h.
1866
18671999-03-05  Nick Garnett  <nickg@cygnus.co.uk>
1868
1869        * include/drv_api.h:
1870        * src/drv_api.c:
1871        Fixed some typos in non-kernel configuration support.
1872
18731999-03-04  Jesper Skov  <jskov@cygnus.co.uk>
1874        PR 19367
1875        * include/pkgconf/hal.h: Exclude GDB stubs on sparc.
1876
18771999-02-26  Jesper Skov  <jskov@cygnus.co.uk>
1878
1879        * src/generic-stub.c:
1880        * include/generic-stub.h:
1881        Added binary download patches from libstub.
1882       
18831999-02-25  Nick Garnett  <nickg@cygnus.co.uk>
1884
1885        * include/drv_api.h:
1886        * src/drv_api.c:
1887        Added these files to define driver API.
1888
18891999-02-23  Nick Garnett  <nickg@cygnus.co.uk>
1890
1891        * include/pkgconf/hal.h:
1892        Added include of <pkgconf/hal_tx39_jmr3904.h> to get TX39 speed
1893        configuration options.
1894
18951999-02-20  Jonathan Larmour  <jlarmour@cygnus.co.uk>
1896
1897        * tests/intr.c:
1898        Rename CYGNUM_VECTOR_RTC -> CYGNUM_HAL_INTERRUPT_RTC in line with
1899        HAL changes
1900
19011999-02-17  Jesper Skov  <jskov@cygnus.co.uk>
1902
1903        * src/hal_stub.c:
1904        * src/generic-stub.c (__handle_exception):
1905        Only include cyg_hal_gdb_break magic when stub is configured to
1906        handle GDB BREAK signals.
1907
19081999-02-17  Jesper Skov  <jskov@cygnus.co.uk>
1909
1910        * src/generic-stub.c (__handle_exception): Moved special signal
1911        handling here to avoid duplication for all architectures.
1912
19131999-02-16  Jesper Skov  <jskov@cygnus.co.uk>
1914
1915        * src/stubrom/stubrom.c: Changed set_debug_traps to initialize_stub.
1916
1917        * include/hal_stub.h: [added]
1918        * include/generic-stub.h:
1919        * src/hal_stub.c:     [added]
1920        * src/board.h:        [added]
1921        * src/thread-pkts.h:
1922        * src/thread-packets.c:
1923        * src/generic-stub.c:
1924        * src/PKGconf.mak:
1925        Merged in latest libstub changes. Moved most eCos specific changes
1926        into hal_stub.[ch], reducing effort required for further
1927        merging/integration.
1928
19291999-02-05  Jesper Skov  <jskov@cygnus.co.uk>
1930
1931        * include/pkgconf/hal.h: Cleaned up the MPC8xx configuration.
1932
19331999-01-29  Jesper Skov  <jskov@cygnus.co.uk>
1934
1935        * include/pkgconf/hal.h: Added simple MPC8xx configuration.
1936
19371999-01-26  Hugo Tyson  <hmt@cygnus.co.uk>
1938
1939        * tests/cache.c (time0): Waste much less time if running in a
1940        simulator.  Do only 40 loops instead of 4000.
1941        In consequence the nasty meddling with MAX_STRIDE depending on
1942        HAL_xxx_SIM package definitions can go.
1943       
19441999-01-22  Jesper Skov  <jskov@cygnus.co.uk>
1945
1946        * include/pkgconf/hal.h: Renamed CYG_HAL_POWERPC_FADS to
1947        CYGPKG_HAL_POWERPC_FADS.
1948
19491999-01-21  Jonathan Larmour  <jlarmour@cygnus.co.uk>
1950
1951        * include/pkgconf/hal.h:
1952        Tidy up and update description
1953        Add new CYGSEM_HAL_STOP_CONSTRUCTORS_ON_FLAG option to allow default
1954        priority static constructors to be deferred
1955        Remove all traces of non-CYG_KERNEL_USE_INIT_PRIORITY code
1956       
19571999-01-21  Jesper Skov  <jskov@cygnus.co.uk>
1958        Merge with FADS branch.
1959       
1960        1998-12-17  Jesper Skov  <jskov@cygnus.co.uk>
1961
1962        * include/pkgconf/hal.h: Don't allow GDB BREAK support on FADS.
1963        Define _MPC860, not _MP860.
1964
1965        1998-12-17  Jesper Skov  <jskov@cygnus.co.uk>
1966
1967        * include/pkgconf/hal.h:
1968        Added FADS entry from Kevin Hester <KHester@opticworks.com>.
1969
1970        1999-01-19  Hugo Tyson  <hmt@cygnus.co.uk>
1971
1972        * include/pkgconf/hal.h:
1973        Add CYG_KERNEL_USE_INIT_PRIORITY for SPARCLITE.
1974
19751999-01-18  Jesper Skov  <jskov@cygnus.co.uk>
1976        PR 18823
1977        * include/pkgconf/hal.h: Don't allow GDB stubs to be configured
1978        for Linux target.
1979
19801999-01-18  Jesper Skov  <jskov@cygnus.co.uk>
1981        PR 18822
1982        * include/pkgconf/hal.h: GDB_BREAK support not available for ARM
1983        targets.
1984       
19851999-01-14  Gary Thomas  <gthomas@cygnus.co.uk>
1986
1987        * src/stubrom/PKGconf.mak: Rename 'TESTS' to 'PROGS' due to
1988        changes in 'makrules.prv'.
1989
19901999-01-14  Jesper Skov  <jskov@cygnus.co.uk>
1991
1992        * src/stubrom/stubrom.c (cyg_start): Fix compiler warning.
1993
1994        * include/dbg-threads-api.h: Include cyg_type.h to get externC
1995        definition.
1996
19971999-01-14  Nick Garnett  <nickg@cygnus.co.uk>
1998
1999        * include/dbg-threads-api.h: Added prototype for dbg_scheduler().
2000
20011999-01-13  Gary Thomas  <gthomas@cygnus.co.uk>
2002
2003        * src/generic-stub.c (__output_hex_value): Change buffer size
2004        [2048 was rather large] and make stack based.  Also don't
2005        allow for string to exceed buffer.
2006
20071999-01-13  Jesper Skov  <jskov@cygnus.co.uk>
2008
2009        * src/generic-stub.c (strcpy): Terminate copied string.
2010
20111999-01-11  Jesper Skov  <jskov@cygnus.co.uk>
2012
2013        * tests/intr.c (CYGNUM_KERNEL_COUNTERS_RTC_PERIOD): Added RTC data
2014        for Linux.
2015
2016Wed Dec  9 14:07:30 GMT 1998  Chris Provenzano  <proven@cygnus.com>
2017
2018        * include/pkgconf/hal.h: Compile the i386 linux target with
2019        CYG_KERNEL_USE_INIT_PRIORITY defined.
2020
20211999-01-04  Jesper Skov  <jskov@cygnus.co.uk>
2022
2023        * src/generic-stub.c (interruptible): Cleaned up a bit.
2024
20251999-01-04  Jesper Skov  <jskov@cygnus.co.uk>
2026        PR 18572
2027
2028        * tests/cache.c: Purge data cache before invalidating it.
2029
20301998-12-09  Gary Thomas  <gthomas@cygnus.co.uk>
2031
2032        * src/generic-stub.c: Better handling of errors while stubs
2033        are accessing memory on behalf of GDB.  Requires support for
2034        GCC 'computed goto label' in top-level exception handler.
2035
20361998-12-09  Jesper Skov  <jskov@cygnus.co.uk>
2037
2038        * include/pkgconf/hal.h: Removed the
2039        CYGARC_HAL_COMMON_EXPORT_CPU_MACROS option. Causing failures in
2040        permutation tests.
2041
20421998-12-07  Jesper Skov  <jskov@cygnus.co.uk>
2043
2044        * src/generic-stub.c (process_exception): Send an acknowledge char
2045        on first entry so GDB doesn't timeout before resending its initial
2046        packet.
2047
20481998-11-26  Jesper Skov  <jskov@cygnus.co.uk>
2049
2050        * include/pkgconf/hal.h: Added
2051        CYGARC_HAL_COMMON_EXPORT_CPU_MACROS.
2052
20531998-11-23  Jesper Skov  <jskov@cygnus.co.uk>
2054
2055        * tests/cache.c: Only run with stride 1 on SIMs.
2056
20571998-11-23  Jesper Skov  <jskov@cygnus.co.uk>
2058
2059        * include/pkgconf/hal.h: Define SIM as a 603 CPU.
2060
20611998-11-19  Jesper Skov  <jskov@cygnus.co.uk>
2062
2063        * tests/intr.c:
2064        Make the test do nothing if kernel real-time clock is enabled.
2065        Added different timer constants for PPC SIM and HW.
2066
20671998-11-17  Jesper Skov  <jskov@cygnus.co.uk>
2068
2069        * tests/intr.c:
2070        * include/pkgconf/hal.h:
2071        Renamed CYG_HAL_POWERPC_MP860 to CYG_HAL_POWERPC_MPC860.
2072       
20731998-11-04  Jesper Skov  <jskov@cygnus.co.uk>
2074
2075        * include/pkgconf/hal.h: Made CYGDBG_HAL_DEBUG_GDB_BREAK_SUPPORT a
2076        sub-option of CYGDBG_HAL_DEBUG_GDB_INCLUDE_STUBS.
2077
20781998-11-16  Jesper Skov  <jskov@cygnus.co.uk>
2079
2080        * include/pkgconf/hal.h: Allow GDB stubs to be configured for
2081        MN10300 HW. Allow GDB_BREAK for all but tx39.
2082
20831998-11-04  Jesper Skov  <jskov@cygnus.co.uk>
2084
2085        * include/pkgconf/hal.h: Made CYGDBG_HAL_DEBUG_GDB_BREAK_SUPPORT a
2086        sub-option of CYGDBG_HAL_DEBUG_GDB_INCLUDE_STUBS.
2087
20881998-11-04  Jesper Skov  <jskov@cygnus.co.uk>
2089
2090        * src/generic-stub.c (process_packet): Flush D cache before
2091        invalidating I cache.
2092
20931998-11-02  Jesper Skov  <jskov@cygnus.co.uk>
2094
2095        * src/generic-stub.c (__handle_exception): Check for breakpoints
2096        set by GDB interrupt handler.
2097
20981998-10-25  Jesper Skov  <jskov@cygnus.co.uk>
2099
2100        * src/thread-packets.c: Fixed closing #endif comment.
2101
2102        * src/generic-stub.c: Fixed closing #endif comment.
2103
21041998-10-23  Jesper Skov  <jskov@cygnus.co.uk>
2105
2106        * src/hal_common.c: Removed. We can't use weak default functions
2107        when they may conflict with strong functions in the library.
2108
21091998-10-23  Jesper Skov  <jskov@cygnus.co.uk>
2110
2111        * include/generic-stub.h: Added __interruptible_control.
2112
21131998-10-23  Jesper Skov  <jskov@cygnus.co.uk>
2114        PR 17460, PR 17913
2115
2116        * include/pkgconf/hal.h: Let HAL exception support require Kernel
2117        exception support.
2118
21191998-10-21  Jesper Skov  <jskov@cygnus.co.uk>
2120        PR 17842
2121
2122        * include/pkgconf/hal.h: Let HAL GDB thread support require Kernel
2123        GDB thread support.
2124
21251998-10-20  Jesper Skov  <jskov@lassi.cygnus.co.uk>
2126        PR 17460
2127
2128        * src/hal_common.c: Added. Includes a weak handle_exception
2129        definition.
2130
21311998-10-20  Jesper Skov  <jskov@cygnus.co.uk>
2132        PR 17885, 17880, 17841
2133
2134        * include/pkgconf/hal.h: Don't allow GDB stubs to be configured
2135        for SIMs or MN10300.
2136
21371998-10-19  Jesper Skov  <jskov@lassi.cygnus.co.uk>
2138
2139        * src/thread-packets.c: Sync'd with libstub source.
2140
21411998-10-16  Bart Veer  <bartv@cygnus.co.uk>
2142
2143        * include/pkgconf/hal.h (CYGNUM_HAL_COMMON_INTERRUPTS_STACK_SIZE):
2144        Added new configuration option for interrupt stack size.
2145
2146Thu Oct 15 21:25:55 1998  Jonathan Larmour  <jlarmour@cygnus.co.uk>
2147
2148        * include/pkgconf/hal.h:
2149        Make CYGFUN_HAL_COMMON_KERNEL_SUPPORT require the kernel, as it
2150        is enabling this is eCos-kernel specific, and relies on
2151        configuration options defined only in the kernel
2152        Required for PR 17229
2153
21541998-10-15  Jesper Skov  <jskov@cygnus.co.uk>
2155
2156        * include/pkgconf/hal.h (CYGDBG_HAL_DEBUG_GDB_BREAK_SUPPORT):
2157        Added config option.
2158
21591998-10-14  Nick Garnett  <nickg@cygnus.co.uk>
2160
2161        * include/pkgconf/hal.h:
2162        Move some configury from kernel.h to here. Particularly the
2163        support for GDB stubs.
2164
2165        * tests/cache.c:
2166        * tests/context.c:
2167        * tests/intr.c:
2168        * tests/PKGconf.mak:
2169        New directory of HAL-only test programs. Currently contains some
2170        very basic test programs.
2171
2172        * include/generic-stub.h:
2173        * include/dbg-threads-api.h:
2174        * src/generic-stub.c:
2175        * src/thread-packets.c:
2176        * src/thread-pkts.h:
2177        * src/stubrom/PKGconf.mak:
2178        * src/stubrom/stubrom.c:
2179        Moved these files here from kernel.
2180
21811998-10-08  Gary Thomas  <gthomas@penang.cygnus.co.uk>
2182
2183        * include/pkgconf/hal.h:
2184        Add support for new architecture.
2185
21861998-09-23  Nick Garnett  <nickg@cygnus.co.uk>
2187
2188        * include/pkgconf/hal.h:
2189        Switched TX39 over to using CYGMON from GDB stubs.
2190
2191Tue Sep 15 19:13:04 1998  David Moore  <dsm@keema.cygnus.co.uk>
2192
2193        * include/pkgconf/hal.h: Cleaned up comments.
2194
2195Mon Sep 14 11:08:26 1998  Jesper Skov  <jskov@lassi.cygnus.co.uk>
2196        PR 17230
2197
2198        * include/pkgconf/hal.h: Added IMP_HAL_COMMON_INTERRUPTS_CHAIN
2199        option.
2200
22011998-09-14  Bart Veer  <bartv@cygnus.co.uk>
2202
2203        * include/pkgconf/hal.h:
2204        Fixed typo in description.
2205
22061998-09-12  Bart Veer  <bartv@cygnus.co.uk>
2207
2208        * include/pkgconf/hal.h:
2209        Sort out exception handling options (PR 16953)
2210        Added missing descriptions (PR 17184)
2211
2212Tue Sep  8 17:16:39 1998  Hugo Tyson  <hmt@cygnus.co.uk>
2213
2214        * include/pkgconf/hal.h:
2215        Elide some spurious redefines of CYG_HAL_MN10300_STDEVAL1 and
2216        CYG_HAL_MN10300_SIM within ifdefs conditioned on same.
2217
22181998-09-03  Bart Veer  <bartv@cygnus.co.uk>
2219
2220        * include/pkgconf/hal.h:
2221        CYGPKG_HAL_COMMON is now a component, not a package.
2222
22231998-09-02  Bart Veer  <bartv@cygnus.co.uk>
2224
2225        * include/pkgconf/hal.h:
2226        Moved target and platform specific configuration data to
2227        the appropriate packages.
2228       
2229        Symbols identifying the target hardware should be just defined,
2230        not given a value, as per the coding standards.
2231
2232Mon Aug 31 09:16:08 1998  Jesper Skov  <jskov@cygnus.co.uk>
2233
2234        * include/pkgconf/hal.h: Added INIT_PRIORITY default setting for
2235        powerpc.
2236
22371998-08-28  Bart Veer  <bartv@cygnus.co.uk>
2238
2239        * include/pkgconf/hal.h:
2240        Added configuration data.
2241
22421998-08-20  Nick Garnett  <nickg@cygnus.co.uk>
2243
2244        * include/pkgconf/hal.h:
2245        Moved definition of CYG_KERNEL_USE_INIT_PRIORITY here from
2246        kernel.h.
2247
22481998-08-18  Nick Garnett  <nickg@cygnus.co.uk>
2249
2250        * include/pkgconf/hal.h:
2251        Created this file to contain HAL config options.
2252
2253//===========================================================================
2254//####ECOSGPLCOPYRIGHTBEGIN####
2255// -------------------------------------------
2256// This file is part of eCos, the Embedded Configurable Operating System.
2257// Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.
2258// Copyright (C) 2003 Jonathan Larmour
2259//
2260// eCos is free software; you can redistribute it and/or modify it under
2261// the terms of the GNU General Public License as published by the Free
2262// Software Foundation; either version 2 or (at your option) any later version.
2263//
2264// eCos is distributed in the hope that it will be useful, but WITHOUT ANY
2265// WARRANTY; without even the implied warranty of MERCHANTABILITY or
2266// FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
2267// for more details.
2268//
2269// You should have received a copy of the GNU General Public License along
2270// with eCos; if not, write to the Free Software Foundation, Inc.,
2271// 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
2272//
2273// As a special exception, if other files instantiate templates or use macros
2274// or inline functions from this file, or you compile this file and link it
2275// with other works to produce a work based on this file, this file does not
2276// by itself cause the resulting work to be covered by the GNU General Public
2277// License. However the source code for this file must still be made available
2278// in accordance with section (3) of the GNU General Public License.
2279//
2280// This exception does not invalidate any other reasons why a work based on
2281// this file might be covered by the GNU General Public License.
2282//
2283// Alternative licenses for eCos may be arranged by contacting Red Hat, Inc.
2284// at http://sources.redhat.com/ecos/ecos-license/
2285// -------------------------------------------
2286//####ECOSGPLCOPYRIGHTEND####
2287//===========================================================================
Note: See TracBrowser for help on using the repository browser.