2003-01-31 Mark Salter
|
2003-01-31 Mark Salter
|
|
|
* src/hal_syscall.c (hal_syscall_handler): Let generic syscall code
|
* src/hal_syscall.c (hal_syscall_handler): Let generic syscall code
|
handle exit.
|
handle exit.
|
|
|
2002-12-06 Mark Salter
|
2002-12-06 Mark Salter
|
|
|
* cdl/hal_mn10300.cdl: Add CYGINT_HAL_MN10300_MEM_REAL_REGION_TOP.
|
* cdl/hal_mn10300.cdl: Add CYGINT_HAL_MN10300_MEM_REAL_REGION_TOP.
|
* include/hal_intr.h: Support CYGINT_HAL_MN10300_MEM_REAL_REGION_TOP.
|
* include/hal_intr.h: Support CYGINT_HAL_MN10300_MEM_REAL_REGION_TOP.
|
|
|
2002-04-29 Jonathan Larmour
|
2002-04-29 Jonathan Larmour
|
|
|
* src/vectors.S:
|
* src/vectors.S:
|
Don't use .file as it can confuse debugging since the .file
|
Don't use .file as it can confuse debugging since the .file
|
doesn't contain the path and therefore the debugger will never
|
doesn't contain the path and therefore the debugger will never
|
know where it lives! This conflicts with using -Wa,--gstabs.
|
know where it lives! This conflicts with using -Wa,--gstabs.
|
|
|
2002-04-15 Jonathan Larmour
|
2002-04-15 Jonathan Larmour
|
|
|
* src/hal_syscall.c (hal_syscall_handler): Add extra sig argument to
|
* src/hal_syscall.c (hal_syscall_handler): Add extra sig argument to
|
__do_syscall.
|
__do_syscall.
|
|
|
2001-11-16 Nick Garnett
|
2001-11-16 Nick Garnett
|
|
|
* src/hal_misc.c (hal_msbit_index): Fixed this function so that it
|
* src/hal_misc.c (hal_msbit_index): Fixed this function so that it
|
actually works!
|
actually works!
|
|
|
2001-10-16 David Howells
|
2001-10-16 David Howells
|
|
|
* src/hal_syscall.c: mustn't increment the return address by 4.
|
* src/hal_syscall.c: mustn't increment the return address by 4.
|
* cdl/hal_mn10300.cdl: moved the RTC configuration previously
|
* cdl/hal_mn10300.cdl: moved the RTC configuration previously
|
added to the ASB2305 platform.
|
added to the ASB2305 platform.
|
|
|
2001-10-16 David Howells
|
2001-10-16 David Howells
|
|
|
* src/vectors.S: conditionally call diagnostic macros on entry and
|
* src/vectors.S: conditionally call diagnostic macros on entry and
|
exit to default NMI handler and make inclusion of RedBoot header
|
exit to default NMI handler and make inclusion of RedBoot header
|
file conditional.
|
file conditional.
|
|
|
2001-10-15 David Howells
|
2001-10-15 David Howells
|
|
|
* include/mn10300_stub.h: added syscall handling.
|
* include/mn10300_stub.h: added syscall handling.
|
* src/hal_syscall.c: ditto
|
* src/hal_syscall.c: ditto
|
* src/mn10300_stub.c: ditto
|
* src/mn10300_stub.c: ditto
|
* src/vectors.S: ditto
|
* src/vectors.S: ditto
|
* cdl/hal_mn10300.cdl: added RTC configuration.
|
* cdl/hal_mn10300.cdl: added RTC configuration.
|
|
|
2001-07-27 David Howells
|
2001-07-27 David Howells
|
|
|
* include/mn10300_stub.h: set NUMREGS to be the correct value to
|
* include/mn10300_stub.h: set NUMREGS to be the correct value to
|
keep gdb happy.
|
keep gdb happy.
|
* include/hal_io.h: refer to plf_io.h
|
* include/hal_io.h: refer to plf_io.h
|
* include/arch.inc: note presence of the ASB2305 platform
|
* include/arch.inc: note presence of the ASB2305 platform
|
* src/vectors.S: Adjusted exception handling to be able to cope
|
* src/vectors.S: Adjusted exception handling to be able to cope
|
with AM33v2 exceptions.
|
with AM33v2 exceptions.
|
|
|
2001-01-18 Nick Garnett
|
2001-01-18 Nick Garnett
|
|
|
* src/vectors.S: Added underscore to reference to
|
* src/vectors.S: Added underscore to reference to
|
cyg_scheduler_sched_lock, since CYGBLD_ATTRIB_ASM_ALIAS() now adds
|
cyg_scheduler_sched_lock, since CYGBLD_ATTRIB_ASM_ALIAS() now adds
|
one automatically.
|
one automatically.
|
|
|
2000-11-30 Drew Moseley
|
2000-11-30 Drew Moseley
|
|
|
* include/hal_arch.h: Handle Cygmon interrupt stack. ie For
|
* include/hal_arch.h: Handle Cygmon interrupt stack. ie For
|
Cygmon we must switch to a new stack immediately on exception to
|
Cygmon we must switch to a new stack immediately on exception to
|
make sure that we don't modify the application stack at all since
|
make sure that we don't modify the application stack at all since
|
GDB may be using it.
|
GDB may be using it.
|
* src/vectors.S: Ditto.
|
* src/vectors.S: Ditto.
|
|
|
2000-10-20 Jesper Skov
|
2000-10-20 Jesper Skov
|
|
|
* src/hal_misc.c: Update __mem_fault_handler declaration.
|
* src/hal_misc.c: Update __mem_fault_handler declaration.
|
|
|
2000-09-04 Jonathan Larmour
|
2000-09-04 Jonathan Larmour
|
|
|
* include/basetype.h (CYGARC_ALIGNMENT): mn10300 has 4 byte alignment
|
* include/basetype.h (CYGARC_ALIGNMENT): mn10300 has 4 byte alignment
|
(CYGARC_P2ALIGNMENT): Likewise
|
(CYGARC_P2ALIGNMENT): Likewise
|
|
|
2000-08-29 Jonathan Larmour
|
2000-08-29 Jonathan Larmour
|
|
|
* src/vectors.S (__default_nmi_vsr): Fix quoting in comment problem
|
* src/vectors.S (__default_nmi_vsr): Fix quoting in comment problem
|
|
|
2000-08-15 Drew Moseley
|
2000-08-15 Drew Moseley
|
|
|
* src/mn10300_stub.c (__is_breakpoint_function): Prepend an _ to
|
* src/mn10300_stub.c (__is_breakpoint_function): Prepend an _ to
|
breakinst. Apparently the symbol generation has changed requiring
|
breakinst. Apparently the symbol generation has changed requiring
|
this.
|
this.
|
|
|
2000-08-14 Drew Moseley
|
2000-08-14 Drew Moseley
|
|
|
* src/vectors.S: Use some generic MN10300 code rather than AM33-specific.
|
* src/vectors.S: Use some generic MN10300 code rather than AM33-specific.
|
|
|
* include/mn10300_stub.h: Some cleanups of AM33/2.00 includes.
|
* include/mn10300_stub.h: Some cleanups of AM33/2.00 includes.
|
|
|
* src/mn10300_stub.c (__computeSignal): Make sure SIGSYSCALL is
|
* src/mn10300_stub.c (__computeSignal): Make sure SIGSYSCALL is
|
defined before returning it.
|
defined before returning it.
|
|
|
2000-08-12 Drew Moseley
|
2000-08-12 Drew Moseley
|
|
|
* include/mn10300_stub.h: More rearranging of GDB regnames.
|
* include/mn10300_stub.h: More rearranging of GDB regnames.
|
|
|
2000-08-11 Drew Moseley
|
2000-08-11 Drew Moseley
|
|
|
* include/mn10300_stub.h: Rearranged regnames to correspond to
|
* include/mn10300_stub.h: Rearranged regnames to correspond to
|
what GDB is expecting.
|
what GDB is expecting.
|
|
|
* include/arch.inc: Fixed error in declaration of hal_intc_decode.
|
* include/arch.inc: Fixed error in declaration of hal_intc_decode.
|
|
|
2000-08-10 Drew Moseley
|
2000-08-10 Drew Moseley
|
|
|
* src/vectors.S: Added syscall handling.
|
* src/vectors.S: Added syscall handling.
|
Added HAL_EARLY_INIT.
|
Added HAL_EARLY_INIT.
|
Added CTRLC_SUPPORT.
|
Added CTRLC_SUPPORT.
|
Added CYGMON support.
|
Added CYGMON support.
|
|
|
* src/mn10300_stub.c: Added breakpoint list handling.
|
* src/mn10300_stub.c: Added breakpoint list handling.
|
Added syscall handling.
|
Added syscall handling.
|
|
|
* src/hal_misc.c (cyg_hal_exception_handler): Added support for
|
* src/hal_misc.c (cyg_hal_exception_handler): Added support for
|
exceptions caused by the stubs which are passed transparently
|
exceptions caused by the stubs which are passed transparently
|
back.
|
back.
|
Also added VIRTUAL_VECTOR support.
|
Also added VIRTUAL_VECTOR support.
|
|
|
* include/hal_arch.h: Added HAL_BREAKINST_TYPE.
|
* include/hal_arch.h: Added HAL_BREAKINST_TYPE.
|
Added Cygmon support.
|
Added Cygmon support.
|
|
|
* include/arch.inc: Added AM33/2.00 board support.
|
* include/arch.inc: Added AM33/2.00 board support.
|
|
|
* include/mn10300_stub.h: Added AM33/2.00 support.
|
* include/mn10300_stub.h: Added AM33/2.00 support.
|
|
|
* cdl/hal_mn10300.cdl: Added option for CTRLC_SUPPORT.
|
* cdl/hal_mn10300.cdl: Added option for CTRLC_SUPPORT.
|
* include/pkgconf/hal_mn10300.h: Ditto.
|
* include/pkgconf/hal_mn10300.h: Ditto.
|
|
|
2000-06-21 Nick Garnett
|
2000-06-21 Nick Garnett
|
|
|
* include/hal_arch.h: Added underscores to label in
|
* include/hal_arch.h: Added underscores to label in
|
HAL_BREAKINST().
|
HAL_BREAKINST().
|
|
|
* include/basetype.h:
|
* include/basetype.h:
|
Removed definition of CYG_LABEL_NAME() and added one for
|
Removed definition of CYG_LABEL_NAME() and added one for
|
CYG_LABEL_DEFN().
|
CYG_LABEL_DEFN().
|
|
|
2000-06-08 Jesper Skov
|
2000-06-08 Jesper Skov
|
|
|
* include/hal_arch.h (CYGARC_HAL_SAVE_GP, CYGARC_HAL_RESTORE_GP):
|
* include/hal_arch.h (CYGARC_HAL_SAVE_GP, CYGARC_HAL_RESTORE_GP):
|
Added.
|
Added.
|
|
|
2000-03-20 Jonathan Larmour
|
2000-03-20 Jonathan Larmour
|
|
|
* src/vectors.S (__default_interrupt_vsr): Pass variant-specific PC
|
* src/vectors.S (__default_interrupt_vsr): Pass variant-specific PC
|
offset from register context into cyg_hal_gdb_isr()
|
offset from register context into cyg_hal_gdb_isr()
|
|
|
* include/hal_arch.h: Move HAL_SavedRegisters into variant HALs
|
* include/hal_arch.h: Move HAL_SavedRegisters into variant HALs
|
|
|
2000-03-19 Jonathan Larmour
|
2000-03-19 Jonathan Larmour
|
|
|
* include/mn10300_stub.h: Make C++ safe
|
* include/mn10300_stub.h: Make C++ safe
|
|
|
2000-02-16 Jesper Skov
|
2000-02-16 Jesper Skov
|
|
|
* cdl/hal_mn10300.cdl: remove fix me.
|
* cdl/hal_mn10300.cdl: remove fix me.
|
|
|
1999-11-09 Jonathan Larmour
|
1999-11-09 Jonathan Larmour
|
|
|
* include/hal_intr.h (HAL_RESTORE_INTERRUPTS): Ensure we restore the
|
* include/hal_intr.h (HAL_RESTORE_INTERRUPTS): Ensure we restore the
|
old state exactly, including "restoring" by disabling interrupts
|
old state exactly, including "restoring" by disabling interrupts
|
Requested by Matsushita in case 102544
|
Requested by Matsushita in case 102544
|
|
|
1999-12-02 John Dallaway
|
1999-12-02 John Dallaway
|
|
|
* cdl/hal_mn10300.cdl:
|
* cdl/hal_mn10300.cdl:
|
|
|
Use the token in custom rules.
|
Use the token in custom rules.
|
|
|
1999-12-01 John Dallaway
|
1999-12-01 John Dallaway
|
|
|
* cdl/hal_mn10300.cdl:
|
* cdl/hal_mn10300.cdl:
|
|
|
Use the token in custom rules.
|
Use the token in custom rules.
|
|
|
1999-11-04 John Dallaway
|
1999-11-04 John Dallaway
|
|
|
* cdl/hal_mn10300.cdl:
|
* cdl/hal_mn10300.cdl:
|
|
|
Output custom rule dependency information to .deps files in
|
Output custom rule dependency information to .deps files in
|
the current directory.
|
the current directory.
|
|
|
Dispense with the need to create a 'src' sub-directory.
|
Dispense with the need to create a 'src' sub-directory.
|
|
|
1999-11-03 Jesper Skov
|
1999-11-03 Jesper Skov
|
|
|
* cdl/hal_mn10300.cdl: Added.
|
* cdl/hal_mn10300.cdl: Added.
|
|
|
1999-09-10 Jonathan Larmour
|
1999-09-10 Jonathan Larmour
|
|
|
* include/hal_cache.h: Change CYG_HAL_MN10300_SIM to
|
* include/hal_cache.h: Change CYG_HAL_MN10300_SIM to
|
CYG_HAL_MN10300_AM31_SIM
|
CYG_HAL_MN10300_AM31_SIM
|
Only include var_cache.h when not sim
|
Only include var_cache.h when not sim
|
|
|
1999-08-18 Nick Garnett
|
1999-08-18 Nick Garnett
|
|
|
* src/hal_misc.c (cyg_hal_exception_handler):
|
* src/hal_misc.c (cyg_hal_exception_handler):
|
Use CYGNUM_HAL_EXCEPTION_WATCHDOG rather than
|
Use CYGNUM_HAL_EXCEPTION_WATCHDOG rather than
|
CYGNUM_HAL_INTERRUPT_WATCHDOG in test for watchdog exceptions.
|
CYGNUM_HAL_INTERRUPT_WATCHDOG in test for watchdog exceptions.
|
|
|
1999-08-17 Nick Garnett
|
1999-08-17 Nick Garnett
|
|
|
* include/arch.inc: Modified hal_cpu_int_merge to avoid corrupting
|
* include/arch.inc: Modified hal_cpu_int_merge to avoid corrupting
|
any registers other than the one passed as an argument.
|
any registers other than the one passed as an argument.
|
|
|
1999-08-16 Jonathan Larmour
|
1999-08-16 Jonathan Larmour
|
|
|
* include/arch.inc: rename CYGPKG_HAL_MN10300_AM32_STDEVAL1 to
|
* include/arch.inc: rename CYGPKG_HAL_MN10300_AM32_STDEVAL1 to
|
CYGPKG_HAL_MN10300_AM31_STDEVAL1
|
CYGPKG_HAL_MN10300_AM31_STDEVAL1
|
|
|
1999-08-13 Nick Garnett
|
1999-08-13 Nick Garnett
|
|
|
* include/arch.inc: Moved AM33 trace address to uncached memory
|
* include/arch.inc: Moved AM33 trace address to uncached memory
|
window.
|
window.
|
|
|
* src/vectors.S (_start): Tidied away some superfluous trace
|
* src/vectors.S (_start): Tidied away some superfluous trace
|
code.
|
code.
|
|
|
1999-08-12 Nick Garnett
|
1999-08-12 Nick Garnett
|
|
|
Imported following changed from development branch.
|
Imported following changed from development branch.
|
|
|
1999-08-11 Nick Garnett
|
1999-08-11 Nick Garnett
|
|
|
* src/vectors.S: Removed debug code.
|
* src/vectors.S: Removed debug code.
|
|
|
* include/hal_intr.h: Made mn10300_interrupt_control[] unsized
|
* include/hal_intr.h: Made mn10300_interrupt_control[] unsized
|
since it is different sizes on different variants.
|
since it is different sizes on different variants.
|
|
|
* include/arch.inc:
|
* include/arch.inc:
|
Changed hal_cpu_int_merge so that both the IE and IPL bits are
|
Changed hal_cpu_int_merge so that both the IE and IPL bits are
|
changed across a thread switch.
|
changed across a thread switch.
|
Some minor tweaks to trace code for AM32.
|
Some minor tweaks to trace code for AM32.
|
|
|
1999-08-10 Jonathan Larmour
|
1999-08-10 Jonathan Larmour
|
|
|
* include/pkgconf/hal_mn10300.h:
|
* include/pkgconf/hal_mn10300.h:
|
Move CYGPKG_HAL_MN10300's "target mn10300" under the variant
|
Move CYGPKG_HAL_MN10300's "target mn10300" under the variant
|
packages instead.
|
packages instead.
|
Add CYGPKG_HAL_MN10300_VARIANTS
|
Add CYGPKG_HAL_MN10300_VARIANTS
|
|
|
1999-07-30 Nick Garnett
|
1999-07-30 Nick Garnett
|
|
|
* src/hal_misc.c: Added default ISR.
|
* src/hal_misc.c: Added default ISR.
|
|
|
* src/vectors.S:
|
* src/vectors.S:
|
Added Ctrl-C support. Extended VSR table to include new
|
Added Ctrl-C support. Extended VSR table to include new
|
exceptions. Install default ISR by default.
|
exceptions. Install default ISR by default.
|
|
|
* src/mn10300_stub.c:
|
* src/mn10300_stub.c:
|
Added asynchronous breakpoint support.
|
Added asynchronous breakpoint support.
|
[Later] Tidied up install_async_breakpoint() and fixed indirection
|
[Later] Tidied up install_async_breakpoint() and fixed indirection
|
bug.
|
bug.
|
|
|
* include/hal_intr.h:
|
* include/hal_intr.h:
|
Added default ISR. Removed HAL_INTERRUPT_CONFIGURE(), this is now
|
Added default ISR. Removed HAL_INTERRUPT_CONFIGURE(), this is now
|
variant-specific.
|
variant-specific.
|
|
|
1999-07-27 Nick Garnett
|
1999-07-27 Nick Garnett
|
|
|
* src/vectors.S:
|
* src/vectors.S:
|
Some reorganization to make code more generic.
|
Some reorganization to make code more generic.
|
Some diagnostic macros added.
|
Some diagnostic macros added.
|
Note: some trace/debug code has been left in place temporarily,
|
Note: some trace/debug code has been left in place temporarily,
|
this will be removed eventually.
|
this will be removed eventually.
|
|
|
* include/mn10300_stub.h: Added extra regnames for AM33.
|
* include/mn10300_stub.h: Added extra regnames for AM33.
|
|
|
* include/hal_arch.h:
|
* include/hal_arch.h:
|
Added macros to get and set extra registers for AM33.
|
Added macros to get and set extra registers for AM33.
|
* include/arch.inc:
|
* include/arch.inc:
|
Changed all *_MIPS_* to *_MN10300_*.
|
Changed all *_MIPS_* to *_MN10300_*.
|
Added some temporary trace/debug macros.
|
Added some temporary trace/debug macros.
|
|
|
1999-07-16 Nick Garnett
|
1999-07-16 Nick Garnett
|
|
|
* src/hal_misc.c:
|
* src/hal_misc.c:
|
* include/hal_arch.h:
|
* include/hal_arch.h:
|
Added hal_idle_thread_action();
|
Added hal_idle_thread_action();
|
|
|
* include/arch.inc: Made hal_cpu_init definition optional.
|
* include/arch.inc: Made hal_cpu_init definition optional.
|
|
|
1999-07-08 Nick Garnett
|
1999-07-08 Nick Garnett
|
|
|
* src/vectors.S:
|
* src/vectors.S:
|
Moved some code to variant specific macros. Now pass ISR register
|
Moved some code to variant specific macros. Now pass ISR register
|
to cyg_hal_exception_handler() to enable further decoding.
|
to cyg_hal_exception_handler() to enable further decoding.
|
|
|
* src/hal_misc.c (cyg_hal_exception_handler):
|
* src/hal_misc.c (cyg_hal_exception_handler):
|
Added extra argument to pass ISR register value. Now decodes ISR
|
Added extra argument to pass ISR register value. Now decodes ISR
|
value to specify extra exceptions.
|
value to specify extra exceptions.
|
|
|
1999-07-07 Nick Garnett
|
1999-07-07 Nick Garnett
|
|
|
* include/hal_intr.h:
|
* include/hal_intr.h:
|
Added HAL_INTERRUPT_STACK_CALL_PENDING_DSRS() macro to support
|
Added HAL_INTERRUPT_STACK_CALL_PENDING_DSRS() macro to support
|
calling of DSRs on the interrupt stack.
|
calling of DSRs on the interrupt stack.
|
|
|
* include/hal_arch.h (HAL_THREAD_INIT_CONTEXT):
|
* include/hal_arch.h (HAL_THREAD_INIT_CONTEXT):
|
Initialize the PSW to enable all interrupts on entry to thread.
|
Initialize the PSW to enable all interrupts on entry to thread.
|
|
|
* include/arch.inc:
|
* include/arch.inc:
|
Added implementations of CPU control macros.
|
Added implementations of CPU control macros.
|
|
|
* src/context.S:
|
* src/context.S:
|
Added code to preserve PSW across context switches.
|
Added code to preserve PSW across context switches.
|
|
|
* src/vectors.S:
|
* src/vectors.S:
|
Implemented mechanism to call DSRs on the interrupt stack.
|
Implemented mechanism to call DSRs on the interrupt stack.
|
Refined condition for defining VSR table here.
|
Refined condition for defining VSR table here.
|
|
|
1999-06-30 Nick Garnett
|
1999-06-30 Nick Garnett
|
|
|
* src/context.S:
|
* src/context.S:
|
* src/vectors.S:
|
* src/vectors.S:
|
Use hal_cpu_save_all and hal_cpu_load_all macros to save and
|
Use hal_cpu_save_all and hal_cpu_load_all macros to save and
|
restore CPU register sets.
|
restore CPU register sets.
|
|
|
* include/hal_arch.h:
|
* include/hal_arch.h:
|
Modified HAL_THREAD_INIT_CONTEXT_EXTRA() to take some arguments.
|
Modified HAL_THREAD_INIT_CONTEXT_EXTRA() to take some arguments.
|
|
|
1999-06-29 Nick Garnett
|
1999-06-29 Nick Garnett
|
|
|
* include/hal_arch.h:
|
* include/hal_arch.h:
|
Added code in preparation for AM33 port.
|
Added code in preparation for AM33 port.
|
Added include of variant header.
|
Added include of variant header.
|
|
|
* include/hal_cache.h:
|
* include/hal_cache.h:
|
* include/hal_intr.h:
|
* include/hal_intr.h:
|
* src/vectors.S:
|
* src/vectors.S:
|
* src/hal_misc.c:
|
* src/hal_misc.c:
|
Extensive changes to convert to new HAL organization. These mostly
|
Extensive changes to convert to new HAL organization. These mostly
|
involve moving variant and platform specific stuff out to the
|
involve moving variant and platform specific stuff out to the
|
appropriate headers in the variant and platform directories.
|
appropriate headers in the variant and platform directories.
|
|
|
* src/PKGconf.mak:
|
* src/PKGconf.mak:
|
* src/mn10300.ld (removed):
|
* src/mn10300.ld (removed):
|
Moved build of target.ld to variant directory.
|
Moved build of target.ld to variant directory.
|
|
|
* include/arch.inc:
|
* include/arch.inc:
|
Added this file to contain architecture specific macros.
|
Added this file to contain architecture specific macros.
|
|
|
1999-06-08 Jesper Skov
|
1999-06-08 Jesper Skov
|
|
|
* src/hal_misc.c (cyg_hal_dcache_store): Only define for HW target.
|
* src/hal_misc.c (cyg_hal_dcache_store): Only define for HW target.
|
|
|
1999-06-07 Jesper Skov
|
1999-06-07 Jesper Skov
|
PR 20136
|
PR 20136
|
* src/hal_misc.c (cyg_hal_dcache_store):
|
* src/hal_misc.c (cyg_hal_dcache_store):
|
* include/hal_cache.h (HAL_DCACHE_STORE):
|
* include/hal_cache.h (HAL_DCACHE_STORE):
|
DCACHE store operation needs 4 register variables. Put it in a
|
DCACHE store operation needs 4 register variables. Put it in a
|
separate function to ensure registers are availble.
|
separate function to ensure registers are availble.
|
|
|
1999-05-21 Hugo Tyson
|
1999-05-21 Hugo Tyson
|
|
|
* include/hal_intr.h: Define HAL_INTERRUPT_STACK_BASE and
|
* include/hal_intr.h: Define HAL_INTERRUPT_STACK_BASE and
|
HAL_INTERRUPT_STACK_TOP so that stack usage macros in
|
HAL_INTERRUPT_STACK_TOP so that stack usage macros in
|
kernel/.../stackmon.hxx can work.
|
kernel/.../stackmon.hxx can work.
|
|
|
* src/vectors.S (cyg_interrupt_stack_base): Define this symbol for
|
* src/vectors.S (cyg_interrupt_stack_base): Define this symbol for
|
the interrupt stack and its friend for the stack top so that we
|
the interrupt stack and its friend for the stack top so that we
|
can publish them with nice names.
|
can publish them with nice names.
|
|
|
1999-05-13 Hugo Tyson
|
1999-05-13 Hugo Tyson
|
|
|
* include/hal_arch.h (HAL_THREAD_INIT_CONTEXT): Align stack
|
* include/hal_arch.h (HAL_THREAD_INIT_CONTEXT): Align stack
|
(rather conservatively) before use.
|
(rather conservatively) before use.
|
|
|
1999-04-28 Bart Veer
|
1999-04-28 Bart Veer
|
|
|
* src/PKGconf.mak:
|
* src/PKGconf.mak:
|
Remove the -n argument to tail, it does not appear to be required
|
Remove the -n argument to tail, it does not appear to be required
|
on any supported host and causes problems with some
|
on any supported host and causes problems with some
|
implementations of tail.
|
implementations of tail.
|
|
|
1999-04-20 Jonathan Larmour
|
1999-04-20 Jonathan Larmour
|
|
|
* include/hal_cache.h:
|
* include/hal_cache.h:
|
(HAL_DCACHE_IS_ENABLED) (HAL_ICACHE_IS_ENABLED): Add these new macros
|
(HAL_DCACHE_IS_ENABLED) (HAL_ICACHE_IS_ENABLED): Add these new macros
|
(HAL_DCACHE_DISABLE) (HAL_ICACHE_DISABLE): Make variables register
|
(HAL_DCACHE_DISABLE) (HAL_ICACHE_DISABLE): Make variables register
|
variables
|
variables
|
Ensure the cache has finished its operation before exitting.
|
Ensure the cache has finished its operation before exitting.
|
(HAL_DCACHE_INVALIDATE_ALL) (HAL_ICACHE_INVALIDATE_ALL): Make
|
(HAL_DCACHE_INVALIDATE_ALL) (HAL_ICACHE_INVALIDATE_ALL): Make
|
variables register variables.
|
variables register variables.
|
Re-enable cache if it was enabled on entry.
|
Re-enable cache if it was enabled on entry.
|
(HAL_DCACHE_WRITE_MODE): Make variables register variables.
|
(HAL_DCACHE_WRITE_MODE): Make variables register variables.
|
Re-enable data cache if it was enabled on entry.
|
Re-enable data cache if it was enabled on entry.
|
Ensure the cache has finished its operation before exitting.
|
Ensure the cache has finished its operation before exitting.
|
(HAL_DCACHE_STORE): Make variables register variables.
|
(HAL_DCACHE_STORE): Make variables register variables.
|
Re-enable data cache if it was enabled on entry.
|
Re-enable data cache if it was enabled on entry.
|
|
|
These fix PR19887
|
These fix PR19887
|
|
|
1999-04-15 Jonathan Larmour
|
1999-04-15 Jonathan Larmour
|
|
|
* src/mn10300.ld: Define __bss_end at the end of the BSS
|
* src/mn10300.ld: Define __bss_end at the end of the BSS
|
* src/vectors.S (_start): Use __bss_end rather than _end when clearing
|
* src/vectors.S (_start): Use __bss_end rather than _end when clearing
|
BSS
|
BSS
|
These fix PR 19750
|
These fix PR 19750
|
|
|
1999-04-15 Jonathan Larmour
|
1999-04-15 Jonathan Larmour
|
|
|
* src/hal_misc.c:
|
* src/hal_misc.c:
|
* src/vectors.S:
|
* src/vectors.S:
|
Separate parts of cyg_hal_invoke_constructors() out into new functions
|
Separate parts of cyg_hal_invoke_constructors() out into new functions
|
cyg_hal_enable_caches() and cyg_hal_debug_init() so that
|
cyg_hal_enable_caches() and cyg_hal_debug_init() so that
|
cyg_hal_invoke_constructors() can be called again safely if
|
cyg_hal_invoke_constructors() can be called again safely if
|
necessary
|
necessary
|
Fix for PR19642
|
Fix for PR19642
|
|
|
1999-04-14 Jonathan Larmour
|
1999-04-14 Jonathan Larmour
|
|
|
* src/PKGconf.mak (EXTRAS): Don't generate extras.o here any more
|
* src/PKGconf.mak (EXTRAS): Don't generate extras.o here any more
|
But do define EXTRAS every time for the linker script.
|
But do define EXTRAS every time for the linker script.
|
|
|
1999-04-09 Jesper Skov
|
1999-04-09 Jesper Skov
|
|
|
* src/mn10300_stub.c:
|
* src/mn10300_stub.c:
|
Moved get_register and put_register to hal_stub.c.
|
Moved get_register and put_register to hal_stub.c.
|
|
|
1999-04-08 John Dallaway
|
1999-04-08 John Dallaway
|
|
|
* src/*.ld: Revised SECTION_* macro arguments to
|
* src/*.ld: Revised SECTION_* macro arguments to
|
avoid padded output sections (PR 19787)
|
avoid padded output sections (PR 19787)
|
|
|
1999-03-31 Nick Garnett
|
1999-03-31 Nick Garnett
|
|
|
* include/hal_arch.h (HAL_THREAD_INIT_CONTEXT): Align initial SP
|
* include/hal_arch.h (HAL_THREAD_INIT_CONTEXT): Align initial SP
|
to a 4 byte boundary. Fixes PR 19695.
|
to a 4 byte boundary. Fixes PR 19695.
|
|
|
* include/hal_cache.h: Added include of hal.h and a test that a
|
* include/hal_cache.h: Added include of hal.h and a test that a
|
valid set of macros have been added.
|
valid set of macros have been added.
|
|
|
1999-03-26 Gary Thomas
|
1999-03-26 Gary Thomas
|
|
|
* include/hal_arch.h (CYGNUM_HAL_STACK_SIZE_MINIMUM): Be a little
|
* include/hal_arch.h (CYGNUM_HAL_STACK_SIZE_MINIMUM): Be a little
|
more generous since this stack should allow at least a kernel API
|
more generous since this stack should allow at least a kernel API
|
call which could be at least 4 levels deep.
|
call which could be at least 4 levels deep.
|
|
|
1999-03-23 Nick Garnett
|
1999-03-23 Nick Garnett
|
|
|
* include/hal_arch.h:
|
* include/hal_arch.h:
|
Modified stack size definitions to be more accurate.
|
Modified stack size definitions to be more accurate.
|
|
|
1999-03-22 Jonathan Larmour
|
1999-03-22 Jonathan Larmour
|
|
|
* include/mn10300_stub.h: Update copyright
|
* include/mn10300_stub.h: Update copyright
|
|
|
* src/mn10300_stub.c: Update copyright
|
* src/mn10300_stub.c: Update copyright
|
|
|
1999-03-22 Hugo Tyson
|
1999-03-22 Hugo Tyson
|
|
|
* include/hal_arch.h:
|
* include/hal_arch.h:
|
Use CYGNUM_HAL_STACK_SIZE_TYPICAL for the stack size instead of
|
Use CYGNUM_HAL_STACK_SIZE_TYPICAL for the stack size instead of
|
CYGNUM_HAL_MINIMUM_STACK_SIZE.
|
CYGNUM_HAL_MINIMUM_STACK_SIZE.
|
|
|
1999-03-19 Nick Garnett
|
1999-03-19 Nick Garnett
|
|
|
* src/hal_misc.c:
|
* src/hal_misc.c:
|
* src/vectors.S:
|
* src/vectors.S:
|
Fixed problem with taking breakpoints after watchdog interrupts
|
Fixed problem with taking breakpoints after watchdog interrupts
|
and memory access exceptions. See the comments in
|
and memory access exceptions. See the comments in
|
__default_nmi_vsr in vector.S for details.
|
__default_nmi_vsr in vector.S for details.
|
|
|
1999-03-17 John Dallaway
|
1999-03-17 John Dallaway
|
|
|
* src/PKGconf.mak: Remove dependence on echo '-e' switch.
|
* src/PKGconf.mak: Remove dependence on echo '-e' switch.
|
|
|
1999-03-12 Gary Thomas
|
1999-03-12 Gary Thomas
|
|
|
* include/hal_arch.h: Add definition of 'CYGNUM_HAL_MINIMUM_STACK_SIZE'
|
* include/hal_arch.h: Add definition of 'CYGNUM_HAL_MINIMUM_STACK_SIZE'
|
|
|
1999-03-10 Jesper Skov
|
1999-03-10 Jesper Skov
|
|
|
* include/hal_intr.h (HAL_INTERRUPT_ATTACH): Added.
|
* include/hal_intr.h (HAL_INTERRUPT_ATTACH): Added.
|
|
|
1999-03-08 Nick Garnett
|
1999-03-08 Nick Garnett
|
|
|
* src/mn10300.ld:
|
* src/mn10300.ld:
|
Added alignment before definition of __DEVTAB__.
|
Added alignment before definition of __DEVTAB__.
|
|
|
1999-03-05 Gary Thomas
|
1999-03-05 Gary Thomas
|
|
|
* src/PKGconf.mak:
|
* src/PKGconf.mak:
|
* src/mn10300.ld: Clean up I/O package changes.
|
* src/mn10300.ld: Clean up I/O package changes.
|
|
|
1999-03-04 Jonathan Larmour
|
1999-03-04 Jonathan Larmour
|
|
|
* src/mn10300.ld:
|
* src/mn10300.ld:
|
Unconditionalize use of libextras.a and add to GROUP()
|
Unconditionalize use of libextras.a and add to GROUP()
|
|
|
1999-02-25 Nick Garnett
|
1999-02-25 Nick Garnett
|
|
|
* src/hal_misc.c:
|
* src/hal_misc.c:
|
Now tests for whether the kernel is present before trying to use
|
Now tests for whether the kernel is present before trying to use
|
patch_dbg_syscalls().
|
patch_dbg_syscalls().
|
|
|
* include/hal_intr.h (HAL_INTERRUPT_CONFIGURE): fixed some compile
|
* include/hal_intr.h (HAL_INTERRUPT_CONFIGURE): fixed some compile
|
bugs in this macro.
|
bugs in this macro.
|
|
|
* src/vectors.S:
|
* src/vectors.S:
|
Changed label used to access scheduler lock to one that is not
|
Changed label used to access scheduler lock to one that is not
|
mangled by C++. This is intended to make support for interrupt
|
mangled by C++. This is intended to make support for interrupt
|
handling in non-kernel configurations easier.
|
handling in non-kernel configurations easier.
|
|
|
1999-02-20 Jonathan Larmour
|
1999-02-20 Jonathan Larmour
|
|
|
* include/hal_arch.h:
|
* include/hal_arch.h:
|
Rename deliver_exception() -> cyg_hal_deliver_exception()
|
Rename deliver_exception() -> cyg_hal_deliver_exception()
|
QA improvements
|
QA improvements
|
|
|
* include/hal_intr.h:
|
* include/hal_intr.h:
|
Reorganise vector/interrupt/exception names according to purpose
|
Reorganise vector/interrupt/exception names according to purpose
|
QA improvements
|
QA improvements
|
|
|
* src/hal_misc.c:
|
* src/hal_misc.c:
|
Rename deliver_exception() -> cyg_hal_deliver_exception()
|
Rename deliver_exception() -> cyg_hal_deliver_exception()
|
Rename CYG_VECTOR_* according to hal_intr.h changes above
|
Rename CYG_VECTOR_* according to hal_intr.h changes above
|
QA improvements
|
QA improvements
|
|
|
* src/vectors.S:
|
* src/vectors.S:
|
Rename exception_handler() -> cyg_hal_exception_handler()
|
Rename exception_handler() -> cyg_hal_exception_handler()
|
|
|
1999-02-16 Jesper Skov
|
1999-02-16 Jesper Skov
|
|
|
* src/vectors.S: Changed set_debug_traps to initialize_stub.
|
* src/vectors.S: Changed set_debug_traps to initialize_stub.
|
|
|
* src/mn10300_stub.c:
|
* src/mn10300_stub.c:
|
* include/mn10300_stub.h:
|
* include/mn10300_stub.h:
|
Cleaned up to only include arch specific stub code.
|
Cleaned up to only include arch specific stub code.
|
|
|
1999-02-15 Jesper Skov
|
1999-02-15 Jesper Skov
|
|
|
* include/basetype.h: Added CYG_LABEL_NAME macro.
|
* include/basetype.h: Added CYG_LABEL_NAME macro.
|
|
|
1999-02-11 Nick Garnett
|
1999-02-11 Nick Garnett
|
|
|
* include/hal_cache.h (HAL_DCACHE_STORE):
|
* include/hal_cache.h (HAL_DCACHE_STORE):
|
Added "register" keywords to the variables used in this macro. If
|
Added "register" keywords to the variables used in this macro. If
|
these are not in registers then when the cache is disabled, they
|
these are not in registers then when the cache is disabled, they
|
can be stranded in the cache and the random values in main memory
|
can be stranded in the cache and the random values in main memory
|
are used instead. This is only a problem when optimization is
|
are used instead. This is only a problem when optimization is
|
disabled; under optimization the compiler puts these variables
|
disabled; under optimization the compiler puts these variables
|
into registers as a matter of course.
|
into registers as a matter of course.
|
Fixes PR 19165.
|
Fixes PR 19165.
|
(HAL_DCACHE_SYNC): Divide cache size by number of ways to
|
(HAL_DCACHE_SYNC): Divide cache size by number of ways to
|
calculate correct size to pass to HAL_DCACHE_STORE().
|
calculate correct size to pass to HAL_DCACHE_STORE().
|
|
|
1999-02-05 John Dallaway
|
1999-02-05 John Dallaway
|
|
|
* src/mn10300.ld: Add LMA_EQ_VMA macro definition.
|
* src/mn10300.ld: Add LMA_EQ_VMA macro definition.
|
|
|
1999-02-01 Nick Garnett
|
1999-02-01 Nick Garnett
|
|
|
* include/hal_cache.h: Fixed implementation of HAL_DCACHE_STORE() so
|
* include/hal_cache.h: Fixed implementation of HAL_DCACHE_STORE() so
|
that it now works, and changed implementation of HAL_DCACHE_SYNC()
|
that it now works, and changed implementation of HAL_DCACHE_SYNC()
|
to use it.
|
to use it.
|
Fixes PR 18577 and is a better fix to 18849.
|
Fixes PR 18577 and is a better fix to 18849.
|
|
|
1999-01-27 Nick Garnett
|
1999-01-27 Nick Garnett
|
|
|
* include/hal_intr.h:
|
* include/hal_intr.h:
|
* src/vectors.S:
|
* src/vectors.S:
|
Allow for NMI vectors in ISR table when using chained
|
Allow for NMI vectors in ISR table when using chained
|
interrupts. This largely consists of moving the interrupt vector
|
interrupts. This largely consists of moving the interrupt vector
|
slots up by 3 entries.
|
slots up by 3 entries.
|
|
|
1999-01-26 Hugo Tyson
|
1999-01-26 Hugo Tyson
|
|
|
* src/mn10300.ld:
|
* src/mn10300.ld:
|
Add copyright notice. (Though these files will later be generated
|
Add copyright notice. (Though these files will later be generated
|
by a tool and so not copyright, these default setups are.)
|
by a tool and so not copyright, these default setups are.)
|
|
|
1999-01-25 Jesper Skov
|
1999-01-25 Jesper Skov
|
|
|
* src/mn10300_stub.c (__build_t_packet): Rewrote fix me text. Added PR
|
* src/mn10300_stub.c (__build_t_packet): Rewrote fix me text. Added PR
|
number, but otherwise left the note.
|
number, but otherwise left the note.
|
|
|
1999-01-25 Nick Garnett
|
1999-01-25 Nick Garnett
|
|
|
* include/hal_cache.h (HAL_DCACHE_SYNC): Add implementation of
|
* include/hal_cache.h (HAL_DCACHE_SYNC): Add implementation of
|
this macro to enable test programs to work.
|
this macro to enable test programs to work.
|
Fixes PR 18849.
|
Fixes PR 18849.
|
|
|
1999-01-21 Jonathan Larmour
|
1999-01-21 Jonathan Larmour
|
|
|
* src/hal_misc.c (cyg_hal_invoke_constructors):
|
* src/hal_misc.c (cyg_hal_invoke_constructors):
|
Add code to deal with CYGSEM_HAL_STOP_CONSTRUCTORS_ON_FLAG
|
Add code to deal with CYGSEM_HAL_STOP_CONSTRUCTORS_ON_FLAG
|
Tidy up and update description header
|
Tidy up and update description header
|
Shorten needlessly long lines
|
Shorten needlessly long lines
|
Remove all traces of non-CYG_KERNEL_USE_INIT_PRIORITY code
|
Remove all traces of non-CYG_KERNEL_USE_INIT_PRIORITY code
|
|
|
1999-01-14 John Dallaway
|
1999-01-14 John Dallaway
|
|
|
* src/mn10300.ld: do not define _hal_vsr_table for minimal
|
* src/mn10300.ld: do not define _hal_vsr_table for minimal
|
simulator builds
|
simulator builds
|
|
|
1999-01-13 Gary Thomas
|
1999-01-13 Gary Thomas
|
|
|
* include/basetype.h: CYG_DOUBLE_BYTEORDER now in
|
* include/basetype.h: CYG_DOUBLE_BYTEORDER now in
|
|
|
1999-01-13 John Dallaway
|
1999-01-13 John Dallaway
|
|
|
* src/mn10300.ld: define FOLLOWING () macro to simplify
|
* src/mn10300.ld: define FOLLOWING () macro to simplify
|
hand editing of linker script fragments
|
hand editing of linker script fragments
|
|
|
1999-01-12 Gary Thomas
|
1999-01-12 Gary Thomas
|
|
|
* include/basetype.h (CYG_DOUBLE_BYTEORDER): Define ordering
|
* include/basetype.h (CYG_DOUBLE_BYTEORDER): Define ordering
|
for words within doubles.
|
for words within doubles.
|
|
|
1999-01-12 Nick Garnett
|
1999-01-12 Nick Garnett
|
|
|
* src/hal_misc.c: Altered call to patch_dbg_syscalls() to pass
|
* src/hal_misc.c: Altered call to patch_dbg_syscalls() to pass
|
pointer to base of vector rather than a single vector entry.
|
pointer to base of vector rather than a single vector entry.
|
|
|
1999-01-12 John Dallaway
|
1999-01-12 John Dallaway
|
|
|
* src/mn10300.ld: new linker script for MLT
|
* src/mn10300.ld: new linker script for MLT
|
* src/PKGconf.mak: add mn10300.ld rules for MLT
|
* src/PKGconf.mak: add mn10300.ld rules for MLT
|
|
|
1998-12-15 Jesper Skov
|
1998-12-15 Jesper Skov
|
|
|
* include/hal_arch.h:
|
* include/hal_arch.h:
|
* src/context.S (_hal_setjmp, _hal_longjmp):
|
* src/context.S (_hal_setjmp, _hal_longjmp):
|
Added CYGARC definitions for jmpbuf entries.
|
Added CYGARC definitions for jmpbuf entries.
|
|
|
1998-12-10 Jesper Skov
|
1998-12-10 Jesper Skov
|
|
|
* include/hal_cache.h (HAL_DCACHE_UNLOCK_ALL,
|
* include/hal_cache.h (HAL_DCACHE_UNLOCK_ALL,
|
HAL_ICACHE_UNLOCK_ALL): Added.
|
HAL_ICACHE_UNLOCK_ALL): Added.
|
|
|
1998-11-25 Jesper Skov
|
1998-11-25 Jesper Skov
|
|
|
* include/hal_arch.h (HAL_REORDER_BARRIER): Changed to same form
|
* include/hal_arch.h (HAL_REORDER_BARRIER): Changed to same form
|
as on the other archs.
|
as on the other archs.
|
|
|
1998-11-18 Gary Thomas
|
1998-11-18 Gary Thomas
|
|
|
* include/hal_intr.h: Add support for interrupt latency
|
* include/hal_intr.h: Add support for interrupt latency
|
measurement, controlled by CYGVAR_KERNEL_COUNTERS_CLOCK_LATENCY.
|
measurement, controlled by CYGVAR_KERNEL_COUNTERS_CLOCK_LATENCY.
|
|
|
1998-11-09 Jesper Skov
|
1998-11-09 Jesper Skov
|
|
|
* src/vectors.S (__default_interrupt_vsr): Added GDB break
|
* src/vectors.S (__default_interrupt_vsr): Added GDB break
|
support.
|
support.
|
Added call to GDB initialization during startup.
|
Added call to GDB initialization during startup.
|
|
|
* src/mn10300_stub.c: Changed instruction word type.
|
* src/mn10300_stub.c: Changed instruction word type.
|
|
|
1998-11-06 Jesper Skov
|
1998-11-06 Jesper Skov
|
|
|
* src/PKGconf.mak:
|
* src/PKGconf.mak:
|
Added stub to object list.
|
Added stub to object list.
|
|
|
* include/mn10300_stub.h:
|
* include/mn10300_stub.h:
|
* src/mn10300_stub.c:
|
* src/mn10300_stub.c:
|
Added GDB stub.
|
Added GDB stub.
|
|
|
* src/hal_misc.c (exception_handler): Added GDB stub call.
|
* src/hal_misc.c (exception_handler): Added GDB stub call.
|
|
|
1998-11-06 Jesper Skov
|
1998-11-06 Jesper Skov
|
|
|
* include/basetype.h (CYG_BYTEORDER): Fixed comment.
|
* include/basetype.h (CYG_BYTEORDER): Fixed comment.
|
|
|
1998-11-16 Nick Garnett
|
1998-11-16 Nick Garnett
|
|
|
* include/hal_cache.h:
|
* include/hal_cache.h:
|
Added volatile keyword to appropriate places to prevent compiler
|
Added volatile keyword to appropriate places to prevent compiler
|
optimizing out cache control register access.
|
optimizing out cache control register access.
|
|
|
1998-10-21 Nick Garnett
|
1998-10-21 Nick Garnett
|
|
|
* include/hal_intr.h (HAL_CLOCK_READ):
|
* include/hal_intr.h (HAL_CLOCK_READ):
|
Fixed this macro to return correct value.
|
Fixed this macro to return correct value.
|
|
|
1998-10-16 Bart Veer
|
1998-10-16 Bart Veer
|
|
|
* src/vectors.S (__interrupt_stack):
|
* src/vectors.S (__interrupt_stack):
|
Made the interrupt stack size configurable.
|
Made the interrupt stack size configurable.
|
|
|
1998-10-16 Nick Garnett
|
1998-10-16 Nick Garnett
|
|
|
* src/hal_misc.c:
|
* src/hal_misc.c:
|
Enabled caches by default.
|
Enabled caches by default.
|
|
|
1998-10-13 Nick Garnett
|
1998-10-13 Nick Garnett
|
|
|
* src/hal_misc.c:
|
* src/hal_misc.c:
|
Altered ifdefs to allow builds without kernel.
|
Altered ifdefs to allow builds without kernel.
|
|
|
Thu Sep 24 18:14:19 1998 Jesper Skov
|
Thu Sep 24 18:14:19 1998 Jesper Skov
|
|
|
* include/hal_intr.h: Read the interrupt control registers back
|
* include/hal_intr.h: Read the interrupt control registers back
|
after writing to them to ensure that the value is not sitting in
|
after writing to them to ensure that the value is not sitting in
|
the store buffer.
|
the store buffer.
|
Also put _ around variable names in HAL_INTERRUPT_CONFIGURE for
|
Also put _ around variable names in HAL_INTERRUPT_CONFIGURE for
|
consistency.
|
consistency.
|
|
|
1998-09-24 Nick Garnett
|
1998-09-24 Nick Garnett
|
|
|
* include/hal_intr.h:
|
* include/hal_intr.h:
|
Inverted mask for level in HAL_INTERRUPT_SET_LEVEL().
|
Inverted mask for level in HAL_INTERRUPT_SET_LEVEL().
|
|
|
* src/vectors.S:
|
* src/vectors.S:
|
Added correct implementations of decode_interrupt macro for
|
Added correct implementations of decode_interrupt macro for
|
chained interrupt processing.
|
chained interrupt processing.
|
Modified call to cyg_instrument() to pass table offset as well as
|
Modified call to cyg_instrument() to pass table offset as well as
|
vector number.
|
vector number.
|
Include to allow call to cyg_instrument() to be
|
Include to allow call to cyg_instrument() to be
|
enabled.
|
enabled.
|
|
|
1998-09-14 Bart Veer
|
1998-09-14 Bart Veer
|
|
|
* src/PKGconf.mak:
|
* src/PKGconf.mak:
|
Made vectors.o dependent on the various files that can contain
|
Made vectors.o dependent on the various files that can contain
|
makefile variables or rules. This is needed after changes to
|
makefile variables or rules. This is needed after changes to
|
pkgconf.tcl for PRs 17195 and 17286.
|
pkgconf.tcl for PRs 17195 and 17286.
|
|
|
Mon Sep 14 11:08:40 1998 Jesper Skov
|
Mon Sep 14 11:08:40 1998 Jesper Skov
|
PR 17230
|
PR 17230
|
|
|
* include/hal_intr.h:
|
* include/hal_intr.h:
|
* src/vectors.S:
|
* src/vectors.S:
|
Replaced CYGIMP_KERNEL_INTERRUPTS_CHAIN with new
|
Replaced CYGIMP_KERNEL_INTERRUPTS_CHAIN with new
|
CYGIMP_HAL_COMMON_INTERRUPTS_CHAIN.
|
CYGIMP_HAL_COMMON_INTERRUPTS_CHAIN.
|
|
|
1998-09-12 Bart Veer
|
1998-09-12 Bart Veer
|
|
|
* include/pkgconf/hal_mn10300.h:
|
* include/pkgconf/hal_mn10300.h:
|
Added missing descriptions (PR 17184)
|
Added missing descriptions (PR 17184)
|
|
|
* src/hal_misc.c (exception_handler):
|
* src/hal_misc.c (exception_handler):
|
Sort out exception handling options (PR 16953)
|
Sort out exception handling options (PR 16953)
|
|
|
Thu Sep 10 20:24:02 1998 Hugo Tyson
|
Thu Sep 10 20:24:02 1998 Hugo Tyson
|
|
|
* src/vectors.S (__default_interrupt_vsr):
|
* src/vectors.S (__default_interrupt_vsr):
|
Fix a bug. Wrong offset when restoring the PSW tends to screw
|
Fix a bug. Wrong offset when restoring the PSW tends to screw
|
things up rather.
|
things up rather.
|
|
|
Thu Sep 10 15:12:21 1998 Jesper Skov
|
Thu Sep 10 15:12:21 1998 Jesper Skov
|
PR 17153
|
PR 17153
|
|
|
* src/vectors.S (__default_interrupt_vsr): Pass correct vector
|
* src/vectors.S (__default_interrupt_vsr): Pass correct vector
|
value to isr.
|
value to isr.
|
|
|
1998-09-09 Nick Garnett
|
1998-09-09 Nick Garnett
|
|
|
* include/hal_arch.h:
|
* include/hal_arch.h:
|
Removed distinction between interrupt and thread switch contexts
|
Removed distinction between interrupt and thread switch contexts
|
in HAL_SavedRegisters. Modified appropriate macros to reflect this.
|
in HAL_SavedRegisters. Modified appropriate macros to reflect this.
|
|
|
* src/hal_misc.c (cyg_hal_invoke_constructors):
|
* src/hal_misc.c (cyg_hal_invoke_constructors):
|
Added call to patch_dbg_syscalls() for Cygmon hosted builds.
|
Added call to patch_dbg_syscalls() for Cygmon hosted builds.
|
|
|
* src/context.S (_hal_thread_switch_context):
|
* src/context.S (_hal_thread_switch_context):
|
Adjust thread context so that it has the same structure as the
|
Adjust thread context so that it has the same structure as the
|
state saved by interrupt and exception handlers. This makes
|
state saved by interrupt and exception handlers. This makes
|
supporting thread-aware debugging easier.
|
supporting thread-aware debugging easier.
|
|
|
* src/vectors.S:
|
* src/vectors.S:
|
Moved nmi and trap vectors to correct slots in vsr table.
|
Moved nmi and trap vectors to correct slots in vsr table.
|
Now place arg3 of interrupt_end() in correct stack slot.
|
Now place arg3 of interrupt_end() in correct stack slot.
|
|
|
1998-09-04 Bart Veer
|
1998-09-04 Bart Veer
|
|
|
* src/vectors.S (__default_interrupt_vsr):
|
* src/vectors.S (__default_interrupt_vsr):
|
Fixed type in configuration option name.
|
Fixed type in configuration option name.
|
|
|
Thu Sep 3 15:15:57 1998 Tim Goodwin
|
Thu Sep 3 15:15:57 1998 Tim Goodwin
|
|
|
* hal/mn10300/arch/current/src/PKGconf.mak
|
* hal/mn10300/arch/current/src/PKGconf.mak
|
* hal/mn10300/arch/current/src/makefile
|
* hal/mn10300/arch/current/src/makefile
|
* hal/mn10300/arch/current/tests/PKGconf.mak
|
* hal/mn10300/arch/current/tests/PKGconf.mak
|
|
|
s/panx/mn10300/g
|
s/panx/mn10300/g
|
|
|
1998-09-03 Nick Garnett
|
1998-09-03 Nick Garnett
|
|
|
* src/vectors.S:
|
* src/vectors.S:
|
Fixed offset bug in __trap.
|
Fixed offset bug in __trap.
|
Changed conditionals on runtime initialisation of VSR table to not
|
Changed conditionals on runtime initialisation of VSR table to not
|
do it in simulated targets.
|
do it in simulated targets.
|
|
|
1998-09-02 Bart Veer
|
1998-09-02 Bart Veer
|
|
|
* include/pkgconf/hal_mn10300.h:
|
* include/pkgconf/hal_mn10300.h:
|
New header file for architecture-specific configuration options
|
New header file for architecture-specific configuration options
|
|
|
* tests/PKGconf.mak:
|
* tests/PKGconf.mak:
|
* src/PKGconf.mak:
|
* src/PKGconf.mak:
|
Sort out package naming conventions.
|
Sort out package naming conventions.
|
|
|
1998-09-02 Nick Garnett
|
1998-09-02 Nick Garnett
|
|
|
* src/vectors.S:
|
* src/vectors.S:
|
Moved NMI and TRAP VSRs down 1 word to match cygmon's use of the
|
Moved NMI and TRAP VSRs down 1 word to match cygmon's use of the
|
vector table. This may need to change back in the future.
|
vector table. This may need to change back in the future.
|
|
|
1998-09-01 Nick Garnett
|
1998-09-01 Nick Garnett
|
|
|
* include/hal_intr.h:
|
* include/hal_intr.h:
|
Added CYG_VSR_COUNT, CYG_EXCEPTION_COUNT and CYG_ISR_COUNT.
|
Added CYG_VSR_COUNT, CYG_EXCEPTION_COUNT and CYG_ISR_COUNT.
|
Modified HAL_TRANSLATE_VECTOR() for mn103002 to provide slots
|
Modified HAL_TRANSLATE_VECTOR() for mn103002 to provide slots
|
for the NMI vectors at start of hal_interrupt_* tables.
|
for the NMI vectors at start of hal_interrupt_* tables.
|
|
|
* src/hal_misc.c (exception_handler):
|
* src/hal_misc.c (exception_handler):
|
Added support for decoding NMI vectors and for calling watchdog
|
Added support for decoding NMI vectors and for calling watchdog
|
ISR if present.
|
ISR if present.
|
|
|
* src/vectors.S:
|
* src/vectors.S:
|
Modified behaviour of __default_nmi_vsr to support watchdog timer
|
Modified behaviour of __default_nmi_vsr to support watchdog timer
|
properly.
|
properly.
|
Fixed indirection bug in __nmi and __trap.
|
Fixed indirection bug in __nmi and __trap.
|
Modified offsets in hal_interrupt_* tables to provide slots for
|
Modified offsets in hal_interrupt_* tables to provide slots for
|
NMI vectors at start in mn103002.
|
NMI vectors at start in mn103002.
|
|
|
1998-08-28 Bart Veer
|
1998-08-28 Bart Veer
|
|
|
* src/vectors.S, src/context.S, src/hal_misc.c, include/hal_intr.h:
|
* src/vectors.S, src/context.S, src/hal_misc.c, include/hal_intr.h:
|
Updated for new kernel configuration option symbol names
|
Updated for new kernel configuration option symbol names
|
|
|
Fri Aug 28 10:09:03 1998 Jonathan Larmour
|
Fri Aug 28 10:09:03 1998 Jonathan Larmour
|
|
|
* src/hal_misc.c:
|
* src/hal_misc.c:
|
rename __main() to cyg_hal_invoke_constructors() and remove
|
rename __main() to cyg_hal_invoke_constructors() and remove
|
initialised test
|
initialised test
|
|
|
* src/vectors.S (_start):
|
* src/vectors.S (_start):
|
Change call of __main() to cyg_hal_invoke_constructors(), and call
|
Change call of __main() to cyg_hal_invoke_constructors(), and call
|
of main() to cyg_start()
|
of main() to cyg_start()
|
|
|
1998-08-25 Nick Garnett
|
1998-08-25 Nick Garnett
|
|
|
* src/vectors.S:
|
* src/vectors.S:
|
Now pass pointer to saved registers as third argument to
|
Now pass pointer to saved registers as third argument to
|
interrupt_end().
|
interrupt_end().
|
|
|
* include/hal_arch.h:
|
* include/hal_arch.h:
|
Added macros to support GDB.
|
Added macros to support GDB.
|
|
|
1998-08-21 Nick Garnett
|
1998-08-21 Nick Garnett
|
|
|
* include/hal_cache.h:
|
* include/hal_cache.h:
|
Now includes cyg_type.h rather than ktypes.h.
|
Now includes cyg_type.h rather than ktypes.h.
|
|
|
* src/hal_misc.c:
|
* src/hal_misc.c:
|
Added calls to turn the caches on. But disabled them
|
Added calls to turn the caches on. But disabled them
|
since they interact poorly with Cygmon (Cygmon does not
|
since they interact poorly with Cygmon (Cygmon does not
|
flush the caches when setting/clearing breakpoints).
|
flush the caches when setting/clearing breakpoints).
|
|
|
Wed Aug 19 18:19:32 1998 Jonathan Larmour
|
Wed Aug 19 18:19:32 1998 Jonathan Larmour
|
|
|
* src/hal_misc.c (__main):
|
* src/hal_misc.c (__main):
|
Add void to function prototypes to silence warnings
|
Add void to function prototypes to silence warnings
|
|
|
1998-08-18 Nick Garnett
|
1998-08-18 Nick Garnett
|
|
|
* include/hal_arch.h:
|
* include/hal_arch.h:
|
* include/hal_intr.h:
|
* include/hal_intr.h:
|
Now includes cyg_type.h rather than ktypes.h.
|
Now includes cyg_type.h rather than ktypes.h.
|
|
|
* src/context.S:
|
* src/context.S:
|
* src/vectors.S:
|
* src/vectors.S:
|
* src/hal_misc.c:
|
* src/hal_misc.c:
|
Now uses hal.h rather than kernel.h.
|
Now uses hal.h rather than kernel.h.
|
|
|
1998-08-17 Nick Garnett
|
1998-08-17 Nick Garnett
|
|
|
* src/vectors.S:
|
* src/vectors.S:
|
Reorgnized ifdefs to better support kernel porting.
|
Reorgnized ifdefs to better support kernel porting.
|
|
|
//===========================================================================
|
//===========================================================================
|
//####ECOSGPLCOPYRIGHTBEGIN####
|
//####ECOSGPLCOPYRIGHTBEGIN####
|
// -------------------------------------------
|
// -------------------------------------------
|
// This file is part of eCos, the Embedded Configurable Operating System.
|
// This file is part of eCos, the Embedded Configurable Operating System.
|
// Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.
|
// Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.
|
//
|
//
|
// eCos is free software; you can redistribute it and/or modify it under
|
// eCos is free software; you can redistribute it and/or modify it under
|
// the terms of the GNU General Public License as published by the Free
|
// the terms of the GNU General Public License as published by the Free
|
// Software Foundation; either version 2 or (at your option) any later version.
|
// Software Foundation; either version 2 or (at your option) any later version.
|
//
|
//
|
// eCos is distributed in the hope that it will be useful, but WITHOUT ANY
|
// eCos is distributed in the hope that it will be useful, but WITHOUT ANY
|
// WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
// WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
// FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
// FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
// for more details.
|
// for more details.
|
//
|
//
|
// You should have received a copy of the GNU General Public License along
|
// You should have received a copy of the GNU General Public License along
|
// with eCos; if not, write to the Free Software Foundation, Inc.,
|
// with eCos; if not, write to the Free Software Foundation, Inc.,
|
// 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
|
// 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
|
//
|
//
|
// As a special exception, if other files instantiate templates or use macros
|
// As a special exception, if other files instantiate templates or use macros
|
// or inline functions from this file, or you compile this file and link it
|
// or inline functions from this file, or you compile this file and link it
|
// with other works to produce a work based on this file, this file does not
|
// with other works to produce a work based on this file, this file does not
|
// by itself cause the resulting work to be covered by the GNU General Public
|
// by itself cause the resulting work to be covered by the GNU General Public
|
// License. However the source code for this file must still be made available
|
// License. However the source code for this file must still be made available
|
// in accordance with section (3) of the GNU General Public License.
|
// in accordance with section (3) of the GNU General Public License.
|
//
|
//
|
// This exception does not invalidate any other reasons why a work based on
|
// This exception does not invalidate any other reasons why a work based on
|
// this file might be covered by the GNU General Public License.
|
// this file might be covered by the GNU General Public License.
|
//
|
//
|
// Alternative licenses for eCos may be arranged by contacting Red Hat, Inc.
|
// Alternative licenses for eCos may be arranged by contacting Red Hat, Inc.
|
// at http://sources.redhat.com/ecos/ecos-license/
|
// at http://sources.redhat.com/ecos/ecos-license/
|
// -------------------------------------------
|
// -------------------------------------------
|
//####ECOSGPLCOPYRIGHTEND####
|
//####ECOSGPLCOPYRIGHTEND####
|
//===========================================================================
|
//===========================================================================
|
|
|