1 2004-04-22 Jani Monoses <jani@iv.ro>
3 * cdl/hal_mn10300.cdl :
4 Invoke tail with stricter syntax that works in latest coreutils.
6 2003-12-08 Gary Thomas <gary@mlbassoc.com>
8 * src/hal_misc.c: Only declare __mem_fault_handler if GDB stubs
9 are included (and it will be used).
11 2003-01-31 Mark Salter <msalter@redhat.com>
13 * src/hal_syscall.c (hal_syscall_handler): Let generic syscall code
16 2002-12-06 Mark Salter <msalter@redhat.com>
18 * cdl/hal_mn10300.cdl: Add CYGINT_HAL_MN10300_MEM_REAL_REGION_TOP.
19 * include/hal_intr.h: Support CYGINT_HAL_MN10300_MEM_REAL_REGION_TOP.
21 2002-04-29 Jonathan Larmour <jlarmour@redhat.com>
24 Don't use .file as it can confuse debugging since the .file
25 doesn't contain the path and therefore the debugger will never
26 know where it lives! This conflicts with using -Wa,--gstabs.
28 2002-04-15 Jonathan Larmour <jlarmour@redhat.com>
30 * src/hal_syscall.c (hal_syscall_handler): Add extra sig argument to
33 2001-11-16 Nick Garnett <nickg@redhat.com>
35 * src/hal_misc.c (hal_msbit_index): Fixed this function so that it
38 2001-10-16 David Howells <dhowells@redhat.com>
40 * src/hal_syscall.c: mustn't increment the return address by 4.
41 * cdl/hal_mn10300.cdl: moved the RTC configuration previously
42 added to the ASB2305 platform.
44 2001-10-16 David Howells <dhowells@redhat.com>
46 * src/vectors.S: conditionally call diagnostic macros on entry and
47 exit to default NMI handler and make inclusion of RedBoot header
50 2001-10-15 David Howells <dhowells@redhat.com>
52 * include/mn10300_stub.h: added syscall handling.
53 * src/hal_syscall.c: ditto
54 * src/mn10300_stub.c: ditto
55 * src/vectors.S: ditto
56 * cdl/hal_mn10300.cdl: added RTC configuration.
58 2001-07-27 David Howells <dhowells@redhat.com>
60 * include/mn10300_stub.h: set NUMREGS to be the correct value to
62 * include/hal_io.h: refer to plf_io.h
63 * include/arch.inc: note presence of the ASB2305 platform
64 * src/vectors.S: Adjusted exception handling to be able to cope
65 with AM33v2 exceptions.
67 2001-01-18 Nick Garnett <nickg@cygnus.co.uk>
69 * src/vectors.S: Added underscore to reference to
70 cyg_scheduler_sched_lock, since CYGBLD_ATTRIB_ASM_ALIAS() now adds
73 2000-11-30 Drew Moseley <dmoseley@redhat.com>
75 * include/hal_arch.h: Handle Cygmon interrupt stack. ie For
76 Cygmon we must switch to a new stack immediately on exception to
77 make sure that we don't modify the application stack at all since
79 * src/vectors.S: Ditto.
81 2000-10-20 Jesper Skov <jskov@redhat.com>
83 * src/hal_misc.c: Update __mem_fault_handler declaration.
85 2000-09-04 Jonathan Larmour <jlarmour@redhat.com>
87 * include/basetype.h (CYGARC_ALIGNMENT): mn10300 has 4 byte alignment
88 (CYGARC_P2ALIGNMENT): Likewise
90 2000-08-29 Jonathan Larmour <jlarmour@redhat.co.uk>
92 * src/vectors.S (__default_nmi_vsr): Fix quoting in comment problem
94 2000-08-15 Drew Moseley <dmoseley@redhat.com>
96 * src/mn10300_stub.c (__is_breakpoint_function): Prepend an _ to
97 breakinst. Apparently the symbol generation has changed requiring
100 2000-08-14 Drew Moseley <dmoseley@redhat.com>
102 * src/vectors.S: Use some generic MN10300 code rather than AM33-specific.
104 * include/mn10300_stub.h: Some cleanups of AM33/2.00 includes.
106 * src/mn10300_stub.c (__computeSignal): Make sure SIGSYSCALL is
107 defined before returning it.
109 2000-08-12 Drew Moseley <dmoseley@redhat.com>
111 * include/mn10300_stub.h: More rearranging of GDB regnames.
113 2000-08-11 Drew Moseley <dmoseley@redhat.com>
115 * include/mn10300_stub.h: Rearranged regnames to correspond to
116 what GDB is expecting.
118 * include/arch.inc: Fixed error in declaration of hal_intc_decode.
120 2000-08-10 Drew Moseley <dmoseley@redhat.com>
122 * src/vectors.S: Added syscall handling.
123 Added HAL_EARLY_INIT.
125 Added CYGMON support.
127 * src/mn10300_stub.c: Added breakpoint list handling.
128 Added syscall handling.
130 * src/hal_misc.c (cyg_hal_exception_handler): Added support for
131 exceptions caused by the stubs which are passed transparently
133 Also added VIRTUAL_VECTOR support.
135 * include/hal_arch.h: Added HAL_BREAKINST_TYPE.
136 Added Cygmon support.
138 * include/arch.inc: Added AM33/2.00 board support.
140 * include/mn10300_stub.h: Added AM33/2.00 support.
142 * cdl/hal_mn10300.cdl: Added option for CTRLC_SUPPORT.
143 * include/pkgconf/hal_mn10300.h: Ditto.
145 2000-06-21 Nick Garnett <nickg@cygnus.co.uk>
147 * include/hal_arch.h: Added underscores to label in
150 * include/basetype.h:
151 Removed definition of CYG_LABEL_NAME() and added one for
154 2000-06-08 Jesper Skov <jskov@redhat.com>
156 * include/hal_arch.h (CYGARC_HAL_SAVE_GP, CYGARC_HAL_RESTORE_GP):
159 2000-03-20 Jonathan Larmour <jlarmour@redhat.co.uk>
161 * src/vectors.S (__default_interrupt_vsr): Pass variant-specific PC
162 offset from register context into cyg_hal_gdb_isr()
164 * include/hal_arch.h: Move HAL_SavedRegisters into variant HALs
166 2000-03-19 Jonathan Larmour <jlarmour@redhat.co.uk>
168 * include/mn10300_stub.h: Make C++ safe
170 2000-02-16 Jesper Skov <jskov@redhat.com>
172 * cdl/hal_mn10300.cdl: remove fix me.
174 1999-11-09 Jonathan Larmour <jlarmour@cygnus.co.uk>
176 * include/hal_intr.h (HAL_RESTORE_INTERRUPTS): Ensure we restore the
177 old state exactly, including "restoring" by disabling interrupts
178 Requested by Matsushita in case 102544
180 1999-12-02 John Dallaway <jld@cygnus.co.uk>
182 * cdl/hal_mn10300.cdl:
184 Use the <PACKAGE> token in custom rules.
186 1999-12-01 John Dallaway <jld@cygnus.co.uk>
188 * cdl/hal_mn10300.cdl:
190 Use the <PREFIX> token in custom rules.
192 1999-11-04 John Dallaway <jld@cygnus.co.uk>
194 * cdl/hal_mn10300.cdl:
196 Output custom rule dependency information to .deps files in
197 the current directory.
199 Dispense with the need to create a 'src' sub-directory.
201 1999-11-03 Jesper Skov <jskov@cygnus.co.uk>
203 * cdl/hal_mn10300.cdl: Added.
205 1999-09-10 Jonathan Larmour <jlarmour@cygnus.co.uk>
207 * include/hal_cache.h: Change CYG_HAL_MN10300_SIM to
208 CYG_HAL_MN10300_AM31_SIM
209 Only include var_cache.h when not sim
211 1999-08-18 Nick Garnett <nickg@cygnus.co.uk>
213 * src/hal_misc.c (cyg_hal_exception_handler):
214 Use CYGNUM_HAL_EXCEPTION_WATCHDOG rather than
215 CYGNUM_HAL_INTERRUPT_WATCHDOG in test for watchdog exceptions.
217 1999-08-17 Nick Garnett <nickg@cygnus.co.uk>
219 * include/arch.inc: Modified hal_cpu_int_merge to avoid corrupting
220 any registers other than the one passed as an argument.
222 1999-08-16 Jonathan Larmour <jlarmour@cygnus.co.uk>
224 * include/arch.inc: rename CYGPKG_HAL_MN10300_AM32_STDEVAL1 to
225 CYGPKG_HAL_MN10300_AM31_STDEVAL1
227 1999-08-13 Nick Garnett <nickg@cygnus.co.uk>
229 * include/arch.inc: Moved AM33 trace address to uncached memory
232 * src/vectors.S (_start): Tidied away some superfluous trace
235 1999-08-12 Nick Garnett <nickg@cygnus.co.uk>
237 Imported following changed from development branch.
239 1999-08-11 Nick Garnett <nickg@cygnus.co.uk>
241 * src/vectors.S: Removed debug code.
243 * include/hal_intr.h: Made mn10300_interrupt_control[] unsized
244 since it is different sizes on different variants.
247 Changed hal_cpu_int_merge so that both the IE and IPL bits are
248 changed across a thread switch.
249 Some minor tweaks to trace code for AM32.
251 1999-08-10 Jonathan Larmour <jlarmour@cygnus.co.uk>
253 * include/pkgconf/hal_mn10300.h:
254 Move CYGPKG_HAL_MN10300's "target mn10300" under the variant
256 Add CYGPKG_HAL_MN10300_VARIANTS
258 1999-07-30 Nick Garnett <nickg@cygnus.co.uk>
260 * src/hal_misc.c: Added default ISR.
263 Added Ctrl-C support. Extended VSR table to include new
264 exceptions. Install default ISR by default.
266 * src/mn10300_stub.c:
267 Added asynchronous breakpoint support.
268 [Later] Tidied up install_async_breakpoint() and fixed indirection
271 * include/hal_intr.h:
272 Added default ISR. Removed HAL_INTERRUPT_CONFIGURE(), this is now
275 1999-07-27 Nick Garnett <nickg@cygnus.co.uk>
278 Some reorganization to make code more generic.
279 Some diagnostic macros added.
280 Note: some trace/debug code has been left in place temporarily,
281 this will be removed eventually.
283 * include/mn10300_stub.h: Added extra regnames for AM33.
285 * include/hal_arch.h:
286 Added macros to get and set extra registers for AM33.
288 Changed all *_MIPS_* to *_MN10300_*.
289 Added some temporary trace/debug macros.
291 1999-07-16 Nick Garnett <nickg@cygnus.co.uk>
294 * include/hal_arch.h:
295 Added hal_idle_thread_action();
297 * include/arch.inc: Made hal_cpu_init definition optional.
299 1999-07-08 Nick Garnett <nickg@cygnus.co.uk>
302 Moved some code to variant specific macros. Now pass ISR register
303 to cyg_hal_exception_handler() to enable further decoding.
305 * src/hal_misc.c (cyg_hal_exception_handler):
306 Added extra argument to pass ISR register value. Now decodes ISR
307 value to specify extra exceptions.
309 1999-07-07 Nick Garnett <nickg@cygnus.co.uk>
311 * include/hal_intr.h:
312 Added HAL_INTERRUPT_STACK_CALL_PENDING_DSRS() macro to support
313 calling of DSRs on the interrupt stack.
315 * include/hal_arch.h (HAL_THREAD_INIT_CONTEXT):
316 Initialize the PSW to enable all interrupts on entry to thread.
319 Added implementations of CPU control macros.
322 Added code to preserve PSW across context switches.
325 Implemented mechanism to call DSRs on the interrupt stack.
326 Refined condition for defining VSR table here.
328 1999-06-30 Nick Garnett <nickg@cygnus.co.uk>
332 Use hal_cpu_save_all and hal_cpu_load_all macros to save and
333 restore CPU register sets.
335 * include/hal_arch.h:
336 Modified HAL_THREAD_INIT_CONTEXT_EXTRA() to take some arguments.
338 1999-06-29 Nick Garnett <nickg@cygnus.co.uk>
340 * include/hal_arch.h:
341 Added code in preparation for AM33 port.
342 Added include of variant header.
344 * include/hal_cache.h:
345 * include/hal_intr.h:
348 Extensive changes to convert to new HAL organization. These mostly
349 involve moving variant and platform specific stuff out to the
350 appropriate headers in the variant and platform directories.
353 * src/mn10300.ld (removed):
354 Moved build of target.ld to variant directory.
357 Added this file to contain architecture specific macros.
359 1999-06-08 Jesper Skov <jskov@cygnus.co.uk>
361 * src/hal_misc.c (cyg_hal_dcache_store): Only define for HW target.
363 1999-06-07 Jesper Skov <jskov@cygnus.co.uk>
365 * src/hal_misc.c (cyg_hal_dcache_store):
366 * include/hal_cache.h (HAL_DCACHE_STORE):
367 DCACHE store operation needs 4 register variables. Put it in a
368 separate function to ensure registers are availble.
370 1999-05-21 Hugo Tyson <hmt@masala.cygnus.co.uk>
372 * include/hal_intr.h: Define HAL_INTERRUPT_STACK_BASE and
373 HAL_INTERRUPT_STACK_TOP so that stack usage macros in
374 kernel/.../stackmon.hxx can work.
376 * src/vectors.S (cyg_interrupt_stack_base): Define this symbol for
377 the interrupt stack and its friend for the stack top so that we
378 can publish them with nice names.
380 1999-05-13 Hugo Tyson <hmt@cygnus.co.uk>
382 * include/hal_arch.h (HAL_THREAD_INIT_CONTEXT): Align stack
383 (rather conservatively) before use.
385 1999-04-28 Bart Veer <bartv@cygnus.co.uk>
388 Remove the -n argument to tail, it does not appear to be required
389 on any supported host and causes problems with some
390 implementations of tail.
392 1999-04-20 Jonathan Larmour <jlarmour@cygnus.co.uk>
394 * include/hal_cache.h:
395 (HAL_DCACHE_IS_ENABLED) (HAL_ICACHE_IS_ENABLED): Add these new macros
396 (HAL_DCACHE_DISABLE) (HAL_ICACHE_DISABLE): Make variables register
398 Ensure the cache has finished its operation before exitting.
399 (HAL_DCACHE_INVALIDATE_ALL) (HAL_ICACHE_INVALIDATE_ALL): Make
400 variables register variables.
401 Re-enable cache if it was enabled on entry.
402 (HAL_DCACHE_WRITE_MODE): Make variables register variables.
403 Re-enable data cache if it was enabled on entry.
404 Ensure the cache has finished its operation before exitting.
405 (HAL_DCACHE_STORE): Make variables register variables.
406 Re-enable data cache if it was enabled on entry.
410 1999-04-15 Jonathan Larmour <jlarmour@cygnus.co.uk>
412 * src/mn10300.ld: Define __bss_end at the end of the BSS
413 * src/vectors.S (_start): Use __bss_end rather than _end when clearing
417 1999-04-15 Jonathan Larmour <jlarmour@cygnus.co.uk>
421 Separate parts of cyg_hal_invoke_constructors() out into new functions
422 cyg_hal_enable_caches() and cyg_hal_debug_init() so that
423 cyg_hal_invoke_constructors() can be called again safely if
427 1999-04-14 Jonathan Larmour <jlarmour@cygnus.co.uk>
429 * src/PKGconf.mak (EXTRAS): Don't generate extras.o here any more
430 But do define EXTRAS every time for the linker script.
432 1999-04-09 Jesper Skov <jskov@cygnus.co.uk>
434 * src/mn10300_stub.c:
435 Moved get_register and put_register to hal_stub.c.
437 1999-04-08 John Dallaway <jld@cygnus.co.uk>
439 * src/*.ld: Revised SECTION_* macro arguments to
440 avoid padded output sections (PR 19787)
442 1999-03-31 Nick Garnett <nickg@cygnus.co.uk>
444 * include/hal_arch.h (HAL_THREAD_INIT_CONTEXT): Align initial SP
445 to a 4 byte boundary. Fixes PR 19695.
447 * include/hal_cache.h: Added include of hal.h and a test that a
448 valid set of macros have been added.
450 1999-03-26 Gary Thomas <gthomas@cygnus.co.uk>
452 * include/hal_arch.h (CYGNUM_HAL_STACK_SIZE_MINIMUM): Be a little
453 more generous since this stack should allow at least a kernel API
454 call which could be at least 4 levels deep.
456 1999-03-23 Nick Garnett <nickg@cygnus.co.uk>
458 * include/hal_arch.h:
459 Modified stack size definitions to be more accurate.
461 1999-03-22 Jonathan Larmour <jlarmour@cygnus.co.uk>
463 * include/mn10300_stub.h: Update copyright
465 * src/mn10300_stub.c: Update copyright
467 1999-03-22 Hugo Tyson <hmt@cygnus.co.uk>
469 * include/hal_arch.h:
470 Use CYGNUM_HAL_STACK_SIZE_TYPICAL for the stack size instead of
471 CYGNUM_HAL_MINIMUM_STACK_SIZE.
473 1999-03-19 Nick Garnett <nickg@cygnus.co.uk>
477 Fixed problem with taking breakpoints after watchdog interrupts
478 and memory access exceptions. See the comments in
479 __default_nmi_vsr in vector.S for details.
481 1999-03-17 John Dallaway <jld@cygnus.co.uk>
483 * src/PKGconf.mak: Remove dependence on echo '-e' switch.
485 1999-03-12 Gary Thomas <gthomas@cygnus.co.uk>
487 * include/hal_arch.h: Add definition of 'CYGNUM_HAL_MINIMUM_STACK_SIZE'
489 1999-03-10 Jesper Skov <jskov@cygnus.co.uk>
491 * include/hal_intr.h (HAL_INTERRUPT_ATTACH): Added.
493 1999-03-08 Nick Garnett <nickg@cygnus.co.uk>
496 Added alignment before definition of __DEVTAB__.
498 1999-03-05 Gary Thomas <gthomas@cygnus.co.uk>
501 * src/mn10300.ld: Clean up I/O package changes.
503 1999-03-04 Jonathan Larmour <jlarmour@cygnus.co.uk>
506 Unconditionalize use of libextras.a and add to GROUP()
508 1999-02-25 Nick Garnett <nickg@cygnus.co.uk>
511 Now tests for whether the kernel is present before trying to use
512 patch_dbg_syscalls().
514 * include/hal_intr.h (HAL_INTERRUPT_CONFIGURE): fixed some compile
518 Changed label used to access scheduler lock to one that is not
519 mangled by C++. This is intended to make support for interrupt
520 handling in non-kernel configurations easier.
522 1999-02-20 Jonathan Larmour <jlarmour@cygnus.co.uk>
524 * include/hal_arch.h:
525 Rename deliver_exception() -> cyg_hal_deliver_exception()
528 * include/hal_intr.h:
529 Reorganise vector/interrupt/exception names according to purpose
533 Rename deliver_exception() -> cyg_hal_deliver_exception()
534 Rename CYG_VECTOR_* according to hal_intr.h changes above
538 Rename exception_handler() -> cyg_hal_exception_handler()
540 1999-02-16 Jesper Skov <jskov@cygnus.co.uk>
542 * src/vectors.S: Changed set_debug_traps to initialize_stub.
544 * src/mn10300_stub.c:
545 * include/mn10300_stub.h:
546 Cleaned up to only include arch specific stub code.
548 1999-02-15 Jesper Skov <jskov@cygnus.co.uk>
550 * include/basetype.h: Added CYG_LABEL_NAME macro.
552 1999-02-11 Nick Garnett <nickg@cygnus.co.uk>
554 * include/hal_cache.h (HAL_DCACHE_STORE):
555 Added "register" keywords to the variables used in this macro. If
556 these are not in registers then when the cache is disabled, they
557 can be stranded in the cache and the random values in main memory
558 are used instead. This is only a problem when optimization is
559 disabled; under optimization the compiler puts these variables
560 into registers as a matter of course.
562 (HAL_DCACHE_SYNC): Divide cache size by number of ways to
563 calculate correct size to pass to HAL_DCACHE_STORE().
565 1999-02-05 John Dallaway <jld@cygnus.co.uk>
567 * src/mn10300.ld: Add LMA_EQ_VMA macro definition.
569 1999-02-01 Nick Garnett <nickg@cygnus.co.uk>
571 * include/hal_cache.h: Fixed implementation of HAL_DCACHE_STORE() so
572 that it now works, and changed implementation of HAL_DCACHE_SYNC()
574 Fixes PR 18577 and is a better fix to 18849.
576 1999-01-27 Nick Garnett <nickg@cygnus.co.uk>
578 * include/hal_intr.h:
580 Allow for NMI vectors in ISR table when using chained
581 interrupts. This largely consists of moving the interrupt vector
582 slots up by 3 entries.
584 1999-01-26 Hugo Tyson <hmt@masala.cygnus.co.uk>
587 Add copyright notice. (Though these files will later be generated
588 by a tool and so not copyright, these default setups are.)
590 1999-01-25 Jesper Skov <jskov@cygnus.co.uk>
592 * src/mn10300_stub.c (__build_t_packet): Rewrote fix me text. Added PR
593 number, but otherwise left the note.
595 1999-01-25 Nick Garnett <nickg@cygnus.co.uk>
597 * include/hal_cache.h (HAL_DCACHE_SYNC): Add implementation of
598 this macro to enable test programs to work.
601 1999-01-21 Jonathan Larmour <jlarmour@cygnus.co.uk>
603 * src/hal_misc.c (cyg_hal_invoke_constructors):
604 Add code to deal with CYGSEM_HAL_STOP_CONSTRUCTORS_ON_FLAG
605 Tidy up and update description header
606 Shorten needlessly long lines
607 Remove all traces of non-CYG_KERNEL_USE_INIT_PRIORITY code
609 1999-01-14 John Dallaway <jld@cygnus.co.uk>
611 * src/mn10300.ld: do not define _hal_vsr_table for minimal
614 1999-01-13 Gary Thomas <gthomas@cygnus.co.uk>
616 * include/basetype.h: CYG_DOUBLE_BYTEORDER now in <infra/cyg_type.h>
618 1999-01-13 John Dallaway <jld@cygnus.co.uk>
620 * src/mn10300.ld: define FOLLOWING () macro to simplify
621 hand editing of linker script fragments
623 1999-01-12 Gary Thomas <gthomas@cygnus.co.uk>
625 * include/basetype.h (CYG_DOUBLE_BYTEORDER): Define ordering
626 for words within doubles.
628 1999-01-12 Nick Garnett <nickg@cygnus.co.uk>
630 * src/hal_misc.c: Altered call to patch_dbg_syscalls() to pass
631 pointer to base of vector rather than a single vector entry.
633 1999-01-12 John Dallaway <jld@cygnus.co.uk>
635 * src/mn10300.ld: new linker script for MLT
636 * src/PKGconf.mak: add mn10300.ld rules for MLT
638 1998-12-15 Jesper Skov <jskov@cygnus.co.uk>
640 * include/hal_arch.h:
641 * src/context.S (_hal_setjmp, _hal_longjmp):
642 Added CYGARC definitions for jmpbuf entries.
644 1998-12-10 Jesper Skov <jskov@cygnus.co.uk>
646 * include/hal_cache.h (HAL_DCACHE_UNLOCK_ALL,
647 HAL_ICACHE_UNLOCK_ALL): Added.
649 1998-11-25 Jesper Skov <jskov@cygnus.co.uk>
651 * include/hal_arch.h (HAL_REORDER_BARRIER): Changed to same form
652 as on the other archs.
654 1998-11-18 Gary Thomas <gthomas@cygnus.co.uk>
656 * include/hal_intr.h: Add support for interrupt latency
657 measurement, controlled by CYGVAR_KERNEL_COUNTERS_CLOCK_LATENCY.
659 1998-11-09 Jesper Skov <jskov@cygnus.co.uk>
661 * src/vectors.S (__default_interrupt_vsr): Added GDB break
663 Added call to GDB initialization during startup.
665 * src/mn10300_stub.c: Changed instruction word type.
667 1998-11-06 Jesper Skov <jskov@lassi.cygnus.co.uk>
670 Added stub to object list.
672 * include/mn10300_stub.h:
673 * src/mn10300_stub.c:
676 * src/hal_misc.c (exception_handler): Added GDB stub call.
678 1998-11-06 Jesper Skov <jskov@cygnus.co.uk>
680 * include/basetype.h (CYG_BYTEORDER): Fixed comment.
682 1998-11-16 Nick Garnett <nickg@cygnus.co.uk>
684 * include/hal_cache.h:
685 Added volatile keyword to appropriate places to prevent compiler
686 optimizing out cache control register access.
688 1998-10-21 Nick Garnett <nickg@cygnus.co.uk>
690 * include/hal_intr.h (HAL_CLOCK_READ):
691 Fixed this macro to return correct value.
693 1998-10-16 Bart Veer <bartv@cygnus.co.uk>
695 * src/vectors.S (__interrupt_stack):
696 Made the interrupt stack size configurable.
698 1998-10-16 Nick Garnett <nickg@cygnus.co.uk>
701 Enabled caches by default.
703 1998-10-13 Nick Garnett <nickg@cygnus.co.uk>
706 Altered ifdefs to allow builds without kernel.
708 Thu Sep 24 18:14:19 1998 Jesper Skov <jskov@cygnus.co.uk>
710 * include/hal_intr.h: Read the interrupt control registers back
711 after writing to them to ensure that the value is not sitting in
713 Also put _ around variable names in HAL_INTERRUPT_CONFIGURE for
716 1998-09-24 Nick Garnett <nickg@cygnus.co.uk>
718 * include/hal_intr.h:
719 Inverted mask for level in HAL_INTERRUPT_SET_LEVEL().
722 Added correct implementations of decode_interrupt macro for
723 chained interrupt processing.
724 Modified call to cyg_instrument() to pass table offset as well as
726 Include <pkgconf/kernel.h> to allow call to cyg_instrument() to be
729 1998-09-14 Bart Veer <bartv@cygnus.co.uk>
732 Made vectors.o dependent on the various files that can contain
733 makefile variables or rules. This is needed after changes to
734 pkgconf.tcl for PRs 17195 and 17286.
736 Mon Sep 14 11:08:40 1998 Jesper Skov <jskov@lassi.cygnus.co.uk>
739 * include/hal_intr.h:
741 Replaced CYGIMP_KERNEL_INTERRUPTS_CHAIN with new
742 CYGIMP_HAL_COMMON_INTERRUPTS_CHAIN.
744 1998-09-12 Bart Veer <bartv@cygnus.co.uk>
746 * include/pkgconf/hal_mn10300.h:
747 Added missing descriptions (PR 17184)
749 * src/hal_misc.c (exception_handler):
750 Sort out exception handling options (PR 16953)
752 Thu Sep 10 20:24:02 1998 Hugo Tyson <hmt@cygnus.co.uk>
754 * src/vectors.S (__default_interrupt_vsr):
755 Fix a bug. Wrong offset when restoring the PSW tends to screw
758 Thu Sep 10 15:12:21 1998 Jesper Skov <jskov@lassi.cygnus.co.uk>
761 * src/vectors.S (__default_interrupt_vsr): Pass correct vector
764 1998-09-09 Nick Garnett <nickg@cygnus.co.uk>
766 * include/hal_arch.h:
767 Removed distinction between interrupt and thread switch contexts
768 in HAL_SavedRegisters. Modified appropriate macros to reflect this.
770 * src/hal_misc.c (cyg_hal_invoke_constructors):
771 Added call to patch_dbg_syscalls() for Cygmon hosted builds.
773 * src/context.S (_hal_thread_switch_context):
774 Adjust thread context so that it has the same structure as the
775 state saved by interrupt and exception handlers. This makes
776 supporting thread-aware debugging easier.
779 Moved nmi and trap vectors to correct slots in vsr table.
780 Now place arg3 of interrupt_end() in correct stack slot.
782 1998-09-04 Bart Veer <bartv@cygnus.co.uk>
784 * src/vectors.S (__default_interrupt_vsr):
785 Fixed type in configuration option name.
787 Thu Sep 3 15:15:57 1998 Tim Goodwin <tgoodwin@cygnus.co.uk>
789 * hal/mn10300/arch/current/src/PKGconf.mak
790 * hal/mn10300/arch/current/src/makefile
791 * hal/mn10300/arch/current/tests/PKGconf.mak
795 1998-09-03 Nick Garnett <nickg@cygnus.co.uk>
798 Fixed offset bug in __trap.
799 Changed conditionals on runtime initialisation of VSR table to not
800 do it in simulated targets.
802 1998-09-02 Bart Veer <bartv@cygnus.co.uk>
804 * include/pkgconf/hal_mn10300.h:
805 New header file for architecture-specific configuration options
809 Sort out package naming conventions.
811 1998-09-02 Nick Garnett <nickg@cygnus.co.uk>
814 Moved NMI and TRAP VSRs down 1 word to match cygmon's use of the
815 vector table. This may need to change back in the future.
817 1998-09-01 Nick Garnett <nickg@cygnus.co.uk>
819 * include/hal_intr.h:
820 Added CYG_VSR_COUNT, CYG_EXCEPTION_COUNT and CYG_ISR_COUNT.
821 Modified HAL_TRANSLATE_VECTOR() for mn103002 to provide slots
822 for the NMI vectors at start of hal_interrupt_* tables.
824 * src/hal_misc.c (exception_handler):
825 Added support for decoding NMI vectors and for calling watchdog
829 Modified behaviour of __default_nmi_vsr to support watchdog timer
831 Fixed indirection bug in __nmi and __trap.
832 Modified offsets in hal_interrupt_* tables to provide slots for
833 NMI vectors at start in mn103002.
835 1998-08-28 Bart Veer <bartv@cygnus.co.uk>
837 * src/vectors.S, src/context.S, src/hal_misc.c, include/hal_intr.h:
838 Updated for new kernel configuration option symbol names
840 Fri Aug 28 10:09:03 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
843 rename __main() to cyg_hal_invoke_constructors() and remove
846 * src/vectors.S (_start):
847 Change call of __main() to cyg_hal_invoke_constructors(), and call
848 of main() to cyg_start()
850 1998-08-25 Nick Garnett <nickg@cygnus.co.uk>
853 Now pass pointer to saved registers as third argument to
856 * include/hal_arch.h:
857 Added macros to support GDB.
859 1998-08-21 Nick Garnett <nickg@cygnus.co.uk>
861 * include/hal_cache.h:
862 Now includes cyg_type.h rather than ktypes.h.
865 Added calls to turn the caches on. But disabled them
866 since they interact poorly with Cygmon (Cygmon does not
867 flush the caches when setting/clearing breakpoints).
869 Wed Aug 19 18:19:32 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
871 * src/hal_misc.c (__main):
872 Add void to function prototypes to silence warnings
874 1998-08-18 Nick Garnett <nickg@cygnus.co.uk>
876 * include/hal_arch.h:
877 * include/hal_intr.h:
878 Now includes cyg_type.h rather than ktypes.h.
883 Now uses hal.h rather than kernel.h.
885 1998-08-17 Nick Garnett <nickg@cygnus.co.uk>
888 Reorgnized ifdefs to better support kernel porting.
890 //===========================================================================
891 //####ECOSGPLCOPYRIGHTBEGIN####
892 // -------------------------------------------
893 // This file is part of eCos, the Embedded Configurable Operating System.
894 // Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.
896 // eCos is free software; you can redistribute it and/or modify it under
897 // the terms of the GNU General Public License as published by the Free
898 // Software Foundation; either version 2 or (at your option) any later version.
900 // eCos is distributed in the hope that it will be useful, but WITHOUT ANY
901 // WARRANTY; without even the implied warranty of MERCHANTABILITY or
902 // FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
905 // You should have received a copy of the GNU General Public License along
906 // with eCos; if not, write to the Free Software Foundation, Inc.,
907 // 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
909 // As a special exception, if other files instantiate templates or use macros
910 // or inline functions from this file, or you compile this file and link it
911 // with other works to produce a work based on this file, this file does not
912 // by itself cause the resulting work to be covered by the GNU General Public
913 // License. However the source code for this file must still be made available
914 // in accordance with section (3) of the GNU General Public License.
916 // This exception does not invalidate any other reasons why a work based on
917 // this file might be covered by the GNU General Public License.
919 // Alternative licenses for eCos may be arranged by contacting Red Hat, Inc.
920 // at http://sources.redhat.com/ecos/ecos-license/
921 // -------------------------------------------
922 //####ECOSGPLCOPYRIGHTEND####
923 //===========================================================================