📄 changelog
字号:
* src/hal_misc.c (cyg_hal_invoke_constructors):
Rework for new constructor scheme for new compilers. Should work
with old compilers too.
1999-05-28 Nick Garnett <nickg@cygnus.co.uk>
* src/vectors.S:
Removed references to CYG_HAL_STARTUP_STUBS.
Removed some defunct code.
* include/hal_cache.h (HAL_ICACHE_INVALIDATE_ALL): Fixed typo.
1999-05-27 Nick Garnett <nickg@cygnus.co.uk>
* src/vectors.S:
Move call to hal_diag_intr_start to a more useful place.
Added a save of the current state pointer to memory for ctrl-c
support. Ensure that exceptions are enabled before calling the ISR
to allow breakpoints to function.
* src/mips-stub.c: Imported asynchronous interrupt support from
libstub/cygmon.
* include/hal_intr.h: Added HAL_DEFAULT_ISR to contain the name of
the default ISR.
* src/hal_misc.c: Added code to call HAL_CTRLC_ISR to default ISR
if it is enabled. Added some (disabled) debug code.
* include/hal_cache.h: Added default implementation of
HAL_DCACHE_IS_ENABLED(). Made use of it in some cache macros.
Also fixed some typos in some macros.
1999-05-21 Hugo Tyson <hmt@cygnus.co.uk>
* include/hal_intr.h: Define HAL_INTERRUPT_STACK_BASE and
HAL_INTERRUPT_STACK_TOP so that stack usage macros in
kernel/.../stackmon.hxx can work.
* src/vectors.S (cyg_interrupt_stack_base): Define this symbol for
the interrupt stack and its friend for the stack top so that we
can publish them with nice names.
1999-05-21 Nick Garnett <nickg@cygnus.co.uk>
* src/vectors.S:
Rationalized use of "at" and "noat" setting.
Made use of "lar" where necessary.
* src/mips-stub.c (__install_breakpoints): Added cache flushes to
ensure that the just-set breakpoint is migrated to main memory and
will be fetched by the instruction cache.
* src/context.S:
Rationalized use of "at" and "noat" setting.
* include/arch.inc:
Added initial value for the config0 register and added code to set
it to hal_cpu_init.
Added default "lar" macro.
1999-05-16 Gary Thomas <gthomas@cygnus.co.uk>
* include/hal_intr.h (HAL_INTERRUPT_STACK_CALL_PENDING_DSRS):
Add macro for new DSR handling mechanism (was override of a
"weak" symbol in kernel).
1999-05-13 Nick Garnett <nickg@cygnus.co.uk>
The following have been merged from a branch:
1999-05-11 Nick Garnett <nickg@cygnus.co.uk>
* include/hal_arch.h:
* include/hal_intr.h:
* include/hal_cache.h:
* include/arch.inc:
Changed references to "imp" and "implementation" to "var" and
"variant" respectively. These are better names for these files and
functions.
* src/vectors.S:
Removed or disabled some development/debug code.
Same imp->var changes as above.
1999-05-06 Nick Garnett <nickg@cygnus.co.uk>
* src/vectors.S: Added call to hal_cpu_except_enable in
__default_exception_vsr to re-enable nested exceptions.
* src/mips-stub.c: Use _registers[X] rather that register[X] for
accessing CPU registers, since the former may point to per-thread
register sets while the latter only refers to the current trap
register set.
* include/arch.inc: Added hal_cpu_except_enable macro to
(re-)enable exception processing and disable interrupts. This is
necessary if we are to allow nested exceptions (like breakpoints
in exception handlers).
1999-04-29 Nick Garnett <nickg@cygnus.co.uk>
* src/vectors.S: Reenable interrupts while processing exceptions.
Several temporary kludges to permit us to test ROM code from RAM
under PMON.
* include/mips.inc: Extended list of CP0 register aliases.
* include/mips-stub.h: The stubs must behave as if we are on a 64
bit processor when debugging the VR4300, since that is what GDB
expects.
* include/arch.inc: Added generic version of hal_cache_init to
disable kseg0 caching in config0 register.
* include/hal_cache.h: Moved dummy addresses used in index
operations to 0x80000000, zero caused MMU exceptions.
Fixed looping bugs in all macros that use them.
1999-04-28 Gary Thomas <gthomas@cygnus.co.uk>
[v1_2_2_beta branch]
* src/vectors.S: Add dummy "__gccmain()"
1999-04-27 Gary Thomas <gthomas@cygnus.co.uk>
* include/hal_arch.h: Make minimum stack sizes more realistic.
Also fix size of interrupt stack frame when FPU present.
1999-04-23 Nick Garnett <nickg@cygnus.co.uk>
* src/vectors.S: Added support for floating point register save
and restore. Fixed hal_interrupt_stack_call_pending_DSRs to use
hal_cpu_int_merge macro.
* src/context.S: Added support for floating point register save
and restore. Started some preparations for 64 bit processor
support.
* include/mips.inc: Added floating point register aliases. Moved
saved state to arch.inc.
* include/hal_arch.h: Completed support for floating point state
save and restore. Parameterized GDB support macros a little to
enable GDB to work properly.
* include/arch.inc: Added support for floating point state save
and restore. Moved assembler version of saved state layout here
from mips.inc.
1999-04-22 Nick Garnett <nickg@cygnus.co.uk>
* src/context.S (hal_thread_load_context): Substituted explicit
code to reload the interrupt enable state with a macro.
* include/hal_cache.h: Removed default implementations of
HAL_[D/I]CACHE_[EN/DIS]ABLE since these were actually TX39
specific. There is aparrently no standard way of implementing
these function in the MIPS architecture.
* include/mips.inc: Added a comment to point out a TX39-only
register.
* src/vectors.S: Modified hal_interrupt_stack_call_pending_DSRs()
to also call DSRs with interrupts enabled. Returns interrupt state
to original value when finished.
Use hal_cpu_int_ensable macro in place of explicit code in
hal_interrupt_stack_call_pending_DSRs().
1999-04-21 Nick Garnett <nickg@cygnus.co.uk>
* include/arch.inc: Ifdeffed definition of hal_intc_init macro to
allow it to be defined elsewhere. Added default versions of diag
macros.
* src/vectors.S: Added some low-level diagnostic macros to show
HAL events if there is adequate hardware (such as leds).
Removed interrupt enable/disables in interrupt processing since we
can now go through a thread switch with interrupts disabled.
Ifdeffed ISR tables so they can be defined elsewhere.
Added implementation of hal_interrupt_stack_call_pending_DSRs.
Added calls to implementation and platform init routines.
* src/hal_misc.c: Many changes to hal_idle_thread_action() to
print or instrument various CPU registers. Left with code to
wiggle an led in the idle loop.
Stripped out TX39 specific code and moved it to plf_misc.c.
* src/context.S: Added code to save and restore the interrupt mask
state in thread contexts.
* include/hal_intr.h:
Renamed default interrupts to match the hardware more closely.
Added ifdef around HAL_TRANSLATE_VECTOR() so it can be made
platform/variant specific. Added implementation of
HAL_INTERRUPT_ACKNOWLEDGE().
* include/hal_arch.h (HAL_THREAD_INIT_CONTEXT): Aligned the
intitial stack pointer to 16 byte boundary, added an initial value
for the status register.
* include/arch.inc: Added some nops to eret macros.
1999-04-13 John Dallaway <jld@cygnus.co.uk>
* src/mips.ld: Migrate global MIPS linker script to individual
MIPS variant directories
1999-04-30 Hugo Tyson <hmt@cygnus.co.uk>
Merge the following changes from the 1.2.1 release branch,
but without any CDL for CYGDBG_HAL_MIPS_INSTALL_CTRL_C_ISR,
it is always on.
1999-04-30 Jesper Skov <jskov@cygnus.co.uk>
* src/hal_misc.c: Added vector decoding to the below.
1999-04-30 Hugo Tyson <hmt@masala.cygnus.co.uk>
* src/hal_misc.c (hal_init_ctrlc_intr): Chain onto the old value
of the ISR when attaching the ctrl-c ISR; this allows chained
interrupts to work (otherwise a stack-wrecking interrupt loop
occurs).
1999-04-29 Hugo Tyson <hmt@cygnus.co.uk>
* include/pkgconf/hal_tx39.h (CYGDBG_HAL_MIPS_INSTALL_CTRL_C_ISR):
New config option, on by default.
* src/hal_misc.c (hal_ctrlc_isr): Enable these features on
CYGDBG_HAL_MIPS_INSTALL_CTRL_C_ISR new config option.
1999-04-28 Bart Veer <bartv@cygnus.co.uk>
* src/PKGconf.mak:
Remove the -n argument to tail, it does not appear to be required
on any supported host and causes problems with some
implementations of tail.
1999-04-20 Jonathan Larmour <jlarmour@cygnus.co.uk>
* include/hal_intr.h: Don't sync TRR if platform sim - it doesn't need
it
* include/pkgconf/hal_tx39.h:
Allow CYGARC_TX39_PR19846 to override
CYGHWR_HAL_MIPS_TX3904_TRR_REQUIRES_SYNC so that we can do something
sensible in the simulators
Related to PR 19846
1999-04-15 Jonathan Larmour <jlarmour@cygnus.co.uk>
* src/tx39.ld: Define __bss_end at the end of the BSS
* src/hal_misc.c (hal_zero_bss): Stop at __bss_end rather than _end
when clearing BSS
These fix PR 19750
1999-04-15 Jonathan Larmour <jlarmour@cygnus.co.uk>
* src/hal_misc.c:
* src/vectors.S:
Separate parts of cyg_hal_invoke_constructors() out into new functions
cyg_hal_enable_caches() and cyg_hal_debug_init() so that
cyg_hal_invoke_constructors() can be called again safely if
necessary
Related fix to that of PR19642
1999-04-14 Jonathan Larmour <jlarmour@cygnus.co.uk>
* src/PKGconf.mak (EXTRAS): Don't generate extras.o here any more
But do define EXTRAS every time for the linker script
1999-04-13 Jonathan Larmour <jlarmour@cygnus.co.uk>
* include/hal_intr.h (HAL_CLOCK_READ):
Add workaround for tx39 bug - needs to sync and wait for the
write buffer to clear before reading the clock.
Submitted by akira.yokosawa@toshiba.co.jp
* include/pkgconf/hal_tx39.h
(CYGHWR_HAL_MIPS_TX3904_TRR_REQUIRES_SYNC): Define this by default
to implement above
1999-04-12 Jonathan Larmour <jlarmour@cygnus.co.uk>
* include/hal_intr.h (HAL_VSR_SET_TO_ECOS_HANDLER): Added.
(HAL_VSR_SET): Cast types to CYG_ADDRESS to prevent warnings
Part of fix for PRs 19731/19607
1999-04-09 Jesper Skov <jskov@cygnus.co.uk>
* src/mips-stub.c:
Moved get_register and put_register to hal_stub.c.
1999-04-08 John Dallaway <jld@cygnus.co.uk>
* src/*.ld: Use double underscore substitution for period
character in SECTION_* macro names (PR 19787)
1999-04-08 John Dallaway <jld@cygnus.co.uk>
* src/*.ld: Revised SECTION_* macro arguments to
avoid padded output sections (PR 19787)
1999-03-31 Nick Garnett <nickg@cygnus.co.uk>
* include/hal_cache.h: Added include of hal.h and a test that a
valid set of macros have been added.
Also moved address used in HAL_DCACHE_INVALIDATE_ALL() to
0x9fc00000, which is the cached ROM space.
1999-03-24 Nick Garnett <nickg@cygnus.co.uk>
* src/vectors.S:
Added options to allow different settings for DRAM initialization.
Fixed some ifdef bugs.
* src/hal_misc.c (cyg_hal_invoke_constructors):
Added ifdefs to control enabling and disabling of timeout
exceptions.
* include/pkgconf/hal_tx39.h:
Added translations from the user friendly CPU speed settings into
the real CPU frequencies in Hz.
* include/hal_intr.h:
Added HAL_TX39_DEBUG_TOE_ENABLE() and ...DISABLE, to switch
timeout exceptions on and off.
1999-03-23 Nick Garnett <nickg@cygnus.co.uk>
* include/hal_arch.h:
Modified stack size definitions to be more accurate.
1999-03-22 Jonathan Larmour <jlarmour@cygnus.co.uk>
* include/mips-regs.h: Update copyright
* include/mips-stub.h: Update copyright
* src/mips-stub.c: Update copyright
1999-03-22 Hugo Tyson <hmt@cygnus.co.uk>
* include/hal_arch.h:
Use CYGNUM_HAL_STACK_SIZE_TYPICAL for the stack size instead of
CYGNUM_HAL_MINIMUM_STACK_SIZE.
1999-03-17 Jonathan Larmour <jlarmour@cygnus.co.uk>
* src/hal_misc.c (cyg_hal_user_break): Remove #warning - it doesn't
really provide any useful info, and may unnecessarily worry a user
since it fires in normal situations
1999-03-17 John Dallaway <jld@cygnus.co.uk>
* src/PKGconf.mak: Remove dependence on echo '-e' switch.
1999-03-16 Nick Garnett <nickg@cygnus.co.uk>
* src/vectors.S: Removed definition of idle thread stack.
1999-03-15 Nick Garnett <nickg@cygnus.co.uk>
* include/hal_cache.h:
Changed implementation of HAL_DCACHE_INVALIDATE_ALL() to read from
ROM space rather than RAM. This fixes PR 19510.
1999-03-12 Nick Garnett <nickg@cygnus.co.uk>
* src/vectors.S: Modified ROMC and SCS settings in line with
Toshiba's suggestions for compatibility with other CPU variants.
1999-03-12 Gary Thomas <gthomas@cygnus.co.uk>
* include/hal_arch.h: Add definition for 'CYGNUM_HAL_MINIMUM_STACK_SIZE'
1999-03-11 Nick Garnett <nickg@cygnus.co.uk>
* src/hal_misc.c:
Disabled use of stand-alone ^C detection interrupt. This is now
done in the serial driver. Added cyg_hal_is_break() and
cyg_hal_user_break() to detect and provoke ^C processing. These
are used by the serial driver and will one day interact with the
BSP/Cygmon/GDB stubs to do the right thing.
1999-03-10 Jesper Skov <jskov@cygnus.co.uk>
* include/hal_intr.h (HAL_INTERRUPT_IN_USE): Added.
1999-03-10 Nick Garnett <nickg@cygnus.co.uk>
* include/pkgconf/hal_tx39.h:
* src/vectors.S:
Changed names used to control CPU frequency into something more
generic. Moved definition into hal_tx39.h from hal_tx39_jmr3904.h.
1999-03-09 Jesper Skov <jskov@cygnus.co.uk>
PR 19370
* src/hal_misc.c (cyg_hal_invoke_constructors): Changed
constructor loop.
1999-03-05 Gary Thomas <gthomas@cygnus.co.uk>
* src/tx39.ld:
* src/PKGconf.mak: Clean up I/O package changes.
1999-03-04 Jonathan Larmour <jlarmour@cygnus.co.uk>
* src/tx39.ld:
Add INPUT(libextras.a), include libextras.a in GROUP() and include
new __DEVTAB__ section for new device drivers
1999-02-25 Nick Garnett <nickg@cygnus.co.uk>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -