diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2012-05-11 14:18:21 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2012-05-11 14:18:21 +0200 |
commit | 22506ae9c3edc30592e6012410753296586b9e25 (patch) | |
tree | 7d66e5ae61dd031560be44403385c1988fdb3cef /c/src/lib | |
parent | Fix BSD sections (diff) | |
parent | fstests/fsrdwr: Add block read/write test case (diff) | |
download | rtems-22506ae9c3edc30592e6012410753296586b9e25.tar.bz2 |
Merge branch 'upstream'
Diffstat (limited to 'c/src/lib')
163 files changed, 519 insertions, 266 deletions
diff --git a/c/src/lib/Makefile.am b/c/src/lib/Makefile.am index 5c6de71375..5b5680ccf8 100644 --- a/c/src/lib/Makefile.am +++ b/c/src/lib/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + SUBDIRS = libcpu libbsp include $(top_srcdir)/automake/subdirs.am diff --git a/c/src/lib/libbsp/Makefile.am b/c/src/lib/libbsp/Makefile.am index 4eff8b8485..306eb6ad8a 100644 --- a/c/src/lib/libbsp/Makefile.am +++ b/c/src/lib/libbsp/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + include $(top_srcdir)/automake/compile.am SUBDIRS = @libbsp_cpu_subdir@ diff --git a/c/src/lib/libbsp/arm/gp32/include/bsp.h b/c/src/lib/libbsp/arm/gp32/include/bsp.h index eeace760a5..c7956b6dbf 100644 --- a/c/src/lib/libbsp/arm/gp32/include/bsp.h +++ b/c/src/lib/libbsp/arm/gp32/include/bsp.h @@ -10,8 +10,11 @@ | The license and distribution terms for this file may be | found in the file LICENSE in this distribution or at | http://www.rtems.com/license/LICENSE. +| +| $Id$ +--------------------------------------------------------------------------*/ + #ifndef _BSP_H #define _BSP_H diff --git a/c/src/lib/libbsp/arm/nds/clock/clock.c b/c/src/lib/libbsp/arm/nds/clock/clock.c index adc56f9fa4..b263e55862 100644 --- a/c/src/lib/libbsp/arm/nds/clock/clock.c +++ b/c/src/lib/libbsp/arm/nds/clock/clock.c @@ -1,14 +1,15 @@ -/* - * RTEMS for Nintendo DS clock driver. +/** + * @file * + * RTEMS for Nintendo DS clock driver. + */ + +/* * Copyright (c) 2008 by Matthieu Bucchianeri <mbucchia@gmail.com> * * The license and distribution terms for this file may be * found in the file LICENSE in this distribution or at - * * http://www.rtems.com/license/LICENSE - * - * $Id$ */ #include <rtems.h> @@ -22,15 +23,21 @@ void Clock_isr(rtems_irq_hdl_param arg); /* + * forward declarations for methods in this file + */ +void Clock_driver_support_shutdown_hardware (void); +void Clock_driver_support_initialize_hardware (void); + +/* * isr registration variables. */ static rtems_irq_connect_data clock_isr_data = { .name = IRQ_TIMER0, .hdl = Clock_isr, .handle = NULL, - .on = clock_isr_on, - .off = clock_isr_off, - .isOn = clock_isr_is_on, + .on = NULL, + .off = NULL, + .isOn = NULL, }; void update_touchscreen (void); @@ -54,8 +61,7 @@ void update_touchscreen (void); /* * disable clock. */ -void -Clock_driver_support_shutdown_hardware (void) +void Clock_driver_support_shutdown_hardware (void) { BSP_remove_rtems_irq_handler (&clock_isr_data); TIMER_CR (0) &= ~(TIMER_ENABLE); @@ -64,8 +70,7 @@ Clock_driver_support_shutdown_hardware (void) /* * initialize clock on timer 0. */ -void -Clock_driver_support_initialize_hardware (void) +void Clock_driver_support_initialize_hardware (void) { uint32_t freq = 1000 / (rtems_configuration_get_microseconds_per_tick () / 1000); diff --git a/c/src/lib/libbsp/arm/nds/libnds/source/arm7/clock.c b/c/src/lib/libbsp/arm/nds/libnds/source/arm7/clock.c index 081fa26606..19e24d3393 100644 --- a/c/src/lib/libbsp/arm/nds/libnds/source/arm7/clock.c +++ b/c/src/lib/libbsp/arm/nds/libnds/source/arm7/clock.c @@ -15,13 +15,13 @@ redistribute it freely, subject to the following restrictions: 1. The origin of this software must not be misrepresented; you - must not claim that you wrote the original software. If you use - this software in a product, an acknowledgment in the product - documentation would be appreciated but is not required. + must not claim that you wrote the original software. If you use + this software in a product, an acknowledgment in the product + documentation would be appreciated but is not required. 2. Altered source versions must be plainly marked as such, and - must not be misrepresented as being the original software. + must not be misrepresented as being the original software. 3. This notice may not be removed or altered from any source - distribution. + distribution. ---------------------------------------------------------------------------------*/ @@ -32,7 +32,10 @@ #include <time.h> - +/* + * forward declaration to avoid warning + */ +void syncRTC(void); // Delay (in swiDelay units) for each bit transfer #define RTC_DELAY 48 diff --git a/c/src/lib/libbsp/i386/pc386/clock/ckinit.c b/c/src/lib/libbsp/i386/pc386/clock/ckinit.c index c88d3b86ce..974a4ea86a 100644 --- a/c/src/lib/libbsp/i386/pc386/clock/ckinit.c +++ b/c/src/lib/libbsp/i386/pc386/clock/ckinit.c @@ -1,4 +1,6 @@ -/* +/** + * @file + * * Clock Tick Device Driver * * History: @@ -10,8 +12,10 @@ * + Reworked by Joel Sherrill to use clock driver template. * This removes all boilerplate and leave original hardware * code I developed for the go32 BSP. - * - * COPYRIGHT (c) 1989-2008. + */ + +/* + * COPYRIGHT (c) 1989-2012. * On-Line Applications Research Corporation (OAR). * * The license and distribution terms for this file may be @@ -32,6 +36,18 @@ volatile uint32_t pc386_microseconds_per_isr; volatile uint32_t pc386_isrs_per_tick; uint32_t pc386_clock_click_count; +/* forward declaration */ +void Clock_isr(void *param); +void Clock_driver_support_at_tick_tsc(void); +void Clock_driver_support_at_tick_empty(void); +uint32_t bsp_clock_nanoseconds_since_last_tick_tsc(void); +uint32_t bsp_clock_nanoseconds_since_last_tick_i8254(void); +void Clock_isr_handler(rtems_irq_hdl_param param); +int clockIsOn(const rtems_irq_connect_data* unused); +void clockOff(const rtems_irq_connect_data* unused); +void Clock_driver_install_handler(void); +void Clock_driver_support_initialize_hardware(void); + /* * Roughly the number of cycles per tick and per nanosecond. Note that these * will be wildly inaccurate if the chip speed changes due to power saving @@ -96,12 +112,11 @@ void Clock_driver_support_at_tick_empty(void) extern volatile uint32_t Clock_driver_isrs; +/* + * Get nanoseconds using Pentium-compatible TSC register + */ uint32_t bsp_clock_nanoseconds_since_last_tick_tsc(void) { - /****** - * Get nanoseconds using Pentium-compatible TSC register - ******/ - uint64_t diff_nsec; diff_nsec = rdtsc() - pc586_tsc_at_tick; @@ -124,13 +139,11 @@ uint32_t bsp_clock_nanoseconds_since_last_tick_tsc(void) return (uint32_t)diff_nsec; } +/* + * Get nanoseconds using 8254 timer chip + */ uint32_t bsp_clock_nanoseconds_since_last_tick_i8254(void) { - - /****** - * Get nanoseconds using 8254 timer chip - ******/ - uint32_t usecs, clicks, isrs; uint32_t usecs1, usecs2; uint8_t lsb, msb; @@ -269,18 +282,13 @@ int clockIsOn(const rtems_irq_connect_data* unused) return ((i8259s_cache & 0x1) == 0); } -/* a bit of a hack since the ISR models do not match */ -rtems_isr Clock_isr( - rtems_vector_number vector -); - bool Clock_isr_enabled = false; void Clock_isr_handler( rtems_irq_hdl_param param ) { if ( Clock_isr_enabled ) - Clock_isr( 0 ); + Clock_isr( param ); } static rtems_irq_connect_data clockIrqData = { diff --git a/c/src/lib/libbsp/m32c/Makefile.am b/c/src/lib/libbsp/m32c/Makefile.am index f504c03a19..ede5014160 100644 --- a/c/src/lib/libbsp/m32c/Makefile.am +++ b/c/src/lib/libbsp/m32c/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../aclocal ## Descend into the @RTEMS_BSP_FAMILY@ directory diff --git a/c/src/lib/libbsp/m32c/configure.ac b/c/src/lib/libbsp/m32c/configure.ac index 7b8b537455..3f112ab370 100644 --- a/c/src/lib/libbsp/m32c/configure.ac +++ b/c/src/lib/libbsp/m32c/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-lib-libbsp-m32c],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/c/src/lib/libbsp/m32c/m32cbsp/Makefile.am b/c/src/lib/libbsp/m32c/m32cbsp/Makefile.am index b3fe1b376a..65ae609779 100644 --- a/c/src/lib/libbsp/m32c/m32cbsp/Makefile.am +++ b/c/src/lib/libbsp/m32c/m32cbsp/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../../aclocal include $(top_srcdir)/../../../../automake/compile.am diff --git a/c/src/lib/libbsp/m32c/m32cbsp/configure.ac b/c/src/lib/libbsp/m32c/m32cbsp/configure.ac index 0717a83d2d..de2dcbdaec 100644 --- a/c/src/lib/libbsp/m32c/m32cbsp/configure.ac +++ b/c/src/lib/libbsp/m32c/m32cbsp/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-lib-libbsp-h8300-h8sim],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/c/src/lib/libbsp/m32r/Makefile.am b/c/src/lib/libbsp/m32r/Makefile.am index f504c03a19..ede5014160 100644 --- a/c/src/lib/libbsp/m32r/Makefile.am +++ b/c/src/lib/libbsp/m32r/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../aclocal ## Descend into the @RTEMS_BSP_FAMILY@ directory diff --git a/c/src/lib/libbsp/m32r/configure.ac b/c/src/lib/libbsp/m32r/configure.ac index a9f3fe0114..ee7d0c5ca9 100644 --- a/c/src/lib/libbsp/m32r/configure.ac +++ b/c/src/lib/libbsp/m32r/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-lib-libbsp-m32r],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/c/src/lib/libbsp/m32r/m32rsim/Makefile.am b/c/src/lib/libbsp/m32r/m32rsim/Makefile.am index d360747774..06480ccd49 100644 --- a/c/src/lib/libbsp/m32r/m32rsim/Makefile.am +++ b/c/src/lib/libbsp/m32r/m32rsim/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../../aclocal include $(top_srcdir)/../../../../automake/compile.am diff --git a/c/src/lib/libbsp/m32r/m32rsim/configure.ac b/c/src/lib/libbsp/m32r/m32rsim/configure.ac index 43e5b9fe41..1871f262d1 100644 --- a/c/src/lib/libbsp/m32r/m32rsim/configure.ac +++ b/c/src/lib/libbsp/m32r/m32rsim/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-lib-libbsp-h8300-h8sim],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/c/src/lib/libbsp/m68k/Makefile.am b/c/src/lib/libbsp/m68k/Makefile.am index 0461d01a27..4c98eb11d7 100644 --- a/c/src/lib/libbsp/m68k/Makefile.am +++ b/c/src/lib/libbsp/m68k/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../aclocal ## Descend into the @RTEMS_BSP_FAMILY@ directory diff --git a/c/src/lib/libbsp/m68k/av5282/Makefile.am b/c/src/lib/libbsp/m68k/av5282/Makefile.am index 3c37eda2cf..7c1d52f69e 100644 --- a/c/src/lib/libbsp/m68k/av5282/Makefile.am +++ b/c/src/lib/libbsp/m68k/av5282/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../../aclocal include $(top_srcdir)/../../../../automake/compile.am diff --git a/c/src/lib/libbsp/m68k/av5282/configure.ac b/c/src/lib/libbsp/m68k/av5282/configure.ac index 5067057ffd..e68edc04d2 100644 --- a/c/src/lib/libbsp/m68k/av5282/configure.ac +++ b/c/src/lib/libbsp/m68k/av5282/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-lib-libbsp-m68k-av5282],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/c/src/lib/libbsp/m68k/configure.ac b/c/src/lib/libbsp/m68k/configure.ac index 3944551897..be90dbf7b4 100644 --- a/c/src/lib/libbsp/m68k/configure.ac +++ b/c/src/lib/libbsp/m68k/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-lib-libbsp-m68k],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/c/src/lib/libbsp/m68k/csb360/Makefile.am b/c/src/lib/libbsp/m68k/csb360/Makefile.am index ca2047b524..a537907878 100644 --- a/c/src/lib/libbsp/m68k/csb360/Makefile.am +++ b/c/src/lib/libbsp/m68k/csb360/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../../aclocal include $(top_srcdir)/../../../../automake/compile.am diff --git a/c/src/lib/libbsp/m68k/csb360/configure.ac b/c/src/lib/libbsp/m68k/csb360/configure.ac index 57dce0d0f6..e14b1efc5b 100644 --- a/c/src/lib/libbsp/m68k/csb360/configure.ac +++ b/c/src/lib/libbsp/m68k/csb360/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-lib-libbsp-m68k-csb360],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/c/src/lib/libbsp/m68k/gen68302/Makefile.am b/c/src/lib/libbsp/m68k/gen68302/Makefile.am index d36190c005..fe1a77cdfd 100644 --- a/c/src/lib/libbsp/m68k/gen68302/Makefile.am +++ b/c/src/lib/libbsp/m68k/gen68302/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../../aclocal include $(top_srcdir)/../../../../automake/compile.am diff --git a/c/src/lib/libbsp/m68k/gen68302/configure.ac b/c/src/lib/libbsp/m68k/gen68302/configure.ac index e74424a803..6f0372aa85 100644 --- a/c/src/lib/libbsp/m68k/gen68302/configure.ac +++ b/c/src/lib/libbsp/m68k/gen68302/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-lib-libbsp-m68k-gen68302],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/c/src/lib/libbsp/m68k/gen68340/Makefile.am b/c/src/lib/libbsp/m68k/gen68340/Makefile.am index a7f3150fce..689ce53d02 100644 --- a/c/src/lib/libbsp/m68k/gen68340/Makefile.am +++ b/c/src/lib/libbsp/m68k/gen68340/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../../aclocal include $(top_srcdir)/../../../../automake/compile.am diff --git a/c/src/lib/libbsp/m68k/gen68340/configure.ac b/c/src/lib/libbsp/m68k/gen68340/configure.ac index 408ab4df47..b15ffe3ea4 100644 --- a/c/src/lib/libbsp/m68k/gen68340/configure.ac +++ b/c/src/lib/libbsp/m68k/gen68340/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-lib-libbsp-m68k-gen68340],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/c/src/lib/libbsp/m68k/gen68360/Makefile.am b/c/src/lib/libbsp/m68k/gen68360/Makefile.am index 710c16308f..ae439ca6c0 100644 --- a/c/src/lib/libbsp/m68k/gen68360/Makefile.am +++ b/c/src/lib/libbsp/m68k/gen68360/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../../aclocal include $(top_srcdir)/../../../../automake/compile.am diff --git a/c/src/lib/libbsp/m68k/gen68360/configure.ac b/c/src/lib/libbsp/m68k/gen68360/configure.ac index 3b9dca5532..393bb6529b 100644 --- a/c/src/lib/libbsp/m68k/gen68360/configure.ac +++ b/c/src/lib/libbsp/m68k/gen68360/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-lib-libbsp-m68k-gen68360],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/c/src/lib/libbsp/m68k/genmcf548x/Makefile.am b/c/src/lib/libbsp/m68k/genmcf548x/Makefile.am index 0cd50c21d4..d020eb74c4 100644 --- a/c/src/lib/libbsp/m68k/genmcf548x/Makefile.am +++ b/c/src/lib/libbsp/m68k/genmcf548x/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../../aclocal include $(top_srcdir)/../../../../automake/compile.am diff --git a/c/src/lib/libbsp/m68k/genmcf548x/configure.ac b/c/src/lib/libbsp/m68k/genmcf548x/configure.ac index 410d7fb959..c08987d713 100644 --- a/c/src/lib/libbsp/m68k/genmcf548x/configure.ac +++ b/c/src/lib/libbsp/m68k/genmcf548x/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-lib-libbsp-m68k-genmcf548x],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/c/src/lib/libbsp/m68k/idp/Makefile.am b/c/src/lib/libbsp/m68k/idp/Makefile.am index f13f028768..c1979c3652 100644 --- a/c/src/lib/libbsp/m68k/idp/Makefile.am +++ b/c/src/lib/libbsp/m68k/idp/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../../aclocal include $(top_srcdir)/../../../../automake/compile.am diff --git a/c/src/lib/libbsp/m68k/idp/configure.ac b/c/src/lib/libbsp/m68k/idp/configure.ac index bd12d3ca0f..442fb5f406 100644 --- a/c/src/lib/libbsp/m68k/idp/configure.ac +++ b/c/src/lib/libbsp/m68k/idp/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-lib-libbsp-m68k-idp],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/c/src/lib/libbsp/m68k/mcf5206elite/Makefile.am b/c/src/lib/libbsp/m68k/mcf5206elite/Makefile.am index 56876c6f30..54a027078b 100644 --- a/c/src/lib/libbsp/m68k/mcf5206elite/Makefile.am +++ b/c/src/lib/libbsp/m68k/mcf5206elite/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../../aclocal include $(top_srcdir)/../../../../automake/compile.am diff --git a/c/src/lib/libbsp/m68k/mcf5206elite/configure.ac b/c/src/lib/libbsp/m68k/mcf5206elite/configure.ac index 969dbfea37..a2975f98e0 100644 --- a/c/src/lib/libbsp/m68k/mcf5206elite/configure.ac +++ b/c/src/lib/libbsp/m68k/mcf5206elite/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-lib-libbsp-m68k-mcf5206elite],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/c/src/lib/libbsp/m68k/mcf5206elite/tools/Makefile.am b/c/src/lib/libbsp/m68k/mcf5206elite/tools/Makefile.am index 189a991ede..0a5f8b2d7b 100644 --- a/c/src/lib/libbsp/m68k/mcf5206elite/tools/Makefile.am +++ b/c/src/lib/libbsp/m68k/mcf5206elite/tools/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../../../aclocal transform = diff --git a/c/src/lib/libbsp/m68k/mcf5206elite/tools/configure.ac b/c/src/lib/libbsp/m68k/mcf5206elite/tools/configure.ac index d755f32a1b..aa6aabd6c7 100644 --- a/c/src/lib/libbsp/m68k/mcf5206elite/tools/configure.ac +++ b/c/src/lib/libbsp/m68k/mcf5206elite/tools/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-lib-libbsp-m68k-mcf5206elite-tools],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/c/src/lib/libbsp/m68k/mcf52235/Makefile.am b/c/src/lib/libbsp/m68k/mcf52235/Makefile.am index 7ef44e6ccb..a37ac2b88b 100644 --- a/c/src/lib/libbsp/m68k/mcf52235/Makefile.am +++ b/c/src/lib/libbsp/m68k/mcf52235/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../../aclocal include $(top_srcdir)/../../../../automake/compile.am diff --git a/c/src/lib/libbsp/m68k/mcf52235/configure.ac b/c/src/lib/libbsp/m68k/mcf52235/configure.ac index 188a0db241..6008b84494 100644 --- a/c/src/lib/libbsp/m68k/mcf52235/configure.ac +++ b/c/src/lib/libbsp/m68k/mcf52235/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-lib-libbsp-m68k-mcf52235],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/c/src/lib/libbsp/m68k/mcf5225x/Makefile.am b/c/src/lib/libbsp/m68k/mcf5225x/Makefile.am index 1758c1a3f6..4a7082db96 100644 --- a/c/src/lib/libbsp/m68k/mcf5225x/Makefile.am +++ b/c/src/lib/libbsp/m68k/mcf5225x/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../../aclocal include $(top_srcdir)/../../../../automake/compile.am diff --git a/c/src/lib/libbsp/m68k/mcf5225x/configure.ac b/c/src/lib/libbsp/m68k/mcf5225x/configure.ac index de2ccdd021..f048dd3a15 100644 --- a/c/src/lib/libbsp/m68k/mcf5225x/configure.ac +++ b/c/src/lib/libbsp/m68k/mcf5225x/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-lib-libbsp-m68k-dpu],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/c/src/lib/libbsp/m68k/mcf5235/Makefile.am b/c/src/lib/libbsp/m68k/mcf5235/Makefile.am index 403b47f6b0..a1cbb4ce24 100644 --- a/c/src/lib/libbsp/m68k/mcf5235/Makefile.am +++ b/c/src/lib/libbsp/m68k/mcf5235/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../../aclocal include $(top_srcdir)/../../../../automake/compile.am diff --git a/c/src/lib/libbsp/m68k/mcf5235/configure.ac b/c/src/lib/libbsp/m68k/mcf5235/configure.ac index 82a578c1ea..a806625dbc 100644 --- a/c/src/lib/libbsp/m68k/mcf5235/configure.ac +++ b/c/src/lib/libbsp/m68k/mcf5235/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-lib-libbsp-m68k-mcf5235],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/c/src/lib/libbsp/m68k/mcf5329/Makefile.am b/c/src/lib/libbsp/m68k/mcf5329/Makefile.am index cb23cb99aa..b242072731 100644 --- a/c/src/lib/libbsp/m68k/mcf5329/Makefile.am +++ b/c/src/lib/libbsp/m68k/mcf5329/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../../aclocal include $(top_srcdir)/../../../../automake/compile.am diff --git a/c/src/lib/libbsp/m68k/mcf5329/configure.ac b/c/src/lib/libbsp/m68k/mcf5329/configure.ac index abd82068ee..74b96505de 100644 --- a/c/src/lib/libbsp/m68k/mcf5329/configure.ac +++ b/c/src/lib/libbsp/m68k/mcf5329/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-lib-libbsp-m68k-mcf52235],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/c/src/lib/libbsp/m68k/mrm332/Makefile.am b/c/src/lib/libbsp/m68k/mrm332/Makefile.am index 6b36feb8d9..2d9ec395ec 100644 --- a/c/src/lib/libbsp/m68k/mrm332/Makefile.am +++ b/c/src/lib/libbsp/m68k/mrm332/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../../aclocal include $(top_srcdir)/../../../../automake/compile.am diff --git a/c/src/lib/libbsp/m68k/mrm332/configure.ac b/c/src/lib/libbsp/m68k/mrm332/configure.ac index 0826b486c6..2c7917aaf9 100644 --- a/c/src/lib/libbsp/m68k/mrm332/configure.ac +++ b/c/src/lib/libbsp/m68k/mrm332/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-lib-libbsp-m68k-mrm332],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/c/src/lib/libbsp/m68k/mvme136/Makefile.am b/c/src/lib/libbsp/m68k/mvme136/Makefile.am index a887fcccfe..9390a5c571 100644 --- a/c/src/lib/libbsp/m68k/mvme136/Makefile.am +++ b/c/src/lib/libbsp/m68k/mvme136/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../../aclocal include $(top_srcdir)/../../../../automake/compile.am diff --git a/c/src/lib/libbsp/m68k/mvme136/configure.ac b/c/src/lib/libbsp/m68k/mvme136/configure.ac index 67837e4ee7..694c2c9d1b 100644 --- a/c/src/lib/libbsp/m68k/mvme136/configure.ac +++ b/c/src/lib/libbsp/m68k/mvme136/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-lib-libbsp-m68k-mvme136],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/c/src/lib/libbsp/m68k/mvme147/Makefile.am b/c/src/lib/libbsp/m68k/mvme147/Makefile.am index a9464f0f3c..4328aaa422 100644 --- a/c/src/lib/libbsp/m68k/mvme147/Makefile.am +++ b/c/src/lib/libbsp/m68k/mvme147/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../../aclocal include $(top_srcdir)/../../../../automake/compile.am diff --git a/c/src/lib/libbsp/m68k/mvme147/configure.ac b/c/src/lib/libbsp/m68k/mvme147/configure.ac index f0b83a4cda..f9786f56c5 100644 --- a/c/src/lib/libbsp/m68k/mvme147/configure.ac +++ b/c/src/lib/libbsp/m68k/mvme147/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-lib-libbsp-m68k-mvme147],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/c/src/lib/libbsp/m68k/mvme147s/Makefile.am b/c/src/lib/libbsp/m68k/mvme147s/Makefile.am index 8ca16d547c..04d42d1a27 100644 --- a/c/src/lib/libbsp/m68k/mvme147s/Makefile.am +++ b/c/src/lib/libbsp/m68k/mvme147s/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../../aclocal include $(top_srcdir)/../../../../automake/compile.am diff --git a/c/src/lib/libbsp/m68k/mvme147s/configure.ac b/c/src/lib/libbsp/m68k/mvme147s/configure.ac index d6c3b45e5b..4950794194 100644 --- a/c/src/lib/libbsp/m68k/mvme147s/configure.ac +++ b/c/src/lib/libbsp/m68k/mvme147s/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-lib-libbsp-m68k-mvme147s],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/c/src/lib/libbsp/m68k/mvme162/Makefile.am b/c/src/lib/libbsp/m68k/mvme162/Makefile.am index 5272bd4fc2..988245a1e1 100644 --- a/c/src/lib/libbsp/m68k/mvme162/Makefile.am +++ b/c/src/lib/libbsp/m68k/mvme162/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../../aclocal include $(top_srcdir)/../../../../automake/compile.am diff --git a/c/src/lib/libbsp/m68k/mvme162/configure.ac b/c/src/lib/libbsp/m68k/mvme162/configure.ac index cae8993eec..0d5cda0a1a 100644 --- a/c/src/lib/libbsp/m68k/mvme162/configure.ac +++ b/c/src/lib/libbsp/m68k/mvme162/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-lib-libbsp-m68k-mvme162],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/c/src/lib/libbsp/m68k/mvme162/tools/Makefile.am b/c/src/lib/libbsp/m68k/mvme162/tools/Makefile.am index d53b37ea54..71a248bf6c 100644 --- a/c/src/lib/libbsp/m68k/mvme162/tools/Makefile.am +++ b/c/src/lib/libbsp/m68k/mvme162/tools/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../../../aclocal sload_SOURCES = sload.c diff --git a/c/src/lib/libbsp/m68k/mvme162/tools/configure.ac b/c/src/lib/libbsp/m68k/mvme162/tools/configure.ac index 7b4e062215..188cb000e3 100644 --- a/c/src/lib/libbsp/m68k/mvme162/tools/configure.ac +++ b/c/src/lib/libbsp/m68k/mvme162/tools/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-lib-libbsp-m68k-mvme162-tools],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/c/src/lib/libbsp/m68k/mvme167/Makefile.am b/c/src/lib/libbsp/m68k/mvme167/Makefile.am index 0ba3aa269f..b6f76a66e3 100644 --- a/c/src/lib/libbsp/m68k/mvme167/Makefile.am +++ b/c/src/lib/libbsp/m68k/mvme167/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../../aclocal include $(top_srcdir)/../../../../automake/compile.am diff --git a/c/src/lib/libbsp/m68k/mvme167/configure.ac b/c/src/lib/libbsp/m68k/mvme167/configure.ac index d35952391d..3872b1154e 100644 --- a/c/src/lib/libbsp/m68k/mvme167/configure.ac +++ b/c/src/lib/libbsp/m68k/mvme167/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-lib-libbsp-m68k-mvme167],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/c/src/lib/libbsp/m68k/ods68302/Makefile.am b/c/src/lib/libbsp/m68k/ods68302/Makefile.am index 7c773205a1..3cd01c37e1 100644 --- a/c/src/lib/libbsp/m68k/ods68302/Makefile.am +++ b/c/src/lib/libbsp/m68k/ods68302/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../../aclocal include $(top_srcdir)/../../../../automake/compile.am diff --git a/c/src/lib/libbsp/m68k/ods68302/configure.ac b/c/src/lib/libbsp/m68k/ods68302/configure.ac index 6a5cf234ba..e0ed45e34e 100644 --- a/c/src/lib/libbsp/m68k/ods68302/configure.ac +++ b/c/src/lib/libbsp/m68k/ods68302/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-lib-libbsp-m68k-ods68302],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/c/src/lib/libbsp/m68k/sim68000/Makefile.am b/c/src/lib/libbsp/m68k/sim68000/Makefile.am index ba7d98df1b..c8d5223fca 100644 --- a/c/src/lib/libbsp/m68k/sim68000/Makefile.am +++ b/c/src/lib/libbsp/m68k/sim68000/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../../aclocal include $(top_srcdir)/../../../../automake/compile.am diff --git a/c/src/lib/libbsp/m68k/sim68000/configure.ac b/c/src/lib/libbsp/m68k/sim68000/configure.ac index cde8a1827a..a2a24fcb97 100644 --- a/c/src/lib/libbsp/m68k/sim68000/configure.ac +++ b/c/src/lib/libbsp/m68k/sim68000/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-lib-libbsp-m68k-sim68000],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/c/src/lib/libbsp/m68k/uC5282/Makefile.am b/c/src/lib/libbsp/m68k/uC5282/Makefile.am index 6fe5787297..51c0c24f4f 100644 --- a/c/src/lib/libbsp/m68k/uC5282/Makefile.am +++ b/c/src/lib/libbsp/m68k/uC5282/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../../aclocal include $(top_srcdir)/../../../../automake/compile.am diff --git a/c/src/lib/libbsp/m68k/uC5282/configure.ac b/c/src/lib/libbsp/m68k/uC5282/configure.ac index a4202bbe46..78bf436172 100644 --- a/c/src/lib/libbsp/m68k/uC5282/configure.ac +++ b/c/src/lib/libbsp/m68k/uC5282/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-lib-libbsp-m68k-uC5282],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/c/src/lib/libbsp/mips/Makefile.am b/c/src/lib/libbsp/mips/Makefile.am index d294e842ec..2a614ac8cb 100644 --- a/c/src/lib/libbsp/mips/Makefile.am +++ b/c/src/lib/libbsp/mips/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../aclocal ## Descend into the @RTEMS_BSP_FAMILY@ directory diff --git a/c/src/lib/libbsp/mips/configure.ac b/c/src/lib/libbsp/mips/configure.ac index c857921d2e..0082adb8b6 100644 --- a/c/src/lib/libbsp/mips/configure.ac +++ b/c/src/lib/libbsp/mips/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-lib-libbsp-mips],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/c/src/lib/libbsp/mips/csb350/Makefile.am b/c/src/lib/libbsp/mips/csb350/Makefile.am index a658307a40..e5671bf50f 100644 --- a/c/src/lib/libbsp/mips/csb350/Makefile.am +++ b/c/src/lib/libbsp/mips/csb350/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../../aclocal include $(top_srcdir)/../../../../automake/compile.am diff --git a/c/src/lib/libbsp/mips/csb350/configure.ac b/c/src/lib/libbsp/mips/csb350/configure.ac index 6cc4781bf5..3eeb019226 100644 --- a/c/src/lib/libbsp/mips/csb350/configure.ac +++ b/c/src/lib/libbsp/mips/csb350/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-lib-libbsp-mips-csb350],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/c/src/lib/libbsp/mips/csb350/include/bsp.h b/c/src/lib/libbsp/mips/csb350/include/bsp.h index 5044f6fcaa..1f555216b0 100644 --- a/c/src/lib/libbsp/mips/csb350/include/bsp.h +++ b/c/src/lib/libbsp/mips/csb350/include/bsp.h @@ -44,11 +44,6 @@ int rtems_au1x00_emac_attach(struct rtems_bsdnet_ifconfig *config, #define RTEMS_BSP_NETWORK_DRIVER_NAME "eth0" #define RTEMS_BSP_NETWORK_DRIVER_ATTACH rtems_au1x00_emac_attach -/* functions */ - -rtems_isr_entry set_vector( - rtems_isr_entry, rtems_vector_number, int ); - #ifdef __cplusplus } #endif diff --git a/c/src/lib/libbsp/mips/csb350/include/tm27.h b/c/src/lib/libbsp/mips/csb350/include/tm27.h index b08801155f..caac8ee980 100644 --- a/c/src/lib/libbsp/mips/csb350/include/tm27.h +++ b/c/src/lib/libbsp/mips/csb350/include/tm27.h @@ -1,11 +1,11 @@ +/** + * @file + */ + /* - * tm27.h - * * The license and distribution terms for this file may be * found in the file LICENSE in this distribution or at * http://www.rtems.com/license/LICENSE. - * - * $Id$ */ #ifndef _RTEMS_TMTEST27 @@ -15,6 +15,8 @@ #ifndef __tm27_h #define __tm27_h +#include <bsp/irq.h> + /* * Define the interrupt mechanism for Time Test 27 */ @@ -25,7 +27,8 @@ int negate_sw_irw(uint32_t irqnum); #define MUST_WAIT_FOR_INTERRUPT 0 #define Install_tm27_vector( handler ) \ - (void) set_vector(handler, AU1X00_IRQ_SW0, 1); + rtems_interrupt_handler_install( \ + AU1X00_IRQ_SW0, "benchmark", 0, (rtems_interrupt_handler)handler, NULL ); #define Cause_tm27_intr() \ do { \ @@ -37,14 +40,9 @@ int negate_sw_irw(uint32_t irqnum); negate_sw_irq(0); \ } while(0) -#if 0 -#define Lower_tm27_intr() \ - mips_enable_in_interrupt_mask( 0xff01 ); -#else #define Lower_tm27_intr() \ do { \ continue;\ } while(0) -#endif #endif diff --git a/c/src/lib/libbsp/mips/csb350/network/network.c b/c/src/lib/libbsp/mips/csb350/network/network.c index 6183aebe61..f31029962d 100644 --- a/c/src/lib/libbsp/mips/csb350/network/network.c +++ b/c/src/lib/libbsp/mips/csb350/network/network.c @@ -337,9 +337,21 @@ void au1x00_emac_init(void *arg) /* install the interrupt handler */ if (sc->unitnumber == 0) { - set_vector(au1x00_emac_isr, AU1X00_IRQ_MAC0, 1); + rtems_interrupt_handler_install( + AU1X00_IRQ_MAC0, + "NIC0", + 0, + (rtems_interrupt_handler)au1x00_emac_isr, + NULL + ); } else { - set_vector(au1x00_emac_isr, AU1X00_IRQ_MAC1, 1); + rtems_interrupt_handler_install( + AU1X00_IRQ_MAC1, + "NIC1", + 0, + (rtems_interrupt_handler)au1x00_emac_isr, + NULL + ); } AU1X00_IC_MASKCLR(sc->int_ctrlr) = sc->int_mask; au_sync(); diff --git a/c/src/lib/libbsp/mips/genmongoosev/Makefile.am b/c/src/lib/libbsp/mips/genmongoosev/Makefile.am index 5bb48e35fd..1f27e45682 100644 --- a/c/src/lib/libbsp/mips/genmongoosev/Makefile.am +++ b/c/src/lib/libbsp/mips/genmongoosev/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../../aclocal include $(top_srcdir)/../../../../automake/compile.am diff --git a/c/src/lib/libbsp/mips/genmongoosev/configure.ac b/c/src/lib/libbsp/mips/genmongoosev/configure.ac index 3e3c9febf4..b1b61dc356 100644 --- a/c/src/lib/libbsp/mips/genmongoosev/configure.ac +++ b/c/src/lib/libbsp/mips/genmongoosev/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-lib-libbsp-mips-genmongoosev],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/c/src/lib/libbsp/mips/genmongoosev/include/bsp.h b/c/src/lib/libbsp/mips/genmongoosev/include/bsp.h index 575eb6b1e7..39268003e7 100644 --- a/c/src/lib/libbsp/mips/genmongoosev/include/bsp.h +++ b/c/src/lib/libbsp/mips/genmongoosev/include/bsp.h @@ -56,11 +56,6 @@ extern void assertSoftwareInterrupt(uint32_t); #define CLOCK_VECTOR MONGOOSEV_IRQ_TIMER1 -/* functions */ - -rtems_isr_entry set_vector( rtems_isr_entry, rtems_vector_number, int ); - - /* from start.S */ extern void promCopyIcacheFlush(void); extern void promCopyDcacheFlush(void); diff --git a/c/src/lib/libbsp/mips/genmongoosev/include/tm27.h b/c/src/lib/libbsp/mips/genmongoosev/include/tm27.h index 52f7fafdfc..ed33e7ef97 100644 --- a/c/src/lib/libbsp/mips/genmongoosev/include/tm27.h +++ b/c/src/lib/libbsp/mips/genmongoosev/include/tm27.h @@ -1,11 +1,11 @@ +/** + * @file + */ + /* - * tm27.h - * * The license and distribution terms for this file may be * found in the file LICENSE in this distribution or at * http://www.rtems.com/license/LICENSE. - * - * $Id$ */ #ifndef _RTEMS_TMTEST27 @@ -19,32 +19,18 @@ * Define the interrupt mechanism for Time Test 27 */ -#define MUST_WAIT_FOR_INTERRUPT 1 +#include <bsp/irq.h> -#if 1 +#define MUST_WAIT_FOR_INTERRUPT 1 #define Install_tm27_vector( handler ) \ - (void) set_vector( handler, MONGOOSEV_IRQ_SOFTWARE_1, 1 ); + rtems_interrupt_handler_install( \ + MONGOOSEV_IRQ_SOFTWARE_1, "benchmark", 0, \ + (rtems_interrupt_handler)handler, NULL ); #define Cause_tm27_intr() assertSoftwareInterrupt(0); #define Clear_tm27_intr() /* empty */ #define Lower_tm27_intr() /* empty */ -#else - -#define Install_tm27_vector( handler ) \ - (void) set_vector( handler, MONGOOSEV_IRQ_TIMER1, 1 ); - -#define Cause_tm27_intr() \ - do { \ - ; \ - } while(0) - -#define Clear_tm27_intr() /* empty */ - -#define Lower_tm27_intr() /* empty */ - -#endif - #endif diff --git a/c/src/lib/libbsp/mips/hurricane/Makefile.am b/c/src/lib/libbsp/mips/hurricane/Makefile.am index 0c021b398b..9b67d34115 100644 --- a/c/src/lib/libbsp/mips/hurricane/Makefile.am +++ b/c/src/lib/libbsp/mips/hurricane/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../../aclocal include $(top_srcdir)/../../../../automake/compile.am diff --git a/c/src/lib/libbsp/mips/hurricane/include/bsp.h b/c/src/lib/libbsp/mips/hurricane/include/bsp.h index 28b8be6553..1527669aef 100644 --- a/c/src/lib/libbsp/mips/hurricane/include/bsp.h +++ b/c/src/lib/libbsp/mips/hurricane/include/bsp.h @@ -67,11 +67,6 @@ extern uint32_t mips_get_timer( void ); #define RAM_START 0 #define RAM_END 0x100000 -/* functions */ - -rtems_isr_entry set_vector( - rtems_isr_entry, rtems_vector_number, int ); - #ifdef __cplusplus } #endif diff --git a/c/src/lib/libbsp/mips/hurricane/startup/setvec.c b/c/src/lib/libbsp/mips/hurricane/startup/setvec.c deleted file mode 100644 index 091617d49c..0000000000 --- a/c/src/lib/libbsp/mips/hurricane/startup/setvec.c +++ /dev/null @@ -1,44 +0,0 @@ -/* set_vector - * - * This routine installs an interrupt vector on the target Board/CPU. - * This routine is allowed to be as board dependent as necessary. - * - * INPUT: - * handler - interrupt handler entry point - * vector - vector number - * type - 0 indicates raw hardware connect - * 1 indicates RTEMS interrupt connect - * - * RETURNS: - * address of previous interrupt handler - * - * COPYRIGHT (c) 1989-1999. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may be - * found in the file LICENSE in this distribution or at - * http://www.rtems.com/license/LICENSE. - * - * $Id$ - */ - -#include <rtems.h> -#include <bsp.h> - -mips_isr_entry set_vector( /* returns old vector */ - rtems_isr_entry handler, /* isr routine */ - rtems_vector_number vector, /* vector number */ - int type /* RTEMS or RAW intr */ -) -{ - mips_isr_entry previous_isr; - - if ( type ) - rtems_interrupt_catch( handler, vector, (rtems_isr_entry *) &previous_isr ); - else { - /* XXX: install non-RTEMS ISR as "raw" interupt */ - rtems_interrupt_catch( handler, vector, (rtems_isr_entry *) &previous_isr ); - } - return previous_isr; -} - diff --git a/c/src/lib/libbsp/mips/jmr3904/Makefile.am b/c/src/lib/libbsp/mips/jmr3904/Makefile.am index d001411a5f..540c123215 100644 --- a/c/src/lib/libbsp/mips/jmr3904/Makefile.am +++ b/c/src/lib/libbsp/mips/jmr3904/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../../aclocal include $(top_srcdir)/../../../../automake/compile.am diff --git a/c/src/lib/libbsp/mips/jmr3904/configure.ac b/c/src/lib/libbsp/mips/jmr3904/configure.ac index 8e7ae089a7..8b170b8a4f 100644 --- a/c/src/lib/libbsp/mips/jmr3904/configure.ac +++ b/c/src/lib/libbsp/mips/jmr3904/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-lib-libbsp-mips-jmr3904],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/c/src/lib/libbsp/mips/jmr3904/include/bsp.h b/c/src/lib/libbsp/mips/jmr3904/include/bsp.h index 0d226a6675..5b718624ee 100644 --- a/c/src/lib/libbsp/mips/jmr3904/include/bsp.h +++ b/c/src/lib/libbsp/mips/jmr3904/include/bsp.h @@ -34,11 +34,6 @@ extern "C" { #define BSP_FEATURE_IRQ_EXTENSION #define BSP_SHARED_HANDLER_SUPPORT 1 -/* functions */ - -rtems_isr_entry set_vector( - rtems_isr_entry, rtems_vector_number, int ); - #ifdef __cplusplus } #endif diff --git a/c/src/lib/libbsp/mips/jmr3904/include/tm27.h b/c/src/lib/libbsp/mips/jmr3904/include/tm27.h index baf0baac22..027d26c4a4 100644 --- a/c/src/lib/libbsp/mips/jmr3904/include/tm27.h +++ b/c/src/lib/libbsp/mips/jmr3904/include/tm27.h @@ -1,11 +1,11 @@ +/** + * @file + */ + /* - * tm27.h - * * The license and distribution terms for this file may be * found in the file LICENSE in this distribution or at * http://www.rtems.com/license/LICENSE. - * - * $Id$ */ #ifndef _RTEMS_TMTEST27 @@ -19,23 +19,14 @@ * Define the interrupt mechanism for Time Test 27 */ -#define MUST_WAIT_FOR_INTERRUPT 1 - -#if 0 -#define Install_tm27_vector( handler ) \ - (void) set_vector( handler, TX3904_IRQ_SOFTWARE_1, 1 ); \ +#include <bsp/irq.h> -#define Cause_tm27_intr() \ - __asm__ volatile ( "syscall 0x01" : : ); - -#define CLOCK_VECTOR TX3904_IRQ_TMR0 - -#define Clear_tm27_intr() /* empty */ +#define MUST_WAIT_FOR_INTERRUPT 1 -#define Lower_tm27_intr() /* empty */ -#else #define Install_tm27_vector( handler ) \ - (void) set_vector( handler, TX3904_IRQ_TMR0, 1 ); \ + rtems_interrupt_handler_install( \ + TX3904_IRQ_TMR0, "benchmark", 0, \ + (rtems_interrupt_handler)handler, NULL ); #define Cause_tm27_intr() \ do { \ @@ -59,5 +50,3 @@ mips_enable_in_interrupt_mask( 0xff01 ); #endif - -#endif diff --git a/c/src/lib/libbsp/mips/jmr3904/tools/Makefile.am b/c/src/lib/libbsp/mips/jmr3904/tools/Makefile.am index 9ba4343231..baaa1a7f8c 100644 --- a/c/src/lib/libbsp/mips/jmr3904/tools/Makefile.am +++ b/c/src/lib/libbsp/mips/jmr3904/tools/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../../../aclocal transform = diff --git a/c/src/lib/libbsp/mips/jmr3904/tools/configure.ac b/c/src/lib/libbsp/mips/jmr3904/tools/configure.ac index 85b17e0cd0..19e291d13d 100644 --- a/c/src/lib/libbsp/mips/jmr3904/tools/configure.ac +++ b/c/src/lib/libbsp/mips/jmr3904/tools/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-lib-libbsp-mips-jmr3904-tools],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/c/src/lib/libbsp/mips/malta/include/bsp.h b/c/src/lib/libbsp/mips/malta/include/bsp.h index b05b2c4a10..55aab3da82 100644 --- a/c/src/lib/libbsp/mips/malta/include/bsp.h +++ b/c/src/lib/libbsp/mips/malta/include/bsp.h @@ -98,9 +98,6 @@ uint32_t simple_in_32( uint32_t base, uint32_t addr ); void simple_out_le16( uint32_t base, uint32_t addr, uint16_t val ); void simple_out_16( uint32_t base, uint32_t addr, uint16_t val ); -rtems_isr_entry set_vector( - rtems_isr_entry, rtems_vector_number, int ); - #ifdef __cplusplus } #endif diff --git a/c/src/lib/libbsp/mips/rbtx4925/Makefile.am b/c/src/lib/libbsp/mips/rbtx4925/Makefile.am index 8d692880d0..fe53813f12 100644 --- a/c/src/lib/libbsp/mips/rbtx4925/Makefile.am +++ b/c/src/lib/libbsp/mips/rbtx4925/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../../aclocal include $(top_srcdir)/../../../../automake/compile.am diff --git a/c/src/lib/libbsp/mips/rbtx4925/include/bsp.h b/c/src/lib/libbsp/mips/rbtx4925/include/bsp.h index 3c275c9fe7..4b15d4f0fd 100644 --- a/c/src/lib/libbsp/mips/rbtx4925/include/bsp.h +++ b/c/src/lib/libbsp/mips/rbtx4925/include/bsp.h @@ -33,11 +33,6 @@ extern "C" { #define BSP_FEATURE_IRQ_EXTENSION #define BSP_SHARED_HANDLER_SUPPORT 1 -/* functions */ - -rtems_isr_entry set_vector( - rtems_isr_entry, rtems_vector_number, int ); - #ifdef __cplusplus } #endif diff --git a/c/src/lib/libbsp/mips/rbtx4938/Makefile.am b/c/src/lib/libbsp/mips/rbtx4938/Makefile.am index 8d692880d0..fe53813f12 100644 --- a/c/src/lib/libbsp/mips/rbtx4938/Makefile.am +++ b/c/src/lib/libbsp/mips/rbtx4938/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../../aclocal include $(top_srcdir)/../../../../automake/compile.am diff --git a/c/src/lib/libbsp/mips/rbtx4938/include/bsp.h b/c/src/lib/libbsp/mips/rbtx4938/include/bsp.h index 04639114fc..5e8e6caebf 100644 --- a/c/src/lib/libbsp/mips/rbtx4938/include/bsp.h +++ b/c/src/lib/libbsp/mips/rbtx4938/include/bsp.h @@ -33,11 +33,6 @@ extern "C" { #define BSP_FEATURE_IRQ_EXTENSION #define BSP_SHARED_HANDLER_SUPPORT 1 -/* functions */ - -rtems_isr_entry set_vector( - rtems_isr_entry, rtems_vector_number, int ); - #ifdef __cplusplus } #endif diff --git a/c/src/lib/libbsp/nios2/Makefile.am b/c/src/lib/libbsp/nios2/Makefile.am index 140d76ee20..e60a8966ac 100644 --- a/c/src/lib/libbsp/nios2/Makefile.am +++ b/c/src/lib/libbsp/nios2/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../aclocal # Descend into the @RTEMS_BSP_FAMILY@ directory diff --git a/c/src/lib/libbsp/nios2/configure.ac b/c/src/lib/libbsp/nios2/configure.ac index c7cac07e0f..9e4ffcafdb 100644 --- a/c/src/lib/libbsp/nios2/configure.ac +++ b/c/src/lib/libbsp/nios2/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-lib-libbsp-nios2],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/c/src/lib/libbsp/nios2/nios2_iss/Makefile.am b/c/src/lib/libbsp/nios2/nios2_iss/Makefile.am index 1094826b55..8fa60851e8 100644 --- a/c/src/lib/libbsp/nios2/nios2_iss/Makefile.am +++ b/c/src/lib/libbsp/nios2/nios2_iss/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../../aclocal include $(top_srcdir)/../../../../automake/compile.am diff --git a/c/src/lib/libbsp/nios2/nios2_iss/configure.ac b/c/src/lib/libbsp/nios2/nios2_iss/configure.ac index c038715f52..c27304fa54 100644 --- a/c/src/lib/libbsp/nios2/nios2_iss/configure.ac +++ b/c/src/lib/libbsp/nios2/nios2_iss/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-lib-libbsp-nios2-nios2_iss],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/c/src/lib/libbsp/no_cpu/Makefile.am b/c/src/lib/libbsp/no_cpu/Makefile.am index 140d76ee20..e60a8966ac 100644 --- a/c/src/lib/libbsp/no_cpu/Makefile.am +++ b/c/src/lib/libbsp/no_cpu/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../aclocal # Descend into the @RTEMS_BSP_FAMILY@ directory diff --git a/c/src/lib/libbsp/no_cpu/configure.ac b/c/src/lib/libbsp/no_cpu/configure.ac index 46998fe54d..afe7e53b22 100644 --- a/c/src/lib/libbsp/no_cpu/configure.ac +++ b/c/src/lib/libbsp/no_cpu/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-lib-libbsp-no_cpu],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/c/src/lib/libbsp/no_cpu/no_bsp/Makefile.am b/c/src/lib/libbsp/no_cpu/no_bsp/Makefile.am index 4a29945724..2a7958b134 100644 --- a/c/src/lib/libbsp/no_cpu/no_bsp/Makefile.am +++ b/c/src/lib/libbsp/no_cpu/no_bsp/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../../aclocal include $(top_srcdir)/../../../../automake/compile.am diff --git a/c/src/lib/libbsp/no_cpu/no_bsp/configure.ac b/c/src/lib/libbsp/no_cpu/no_bsp/configure.ac index 801a3513d6..dd05b7d2ab 100644 --- a/c/src/lib/libbsp/no_cpu/no_bsp/configure.ac +++ b/c/src/lib/libbsp/no_cpu/no_bsp/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-lib-libbsp-no_cpu-no_bsp],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/c/src/lib/libbsp/powerpc/Makefile.am b/c/src/lib/libbsp/powerpc/Makefile.am index 03a7b31c32..31e5a6024f 100644 --- a/c/src/lib/libbsp/powerpc/Makefile.am +++ b/c/src/lib/libbsp/powerpc/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../aclocal ## Descend into the @RTEMS_BSP_FAMILY@ directory diff --git a/c/src/lib/libbsp/powerpc/beatnik/Makefile.am b/c/src/lib/libbsp/powerpc/beatnik/Makefile.am index f6a63ec473..7f2688f21f 100644 --- a/c/src/lib/libbsp/powerpc/beatnik/Makefile.am +++ b/c/src/lib/libbsp/powerpc/beatnik/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../../aclocal CLEANFILES = diff --git a/c/src/lib/libbsp/powerpc/configure.ac b/c/src/lib/libbsp/powerpc/configure.ac index 88d2126acd..d8d75fc143 100644 --- a/c/src/lib/libbsp/powerpc/configure.ac +++ b/c/src/lib/libbsp/powerpc/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-lib-libbsp-powerpc],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/c/src/lib/libbsp/powerpc/ep1a/configure.ac b/c/src/lib/libbsp/powerpc/ep1a/configure.ac index 61539e4d72..b4dbb99d17 100644 --- a/c/src/lib/libbsp/powerpc/ep1a/configure.ac +++ b/c/src/lib/libbsp/powerpc/ep1a/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-lib-libbsp-powerpc-ep1a],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/c/src/lib/libbsp/powerpc/gen5200/Makefile.am b/c/src/lib/libbsp/powerpc/gen5200/Makefile.am index a1cf57df4a..cb32aef4a9 100644 --- a/c/src/lib/libbsp/powerpc/gen5200/Makefile.am +++ b/c/src/lib/libbsp/powerpc/gen5200/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../../aclocal include $(top_srcdir)/../../../../automake/compile.am diff --git a/c/src/lib/libbsp/powerpc/gen5200/configure.ac b/c/src/lib/libbsp/powerpc/gen5200/configure.ac index 97d04cf1b4..d0cb78670c 100644 --- a/c/src/lib/libbsp/powerpc/gen5200/configure.ac +++ b/c/src/lib/libbsp/powerpc/gen5200/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-lib-libbsp-powerpc-gen5200],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/c/src/lib/libbsp/powerpc/gen83xx/Makefile.am b/c/src/lib/libbsp/powerpc/gen83xx/Makefile.am index 7a42ebcbd3..29a77bd431 100644 --- a/c/src/lib/libbsp/powerpc/gen83xx/Makefile.am +++ b/c/src/lib/libbsp/powerpc/gen83xx/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../../aclocal include $(top_srcdir)/../../../../automake/compile.am diff --git a/c/src/lib/libbsp/powerpc/gen83xx/configure.ac b/c/src/lib/libbsp/powerpc/gen83xx/configure.ac index f4e5a3d8d6..ee76369778 100644 --- a/c/src/lib/libbsp/powerpc/gen83xx/configure.ac +++ b/c/src/lib/libbsp/powerpc/gen83xx/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-lib-libbsp-powerpc-gen83xx],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/c/src/lib/libbsp/powerpc/haleakala/Makefile.am b/c/src/lib/libbsp/powerpc/haleakala/Makefile.am index 0e7687fcb6..fdd633149f 100644 --- a/c/src/lib/libbsp/powerpc/haleakala/Makefile.am +++ b/c/src/lib/libbsp/powerpc/haleakala/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../../aclocal include $(top_srcdir)/../../../../automake/compile.am diff --git a/c/src/lib/libbsp/powerpc/haleakala/configure.ac b/c/src/lib/libbsp/powerpc/haleakala/configure.ac index 25e5db34c7..025050737d 100644 --- a/c/src/lib/libbsp/powerpc/haleakala/configure.ac +++ b/c/src/lib/libbsp/powerpc/haleakala/configure.ac @@ -1,4 +1,6 @@ dnl Process this file with autoconf to produce a configure script. +dnl +dnl $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-lib-libbsp-powerpc-haleakala],[_RTEMS_VERSION],[rtems-bugs@rtems.com]) diff --git a/c/src/lib/libbsp/powerpc/haleakala/include/bsp.h b/c/src/lib/libbsp/powerpc/haleakala/include/bsp.h index f1a52a0490..80e0964787 100644 --- a/c/src/lib/libbsp/powerpc/haleakala/include/bsp.h +++ b/c/src/lib/libbsp/powerpc/haleakala/include/bsp.h @@ -84,14 +84,6 @@ extern "C" { #define BSP_UART_BAUD_BASE (11059200 / 16) /* Kilauea ext clock, max speed */ - /* functions */ - - rtems_isr_entry set_vector( /* returns old vector */ - rtems_isr_entry handler, /* isr routine */ - rtems_vector_number vector, /* vector number */ - int type /* RTEMS or RAW intr */ - ); - #endif /* ASM */ #ifdef __cplusplus diff --git a/c/src/lib/libbsp/powerpc/mbx8xx/Makefile.am b/c/src/lib/libbsp/powerpc/mbx8xx/Makefile.am index da6a311c04..0134f33946 100644 --- a/c/src/lib/libbsp/powerpc/mbx8xx/Makefile.am +++ b/c/src/lib/libbsp/powerpc/mbx8xx/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../../aclocal include $(top_srcdir)/../../../../automake/compile.am diff --git a/c/src/lib/libbsp/powerpc/mbx8xx/configure.ac b/c/src/lib/libbsp/powerpc/mbx8xx/configure.ac index 10260ceb4f..9d1e197fcd 100644 --- a/c/src/lib/libbsp/powerpc/mbx8xx/configure.ac +++ b/c/src/lib/libbsp/powerpc/mbx8xx/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-lib-libbsp-powerpc-mbx8xx],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/c/src/lib/libbsp/powerpc/mbx8xx/network/network.c b/c/src/lib/libbsp/powerpc/mbx8xx/network/network.c index e2a0c0871c..ff040975a0 100644 --- a/c/src/lib/libbsp/powerpc/mbx8xx/network/network.c +++ b/c/src/lib/libbsp/powerpc/mbx8xx/network/network.c @@ -443,7 +443,6 @@ m860_fec_initialize_hardware (struct m860_enet_struct *sc) int i; unsigned char *hwaddr; rtems_status_code status; - rtems_isr_entry old_handler; /* * Issue reset to FEC diff --git a/c/src/lib/libbsp/powerpc/motorola_powerpc/Makefile.am b/c/src/lib/libbsp/powerpc/motorola_powerpc/Makefile.am index 9a3206d36f..e2292c9069 100644 --- a/c/src/lib/libbsp/powerpc/motorola_powerpc/Makefile.am +++ b/c/src/lib/libbsp/powerpc/motorola_powerpc/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../../aclocal SUBDIRS = . diff --git a/c/src/lib/libbsp/powerpc/motorola_powerpc/bootloader/Makefile.am b/c/src/lib/libbsp/powerpc/motorola_powerpc/bootloader/Makefile.am index dd832f07f4..a2f1e55302 100644 --- a/c/src/lib/libbsp/powerpc/motorola_powerpc/bootloader/Makefile.am +++ b/c/src/lib/libbsp/powerpc/motorola_powerpc/bootloader/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ## NOTE: This Makefile.am does not apply RTEMS's compilation rules. AUTOMAKE_OPTIONS = no-exeext diff --git a/c/src/lib/libbsp/powerpc/motorola_powerpc/configure.ac b/c/src/lib/libbsp/powerpc/motorola_powerpc/configure.ac index 1debc3a7ba..d159fc1c23 100644 --- a/c/src/lib/libbsp/powerpc/motorola_powerpc/configure.ac +++ b/c/src/lib/libbsp/powerpc/motorola_powerpc/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-lib-libbsp-powerpc-motorola_powerpc],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/c/src/lib/libbsp/powerpc/motorola_powerpc/qemu_fakerom/Makefile.am b/c/src/lib/libbsp/powerpc/motorola_powerpc/qemu_fakerom/Makefile.am index 7a5730a9d6..ddd81381ec 100644 --- a/c/src/lib/libbsp/powerpc/motorola_powerpc/qemu_fakerom/Makefile.am +++ b/c/src/lib/libbsp/powerpc/motorola_powerpc/qemu_fakerom/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ## NOTE: This Makefile.am does not apply RTEMS's compilation rules. ACLOCAL_AMFLAGS = -I ../../../../aclocal diff --git a/c/src/lib/libbsp/powerpc/mpc55xxevb/Makefile.am b/c/src/lib/libbsp/powerpc/mpc55xxevb/Makefile.am index 24b07978ab..9e55382290 100644 --- a/c/src/lib/libbsp/powerpc/mpc55xxevb/Makefile.am +++ b/c/src/lib/libbsp/powerpc/mpc55xxevb/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../../aclocal include $(top_srcdir)/../../../../automake/compile.am diff --git a/c/src/lib/libbsp/powerpc/mpc8260ads/Makefile.am b/c/src/lib/libbsp/powerpc/mpc8260ads/Makefile.am index cf4f4d2380..aa1ead9ab6 100644 --- a/c/src/lib/libbsp/powerpc/mpc8260ads/Makefile.am +++ b/c/src/lib/libbsp/powerpc/mpc8260ads/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../../aclocal include $(top_srcdir)/../../../../automake/compile.am diff --git a/c/src/lib/libbsp/powerpc/mpc8260ads/configure.ac b/c/src/lib/libbsp/powerpc/mpc8260ads/configure.ac index dda5286e14..cc57360b9e 100644 --- a/c/src/lib/libbsp/powerpc/mpc8260ads/configure.ac +++ b/c/src/lib/libbsp/powerpc/mpc8260ads/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-lib-libbsp-powerpc-mpc8260ads],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/c/src/lib/libbsp/powerpc/mpc8260ads/include/bsp.h b/c/src/lib/libbsp/powerpc/mpc8260ads/include/bsp.h index eb7c624b87..ce587d68d2 100644 --- a/c/src/lib/libbsp/powerpc/mpc8260ads/include/bsp.h +++ b/c/src/lib/libbsp/powerpc/mpc8260ads/include/bsp.h @@ -81,12 +81,6 @@ void *M8260AllocateRiscTimers( int count ); extern char M8260DefaultWatchdogFeeder; #endif -rtems_isr_entry set_vector( /* returns old vector */ - rtems_isr_entry handler, /* isr routine */ - rtems_vector_number vector, /* vector number */ - int type /* RTEMS or RAW intr */ -); - #ifdef __cplusplus } #endif diff --git a/c/src/lib/libbsp/powerpc/mpc8260ads/network/network.c b/c/src/lib/libbsp/powerpc/mpc8260ads/network/network.c index a1b31fd7d2..81a73eea5a 100644 --- a/c/src/lib/libbsp/powerpc/mpc8260ads/network/network.c +++ b/c/src/lib/libbsp/powerpc/mpc8260ads/network/network.c @@ -205,13 +205,7 @@ m8260_scc_initialize_hardware (struct m8260_hdlc_struct *sc) int i; int brg; -/* - unsigned char *hwaddr; -*/ rtems_status_code status; -/* - rtems_isr_entry old_handler; -*/ /* RxD PB14 */ m8260.pparb |= 0x00020000; diff --git a/c/src/lib/libbsp/powerpc/mvme3100/Makefile.am b/c/src/lib/libbsp/powerpc/mvme3100/Makefile.am index e411c7a199..f214f88755 100644 --- a/c/src/lib/libbsp/powerpc/mvme3100/Makefile.am +++ b/c/src/lib/libbsp/powerpc/mvme3100/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../../aclocal include $(top_srcdir)/../../../../automake/compile.am diff --git a/c/src/lib/libbsp/powerpc/mvme3100/configure.ac b/c/src/lib/libbsp/powerpc/mvme3100/configure.ac index aeda9537c7..e671a70149 100644 --- a/c/src/lib/libbsp/powerpc/mvme3100/configure.ac +++ b/c/src/lib/libbsp/powerpc/mvme3100/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-lib-libbsp-powerpc-mvme3100],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/c/src/lib/libbsp/powerpc/psim/Makefile.am b/c/src/lib/libbsp/powerpc/psim/Makefile.am index a99f23ee2a..c02edb90a8 100644 --- a/c/src/lib/libbsp/powerpc/psim/Makefile.am +++ b/c/src/lib/libbsp/powerpc/psim/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../../aclocal include $(top_srcdir)/../../../../automake/compile.am diff --git a/c/src/lib/libbsp/powerpc/psim/configure.ac b/c/src/lib/libbsp/powerpc/psim/configure.ac index 85d88783d7..a25872879d 100644 --- a/c/src/lib/libbsp/powerpc/psim/configure.ac +++ b/c/src/lib/libbsp/powerpc/psim/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-lib-libbsp-powerpc-psim],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/c/src/lib/libbsp/powerpc/qemuppc/Makefile.am b/c/src/lib/libbsp/powerpc/qemuppc/Makefile.am index 0dce1cdff6..945a723f45 100644 --- a/c/src/lib/libbsp/powerpc/qemuppc/Makefile.am +++ b/c/src/lib/libbsp/powerpc/qemuppc/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../../aclocal include $(top_srcdir)/../../../../automake/compile.am diff --git a/c/src/lib/libbsp/powerpc/qemuppc/configure.ac b/c/src/lib/libbsp/powerpc/qemuppc/configure.ac index 063b4766f9..3c86f35a60 100644 --- a/c/src/lib/libbsp/powerpc/qemuppc/configure.ac +++ b/c/src/lib/libbsp/powerpc/qemuppc/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-lib-libbsp-h8300-h8sim],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/c/src/lib/libbsp/powerpc/qoriq/Makefile.am b/c/src/lib/libbsp/powerpc/qoriq/Makefile.am index cc9c8b4a6e..d89e821958 100644 --- a/c/src/lib/libbsp/powerpc/qoriq/Makefile.am +++ b/c/src/lib/libbsp/powerpc/qoriq/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../../aclocal include $(top_srcdir)/../../../../automake/compile.am diff --git a/c/src/lib/libbsp/powerpc/qoriq/configure.ac b/c/src/lib/libbsp/powerpc/qoriq/configure.ac index 7b82c1dd53..8bd7523c6f 100644 --- a/c/src/lib/libbsp/powerpc/qoriq/configure.ac +++ b/c/src/lib/libbsp/powerpc/qoriq/configure.ac @@ -1,3 +1,7 @@ +## +## $Id$ +## + AC_PREREQ(2.60) AC_INIT([rtems-c-src-lib-libbsp-powerpc-qoriq],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) AC_CONFIG_SRCDIR([bsp_specs]) diff --git a/c/src/lib/libbsp/powerpc/score603e/Makefile.am b/c/src/lib/libbsp/powerpc/score603e/Makefile.am index 264a30c7bf..3a6b0704df 100644 --- a/c/src/lib/libbsp/powerpc/score603e/Makefile.am +++ b/c/src/lib/libbsp/powerpc/score603e/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../../aclocal include $(top_srcdir)/../../../../automake/compile.am diff --git a/c/src/lib/libbsp/powerpc/score603e/configure.ac b/c/src/lib/libbsp/powerpc/score603e/configure.ac index feedd0a799..e7ffcdf2c2 100644 --- a/c/src/lib/libbsp/powerpc/score603e/configure.ac +++ b/c/src/lib/libbsp/powerpc/score603e/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-lib-libbsp-powerpc-ep1a],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/c/src/lib/libbsp/powerpc/score603e/startup/setvec.c b/c/src/lib/libbsp/powerpc/score603e/startup/setvec.c deleted file mode 100644 index 6bb3138208..0000000000 --- a/c/src/lib/libbsp/powerpc/score603e/startup/setvec.c +++ /dev/null @@ -1,46 +0,0 @@ -/* - * This routine installs an interrupt vector on the target Board/CPU. - * This routine is allowed to be as board dependent as necessary. - * - * COPYRIGHT (c) 1989-2008. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may in - * the file LICENSE in this distribution or at - * http://www.rtems.com/license/LICENSE. - * - * $Id$ - */ - -#include <rtems.h> -#include <bsp.h> - -/* - * This routine installs vector number vector. - */ -rtems_isr_entry set_vector( /* returns old vector */ - rtems_isr_entry handler, /* isr routine */ - rtems_vector_number vector, /* vector number */ - int type /* RTEMS or RAW intr */ -) -{ - rtems_isr_entry previous_isr; - rtems_status_code status; - - /* - * vectors greater than PPC603e_IRQ_LAST are handled by the General purpose - * interupt handler. - */ - if ( vector > PPC_IRQ_LAST ) { - set_EE_vector( handler, vector ); - } - else { - ; - #if 0 - status = rtems_interrupt_catch( - handler, vector, (rtems_isr_entry *) &previous_isr ); - #endif - #warning "Remove this whole method." - } - return previous_isr; -} diff --git a/c/src/lib/libbsp/powerpc/ss555/Makefile.am b/c/src/lib/libbsp/powerpc/ss555/Makefile.am index 3dc3f63466..8758be6d53 100644 --- a/c/src/lib/libbsp/powerpc/ss555/Makefile.am +++ b/c/src/lib/libbsp/powerpc/ss555/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../../aclocal include $(top_srcdir)/../../../../automake/compile.am diff --git a/c/src/lib/libbsp/powerpc/ss555/configure.ac b/c/src/lib/libbsp/powerpc/ss555/configure.ac index 59fcc87379..afb044c86b 100644 --- a/c/src/lib/libbsp/powerpc/ss555/configure.ac +++ b/c/src/lib/libbsp/powerpc/ss555/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-lib-libbsp-powerpc-mbx5xx],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/c/src/lib/libbsp/powerpc/tqm8xx/Makefile.am b/c/src/lib/libbsp/powerpc/tqm8xx/Makefile.am index 6a7ffca541..e0f08b4dc7 100644 --- a/c/src/lib/libbsp/powerpc/tqm8xx/Makefile.am +++ b/c/src/lib/libbsp/powerpc/tqm8xx/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../../aclocal include $(top_srcdir)/../../../../automake/compile.am diff --git a/c/src/lib/libbsp/powerpc/tqm8xx/configure.ac b/c/src/lib/libbsp/powerpc/tqm8xx/configure.ac index 32957af55e..38cb34f6e8 100644 --- a/c/src/lib/libbsp/powerpc/tqm8xx/configure.ac +++ b/c/src/lib/libbsp/powerpc/tqm8xx/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-lib-libbsp-powerpc-tqm8xx],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/c/src/lib/libbsp/powerpc/virtex/Makefile.am b/c/src/lib/libbsp/powerpc/virtex/Makefile.am index 6faa494fb6..148e003415 100644 --- a/c/src/lib/libbsp/powerpc/virtex/Makefile.am +++ b/c/src/lib/libbsp/powerpc/virtex/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../../aclocal include $(top_srcdir)/../../../../automake/compile.am diff --git a/c/src/lib/libbsp/powerpc/virtex/configure.ac b/c/src/lib/libbsp/powerpc/virtex/configure.ac index 33819cc86b..f65f56d918 100644 --- a/c/src/lib/libbsp/powerpc/virtex/configure.ac +++ b/c/src/lib/libbsp/powerpc/virtex/configure.ac @@ -1,4 +1,6 @@ dnl Process this file with autoconf to produce a configure script. +dnl +dnl $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-lib-libbsp-powerpc-virtex],[_RTEMS_VERSION],[rtems-bugs@rtems.com]) diff --git a/c/src/lib/libbsp/powerpc/virtex/include/bsp.h b/c/src/lib/libbsp/powerpc/virtex/include/bsp.h index 52c9648101..148674454d 100644 --- a/c/src/lib/libbsp/powerpc/virtex/include/bsp.h +++ b/c/src/lib/libbsp/powerpc/virtex/include/bsp.h @@ -77,13 +77,6 @@ extern xilTemac_driver_attach(struct rtems_bsdnet_ifconfig*, int ); #define BSP_PPC403_CLOCK_HOOK_EXCEPTION ASM_BOOKE_DEC_VECTOR -/* functions */ - -rtems_isr_entry set_vector( /* returns old vector */ - rtems_isr_entry handler, /* isr routine */ - rtems_vector_number vector, /* vector number */ - int type /* RTEMS or RAW intr */ -); #endif /* ASM */ #ifdef __cplusplus diff --git a/c/src/lib/libbsp/powerpc/virtex4/Makefile.am b/c/src/lib/libbsp/powerpc/virtex4/Makefile.am index 5952497008..d6ae5d3350 100644 --- a/c/src/lib/libbsp/powerpc/virtex4/Makefile.am +++ b/c/src/lib/libbsp/powerpc/virtex4/Makefile.am @@ -1,3 +1,4 @@ + ## ## $Id: $ ## diff --git a/c/src/lib/libbsp/powerpc/virtex4/clock/clock.c b/c/src/lib/libbsp/powerpc/virtex4/clock/clock.c index 050824ad1a..ef41b3d9da 100644 --- a/c/src/lib/libbsp/powerpc/virtex4/clock/clock.c +++ b/c/src/lib/libbsp/powerpc/virtex4/clock/clock.c @@ -59,12 +59,6 @@ static bool auto_restart; void Clock_exit( void ); -rtems_isr_entry set_vector( /* returns old vector */ - rtems_isr_entry handler, /* isr routine */ - rtems_vector_number vector, /* vector number */ - int type /* RTEMS or RAW intr */ -); - /* * These are set by clock driver during its init */ diff --git a/c/src/lib/libbsp/sh/Makefile.am b/c/src/lib/libbsp/sh/Makefile.am index 33c5db1613..cf5212b2c0 100644 --- a/c/src/lib/libbsp/sh/Makefile.am +++ b/c/src/lib/libbsp/sh/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../aclocal # Descend into the @RTEMS_BSP_FAMILY@ directory diff --git a/c/src/lib/libbsp/sh/configure.ac b/c/src/lib/libbsp/sh/configure.ac index ca901dd673..96eea71f92 100644 --- a/c/src/lib/libbsp/sh/configure.ac +++ b/c/src/lib/libbsp/sh/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-lib-libbsp-sh],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/c/src/lib/libbsp/sh/gensh1/Makefile.am b/c/src/lib/libbsp/sh/gensh1/Makefile.am index 15583546dd..ed6e50c488 100644 --- a/c/src/lib/libbsp/sh/gensh1/Makefile.am +++ b/c/src/lib/libbsp/sh/gensh1/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../../aclocal include $(top_srcdir)/../../../../automake/compile.am diff --git a/c/src/lib/libbsp/sh/gensh1/configure.ac b/c/src/lib/libbsp/sh/gensh1/configure.ac index 93c8b56400..10c3c394af 100644 --- a/c/src/lib/libbsp/sh/gensh1/configure.ac +++ b/c/src/lib/libbsp/sh/gensh1/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-lib-libbsp-sh-gensh1],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/c/src/lib/libbsp/sh/gensh2/Makefile.am b/c/src/lib/libbsp/sh/gensh2/Makefile.am index 6339206624..bc54b0a17d 100644 --- a/c/src/lib/libbsp/sh/gensh2/Makefile.am +++ b/c/src/lib/libbsp/sh/gensh2/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../../aclocal include $(top_srcdir)/../../../../automake/compile.am diff --git a/c/src/lib/libbsp/sh/gensh2/configure.ac b/c/src/lib/libbsp/sh/gensh2/configure.ac index 71c2d0b8b9..8d9d75073d 100644 --- a/c/src/lib/libbsp/sh/gensh2/configure.ac +++ b/c/src/lib/libbsp/sh/gensh2/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-lib-libbsp-sh-gensh2],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/c/src/lib/libbsp/sh/gensh4/Makefile.am b/c/src/lib/libbsp/sh/gensh4/Makefile.am index 70b667b2c7..b73a2da227 100644 --- a/c/src/lib/libbsp/sh/gensh4/Makefile.am +++ b/c/src/lib/libbsp/sh/gensh4/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../../aclocal include $(top_srcdir)/../../../../automake/compile.am diff --git a/c/src/lib/libbsp/sh/gensh4/configure.ac b/c/src/lib/libbsp/sh/gensh4/configure.ac index 0365e1141f..307bcf8b95 100644 --- a/c/src/lib/libbsp/sh/gensh4/configure.ac +++ b/c/src/lib/libbsp/sh/gensh4/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-lib-libbsp-sh-gensh4],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/c/src/lib/libbsp/sh/shsim/Makefile.am b/c/src/lib/libbsp/sh/shsim/Makefile.am index bc039bbeb5..85c8e07401 100644 --- a/c/src/lib/libbsp/sh/shsim/Makefile.am +++ b/c/src/lib/libbsp/sh/shsim/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../../aclocal include $(top_srcdir)/../../../../automake/compile.am diff --git a/c/src/lib/libbsp/sh/shsim/configure.ac b/c/src/lib/libbsp/sh/shsim/configure.ac index c1198dd48c..7da50c9190 100644 --- a/c/src/lib/libbsp/sh/shsim/configure.ac +++ b/c/src/lib/libbsp/sh/shsim/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-lib-libbsp-sh-shsim],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/c/src/lib/libbsp/shared/clockdrv_shell.c b/c/src/lib/libbsp/shared/clockdrv_shell.c deleted file mode 100644 index 7d37408f5c..0000000000 --- a/c/src/lib/libbsp/shared/clockdrv_shell.c +++ /dev/null @@ -1,16 +0,0 @@ -/* - * Clock Tick Device Driver Shell - * - * COPYRIGHT (c) 1989-2006. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may be - * found in the file LICENSE in this distribution or at - * http://www.rtems.com/license/LICENSE. - * - * $Id$ - */ - -#error "Including obsolete file clockdrv_shell.c; include clockdrv_shell.h, instead" - -#include "clockdrv_shell.h" diff --git a/c/src/lib/libbsp/shared/clockdrv_shell.h b/c/src/lib/libbsp/shared/clockdrv_shell.h index 2afd3b2375..a4e7ffbc96 100644 --- a/c/src/lib/libbsp/shared/clockdrv_shell.h +++ b/c/src/lib/libbsp/shared/clockdrv_shell.h @@ -20,7 +20,7 @@ #include <bsp.h> #if defined(CLOCK_DRIVER_USE_FAST_IDLE) && defined(CLOCK_DRIVER_ISRS_PER_TICK) -#error "clockdrv_shell.c: fast idle and N ISRs per tick is not supported" +#error "clockdrv_shell.h: Fast Idle PLUS n ISRs per tick is not supported" #endif /* @@ -56,7 +56,8 @@ void Clock_exit( void ); * * Return values: NONE */ -#ifdef BSP_FEATURE_IRQ_EXTENSION +#if defined(BSP_FEATURE_IRQ_EXTENSION) || \ + (CPU_SIMPLE_VECTORED_INTERRUPTS != TRUE) void Clock_isr(void *arg) { #else diff --git a/c/src/lib/libbsp/sparc/Makefile.am b/c/src/lib/libbsp/sparc/Makefile.am index 67bb6b68e1..2b9909c910 100644 --- a/c/src/lib/libbsp/sparc/Makefile.am +++ b/c/src/lib/libbsp/sparc/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../aclocal # Descend into the @RTEMS_BSP_FAMILY@ directory diff --git a/c/src/lib/libbsp/sparc/configure.ac b/c/src/lib/libbsp/sparc/configure.ac index 8369695750..796784b2ce 100644 --- a/c/src/lib/libbsp/sparc/configure.ac +++ b/c/src/lib/libbsp/sparc/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-lib-libbsp-sparc],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/c/src/lib/libbsp/sparc/erc32/Makefile.am b/c/src/lib/libbsp/sparc/erc32/Makefile.am index ddb8d94c3b..615a3e098a 100644 --- a/c/src/lib/libbsp/sparc/erc32/Makefile.am +++ b/c/src/lib/libbsp/sparc/erc32/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../../aclocal include $(top_srcdir)/../../../../automake/compile.am diff --git a/c/src/lib/libbsp/sparc/erc32/configure.ac b/c/src/lib/libbsp/sparc/erc32/configure.ac index 96cac6c97a..124d65bdd9 100644 --- a/c/src/lib/libbsp/sparc/erc32/configure.ac +++ b/c/src/lib/libbsp/sparc/erc32/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-lib-libbsp-sparc-erc32],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/c/src/lib/libbsp/sparc/leon2/configure.ac b/c/src/lib/libbsp/sparc/leon2/configure.ac index 95a1cd04cb..00b597fcf3 100644 --- a/c/src/lib/libbsp/sparc/leon2/configure.ac +++ b/c/src/lib/libbsp/sparc/leon2/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-lib-libbsp-sparc-leon2],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/c/src/lib/libbsp/sparc/leon3/configure.ac b/c/src/lib/libbsp/sparc/leon3/configure.ac index c11860035e..3f2d445e92 100644 --- a/c/src/lib/libbsp/sparc/leon3/configure.ac +++ b/c/src/lib/libbsp/sparc/leon3/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-lib-libbsp-sparc-leon3],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/c/src/lib/libbsp/sparc64/Makefile.am b/c/src/lib/libbsp/sparc64/Makefile.am index d294e842ec..2a614ac8cb 100644 --- a/c/src/lib/libbsp/sparc64/Makefile.am +++ b/c/src/lib/libbsp/sparc64/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../aclocal ## Descend into the @RTEMS_BSP_FAMILY@ directory diff --git a/c/src/lib/libbsp/sparc64/configure.ac b/c/src/lib/libbsp/sparc64/configure.ac index 4c9b7607eb..bd48500347 100644 --- a/c/src/lib/libbsp/sparc64/configure.ac +++ b/c/src/lib/libbsp/sparc64/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-lib-libbsp-sparc64],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/c/src/lib/libbsp/sparc64/niagara/Makefile.am b/c/src/lib/libbsp/sparc64/niagara/Makefile.am index 089649d0e6..099591ae7d 100644 --- a/c/src/lib/libbsp/sparc64/niagara/Makefile.am +++ b/c/src/lib/libbsp/sparc64/niagara/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../../aclocal include $(top_srcdir)/../../../../automake/compile.am diff --git a/c/src/lib/libbsp/sparc64/niagara/configure.ac b/c/src/lib/libbsp/sparc64/niagara/configure.ac index 47d89e958a..24ca41500d 100644 --- a/c/src/lib/libbsp/sparc64/niagara/configure.ac +++ b/c/src/lib/libbsp/sparc64/niagara/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-lib-libbsp-sparc64-sun4v],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/c/src/lib/libbsp/sparc64/usiii/Makefile.am b/c/src/lib/libbsp/sparc64/usiii/Makefile.am index 6c169e0e64..2a25510886 100644 --- a/c/src/lib/libbsp/sparc64/usiii/Makefile.am +++ b/c/src/lib/libbsp/sparc64/usiii/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + ACLOCAL_AMFLAGS = -I ../../../../aclocal include $(top_srcdir)/../../../../automake/compile.am diff --git a/c/src/lib/libbsp/sparc64/usiii/configure.ac b/c/src/lib/libbsp/sparc64/usiii/configure.ac index fcb5814242..a67c57028f 100644 --- a/c/src/lib/libbsp/sparc64/usiii/configure.ac +++ b/c/src/lib/libbsp/sparc64/usiii/configure.ac @@ -1,4 +1,6 @@ ## Process this file with autoconf to produce a configure script. +## +## $Id$ AC_PREREQ([2.68]) AC_INIT([rtems-c-src-lib-libbsp-sparc64-sun4u],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) diff --git a/c/src/lib/libcpu/Makefile.am b/c/src/lib/libcpu/Makefile.am index 7d3a43e4f6..1e983949f0 100644 --- a/c/src/lib/libcpu/Makefile.am +++ b/c/src/lib/libcpu/Makefile.am @@ -1,3 +1,7 @@ +## +## $Id$ +## + include_libcpudir = $(includedir)/libcpu EXTRA_DIST = |