📄 changelog
字号:
2007-10-15 Sergei Gavrikov <w3sg@SoftHome.net>
* cdl/hal_arm.cdl: Use ACTUAL_CFLAGS whenever possible to avoid
warnings and complaints from newer compilers.
2007-09-11 Andrew Lunn <andrew.lunn@ascom.ch>
* src/hal_misc.c: Include <cyg/infra/diag.h> to prevent compiler
warning when CYGHWR_HAL_ARM_DUMP_EXCEPTIONS is enabled.
Reported by Sergei Gavrikov <w3sg@SoftHome.net.
2007-02-03 Sergei Gavrikov <sg@sgs.gomel.by>
* src/vectors.S: Added a possibility to fix ARM vector 0x14
(unused vector). Some platforms need itself in that.
2007-01-09 Sergei Gavrikov <sg@sgs.gomel.by>
* src/arm-stub.c: Added string.h header (`memcpy' declaration).
2006-09-06 Daniel N閞i <daniel.neri@sigicom.se>
* include/basetype.h: (CYG_DOUBLE_BYTEORDER): Add proper
definition for VFP floating point format (uses "natural" byte
order) on little-endian ARM.
2006-02-06 Sergei Organov <osv@javad.com>
* src/vectors.S: disable FIQ in IRQ handler to fix race condition
of recursively entering IRQ handler through FIQ handler. Remove
unreferenced handle_IRQ_or_FIQ label.
2006-01-18 Jay Foster <jay@systech.com>
* src/context.S (hal_thread_switch_context): Close race condition
that could cause corruption of the sp or lr registers.
2005-04-21 Ian Campbell <icampbell@arcom.com>
* src/redboot_linux_exec.c: Added -t option which takes the
physical address to copy to. Very useful for booting non-Linux
operating systems.
2005-03-03 Andrew Lunn <andrew.lunn@ascom.ch>
* src/redboot_linux_exec.c (CYGARC_HAL_MMU_OFF_X): Fix compiler
warning about spaces after continuation character.
2004-11-23 Jani Monoses <jani@iv.ro>
* src/vectors.S: Allow DSRs in non-kernel configuration.
2004-10-07 Andrew Lunn <andrew.lunn@ascom.ch>
* src/arm_stub.c (target_ins): Added a cast to prevent a compiler
warning.
2004-09-02 Mark Salter <msalter@redhat.com>
* cdl/hal_arm.cdl (CYGHWR_REDBOOT_LINUX_EXEC_X_SWITCH): New
option used to enable "-x" option to exec command.
* src/redboot_linux_exec.c (do_exec): Add support for booting
kernels built for endianess oppposite of RedBoot.
2004-07-07 Gary Thomas <gary@mlbassoc.com>
* src/redboot_linux_exec.c (do_exec): Fix test for valid entry
(was being overwritten by command line parameter)
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-24 Ian Campbell <icampbell@arcom.com>
* src/hal_misc.c: __mem_fault_handler: Only do this if we have
CYGDBG_HAL_DEBUG_GDB_INCLUDE_STUBS. This allows the HAL to be
compiled without stubs.
2004-04-22 Jani Monoses <jani@iv.ro>
* cdl/hal_arm.cdl :
Invoke tail with stricter syntax that works in latest coreutils.
2003-11-05 Roland Ca遝bohm <roland.cassebohm@visionsystems.de>
* include/hal_io.h: If defined HAL_IO_MACROS_NO_ADDRESS_MUNGING
use macros which don't mung the addresses even if the platform
is big-endian. Platforms which don't need address munging can
just define HAL_IO_MACROS_NO_ADDRESS_MUNGING in plf_io.h .
2003-10-23 Thomas Koeller <thomas.koeller@baslerweb.com>
* src/vectors.S: Acknowlege spurious interrupts.
2003-10-13 Thomas Koeller <thomas.koeller@baslerweb.com>
* src/vectors.S: Fixed broken thumb mode exception handling.
2003-06-30 Mark Salter <msalter@redhat.com>
* src/vectors.S: Fix CYGOPT_HAL_ARM_PRESERVE_SVC_SPSR handling.
2003-06-24 Jonathan Larmour <jifl@eCosCentric.com>
* include/hal_arch.h: Include plf_arch.h or var_arch.h if platform
or variant requires it to do overrides.
(HAL_IDLE_THREAD_ACTION): Default to empty statement but allow to be
overridden.
* src/hal_misc.c: Remove hal_idle_thread_action. It's no use.
2003-05-06 Pierre Habraken <Pierre.Habraken@imag.fr>
* src/arm_stub.c (target_ins, target_thumb_ins): Added code to
enable stepping into swi instructions.
* cdl/hal_arm.cdl: Added option CYGOPT_HAL_ARM_PRESERVE_SVC_SPSR for
securing exception and breakpoint processing triggered during
execution of application specific SWI handlers. Added option
CYGOPT_HAL_ARM_WITH_USER_MODE for supporting programs running in
user mode.
* src/vectors.S (return_from_exception): Added code to exception
handling for preserving svc spsr before returning to svc mode.
Added code to allow exceptions in user mode.
(call_exception_handler, handle_IRQ_or_FIQ): Added code to allow
exceptions in user mode.
* include/hal_arch.h: Defined CPSR_USER_MODE.
* src/hal_mk_defs.c.: Added definition for CPSR_USER_MODE.
2003-04-30 Jonathan Larmour <jifl@eCosCentric.com>
* src/vectors.S (handle_IRQ_or_FIQ): Tweak below to be conditional on
__thumb__.
2003-04-26 Daniel N閞i <daniel.neri@sigicom.se>
* vectors.S (handle_IRQ_or_FIQ):
Use thumb-aware call to hal_spurious_IRQ.
2003-04-13 Bart Veer <bartv@ecoscentric.com>
* src/vectors.S (start): fix build problem with -mthumb
2003-03-11 Mark Salter <msalter@redhat.com>
* src/redboot_linux_exec.c (do_exec): Call eth_drv_stop as necessary.
2003-02-13 Mark Salter <msalter@redhat.com>
* src/redboot_linux_exec.c (do_exec): Add missing semicolon.
2003-02-13 Gary Thomas <gary@mlbassoc.com>
* src/redboot_linux_exec.c (CYGHWR_REDBOOT_LINUX_ATAG_MEM):
Add CYG_MACRO_START/END markers.
2003-02-12 Gary Thomas <gary@mlbassoc.com> inspired by
2003-02-12 Robin Farine <robin.farine@acn-group.ch>
* src/redboot_linux_exec.c: Allow platform to override memory layout.
Also, give error if no "-b" option and base/load address unknown.
2003-02-06 Gary Thomas <gary@mlbassoc.com>
* src/redboot_linux_exec.c: Make sure RAM description is sane.
2003-01-31 Mark Salter <msalter@redhat.com>
* src/hal_syscall.c (hal_syscall_handler): Let generic syscall code
handle exit.
2003-01-17 Patrick Doyle <wpd@delcomsys.com>
* src/redboot_linux_exec.c (do_exec): Round the length up to a
multiple of 4 so that the copy loop (which decrements the count by
4 each time through) runs a finite length of time.
Fixed the calculation of params->u.mem.size so that it doesn't
double the memory size if it is already a power of two.
2003-01-06 Patrick Doyle <wpd@delcomsys.com>
* src/redboot_linux_exec.c (do_exec): Added support for, and
changed to use, ATAG_INITRD2 instead of ATAG_INITRD. ATAG_INITRD
specifies the virtual address of the ramdisk while ATAG_INITRD2
specifies the physical address.
2002-12-11 Mark Salter <msalter@redhat.com>
* include/hal_io.h: Allow variant or platform HALs to override
default IO macros.
2002-11-12 Mark Salter <msalter@redhat.com>
* src/arm_stub.c (target_ins): Account for PC prefetch when PC is
source register in data processing insns.
2002-08-29 Mark Salter <msalter@redhat.com>
* src/vectors.S: Avoid entering thumb mode in exception handlers.
2002-08-27 Mark Salter <msalter@redhat.com>
* src/arm.ld: Undefine arm to avoid problem with .note.arm.ident.
2002-08-22 Mark Salter <msalter@redhat.com>
* src/arm.ld: Add .note.arm.ident section used by tools to identify
architecture variants.
2002-08-21 Mark Salter <msalter@redhat.com>
* src/arm_stub.c: Add support for large registers (e.g. FPU).
* include/arm_stub.h: Add infrastructure for support of coprocessors.
* include/hal_arch.h: Ditto.
2002-08-02 Andrew Lunn <Andrew.Lunn@ascom.ch>
* cdl/hal_arm.cdl: Redboot exec command can now be disabled by CDL
2002-07-15 Mark Salter <msalter@redhat.com>
* include/arm_stub.h: Comment out NUMREGBYTES.
2002-05-28 Mark Salter <msalter@redhat.com>
* cdl/hal_arm.cdl: Tweaked description for
CYGHWR_REDBOOT_ARM_LINUX_EXEC_ADDRESS.
Add CYGHWR_REDBOOT_ARM_LINUX_TAGS_ADDRESS.
* src/redboot_linux_exec.c (do_exec): Rework transition to MMU
off and jump to kernel so that it works for non 1-1 mapped
platforms.
2002-05-20 Gary Thomas <gthomas@redhat.com>
* include/hal_io.h: Fix ...STRING macros - not using index.
Pointed out by Thomas Koeller <thomas@koeller.dyndns.org>.
2002-05-09 Nick Garnett <nickg@redhat.com>
* src/vectors.S (handle_IRQ_or_FIQ): Save SVC mode LR in interrupt
handling as well as exceptions.
* src/context.S (hal_thread_switch_context): Use correct size
for skipping new HAL_SavedRegisters fields.
2002-05-08 Jonathan Larmour <jlarmour@redhat.com>
* cdl/hal_arm.cdl: Remove -malignment-traps here - add it only from
packages when needed.
2002-05-08 Nick Garnett <nickg@redhat.com>
* src/vectors.S: Added code to save and restore value of SVC mode
LR during exception processing. If the exception comes from a
non-SVC mode then handling it originally corrupted the SVC mode
LR. If the program subsequent returned to SVC mode it was likely
to have problems. The registers for modes other than SVC and the
exception mode are not touched, so we do not have to save/restore
those.
* src/hal_mk_defs.c: Added definitions for armreg_r10 and
armreg_svclr.
* include/hal_arch.h: Added svc_lr field to HAL_SavedRegisters to
save SVC mode link register during exception handling.
2002-04-30 Jesper Skov <jskov@redhat.com>
* cdl/hal_arm.cdl: Forcibly add -malignment-traps to the compiler
options to work around problem with recent compiler. This can be
removed when the tools are respun.
2002-04-29 Jonathan Larmour <jlarmour@redhat.com>
* src/vectors.S:
Don't use .file as it can confuse debugging since the .file
doesn't contain the path and therefore the debugger will never
know where it lives! This conflicts with using -Wa,--gstabs.
2002-04-25 Gary Thomas <gthomas@redhat.com>
* src/vectors.S: Safer clearing of BSS.
2002-04-15 Jonathan Larmour <jlarmour@redhat.com>
* src/hal_syscall.c (hal_syscall_handler): Add extra sig argument to
__do_syscall.
2002-04-15 Mark Salter <msalter@redhat.com>
* src/vectors.S: Rewrite exception handling to allow exceptions
in any privileged mode.
* src/hal_mk_defs.c (main): Add some regs.
* include/hal_arch.h (HAL_SavedRegisters): Slight rearrangement.
* src/context.S (hal_thread_switch_context): Use new context layout.
(hal_thread_load_context): Ditto.
2002-04-11 Jesper Skov <jskov@redhat.com>
* src/arm.ld: Fixed .sbss rule.
2002-04-10 Jonathan Larmour <jlarmour@redhat.com>
* src/arm.ld: Define .gnu.linkonce sections properly.
Remove sbss from data section.
2002-03-27 Gary Thomas <gthomas@redhat.com>
* src/vectors.S: Use interrupt stack during system initialzation
if configured since this stack will be much larger than the default
idle thread stack. Some configurations (think networking) may use
lots of stack space during system startup and the assumption that
the idle thread stack does not need much space fails miserably.
2002-02-19 Mark Salter <msalter@redhat.com>
* src/arm_stub.c (target_thumb_ins): Check architecture version
to decide how to handle pop insn.
(v5T_semantics): New function. Returns true for v5 and later.
2002-02-08 Jesper Skov <jskov@redhat.com>
* src/arm_stub.c (target_thumb_ins): The result of a POP
instruction changing the PC must be the address of a THUMB
instruction.
2002-01-29 Jesper Skov <jskov@redhat.com>
* src/redboot_linux_exec.c: Include hal_io.h instead of CRUFT_H.
(do_exec): Add nops after loop copying trampoline code. Removed
one argument to the assembly: code only works if virt==phys
mapping anyway. This should be rewritten to be safe for all
possible targets.
2002-01-28 Jesper Skov <jskov@redhat.com>
* include/hal_io.h: Include var_io.h if present, otherwise include
plf_io.h. This makes the ARM HAL match the other HALs better in
this regard, allowing platform IO definitions to override variant
IO definitions while allowing sharing code between platforms of
the same variant.
2002-01-25 Jesper Skov <jskov@redhat.com>
* cdl/hal_arm.cdl: Added RedBoot options.
* src/redboot_linux_exec.c: Added generic version of the RedBoot
exec command to be shared by all ARM platforms. Still needs some
cleaning up after CYGARC_ memory macros find their proper home.
2002-01-08 Hugo Tyson <hmt@redhat.com>
* cdl/hal_arm.cdl (CYGOPT_HAL_ARM_SYSCALL_GPROF_SUPPORT): New
option, implements CYGINT_REDBOOT_BSP_SYSCALLS_GPROF_SUPPORT so
RedBoot knows we can do this. Only active if indeed we can.
* include/hal_arch.h (HAL_GET_PROFILE_INFO): New macro, to extract
the interrupted PC and SP from a struct HAL_SavedRegisters. Used
for histogram-style profiling.
2001-11-02 Hugo Tyson <hmt@redhat.com>
* include/arm_stub.h (CYG_HAL_GDB_LEAVE_CRITICAL_IO_REGION): Nasty
bodge to fix a tools issue where an "unused" label is migrated to
where some real code is, ie. the wrong place in this case.
Problem applies to arm9e-elf tools and other arm variants also.
2001-10-29 Hugo Tyson <hmt@redhat.com>
* src/arm.ld (SECTION_rom_vectors): Define symbols used for ROMRAM
startup; for some reason these were not in the trunk. They are:
__rom_vectors_vma and __rom_vectors_lma
2001-10-24 Gary Thomas <gthomas@redhat.com>
* src/hal_misc.c (hal_msbindex): Fix calculation.
2001-10-23 Hugo Tyson <hmt@redhat.com>
* include/hal_mmu.h (MMU_Control_Z,F,RR): Some extra defines for
newer ARM architectures.
2001-10-11 Fabrice Gautier <Fabrice_Gautier@sdesigns.com>
* include/hal_io.h: Add _STRING variants of I/O macros to allow
writing of consecutive items to the same registers.
2001-10-02 Jonathan Larmour <jlarmour@redhat.com>
* include/hal_arch.h: Remove CYG_HAL_TABLE_BEGIN and CYG_HAL_TABLE_END
as the common versions are acceptable.
2001-10-01 Jonathan Larmour <jlarmour@redhat.com>
* src/arm.ld: Make separate section for GOT and .eh_frame.
Make macro section for all reloc sections.
Input extras.o unconditionally.
* cdl/hal_arm.cdl: Don't bother with -DEXTRAS=1 - unconditional now.
2001-08-24 Mark Salter <msalter@redhat.com>
* src/arm_stub.c (target_thumb_ins): Add support for pop insn.
2001-08-21 Hugo Tyson <hmt@redhat.com>
* include/hal_intr.h: Only define HAL_CLOCK_LATENCY() if it's not
defined already (if it's needed at all). This is for platforms
which need a separate routine, such as sa11x0.
2001-07-19 Gary Thomas <gthomas@redhat.com>
* src/vectors.S: Support ROMRAM startup mode. Note: most of
the support for this mode will be in the platform setup code.
2001-07-18 Gary Thomas <gthomas@redhat.com>
* src/hal_mk_defs.c (main): FIQ no longer listed as an exception.
2001-07-17 Jonathan Larmour <jlarmour@redhat.com>
* include/hal_intr.h: Define range of exceptions more accurately.
2001-07-16 Gary Thomas <gthomas@redhat.com>
* src/hal_misc.c (exception_handler): Allow memory faults to be
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -