diff packages/hal/arm/arch/current/ChangeLog @ 208:e0c0827131d1 ecos

Merge from eCos master repository on 2002-05-20-20:11:54-BST
author jlarmour
date Mon, 20 May 2002 22:19:26 +0000
parents 353a011b23b8
children d2c90368aeef
line wrap: on
line diff
--- a/packages/hal/arm/arch/current/ChangeLog
+++ b/packages/hal/arm/arch/current/ChangeLog
@@ -1,3 +1,130 @@
+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
@@ -446,6 +573,7 @@ 2000-02-09  Jesper Skov  <jskov@redhat.c
 2000-02-01  Jonathan Larmour  <jlarmour@redhat.co.uk>
 
 	* cdl/hal_arm.cdl: Add missing CYGIMP_HAL_PROCESS_ALL_EXCEPTIONS
+	and CYGHWR_HAL_ARM_ICE_THREAD_SUPPORT
 	options from include/pkgconf/hal_arm.h
 
 2000-02-01  Jesper Skov  <jskov@redhat.com>
@@ -650,6 +778,12 @@ 1999-10-11  Jesper Skov  <jskov@cygnus.c
 
 	* src/vectors.S (reset_vector): Always execute PLATFORM_SETUP1.
 
+1999-10-10  Gary Thomas  <gthomas@cygnus.co.uk>
+
+	* include/pkgconf/hal_arm.h: 
+	* src/vectors.S: 
+	* src/arm_stub.c: Add thread debug support via Multi-ICE.
+
 1999-10-08  Jonathan Larmour  <jlarmour@cygnus.co.uk>
 
 	* src/arm.ld (SECTION_bss): Make *(.bss*) rather than just .bss, to
@@ -1308,27 +1442,36 @@ 1998-10-16  Bart Veer  <bartv@cygnus.co.
 	Made the interrupt stack size configurable.
 
 //===========================================================================
-//####COPYRIGHTBEGIN####
-//                                                                          
-// -------------------------------------------                              
-// The contents of this file are subject to the Red Hat eCos Public License 
-// Version 1.1 (the "License"); you may not use this file except in         
-// compliance with the License.  You may obtain a copy of the License at    
-// http://www.redhat.com/                                                   
-//                                                                          
-// Software distributed under the License is distributed on an "AS IS"      
-// basis, WITHOUT WARRANTY OF ANY KIND, either express or implied.  See the 
-// License for the specific language governing rights and limitations under 
-// the License.                                                             
-//                                                                          
-// The Original Code is eCos - Embedded Configurable Operating System,      
-// released September 30, 1998.                                             
-//                                                                          
-// The Initial Developer of the Original Code is Red Hat.                   
-// Portions created by Red Hat are                                          
+//####ECOSGPLCOPYRIGHTBEGIN####
+// -------------------------------------------
+// This file is part of eCos, the Embedded Configurable Operating System.
 // Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.
-// All Rights Reserved.                                                     
-// -------------------------------------------                              
-//                                                                          
-//####COPYRIGHTEND####
+//
+// 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
+// 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
+// WARRANTY; without even the implied warranty of MERCHANTABILITY or
+// FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
+// for more details.
+//
+// You should have received a copy of the GNU General Public License along
+// with eCos; if not, write to the Free Software Foundation, Inc.,
+// 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
+//
+// 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
+// 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
+// License. However the source code for this file must still be made available
+// 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 file might be covered by the GNU General Public License.
+//
+// Alternative licenses for eCos may be arranged by contacting Red Hat, Inc.
+// at http://sources.redhat.com/ecos/ecos-license
+// -------------------------------------------
+//####ECOSGPLCOPYRIGHTEND####
 //===========================================================================