summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/m68k/efi332/startup
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2004-01-07 20:59:03 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2004-01-07 20:59:03 +0000
commit9a529819186f7d091ff23ae5fb7963311c6646f6 (patch)
tree016a1867cf7bca7c38c017659ada57528cd50a22 /c/src/lib/libbsp/m68k/efi332/startup
parent2004-01-07 Joel Sherrill <joel@OARcorp.com> (diff)
downloadrtems-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/startup')
-rw-r--r--c/src/lib/libbsp/m68k/efi332/startup/.cvsignore2
-rw-r--r--c/src/lib/libbsp/m68k/efi332/startup/Makefile.am45
-rw-r--r--c/src/lib/libbsp/m68k/efi332/startup/bspclean.c27
-rw-r--r--c/src/lib/libbsp/m68k/efi332/startup/bspstart.c84
-rw-r--r--c/src/lib/libbsp/m68k/efi332/startup/linkcmds206
-rw-r--r--c/src/lib/libbsp/m68k/efi332/startup/linkcmds_ROM216
6 files changed, 0 insertions, 580 deletions
diff --git a/c/src/lib/libbsp/m68k/efi332/startup/.cvsignore b/c/src/lib/libbsp/m68k/efi332/startup/.cvsignore
deleted file mode 100644
index 282522db03..0000000000
--- a/c/src/lib/libbsp/m68k/efi332/startup/.cvsignore
+++ /dev/null
@@ -1,2 +0,0 @@
-Makefile
-Makefile.in
diff --git a/c/src/lib/libbsp/m68k/efi332/startup/Makefile.am b/c/src/lib/libbsp/m68k/efi332/startup/Makefile.am
deleted file mode 100644
index 9452c9ade9..0000000000
--- a/c/src/lib/libbsp/m68k/efi332/startup/Makefile.am
+++ /dev/null
@@ -1,45 +0,0 @@
-##
-## $Id$
-##
-
-VPATH = @srcdir@:@srcdir@/../../shared:@srcdir@/../../../shared
-
-PGM = $(ARCH)/startup.rel
-
-C_FILES = bsplibc.c bsppost.c bspstart.c bspclean.c bootcard.c \
- m68kpretaskinghook.c main.c sbrk.c setvec.c gnatinstallhandler.c
-C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT))
-
-OBJS = $(C_O_FILES)
-
-include $(top_srcdir)/../../../../automake/compile.am
-include $(top_srcdir)/../../../../automake/lib.am
-
-#
-# (OPTIONAL) Add local stuff here using +=
-#
-
-$(PGM): $(OBJS)
- $(make-rel)
-
-project_lib_DATA = linkcmds linkcmds_ROM
-
-# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
-
-all-local: $(PGM) $(TMPINSTALL_FILES)
-
-EXTRA_DIST = bspclean.c bspstart.c linkcmds linkcmds_ROM
-
-$(PROJECT_LIB)/$(dirstamp):
- @$(mkdir_p) $(PROJECT_LIB)
- @: > $(PROJECT_LIB)/$(dirstamp)
-
-$(PROJECT_LIB)/linkcmds: linkcmds $(PROJECT_LIB)/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_LIB)/linkcmds
-TMPINSTALL_FILES += $(PROJECT_LIB)/linkcmds
-
-$(PROJECT_LIB)/linkcmds_ROM: linkcmds_ROM $(PROJECT_LIB)/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_LIB)/linkcmds_ROM
-TMPINSTALL_FILES += $(PROJECT_LIB)/linkcmds_ROM
-
-include $(top_srcdir)/../../../../automake/local.am
diff --git a/c/src/lib/libbsp/m68k/efi332/startup/bspclean.c b/c/src/lib/libbsp/m68k/efi332/startup/bspclean.c
deleted file mode 100644
index 80caa3afe8..0000000000
--- a/c/src/lib/libbsp/m68k/efi332/startup/bspclean.c
+++ /dev/null
@@ -1,27 +0,0 @@
-/* bsp_cleanup()
- *
- * This routine cleans up in the sense that it places the board
- * in a safe state and flushes the I/O buffers before exiting.
- *
- * INPUT: NONE
- *
- * OUTPUT: NONE
- *
- * 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 <bsp.h>
-
-void bsp_cleanup(void)
-{
- /* interrupt driven stdio must be flushed */
- _CPU_ISR_Set_level( 7 );
- _UART_flush();
-}
diff --git a/c/src/lib/libbsp/m68k/efi332/startup/bspstart.c b/c/src/lib/libbsp/m68k/efi332/startup/bspstart.c
deleted file mode 100644
index 40f3998924..0000000000
--- a/c/src/lib/libbsp/m68k/efi332/startup/bspstart.c
+++ /dev/null
@@ -1,84 +0,0 @@
-/*
- * This routine starts the application. It includes application,
- * board, and monitor specific initialization and configuration.
- * The generic CPU dependent initialization has been performed
- * before this routine is invoked.
- *
- * 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 <string.h>
-
-#include <bsp.h>
-#include <rtems/libio.h>
-#include <rtems/libcsupport.h>
-
-/*
- * The original table from the application and our copy of it with
- * some changes.
- */
-
-extern rtems_configuration_table Configuration;
-rtems_configuration_table BSP_Configuration;
-
-rtems_cpu_table Cpu_table;
-
-char *rtems_progname;
-
-/*
- * Use the shared implementations of the following routines
- */
-
-void bsp_postdriver_hook(void);
-void bsp_libc_init( void *, unsigned32, int );
-void bsp_pretasking_hook(void); /* m68k version */
-
-/*
- * Call Spurious_Initialize in bsp_predriver_hook because
- * bsp_predriver_hook is call after the _ISR_Vector_Table allocation
- */
-
-void bsp_predriver_hook(void)
-{
- void Spurious_Initialize();
- Spurious_Initialize();
-}
-
-/*
- * bsp_start
- *
- * This routine does the bulk of the system initialization.
- */
-
-void bsp_start( void )
-{
- void *vbr;
- extern void *_WorkspaceBase;
- extern void *_RamSize;
- extern unsigned long _M68k_Ramsize;
-
- _M68k_Ramsize = (unsigned long)&_RamSize; /* RAM size set in linker script */
-
- /*
- * we only use a hook to get the C library initialized.
- */
-
- Cpu_table.pretasking_hook = bsp_pretasking_hook;
- Cpu_table.predriver_hook = bsp_predriver_hook;
- Cpu_table.postdriver_hook = bsp_postdriver_hook;
-
- m68k_get_vbr( vbr );
- Cpu_table.interrupt_vector_table = vbr;
-
- BSP_Configuration.work_space_start = (void *) &_WorkspaceBase;
-
- /* Clock_exit is done as an atexit() function */
-}
-
diff --git a/c/src/lib/libbsp/m68k/efi332/startup/linkcmds b/c/src/lib/libbsp/m68k/efi332/startup/linkcmds
deleted file mode 100644
index 803c261d5e..0000000000
--- a/c/src/lib/libbsp/m68k/efi332/startup/linkcmds
+++ /dev/null
@@ -1,206 +0,0 @@
-/* linkcmds
- *
- * $Id$
- */
-
-OUTPUT_ARCH(m68k)
-__DYNAMIC = 0;
-
-/*
- * The memory map looks like this:
- * +--------------------+ <- low memory
- * | _RamBase |
- * | .text |
- * | etext |
- * | ctor list | the ctor and dtor lists are for
- * | dtor list | C++ support
- * | _endtext |
- * +--------------------+
- * | .data | initialized data goes here
- * | _sdata |
- * | _edata |
- * +--------------------+
- * | .bss |
- * | _clear_start| start of bss, cleared by crt0
- * | _end | start of heap, used by sbrk()
- * +--------------------+
- * | _WorkspaceBase
- * | work space |
- * | heapStart |
- * | heap space |
- * | _RamEnd | top of stack
- * +--------------------+ <- high memory
- */
-
-/*
- * Declare some sizes.
- */
-_RamBase = DEFINED(_RamBase) ? _RamBase : 0x80000;
-_RamSize = DEFINED(_RamSize) ? _RamSize : 0x80000;
-_RamEnd = _RamBase + _RamSize;
-_HeapSize = DEFINED(_HeapSize) ? _HeapSize : 0x10000;
-_StackSize = DEFINED(_StackSize) ? _StackSize : 0x1000;
-
-MEMORY
-{
- ram : ORIGIN = 0x80000, LENGTH = 512K
-}
-
-_copy_data_from_rom = 0;
-
-/*
- * stick everything in ram (of course)
- */
-SECTIONS
-{
- ram : {
- . = .;
- } >ram
-
- /*
- * Text, data and bss segments
- */
- .text : {
- *(.text)
-
- /*
- * C++ constructors/destructors
- */
- *(.gnu.linkonce.t.*)
-
- /*
- * Initialization and finalization code.
- *
- * Various files can provide initialization and finalization
- * functions. crtbegin.o and crtend.o are two instances. The
- * body of these functions are in .init and .fini sections. We
- * accumulate the bodies here, and prepend function prologues
- * from crti.o and function epilogues from crtn.o. crti.o must
- * be linked first; crtn.o must be linked last. Because these
- * are wildcards, it doesn't matter if the user does not
- * actually link against crti.o and crtn.o; the linker won't
- * look for a file to match a wildcard. The wildcard also
- * means that it doesn't matter which directory crti.o and
- * crtn.o are in.
- */
- PROVIDE (_init = .);
- *crti.o(.init)
- *(.init)
- *crtn.o(.init)
- PROVIDE (_fini = .);
- *crti.o(.fini)
- *(.fini)
- *crtn.o(.fini)
-
- /*
- * Special FreeBSD sysctl sections.
- */
- . = ALIGN (16);
- __start_set_sysctl_set = .;
- *(set_sysctl_*);
- __stop_set_sysctl_set = ABSOLUTE(.);
- *(set_domain_*);
- *(set_pseudo_*);
-
- /*
- * C++ constructors/destructors
- *
- * gcc uses crtbegin.o to find the start of the constructors
- * and destructors so we make sure it is first. Because this
- * is a wildcard, it doesn't matter if the user does not
- * actually link against crtbegin.o; the linker won't look for
- * a file to match a wildcard. The wildcard also means that
- * it doesn't matter which directory crtbegin.o is in. The
- * constructor and destructor list are terminated in
- * crtend.o. The same comments apply to it.
- */
- . = ALIGN (16);
- *crtbegin.o(.ctors)
- *(.ctors)
- *crtend.o(.ctors)
- *crtbegin.o(.dtors)
- *(.dtors)
- *crtend.o(.dtors)
-
- /*
- * Exception frame info
- */
- . = ALIGN (16);
- *(.eh_frame)
-
- /*
- * Read-only data
- */
- . = ALIGN (16);
- _rodata_start = . ;
- *(.rodata*)
- *(.gnu.linkonce.r*)
-
- . = ALIGN (16);
- PROVIDE (_etext = .);
- } >ram
- .data : {
- PROVIDE (_copy_start = .);
- *(.data)
- *(.gnu.linkonce.d*)
- *(.gcc_except_table)
- *(.jcr)
- . = ALIGN (16);
- PROVIDE (_edata = .);
- PROVIDE (_copy_end = .);
- } >ram
- .bss : {
- _clear_start = .;
- *(.bss)
- *(COMMON)
- . = ALIGN (16);
- PROVIDE (end = .);
-
- . += _StackSize;
- . = ALIGN (16);
- _stack_init = .;
- _clear_end = .;
-
- _WorkspaceBase = .;
- } >ram
-
- /* Stabs debugging sections. */
- .stab 0 : { *(.stab) }
- .stabstr 0 : { *(.stabstr) }
- .stab.excl 0 : { *(.stab.excl) }
- .stab.exclstr 0 : { *(.stab.exclstr) }
- .stab.index 0 : { *(.stab.index) }
- .stab.indexstr 0 : { *(.stab.indexstr) }
- .comment 0 : { *(.comment) }
-
- /* DWARF debug sections.
- Symbols in the DWARF debugging sections are relative to the beginning
- of the section so we begin them at 0. */
- /* DWARF 1 */
- .debug 0 : { *(.debug) }
- .line 0 : { *(.line) }
-
- /* GNU DWARF 1 extensions */
- .debug_srcinfo 0 : { *(.debug_srcinfo) }
- .debug_sfnames 0 : { *(.debug_sfnames) }
-
- /* DWARF 1.1 and DWARF 2 */
- .debug_aranges 0 : { *(.debug_aranges) }
- .debug_pubnames 0 : { *(.debug_pubnames) }
-
- /* DWARF 2 */
- .debug_info 0 : { *(.debug_info) }
- .debug_abbrev 0 : { *(.debug_abbrev) }
- .debug_line 0 : { *(.debug_line) }
- .debug_frame 0 : { *(.debug_frame) }
- .debug_str 0 : { *(.debug_str) }
- .debug_loc 0 : { *(.debug_loc) }
- .debug_macinfo 0 : { *(.debug_macinfo) }
-
- /* SGI/MIPS DWARF 2 extensions */
- .debug_weaknames 0 : { *(.debug_weaknames) }
- .debug_funcnames 0 : { *(.debug_funcnames) }
- .debug_typenames 0 : { *(.debug_typenames) }
- .debug_varnames 0 : { *(.debug_varnames) }
- /* These must appear regardless of . */
-}
diff --git a/c/src/lib/libbsp/m68k/efi332/startup/linkcmds_ROM b/c/src/lib/libbsp/m68k/efi332/startup/linkcmds_ROM
deleted file mode 100644
index fe8b9d9537..0000000000
--- a/c/src/lib/libbsp/m68k/efi332/startup/linkcmds_ROM
+++ /dev/null
@@ -1,216 +0,0 @@
-/* linkcmds
- *
- * $Id$
- */
-
-OUTPUT_ARCH(m68k)
-STARTUP(except_vect_332_ROM.o)
-__DYNAMIC = 0;
-
-/*
- * The memory map looks like this:
- * ROM:
- * +--------------------+ <- low memory
- * | .text |
- * | etext |
- * | ctor list | the ctor and dtor lists are for
- * | dtor list | C++ support
- * | _endtext |
- * | temporary .data | .data is moved to RAM by crt0
- * | |
- * +--------------------+ <- high memory
- *
- *
- * RAM:
- * +--------------------+ <- low memory
- * | _RamBase |
- * | .data | initialized data goes here
- * | _sdata |
- * | _edata |
- * +--------------------+
- * | .bss |
- * | _clear_start| start of bss, cleared by crt0
- * | _end | start of heap, used by sbrk()
- * +--------------------+
- * | _WorkspaceBase
- * | work space |
- * | heapStart |
- * | heap space |
- * | _RamEnd | top of stack
- * +--------------------+ <- high memory
- */
-
-/*
- * Declare some sizes.
- */
-_RamBase = DEFINED(_RamBase) ? _RamBase : 0x80000;
-_RamSize = DEFINED(_RamSize) ? _RamSize : 0x40000;
-_RamEnd = _RamBase + _RamSize;
-_HeapSize = DEFINED(_HeapSize) ? _HeapSize : 0x10000;
-_StackSize = DEFINED(_StackSize) ? _StackSize : 0x1000;
-
-MEMORY
-{
- rom : ORIGIN = 0x00000, LENGTH = 256K
- ram : ORIGIN = 0x80000, LENGTH = 256K
-}
-
-_copy_data_from_rom = 1;
-
-/*
- *
- */
-SECTIONS
-{
- ram : {
- . = .;
- } >ram
-
- /*
- * Text, data and bss segments
- */
- .text : {
- *(.text)
-
- /*
- * C++ constructors/destructors
- */
- *(.gnu.linkonce.t.*)
-
- /*
- * Initialization and finalization code.
- *
- * Various files can provide initialization and finalization
- * functions. crtbegin.o and crtend.o are two instances. The
- * body of these functions are in .init and .fini sections. We
- * accumulate the bodies here, and prepend function prologues
- * from crti.o and function epilogues from crtn.o. crti.o must
- * be linked first; crtn.o must be linked last. Because these
- * are wildcards, it doesn't matter if the user does not
- * actually link against crti.o and crtn.o; the linker won't
- * look for a file to match a wildcard. The wildcard also
- * means that it doesn't matter which directory crti.o and
- * crtn.o are in.
- */
- PROVIDE (_init = .);
- *crti.o(.init)
- *(.init)
- *crtn.o(.init)
- PROVIDE (_fini = .);
- *crti.o(.fini)
- *(.fini)
- *crtn.o(.fini)
-
- /*
- * Special FreeBSD sysctl sections.
- */
- . = ALIGN (16);
- __start_set_sysctl_set = .;
- *(set_sysctl_*);
- __stop_set_sysctl_set = ABSOLUTE(.);
- *(set_domain_*);
- *(set_pseudo_*);
-
- /*
- * C++ constructors/destructors
- *
- * gcc uses crtbegin.o to find the start of the constructors
- * and destructors so we make sure it is first. Because this
- * is a wildcard, it doesn't matter if the user does not
- * actually link against crtbegin.o; the linker won't look for
- * a file to match a wildcard. The wildcard also means that
- * it doesn't matter which directory crtbegin.o is in. The
- * constructor and destructor list are terminated in
- * crtend.o. The same comments apply to it.
- */
- . = ALIGN (16);
- *crtbegin.o(.ctors)
- *(.ctors)
- *crtend.o(.ctors)
- *crtbegin.o(.dtors)
- *(.dtors)
- *crtend.o(.dtors)
-
- /*
- * Exception frame info
- */
- . = ALIGN (16);
- *(.eh_frame)
-
- /*
- * Read-only data
- */
- . = ALIGN (16);
- _rodata_start = . ;
- *(.rodata)
- *(.gnu.linkonce.r*)
-
- . = ALIGN (16);
- PROVIDE (_etext = .);
- } >rom
- .data :
- AT ( ADDR(.text) + SIZEOF( .text ) )
- {
- PROVIDE (_copy_start = .);
- *(.data)
- *(.gnu.linkonce.d*)
- *(.gcc_except_table)
- . = ALIGN (16);
- PROVIDE (_edata = .);
- PROVIDE (_copy_end = .);
- } >ram
- .bss : {
- _clear_start = .;
- *(.bss)
- *(COMMON)
- . = ALIGN (16);
- PROVIDE (end = .);
-
- . += _StackSize;
- . = ALIGN (16);
- _stack_init = .;
- _clear_end = .;
-
- _WorkspaceBase = .;
- } >ram
-
- /* Stabs debugging sections. */
- .stab 0 : { *(.stab) }
- .stabstr 0 : { *(.stabstr) }
- .stab.excl 0 : { *(.stab.excl) }
- .stab.exclstr 0 : { *(.stab.exclstr) }
- .stab.index 0 : { *(.stab.index) }
- .stab.indexstr 0 : { *(.stab.indexstr) }
- .comment 0 : { *(.comment) }
-
- /* DWARF debug sections.
- Symbols in the DWARF debugging sections are relative to the beginning
- of the section so we begin them at 0. */
- /* DWARF 1 */
- .debug 0 : { *(.debug) }
- .line 0 : { *(.line) }
-
- /* GNU DWARF 1 extensions */
- .debug_srcinfo 0 : { *(.debug_srcinfo) }
- .debug_sfnames 0 : { *(.debug_sfnames) }
-
- /* DWARF 1.1 and DWARF 2 */
- .debug_aranges 0 : { *(.debug_aranges) }
- .debug_pubnames 0 : { *(.debug_pubnames) }
-
- /* DWARF 2 */
- .debug_info 0 : { *(.debug_info) }
- .debug_abbrev 0 : { *(.debug_abbrev) }
- .debug_line 0 : { *(.debug_line) }
- .debug_frame 0 : { *(.debug_frame) }
- .debug_str 0 : { *(.debug_str) }
- .debug_loc 0 : { *(.debug_loc) }
- .debug_macinfo 0 : { *(.debug_macinfo) }
-
- /* SGI/MIPS DWARF 2 extensions */
- .debug_weaknames 0 : { *(.debug_weaknames) }
- .debug_funcnames 0 : { *(.debug_funcnames) }
- .debug_typenames 0 : { *(.debug_typenames) }
- .debug_varnames 0 : { *(.debug_varnames) }
- /* These must appear regardless of . */
-}