diff options
Diffstat (limited to 'bsps/m68k/uC5282')
-rw-r--r-- | bsps/m68k/uC5282/btimer/btimer.c | 16 | ||||
-rw-r--r-- | bsps/m68k/uC5282/clock/clock.c | 18 | ||||
-rw-r--r-- | bsps/m68k/uC5282/console/console.c | 17 | ||||
-rw-r--r-- | bsps/m68k/uC5282/include/bsp.h | 14 | ||||
-rw-r--r-- | bsps/m68k/uC5282/include/tm27.h | 14 | ||||
-rw-r--r-- | bsps/m68k/uC5282/start/bsp_specs | 0 | ||||
-rw-r--r-- | bsps/m68k/uC5282/start/bspclean.c | 16 | ||||
-rw-r--r-- | bsps/m68k/uC5282/start/bspreset.c | 25 | ||||
-rw-r--r-- | bsps/m68k/uC5282/start/bspstart.c | 12 | ||||
-rw-r--r-- | bsps/m68k/uC5282/start/init5282.c | 12 | ||||
-rw-r--r-- | bsps/m68k/uC5282/start/linkcmds | 18 | ||||
-rw-r--r-- | bsps/m68k/uC5282/start/start.S | 25 |
12 files changed, 117 insertions, 70 deletions
diff --git a/bsps/m68k/uC5282/btimer/btimer.c b/bsps/m68k/uC5282/btimer/btimer.c index e01b9c8269..c60527670a 100644 --- a/bsps/m68k/uC5282/btimer/btimer.c +++ b/bsps/m68k/uC5282/btimer/btimer.c @@ -2,15 +2,17 @@ * Timer Init * * Use the last DMA timer (DTIM3) as the diagnostic timer. + */ + +/* + * Copyright (c) 2005 Eric Norum <eric@norum.ca> * - * Author: W. Eric Norum <norume@aps.anl.gov> - * - * COPYRIGHT (c) 2005. - * On-Line Applications Research Corporation (OAR). + * COPYRIGHT (c) 2005. + * 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.org/license/LICENSE. + * The license and distribution terms for this file may be + * found in the file LICENSE in this distribution or at + * http://www.rtems.org/license/LICENSE. */ #include <rtems.h> diff --git a/bsps/m68k/uC5282/clock/clock.c b/bsps/m68k/uC5282/clock/clock.c index da724a9aca..f7bed25b8b 100644 --- a/bsps/m68k/uC5282/clock/clock.c +++ b/bsps/m68k/uC5282/clock/clock.c @@ -1,14 +1,16 @@ /* * Use the last periodic interval timer (PIT3) as the system clock. + */ + +/* + * Copyright (c) 2005 Eric Norum <eric@norum.ca> * - * Author: W. Eric Norum <norume@aps.anl.gov> - * - * COPYRIGHT (c) 2005. - * On-Line Applications Research Corporation (OAR). + * COPYRIGHT (c) 2005. + * 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.org/license/LICENSE. + * The license and distribution terms for this file may be + * found in the file LICENSE in this distribution or at + * http://www.rtems.org/license/LICENSE. */ #include <rtems.h> @@ -148,6 +150,6 @@ int bsp_cpu_load_percentage(void) 0; } -#define Clock_driver_timecounter_tick() uC5282_tc_tick() +#define Clock_driver_timecounter_tick(arg) uC5282_tc_tick() #include "../../../shared/dev/clock/clockimpl.h" diff --git a/bsps/m68k/uC5282/console/console.c b/bsps/m68k/uC5282/console/console.c index 276d0c6f18..50a90d3dd9 100644 --- a/bsps/m68k/uC5282/console/console.c +++ b/bsps/m68k/uC5282/console/console.c @@ -2,16 +2,17 @@ * Multi UART console serial I/O. * * TO DO: Add DMA input/output + */ + +/* + * Copyright (c) 2005 Eric Norum <eric@norum.ca> * - * Author: W. Eric Norum <norume@aps.anl.gov> - * - * COPYRIGHT (c) 2005. - * 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.org/license/LICENSE. + * COPYRIGHT (c) 2005. + * 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.org/license/LICENSE. */ #include <stdio.h> diff --git a/bsps/m68k/uC5282/include/bsp.h b/bsps/m68k/uC5282/include/bsp.h index e40a224404..7075d5cbe3 100644 --- a/bsps/m68k/uC5282/include/bsp.h +++ b/bsps/m68k/uC5282/include/bsp.h @@ -7,16 +7,14 @@ */ /* - * uC5282 BSP header file + * Copyright (c) 2005 Eric Norum <eric@norum.ca> * - * Author: W. Eric Norum <norume@aps.anl.gov> + * COPYRIGHT (c) 2005. + * On-Line Applications Research Corporation (OAR). * - * COPYRIGHT (c) 2005. - * 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.org/license/LICENSE. + * The license and distribution terms for this file may be + * found in the file LICENSE in this distribution or at + * http://www.rtems.org/license/LICENSE. */ #ifndef LIBBSP_M68K_UC5282_BSP_H diff --git a/bsps/m68k/uC5282/include/tm27.h b/bsps/m68k/uC5282/include/tm27.h index 9a24da3755..86a1920177 100644 --- a/bsps/m68k/uC5282/include/tm27.h +++ b/bsps/m68k/uC5282/include/tm27.h @@ -5,14 +5,14 @@ */ /* - * Author: W. Eric Norum <norume@aps.anl.gov> + * Copyright (c) 2005 Eric Norum <eric@norum.ca> * - * COPYRIGHT (c) 2005-2014. - * On-Line Applications Research Corporation (OAR). + * COPYRIGHT (c) 2005-2014. + * 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.org/license/LICENSE. + * The license and distribution terms for this file may be + * found in the file LICENSE in this distribution or at + * http://www.rtems.org/license/LICENSE. */ #ifndef _RTEMS_TMTEST27 @@ -29,6 +29,8 @@ #define MUST_WAIT_FOR_INTERRUPT 0 +#define TM27_USE_VECTOR_HANDLER + #define Install_tm27_vector( handler ) set_vector( (handler), 35, 1 ) #define Cause_tm27_intr() asm volatile ("trap #3"); diff --git a/bsps/m68k/uC5282/start/bsp_specs b/bsps/m68k/uC5282/start/bsp_specs deleted file mode 100644 index e69de29bb2..0000000000 --- a/bsps/m68k/uC5282/start/bsp_specs +++ /dev/null diff --git a/bsps/m68k/uC5282/start/bspclean.c b/bsps/m68k/uC5282/start/bspclean.c index a344efd7bb..54e811cfe2 100644 --- a/bsps/m68k/uC5282/start/bspclean.c +++ b/bsps/m68k/uC5282/start/bspclean.c @@ -1,14 +1,16 @@ /* * This routine returns control from RTEMS to the monitor. + */ + +/* + * Copyright (c) 2005 Eric Norum <eric@norum.ca> * - * Author: W. Eric Norum <norume@aps.anl.gov> - * - * COPYRIGHT (c) 2005. - * On-Line Applications Research Corporation (OAR). + * COPYRIGHT (c) 2005. + * 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.org/license/LICENSE. + * The license and distribution terms for this file may be + * found in the file LICENSE in this distribution or at + * http://www.rtems.org/license/LICENSE. */ #include <bsp.h> diff --git a/bsps/m68k/uC5282/start/bspreset.c b/bsps/m68k/uC5282/start/bspreset.c index b93fbb409f..eedfb9bb0c 100644 --- a/bsps/m68k/uC5282/start/bspreset.c +++ b/bsps/m68k/uC5282/start/bspreset.c @@ -1,10 +1,29 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ + /* * COPYRIGHT (c) 1989-2008. * 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.org/license/LICENSE. + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE + * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + * POSSIBILITY OF SUCH DAMAGE. */ #include <rtems.h> diff --git a/bsps/m68k/uC5282/start/bspstart.c b/bsps/m68k/uC5282/start/bspstart.c index 33ce737ceb..0729778f2b 100644 --- a/bsps/m68k/uC5282/start/bspstart.c +++ b/bsps/m68k/uC5282/start/bspstart.c @@ -3,14 +3,14 @@ */ /* - * Author: W. Eric Norum <norume@aps.anl.gov> + * Copyright (c) 2005 Eric Norum <eric@norum.ca> * - * COPYRIGHT (c) 2005. - * On-Line Applications Research Corporation (OAR). + * COPYRIGHT (c) 2005. + * 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.org/license/LICENSE. + * The license and distribution terms for this file may be + * found in the file LICENSE in this distribution or at + * http://www.rtems.org/license/LICENSE. */ #include <bsp.h> diff --git a/bsps/m68k/uC5282/start/init5282.c b/bsps/m68k/uC5282/start/init5282.c index 201ee58c8e..f032591907 100644 --- a/bsps/m68k/uC5282/start/init5282.c +++ b/bsps/m68k/uC5282/start/init5282.c @@ -8,14 +8,14 @@ */ /* - * Author: W. Eric Norum <norume@aps.anl.gov> + * Copyright (c) 2005 Eric Norum <eric@norum.ca> * - * COPYRIGHT (c) 2005. - * On-Line Applications Research Corporation (OAR). + * COPYRIGHT (c) 2005. + * 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.org/license/LICENSE. + * The license and distribution terms for this file may be + * found in the file LICENSE in this distribution or at + * http://www.rtems.org/license/LICENSE. */ #include <rtems.h> diff --git a/bsps/m68k/uC5282/start/linkcmds b/bsps/m68k/uC5282/start/linkcmds index 2111e53036..a171cba284 100644 --- a/bsps/m68k/uC5282/start/linkcmds +++ b/bsps/m68k/uC5282/start/linkcmds @@ -1,15 +1,17 @@ /* * This file contains directives for the GNU linker which are specific * to the Arcturus uC DIMM ColdFire 5282 + */ + +/* + * Copyright (c) 2005 Eric Norum <eric@norum.ca> * - * Author: W. Eric Norum <norume@aps.anl.gov> - * - * COPYRIGHT (c) 2005-2007. - * On-Line Applications Research Corporation (OAR). + * COPYRIGHT (c) 2005-2007. + * 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.org/license/LICENSE. + * The license and distribution terms for this file may be + * found in the file LICENSE in this distribution or at + * http://www.rtems.org/license/LICENSE. */ /* @@ -204,7 +206,7 @@ SECTIONS } >ram .noinit (NOLOAD) : { - *(.noinit*) + *(SORT_BY_NAME (SORT_BY_ALIGNMENT (.noinit*))) } >ram .rtemsstack (NOLOAD) : { diff --git a/bsps/m68k/uC5282/start/start.S b/bsps/m68k/uC5282/start/start.S index 63ac62e15d..4149159d78 100644 --- a/bsps/m68k/uC5282/start/start.S +++ b/bsps/m68k/uC5282/start/start.S @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ + /* * uC5282 startup code * @@ -9,9 +11,26 @@ * COPYRIGHT (c) 1989-1998. * 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.org/license/LICENSE. + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE + * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + * POSSIBILITY OF SUCH DAMAGE. */ #include <rtems/asm.h> |