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