From 9c0385aaa91504d40e1625c7a34f681d68be4a27 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Fri, 19 Nov 1999 16:22:09 +0000 Subject: Renaming all BSP specific startXXX directories to use the same name (start). --- c/src/lib/libbsp/m68k/efi68k/start68k/Makefile.in | 60 ------------------- c/src/lib/libbsp/m68k/efi68k/start68k/start68k.c | 71 ----------------------- 2 files changed, 131 deletions(-) delete mode 100644 c/src/lib/libbsp/m68k/efi68k/start68k/Makefile.in delete mode 100644 c/src/lib/libbsp/m68k/efi68k/start68k/start68k.c (limited to 'c/src/lib/libbsp/m68k/efi68k') diff --git a/c/src/lib/libbsp/m68k/efi68k/start68k/Makefile.in b/c/src/lib/libbsp/m68k/efi68k/start68k/Makefile.in deleted file mode 100644 index 1233fa9b9a..0000000000 --- a/c/src/lib/libbsp/m68k/efi68k/start68k/Makefile.in +++ /dev/null @@ -1,60 +0,0 @@ -# -# $Id$ -# - -@SET_MAKE@ -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ -top_builddir = ../../.. -subdir = m68k/efi68k/start68k - -RTEMS_ROOT = @RTEMS_ROOT@ -PROJECT_ROOT = @PROJECT_ROOT@ - -VPATH = @srcdir@ - -PGM = ${ARCH}/start68k.o - -# C source names, if any, go here -- minus the .c -C_PIECES = start68k -C_FILES = $(C_PIECES:%=%.c) -C_O_FILES = $(C_PIECES:%=${ARCH}/%.o) - -H_FILES = - -SRCS = $(C_FILES) $(H_FILES) -OBJS = $(C_O_FILES) - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(RTEMS_ROOT)/make/leaf.cfg - -INSTALL_CHANGE = @INSTALL_CHANGE@ - -# -# (OPTIONAL) Add local stuff here using += -# - -DEFINES += -CPPFLAGS += -CFLAGS += - -LD_PATHS += -LD_LIBS += -LDFLAGS += - -# -# Add your list of files to delete here. The config files -# already know how to delete some stuff, so you may want -# to just run 'make clean' first to see what gets missed. -# 'make clobber' already includes 'make clean' -# - -CLEAN_ADDITIONS += -CLOBBER_ADDITIONS += - -all: ${ARCH} $(SRCS) $(OBJS) $(PGM) - $(INSTALL_VARIANT) -m 755 ${PGM} $(PROJECT_RELEASE)/lib - -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - cd $(top_builddir) \ - && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status diff --git a/c/src/lib/libbsp/m68k/efi68k/start68k/start68k.c b/c/src/lib/libbsp/m68k/efi68k/start68k/start68k.c deleted file mode 100644 index f63381c57f..0000000000 --- a/c/src/lib/libbsp/m68k/efi68k/start68k/start68k.c +++ /dev/null @@ -1,71 +0,0 @@ -/* - * $Id$ - */ - -#include -#define __START_C__ -#include "bsp.h" - -m68k_isr_entry M68Kvec[256]; -m68k_isr_entry vectors[256]; -char * const __argv[]= {"main", ""}; -char * const __env[]= {""}; - -/* - * This prototype really should have the noreturn attribute but - * that causes a warning since it appears that the routine does - * return. - * - * void dumby_start () __attribute__ ((noreturn)); - */ - -void dumby_start (); -void dumby_start() { -void boot_card(); - - /* We need to by-pass the link instruction since the RAM chip- - select pins are not yet configured. */ - asm volatile ( ".global start ; - start:"); - - /* disable interrupts, load stack pointer */ - asm volatile ( "oriw #0x0700, %sr; - movel #_end, %d0; - addl " STACK_SIZE ",%d0; - movel %d0,%sp; - link %a6, #0" - ); - /* - * Initialize RAM by copying the .data section out of ROM (if - * needed) and "zero-ing" the .bss section. - */ - { - register char *src = _endtext; - register char *dst = _sdata; - - if (_copy_data_from_rom) - /* ROM has data at end of text; copy it. */ - while (dst < _edata) - *dst++ = *src++; - - /* Zero bss */ - for (dst = __bss_start; dst< _end; dst++) - *dst = 0; - } - - /* - * Initalize the board. - */ - Spurious_Initialize(); - console_init(); - watch_dog_init(); - tcp_init(); - - /* - * Execute main with arguments argv and environment env - */ - /* main(1, __argv, __env); */ - boot_card(); - - reboot(); -} -- cgit v1.2.3