diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2004-01-07 20:59:03 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2004-01-07 20:59:03 +0000 |
commit | 9a529819186f7d091ff23ae5fb7963311c6646f6 (patch) | |
tree | 016a1867cf7bca7c38c017659ada57528cd50a22 /c/src/lib/libbsp/m68k/efi332/misc | |
parent | 2004-01-07 Joel Sherrill <joel@OARcorp.com> (diff) | |
download | rtems-9a529819186f7d091ff23ae5fb7963311c6646f6.tar.bz2 |
2004-01-07 Joel Sherrill <joel@OARcorp.com>
Per John S. Gwynne <jgwynne@mrcday.com>, there are no longer any
users of these boards so we are removing them.
* efi332/.cvsignore, efi332/ChangeLog, efi332/Makefile.am,
efi332/README, efi332/bsp_specs, efi332/configure.ac, efi332/times,
efi332/clock/.cvsignore, efi332/clock/Makefile.am,
efi332/clock/ckinit.c, efi332/console/.cvsignore,
efi332/console/Makefile.am, efi332/console/console.c,
efi332/include/.cvsignore, efi332/include/bsp.h,
efi332/include/efi332.h, efi332/misc/dotests, efi332/misc/gdbinit68,
efi332/misc/interr.c, efi332/spurious/.cvsignore,
efi332/spurious/Makefile.am, efi332/spurious/spinit.c,
efi332/start/.cvsignore, efi332/start/Makefile.am,
efi332/start/except_vect_332_ROM.S, efi332/start/ram_init.ld,
efi332/start/ram_init.sed, efi332/start/start.c,
efi332/startup/.cvsignore, efi332/startup/Makefile.am,
efi332/startup/bspclean.c, efi332/startup/bspstart.c,
efi332/startup/linkcmds, efi332/startup/linkcmds_ROM,
efi332/timer/.cvsignore, efi332/timer/Makefile.am,
efi332/timer/timer.c, efi332/wrapup/.cvsignore,
efi332/wrapup/Makefile.am, efi68k/.cvsignore, efi68k/ChangeLog,
efi68k/Makefile.am, efi68k/README, efi68k/bsp_specs,
efi68k/configure.ac, efi68k/times, efi68k/clock/.cvsignore,
efi68k/clock/Makefile.am, efi68k/clock/ckinit.c,
efi68k/console/.cvsignore, efi68k/console/Makefile.am,
efi68k/console/console.c, efi68k/include/.cvsignore,
efi68k/include/16550.h, efi68k/include/DP8570A.h,
efi68k/include/bsp.h, efi68k/include/efi68k.h,
efi68k/spurious/.cvsignore, efi68k/spurious/Makefile.am,
efi68k/spurious/spinit.c, efi68k/start/.cvsignore,
efi68k/start/start.c, efi68k/startup/.cvsignore,
efi68k/startup/Makefile.am, efi68k/startup/bspclean.c,
efi68k/startup/bspstart.c, efi68k/startup/efi68k_tcp.c,
efi68k/startup/efi68k_wd.c, efi68k/startup/linkcmds,
efi68k/startup/m68k-stub.c, efi68k/startup/setvec.c,
efi68k/timer/.cvsignore, efi68k/timer/Makefile.am,
efi68k/timer/timer.c, efi68k/wrapup/.cvsignore,
efi68k/wrapup/Makefile.am: Removed.
Diffstat (limited to 'c/src/lib/libbsp/m68k/efi332/misc')
-rw-r--r-- | c/src/lib/libbsp/m68k/efi332/misc/dotests | 15 | ||||
-rw-r--r-- | c/src/lib/libbsp/m68k/efi332/misc/gdbinit68 | 16 | ||||
-rw-r--r-- | c/src/lib/libbsp/m68k/efi332/misc/interr.c | 99 |
3 files changed, 0 insertions, 130 deletions
diff --git a/c/src/lib/libbsp/m68k/efi332/misc/dotests b/c/src/lib/libbsp/m68k/efi332/misc/dotests deleted file mode 100644 index f701e01114..0000000000 --- a/c/src/lib/libbsp/m68k/efi332/misc/dotests +++ /dev/null @@ -1,15 +0,0 @@ -#! /bin/bash -# -# $Id$ -# - -mkdir MyTests -find -name MyTests -prune -or -name "*.nxe" -exec cp {} MyTests \; - -stty 1:0:80001cb2:0:3:1c:7f:15:4:5:1:0:11:13:1a:0:12:f:17:16:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0 </dev/ttyS1 -/bin/cp /dev/ttyS1 screen & -cpJob=$! - -( cd MyTests; for f in *nxe; do m68k-elf-gdb ${f} </dev/null; done ) - -kill -9 $cpJob diff --git a/c/src/lib/libbsp/m68k/efi332/misc/gdbinit68 b/c/src/lib/libbsp/m68k/efi332/misc/gdbinit68 deleted file mode 100644 index b929f5aa20..0000000000 --- a/c/src/lib/libbsp/m68k/efi332/misc/gdbinit68 +++ /dev/null @@ -1,16 +0,0 @@ -# -# $Id$ -# -echo Setting up the environment for efi332 debuging.\n - -target bdm /dev/pdbdm0 -bdm_setdelay 4 -bdm_autoreset on -set remotecache off -bdm_timetocomeup 0 -bdm_init -bdm_reset -set $sfc=5 -set $dfc=5 -r -q diff --git a/c/src/lib/libbsp/m68k/efi332/misc/interr.c b/c/src/lib/libbsp/m68k/efi332/misc/interr.c deleted file mode 100644 index 268a79023d..0000000000 --- a/c/src/lib/libbsp/m68k/efi332/misc/interr.c +++ /dev/null @@ -1,99 +0,0 @@ -/* - * Internal Error 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/system.h> -#include <rtems/score/interr.h> -#include <rtems/score/sysstate.h> -#include <rtems/score/userext.h> - -/*PAGE - * - * _Internal_error_Occurred - * - * This routine will invoke the fatal error handler supplied by the user - * followed by the the default one provided by the executive. The default - * error handler assumes no hardware is present to help inform the user - * of the problem. Halt stores the error code in a known register, - * disables interrupts, and halts the CPU. If the CPU does not have a - * halt instruction, it will loop to itself. - * - * Input parameters: - * the_source - what subsystem the error originated in - * is_internal - if the error was internally generated - * the_error - fatal error status code - * - * Output parameters: - * As much information as possible is stored in a CPU dependent fashion. - * See the CPU dependent code for more information. - * - * NOTE: The the_error is not necessarily a directive status code. - */ - -/* - * Ugly hack.... _CPU_Fatal_halt() disonnects the bdm. Without this - * change, the_error is only known only to the cpu :). - * - * From "bsp.h" which is not yet available in the arch tree during - * this phase of install. jsg - */ -void outbyte(char); -void bsp_cleanup( void ); - -#define RAW_PUTS(str) \ - { register char *ptr = str; \ - while (*ptr) outbyte(*ptr++); \ - } - -#define RAW_PUTI(n) { \ - register int i, j; \ - \ - RAW_PUTS("0x"); \ - for (i=28;i>=0;i -= 4) { \ - j = (n>>i) & 0xf; \ - outbyte( (j>9 ? j-10+'a' : j+'0') ); \ - } \ - } - -void volatile _Internal_error_Occurred( - Internal_errors_Source the_source, - boolean is_internal, - unsigned32 the_error -) -{ - - Internal_errors_What_happened.the_source = the_source; - Internal_errors_What_happened.is_internal = is_internal; - Internal_errors_What_happened.the_error = the_error; - - _User_extensions_Fatal( the_source, is_internal, the_error ); - - _System_state_Set( SYSTEM_STATE_FAILED ); - - /* try to print error message to outbyte */ - RAW_PUTS("\r\nRTEMS: A fatal error has occured.\r\n"); - RAW_PUTS("RTEMS: fatal error "); - RAW_PUTI( the_error ); - RAW_PUTS(" ("); - outbyte( (char)((the_error>>24) & 0xff) ); - outbyte( (char)((the_error>>16) & 0xff) ); - outbyte( (char)((the_error>>8) & 0xff) ); - outbyte( (char)(the_error & 0xff) ); - RAW_PUTS(").\r\n"); - - /* configure peripherals for a safe exit */ - bsp_cleanup(); - - _CPU_Fatal_halt( the_error ); - - /* will not return from this routine */ -} |