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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [rtos/] [ecos-2.0/] [packages/] [hal/] [common/] [v2_0/] [ChangeLog] - Blame information for rev 27

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

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

powered by: WebSVN 2.1.0

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