📄 changelog
字号:
2004-05-27 Gary Thomas <gary@mlbassoc.com>
* src/redboot_linux_exec.c (do_exec): Be sensitive to value in
"entry_address" as this can indicate if the image to be executed
is valid (the "load" functions set it to "NO_MEMORY" when invalid)
2004-05-16 Andrew Dyer <adyer@righthandtech.com>
* include/hal_cache.h: Changed the calculation of _IWAY and _DWAY
for the case where HAL_MIPS_CACHE_INSN_USES_LSB is set to only
affect the LSBs in the CACHE instruction offset field. #define
MIPS cache ops and use them instead of constants in the
HAL_?CACHE_* macros below.
2004-04-22 Jani Monoses <jani@iv.ro>
* cdl/hal_mips.cdl :
Invoke tail with stricter syntax that works in latest coreutils.
2003-08-06 Andy Dyer <adyer@righthandtech.com>
* include/arch.inc: Changed mask for cause register interrupt bits
to 0x3f from 0x7f. The extra bit was wrong, but in all current
implementations, benign.
* include/mips-stub.h: Disabled use of 64 bit registers for TX49,
so we can work with the public release compiler.
2003-04-27 Jonathan Larmour <jifl@eCosCentric.com>
* src/vectors.S: Pass saved interrupt state pointer to interrupt
handlers as (undeclared) third argument. Suggested by
Ryouzaburou Suzuki.
2003-03-11 Mark Salter <msalter@redhat.com>
* src/redboot_linux_exec.c (do_exec): Call eth_drv_stop as necessary.
2003-02-27 Nick Garnett <nickg@calivar.com>
* include/mips-stub.h: Disabled option that makes MIPS32 targets
use 64 bit registers in GDB protocol. The standard GDB does not
support this, only MIPS own version.
2003-01-31 Mark Salter <msalter@redhat.com>
* src/hal_syscall.c (hal_syscall_handler): Let generic syscall code
handle exit.
2003-01-09 Tim Michals <t.michals@attbi.com>
* src/hal_misc.c (hal_delay_us): Use HAL_CLOCK_READ instead of inline
asm, to allow for variant/platform HAL packages overriding.
2002-12-12 Bart Veer <bartv@ecoscentric.com>
* include/hal_cache.h: allow for cache flushes etc. where the base
address is not aligned to a cacheline boundary.
2002-08-02 Andrew Lunn <Andrew.Lunn@ascom.ch>
* cdl/hal_mips.cdl: Redboot exec command can now be disabled
by CDL
2002-05-17 Jesper Skov <jskov@redhat.com>
* include/hal_intr.h: Fix CYGNUM_HAL_EXCEPTION_MIN definition so
it reflects the FPU configuration.
2002-04-30 Jesper Skov <jskov@redhat.com>
* include/hal_intr.h: Only define decoded FPU vectors if these are
actually used. This allows tests to check for capabilities and do
N/A when appropriate.
2002-04-15 Jonathan Larmour <jlarmour@redhat.com>
* src/hal_syscall.c (hal_syscall_handler): Add extra sig argument to
__do_syscall.
2002-03-21 Nick Garnett <nickg@redhat.com>
* include/hal_cache.h: Added macros to adjust the size argument to
some of the cache macros to a whole multiple of the cache line
size. Otherwise, for some values of the arguments, we can miss the
last line.
2001-12-17 Jesper Skov <jskov@redhat.com>
* include/hal_arch.h (CYGARC_HAL_GET_RETURN_ADDRESS,
(CYGARC_HAL_GET_RETURN_ADDRESS_BACKUP): Added dummy arguments.
* src/hal_misc.c (cyg_hal_exception_handler): Fix warning.
2001-12-04 Nick Garnett <nickg@redhat.com>
* src/hal_misc.c: Added hal_arch_program_new_stack() to support
running user programs on a new stack placed at the top of RAM.
* src/vectors.S: Added hal_program_new_stack function to support
hal_arch_program_new_stack(). This does the actual stack
switching.
* include/mips-stub.h (NUMREGS):
* include/mips-regs.h (NUM_REGS):
Added test to correctly define these when the target expects the
CP0 registers to be reported to GDB
* include/hal_arch.h: Added support for fetching CP0 registers in
MIPS64 platforms for GDB. Reorganized the code slightly.
* cdl/hal_mips.cdl:
Added define_proc to define HAL_ARCH_PROGRAM_NEW_STACK.
2001-11-16 Nick Garnett <nickg@redhat.com>
* src/hal_misc.c (hal_msbit_index): Fixed this function so that it
actually works!
2001-10-24 Nick Garnett <nickg@redhat.com>
* src/vectors.S:
Change behaviour of __default_exception_vsr to only switch to
interrupt stack if we are not already on it. This is now similar
to the way the interrupt VSR operates. This is necessary since it
is possible to take exceptions (such as TLB miss or address error)
while running in the GDB stubs.
* src/hal_misc.c (cyg_hal_exception_handler): Ensure that PC
planted when catching stub exceptions gets sign extended where
necessary in 64 bit platforms.
2001-10-05 Jesper Skov <jskov@redhat.com>
* include/hal_arch.h: Provide CYGARC_CACHED_ADDRESS() and friends
without casting for use in assembler files.
2001-09-17 Nick Garnett <nickg@redhat.com>
* src/hal_misc.c (hal_delay_us): Rewrote this routine to work
correctly in higher speed CPUs. The counter register counts at
half CPU clock speed. The original ticks calculation could
overflow very easily. For example in a 133MHz CPU, it overflowed
with any argument greater than 32! This is another of those "how
did it ever work?" things.
* include/hal_arch.h: Added casts to CYGARC_PHYSICAL_ADDRESS() and
friends.
2001-09-07 Nick Garnett <nickg@redhat.com>
* include/mips-stub.h: Returned target_register_t to long long
type for VR4300 target. This is the only platform that does 64bit
register saves/restores, and the GDB registers must be full sized.
* include/arch.inc: Added option to select correct initial SR
value when the startup is ROMRAM.
Disabled setting of status and config registers when using a ROM
monitor. The monitor should have already set these to appropriate
values.
2001-08-22 Gary Thomas <gthomas@redhat.com>
* src/redboot_linux_exec.c:
printf() is no longer a part of RedBoot. Thus all programs
must use diag_printf() and related functions instead.
2001-08-01 Hugo Tyson <hmt@redhat.com>
* src/vectors.S (restore_state): (see the change below 2001-07-03)
Make the code to keep SR IM bits from the ISR conditional on a CDL
interface so that it is selected on a per-platform or variant basis.
* cdl/hal_mips.cdl (CYGINT_HAL_MIPS_INTERRUPT_RETURN_KEEP_SR_IM):
New interface to control conditional code.
* include/hal_intr.h (HAL_ENABLE_INTERRUPTS): Make this (et al)
conditional on CYGHWR_HAL_INTERRUPT_ENABLE_DISABLE_RESTORE_DEFINED
so that the variant HAL can define these insead, in the usual
manner.
2001-07-20 Jonathan Larmour <jlarmour@redhat.com>
* src/redboot_linux_exec.c: Adjust below change by getting baud
rate, thus allowing for runtime baud rate changes, and no
dependency on platform CDL defines.
2001-07-19 Gary Thomas <gthomas@redhat.com>
* src/redboot_linux_exec.c: Define DEFAULT_BAUD. The supporting
CDL differs from platform to platform, so this define is used to
ameliorate the differences.
2001-07-17 David Woodhouse <dwmw2@redhat.com>
* src/redboot_linux_exec.c: Add environment stuff to the 'exec'
command, also make it use the entry point from the last 'load'
command if there is one.
Also add '-w' delay option.
2001-07-09 David Woodhouse <dwmw2@redhat.com>
* src/redboot_linux_exec.c: New 'exec' command for RedBoot, mostly
copied from the SH version, hacked to pass arguments in argc/argv
form as that seems to be what most Linux/MIPS kernels expect to
receive from PMON.
* cdl/hal_mips.cdl: Add necessary magic for the above.
2001-07-03 Hugo Tyson <hmt@redhat.com>
* src/vectors.S (restore_state): When restoring the CPU status
register right at the end of interrupt processing, keep the
current settings of the IM[7:0] bits within the status register.
Depending on platform, these may be used as interrupt masks, so if
an ISR or DSR masks interrupts they must be preserved. If they
are not used, then this does no harm.
#ifdef'd out for CYG_HAL_MIPS_R3900 anyway 'cos the TX39 does not
use these bits at all.
2001-06-27 Mark Salter <msalter@redhat.com>
* src/vectors.S (_start): Add code to switch from KSEG1 to KSEG0 if
CYGARC_START_FUNC_UNCACHED.
2001-06-27 Hugo Tyson <hmt@redhat.com>
* src/hal_misc.c: Include <cyg/hal/hal_if.h> for definition of
hal_ctrlc_isr() and hence warnings reduced.
2001-06-19 Mark Salter <msalter@redhat.com>
* include/hal_arch.h: Support saving/restoring CP0 registers for GDB.
* include/mips-stub.h (NUMREGS): Use different value for mips32.
2001-06-08 Jesper Skov <jskov@redhat.com>
* include/mips.inc (FUNC_START): Added .noreorder.
2001-06-05 Hugo Tyson <hmt@redhat.com>
* include/mips-stub.h: Configuration messing to avoid the need to
add a platform-specific clause for every new 32-as-64-to-GDB
target that we make. The header can now pick REGSIZE,
target_register_t and so on according to a generic define as well
as specific platform defs.
* cdl/hal_mips.cdl: Provide interface for the above, so targets
can implement it. CYGINT_HAL_MIPS_STUB_REPRESENT_32BIT_AS_64BIT
2001-02-27 Chris Morrow <cmorrow@YottaYotta.com>
* src/vectors.S (hal_zero_bss): Oops, allow for bss being multiple
of block size. And add delay slot.
2001-02-26 Chris Morrow <cmorrow@YottaYotta.com>
* src/vectors.S (hal_zero_bss): Implemented in assembler for speed.
* src/hal_misc.c (hal_zero_bss): Delete.
2001-02-15 Nick Garnett <nickg@cygnus.co.uk>
* src/hal_misc.c: Added option to call hal_ctrlc_isr() in default
ISR when in RedBoot.
2001-02-12 Nick Garnett <nickg@cygnus.co.uk>
* include/mips.inc: Added some extra CP0 register names.
2001-02-09 Jesper Skov <jskov@redhat.com>
* src/vectors.S: Small tweak of comments to work around tools problem
with mipsisa32 tools.
2001-01-31 Nick Garnett <nickg@cygnus.co.uk>
* include/mips-stub.h: Added prototypes for __is_bsp_syscall() and
hal_syscall_handler().
* include/hal_arch.h:
Reorganized HAL_SavedRegisters structure to work properly with a
64 bit processor. Fields are now correctly sized, and aligned on
the right boundaries.
* include/arch.inc:
Added option for variant and platform to supply extra bits to be
added to INITIAL_SR.
Reorganized register save area layout to match changes in
hal_arch.h.
Added macros sva, lva, mvatc0, mvafc0 to transfer 64 bit items to
and from memory/CP0 (*va* is used because most such values are
(virtual) addresses).
* src/vectors.S: Added use of *va* macros where appropriate.
* src/mips-stub.c: Added __is_bsp_syscall() function.
* src/hal_syscall.c: Added this file to support GNUPro system
calls in RedBoot.
* cdl/hal_mips.cdl: Added hal_syscall.c to compile list.
2001-01-26 Jesper Skov <jskov@redhat.com>
* include/hal_intr.h: Added extern for hal_delay_us.
2001-01-26 Jesper Skov <jskov@redhat.com>
* include/variant.inc: Make hal_intc_decode macro mask the cause
register with the status (interrupt mask) register.
2001-01-25 Jesper Skov <jskov@redhat.com>
* include/arch.inc: Allow hal_intc_decode to be defined by variant
or platform.
2000-12-06 Jesper Skov <jskov@redhat.com>
* include/hal_intr.h (HAL_DELAY_US): Added.
* src/hal_misc.c (hal_delay_us): Added. And fixed to work with an
incrementer that ticks at the pipeline clock rate.
* include/mips-stub.h: RM7000 is also a 64bit CPU.
2000-12-05 Jonathan Larmour <jlarmour@redhat.com>
* include/hal_cache.h: IWAY->_IWAY, DWAY->_DWAY for namespace
cleanliness
2000-12-05 Jesper Skov <jskov@redhat.com>
* include/hal_cache.h: Use variant specific method to select cache
WAY.
2000-10-20 Jesper Skov <jskov@redhat.com>
* src/hal_misc.c: Update __mem_fault_handler declaration.
2000-09-15 Jesper Skov <jskov@redhat.com>
* include/hal_intr.h (HAL_DEFAULT_ISR): Fix warning.
(HAL_DEFAULT_ISR): Undo that change.
2000-09-14 Jesper Skov <jskov@redhat.com>
* include/hal_intr.h: Only define _FPE when there's a FPU.
2000-09-13 Jesper Skov <jskov@redhat.com>
* include/hal_intr.h (HAL_VSR_SET_TO_ECOS_HANDLER): Fix compiler
warning.
* src/vectors.S: Fully decode TLB related exceptions.
* src/hal_misc.c (cyg_hal_exception_handler): Undid below change.
* src/hal_misc.c (cyg_hal_exception_handler): Base vector
calculation on cause register, not the provided vector value.
2000-09-12 Jesper Skov <jskov@redhat.com>
* include/hal_intr.h: Added definition for decoded FPU
exceptions.
* src/hal_misc.c (cyg_hal_exception_handler): Decode FPU
exceptions.
2000-09-07 Jesper Skov <jskov@redhat.com>
* include/basetype.h: Removed change from yesterday.
* include/hal_intr.h (CYGNUM_HAL_EXCEPTION_FPU): Associated to FPE
exceptions.
2000-09-06 Jesper Skov <jskov@redhat.com>
* include/basetype.h: Override the alignment macros for the MIPS
architecture. The MIPS compiler only alows a maximum of 4 bytes
of alignment where as the default is 8
* include/hal_cache.h (_HAL_ASM_DCACHE_ALL_WAYS): Force d-cache
selection.
2000-09-01 Jonathan Larmour <jlarmour@redhat.com>
* include/mips-stub.h: No longer need to define
CYGARC_REGSIZE_DIFFERS_FROM_TARGET_REGISTER_T
(CYGARC_SIGN_EXTEND_REGISTERS):
* include/mips-stub.h: Change vr4300 register sizes to use 32-bit
target_register_t, and tell the generic stub to use sign extension.
Ditto for tx49
* include/hal_cache.h (_HAL_ASM_SET_MIPS_ISA): Don't use pasting
when it doesn't result in a preprocessing token. Just use string
concatenation.
2000-07-21 Drew Moseley <dmoseley@redhat.com>
* src/vectors.S: Only jump uncached to _start if
CYGARC_START_FUNC_UNCACHED is defined.
2000-07-20 Drew Moseley <dmoseley@redhat.com>
* include/mips-stub.h: Define CYGARC_REGSIZE_DIFFERS_FROM_TARGET_REGISTER_T
for the MIPS32 targets since GDB needs 64 bit registers regardless of
what size we are really storing.
2000-07-19 Drew Moseley <dmoseley@redhat.com>
* include/mips-stub.h (CYGARC_SIGN_EXTEND_REGISTERS): Make sure
the stub sign-extends the registers before returning them to GDB.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -