summaryrefslogtreecommitdiffstats
path: root/c
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2008-02-19 17:53:43 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2008-02-19 17:53:43 +0000
commit9c4a1e36532699bdf7ed4f62d9306b2d4504eaaf (patch)
treefa76515b1cbfcacbbca76daa0ffbc812fef74ffe /c
parentRemove (Abandonded). (diff)
downloadrtems-9c4a1e36532699bdf7ed4f62d9306b2d4504eaaf.tar.bz2
Remove (Abandoned).
Diffstat (limited to 'c')
-rw-r--r--c/src/lib/libbsp/powerpc/gen405/.cvsignore14
-rw-r--r--c/src/lib/libbsp/powerpc/gen405/ChangeLog447
-rw-r--r--c/src/lib/libbsp/powerpc/gen405/Makefile.am53
-rw-r--r--c/src/lib/libbsp/powerpc/gen405/README78
-rw-r--r--c/src/lib/libbsp/powerpc/gen405/bsp_specs13
-rw-r--r--c/src/lib/libbsp/powerpc/gen405/bsp_specs.dl23
-rw-r--r--c/src/lib/libbsp/powerpc/gen405/configure.ac39
-rw-r--r--c/src/lib/libbsp/powerpc/gen405/dlentry/dlentry.S149
-rw-r--r--c/src/lib/libbsp/powerpc/gen405/include/.cvsignore4
-rw-r--r--c/src/lib/libbsp/powerpc/gen405/include/bsp.h95
-rw-r--r--c/src/lib/libbsp/powerpc/gen405/include/coverhd.h133
-rw-r--r--c/src/lib/libbsp/powerpc/gen405/include/tm27.h32
-rw-r--r--c/src/lib/libbsp/powerpc/gen405/preinstall.am53
-rw-r--r--c/src/lib/libbsp/powerpc/gen405/startup/bspclean.c43
-rw-r--r--c/src/lib/libbsp/powerpc/gen405/startup/bspstart.c185
-rw-r--r--c/src/lib/libbsp/powerpc/gen405/startup/linkcmds205
-rw-r--r--c/src/lib/libbsp/powerpc/gen405/startup/linkcmds.dl154
-rw-r--r--c/src/lib/libbsp/powerpc/gen405/startup/setvec.c56
-rw-r--r--c/src/lib/libbsp/powerpc/gen405/times197
-rw-r--r--c/src/lib/libbsp/powerpc/helas403/.cvsignore14
-rw-r--r--c/src/lib/libbsp/powerpc/helas403/ChangeLog491
-rw-r--r--c/src/lib/libbsp/powerpc/helas403/Makefile.am59
-rw-r--r--c/src/lib/libbsp/powerpc/helas403/README105
-rw-r--r--c/src/lib/libbsp/powerpc/helas403/bsp_specs13
-rw-r--r--c/src/lib/libbsp/powerpc/helas403/bsp_specs.dl23
-rw-r--r--c/src/lib/libbsp/powerpc/helas403/configure.ac38
-rw-r--r--c/src/lib/libbsp/powerpc/helas403/dlentry/dlentry.S146
-rw-r--r--c/src/lib/libbsp/powerpc/helas403/flashentry/flashentry.S466
-rw-r--r--c/src/lib/libbsp/powerpc/helas403/include/.cvsignore4
-rw-r--r--c/src/lib/libbsp/powerpc/helas403/include/bsp.h92
-rw-r--r--c/src/lib/libbsp/powerpc/helas403/include/coverhd.h133
-rw-r--r--c/src/lib/libbsp/powerpc/helas403/include/tm27.h32
-rw-r--r--c/src/lib/libbsp/powerpc/helas403/preinstall.am57
-rw-r--r--c/src/lib/libbsp/powerpc/helas403/startup/bspclean.c43
-rw-r--r--c/src/lib/libbsp/powerpc/helas403/startup/bspstart.c175
-rw-r--r--c/src/lib/libbsp/powerpc/helas403/startup/linkcmds289
-rw-r--r--c/src/lib/libbsp/powerpc/helas403/startup/linkcmds.dl154
-rw-r--r--c/src/lib/libbsp/powerpc/helas403/startup/setvec.c56
-rw-r--r--c/src/lib/libbsp/powerpc/helas403/times197
39 files changed, 0 insertions, 4560 deletions
diff --git a/c/src/lib/libbsp/powerpc/gen405/.cvsignore b/c/src/lib/libbsp/powerpc/gen405/.cvsignore
deleted file mode 100644
index bfdfd995be..0000000000
--- a/c/src/lib/libbsp/powerpc/gen405/.cvsignore
+++ /dev/null
@@ -1,14 +0,0 @@
-aclocal.m4
-autom4te*.cache
-config.cache
-config.guess
-config.log
-config.status
-config.sub
-configure
-depcomp
-install-sh
-Makefile
-Makefile.in
-missing
-mkinstalldirs
diff --git a/c/src/lib/libbsp/powerpc/gen405/ChangeLog b/c/src/lib/libbsp/powerpc/gen405/ChangeLog
deleted file mode 100644
index efb5e7f0bd..0000000000
--- a/c/src/lib/libbsp/powerpc/gen405/ChangeLog
+++ /dev/null
@@ -1,447 +0,0 @@
-2007-12-11 Joel Sherrill <joel.sherrill@OARcorp.com>
-
- * README, include/bsp.h, startup/bspstart.c: Eliminate copies of the
- Configuration Table. Use the RTEMS provided accessor macros to obtain
- configuration fields.
-
-2007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com>
-
- * include/bsp.h, startup/bspstart.c: Move interrupt_stack_size field
- from CPU Table to Configuration Table. Eliminate CPU Table from all
- ports. Delete references to CPU Table in all forms.
-
-2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
-
- * startup/bspstart.c: Moved most of the remaining CPU Table fields to
- the Configuration Table. This included pretasking_hook,
- predriver_hook, postdriver_hook, idle_task, do_zero_of_workspace,
- extra_mpci_receive_server_stack, stack_allocate_hook, and
- stack_free_hook. As a side-effect of this effort some multiprocessing
- code was made conditional and some style clean up occurred.
-
-2007-11-30 Till Straumann <strauman@slac.stanford.edu>
-
- * startup/bspstart.c: removed bsp_exceptions_in_RAM
-
-2007-11-28 Joel Sherrill <joel.sherrill@OARcorp.com>
-
- * startup/bspstart.c: Eliminate PowerPC specific elements from the CPU
- Table. They have been replaced with variables named bsp_XXX as
- needed.
-
-2007-04-12 Ralf Corsépius <ralf.corsepius@rtems.org>
-
- * bsp_specs: Remove qrtems_debug.
-
-2007-04-02 Joel Sherrill <joel@OARcorp.com>
-
- * Makefile.am: Add dummy printk support so all tests link.
-
-2006-12-02 Ralf Corsépius <ralf.corsepius@rtems.org>
-
- * configure.ac: New BUG-REPORT address.
-
-2006-11-15 Joel Sherrill <joel@OARcorp.com>
-
- * Makefile.am: Merge c_rtems_main() into boot_card(). This eliminated a
- file and simplified initialization.
-
-2006-10-17 Ralf Corsépius <ralf.corsepius@rtems.org>
-
- * configure.ac: Require autoconf-2.60. Require automake-1.10.
-
-2006-08-23 Joel Sherrill <joel@OARcorp.com>
-
- * startup/bspstart.c: Revert patch adding new exception support code to
- an old exception BSP.
-
-2006-08-22 Joel Sherrill <joel@OARcorp.com>
-
- * startup/bspstart.c: Add basic _BSP_Fatal_error.
-
-2006-08-09 Joel Sherrill <joel@OARcorp.com>
-
- * startup/linkcmds: Clean up a bit after adding missing .rela sections.
-
-2006-03-08 Joel Sherrill <joel@OARcorp.com>
-
- * startup/linkcmds, startup/linkcmds.dl: Add .gnu.linkonce.b.* section.
-
-2006-02-08 Joel Sherrill <joel@OARcorp.com>
-
- * startup/linkcmds.dl: Add sections required by newer gcc versions.
-
-2006-02-07 Joel Sherrill <joel@OARcorp.com>
-
- * startup/linkcmds: Add sections to fix C++ linking errors.
-
-2006-01-11 Ralf Corsepius <ralf.corsepius@rtems.org>
-
- * configure.ac: Remove explicit ampolish3 support (now in
- RTEMS_BSP_CONFIGURE).
-
-2006-01-10 Ralf Corsepius <ralf.corsepius@rtems.org>
-
- * configure.ac: Add ampolish3 support.
- * Makefile.am: Add preinstall.am.
-
-2006-01-09 Ralf Corsepius <ralf.corsepius@rtems.org>
-
- * Makefile.am: Don't include subdirs.am.
-
-2005-05-26 Ralf Corsepius <ralf.corsepius@rtems.org>
-
- * include/bsp.h: New header guard.
-
-2005-02-16 Ralf Corsepius <ralf.corsepius@rtems.org>
-
- * configure.ac: Remove argument from RTEMS_PPC_EXCEPTIONS.
-
-2005-02-11 Ralf Corsepius <ralf.corsepius@rtems.org>
-
- * Makefile.am: Merge-in wrapup/Makefile.am.
- * wrapup/Makefile.am: Remove.
- * configure.ac: Reflect changes above.
-
-2005-02-10 Ralf Corsepius <ralf.corsepius@rtems.org>
-
- * dlentry/dlentry.S: Remove PPC_ABI_POWEROPEN.
-
-2005-01-07 Ralf Corsepius <ralf.corsepius@rtems.org>
-
- * Makefile.am: Eliminate CFLAGS_OPTIMIZE_V.
-
-2005-01-02 Ralf Corsepius <ralf.corsepius@rtems.org>
-
- * Makefile.am, wrapup/Makefile.am: Remove build-variant support.
-
-2004-10-15 Gene Smith <gene.smith@seimens.com>
-
- PR 691/bsps
- * startup/linkcmds: Correct bug in linker script.
-
-2004-09-24 Ralf Corsepius <ralf_corsepius@rtems.org>
-
- * configure.ac: Require automake > 1.9.
-
-2004-04-23 Ralf Corsepius <ralf_corsepius@rtems.org>
-
- PR 610/bsps
- * Makefile.am: Add include/tm27.h, Cosmetics.
- * include/tm27.h: Final cosmetics.
-
-2004-04-22 Ralf Corsepius <ralf_corsepius@rtems.org>
-
- * include/bsp.h: Split out tmtest27 support.
- * include/tm27.h: New.
-
-2004-04-21 Ralf Corsepius <ralf_corsepius@rtems.org>
-
- PR 613/bsps
- * include/bsp.h: Remove MAX_LONG_TEST_DURATION.
-
-2004-04-21 Ralf Corsepius <ralf_corsepius@rtems.org>
-
- PR 614/bsps
- * include/bsp.h: Remove MAX_SHORT_TEST_DURATION (Unused).
-
-2004-04-02 Ralf Corsepius <ralf_corsepius@rtems.org>
-
- * dlentry/dlentry.S: Include <rtems/asm.h> instead of <asm.h>.
-
-2004-04-01 Ralf Corsepius <ralf_corsepius@rtems.org>
-
- * include/bsp.h: Include <rtems/clockdrv.h> instead of <clockdrv.h>.
- * include/bsp.h: Include <rtems/console.h> instead of <console.h>.
- * include/bsp.h: Include <rtems/iosupp.h> instead of <iosupp.h>.
-
-2004-03-31 Ralf Corsepius <ralf_corsepius@rtems.org>
-
- * startup/bspstart.c: Convert to using c99 fixed size types.
-
-2004-02-19 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
-
- * Makefile.am: Reflect changes to bsp.am.
- Preinstall dist_project_lib*.
-
-2004-02-14 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
-
- * Makefile.am: Reflect changes to bsp.am.
-
-2004-02-06 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
-
- * wrapup/Makefile.am: Convert to automake-building rules.
-
-2004-01-30 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
-
- * Makefile.am: Merge-in dlentry/Makefile.am, startup/Makefile.am. Use
- automake compilation rules.
- * dlentry/Makefile.am, startup/Makefile.am: Remove.
- * configure.ac: Reflect changes above.
- * wrapup/Makefile.am: Reflect changes above.
-
-2004-01-30 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
-
- * wrapup/Makefile.am: Reflect changes to
- ../support/*exception_processing/*.
-
-2004-01-28 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
-
- * configure.ac: Add nostdinc to AUTOMAKE_OPTIONS.
- Add RTEMS_PROG_CCAS.
-
-2004-01-21 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
-
- * Makefile.am: Add PREINSTALL_DIRS.
- * wrapup/Makefile.am: Reflect changes to libcpu.
-
-2004-01-14 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
-
- * Makefile.am: Re-add dirstamps to PRE/TMPINSTALL_FILES.
- Add PRE/TMPINSTALL_FILES to CLEANFILES.
- * startup/Makefile.am: Ditto.
-
-2004-01-05 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
-
- * wrapup/Makefile.am: Eliminate $(LIB).
- Use noinst_DATA to trigger building libbsp.a.
-
-2003-12-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
-
- * dlentry/Makefile.am: Eliminate VPATH.
- * startup/Makefile.am: Eliminate VPATH.
-
-2003-12-16 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
-
- PR 333/bsps
- * startup/linkcmds: Remove SEARCH_DIR.
-
-2003-12-15 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
-
- * startup/linkcmds: Remove SEARCH_DIR.
- * startup/linkcmds.dl: Remove SEARCH_DIR.
-
-2003-12-13 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
-
- * startup/Makefile.am: s,${PROJECT_RELEASE}/lib,$(PROJECT_LIB),g.
-
-2003-12-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
-
- * startup/Makefile.am: Use mkdir_p. Remove dirs from PRE/TMPINSTALL_FILES.
-
-2003-12-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
-
- * configure.ac: Require automake >= 1.8, autoconf >= 2.59.
-
-2003-12-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
-
- * startup/Makefile.am: Misc cleanups and fixes.
- * startup/linkcmds: Preparations to gcc-3.3.x.
- * wrapup/Makefile.am: Misc cleanups and fixes.
-
-2003-12-03 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
-
- * Makefile.am: Add preinstallation dirstamp support.
- * dlentry/Makefile.am: Cosmetics.
- * startup/Makefile.am: Cosmetics.
- * wrapup/Makefile.am: Cosmetics.
-
-2003-12-02 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
-
- * dlentry/Makefile.am: Remove all-local: $(ARCH).
- * startup/Makefile.am: Remove all-local: $(ARCH).
- * wrapup/Makefile.am: Remove all-local: $(ARCH).
-
-2003-09-29 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
-
- * Makefile.am: Merge-in include/Makefile.am.
- Reflect changes to bsp.am.
- * include/Makefile.am: Remove.
- * configure.ac: Reflect changes above.
-
-2003-09-19 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
-
- * bsp_specs: Remove *lib:.
-
-2003-09-04 Joel Sherrill <joel@OARcorp.com>
-
- * include/bsp.h, include/coverhd.h, startup/bspclean.c,
- startup/setvec.c: URL for license changed.
-
-2003-09-04 Joel Sherrill <joel@OARcorp.com>
-
- * startup/bspstart.c: Removed incorrect statement about copyright
- assignment.
-
-2003-08-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
-
- * Makefile.am: Reflect having moved aclocal/.
-
-2003-08-16 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
-
- * Makefile.am: Reflect having moved automake/.
- * dlentry/Makefile.am: Reflect having moved automake/.
- * include/Makefile.am: Reflect having moved automake/.
- * startup/Makefile.am: Reflect having moved automake/.
- * wrapup/Makefile.am: Reflect having moved automake/.
-
-2003-08-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
-
- * configure.ac: Use rtems-bugs@rtems.com as bug report email address.
-
-2003-08-06 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
-
- PR 445/bsps
- * bsp_specs: Remove -D__embedded__ -Asystem(embedded) from cpp.
- Remove cpp, old_cpp (now unused).
-
-2003-03-24 Joel Sherrill <joel@OARcorp.com>
-
- PR 378/bsps
- * bsp_specs: Did not include ecrtn in endfile sections. Reported
- and fixed by elkolli@crf.canon.fr.
-
-2003-03-06 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
-
- * configure.ac: Remove AC_CONFIG_AUX_DIR.
-
-2003-02-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
-
- * configure.ac: AM_INIT_AUTOMAKE([1.7.2]).
-
-2003-02-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
-
- * configure.ac: AC_PREREQ(2.57).
-
-2003-01-20 Joel Sherrill <joel@OARcorp.com>
-
- * startup/linkcmds*: Add FreeBSD sysctl() sections.
-
-2003-01-20 Joel Sherrill <joel@OARcorp.com>
-
- * startup/linkcmds.dl: Add FreeBSD sysctl() sections.
-
-2002-12-16 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
-
- * dlentry/Makefile.am: Don't include @RTEMS_BSP@.cfg.
- * startup/Makefile.am: Don't include @RTEMS_BSP@.cfg.
-
-2002-12-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
-
- * wrapup/Makefile.am: Don't include @RTEMS_BSP@.cfg.
-
-2002-10-21 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
-
- * .cvsignore: Reformat.
- Add autom4te*cache.
- Remove autom4te.cache.
-
-2002-08-21 Joel Sherrill <joel@OARcorp.com>
-
- * bsp_specs: Added support for -nostdlibs.
-
-2002-08-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
-
- * dlentry/Makefile.am: Use .$(OBJEXT) instead of .o.
- * startup/Makefile.am: Use .$(OBJEXT) instead of .o.
- * wrapup/Makefile.am: Use .$(OBJEXT) instead of .o.
-
-2002-08-09 Joel Sherrill <joel.sherrill@OARcorp.com>
-
- * dlentry/dlentry.S: Removed fake __eabi to avoid conflict with
- the real one provided by gcc. I don't know if this makes this
- BSP work for C++ but it at least lets simple programs link again.
-
-2002-07-20 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
-
- * startup/Makefile.am: Add bsplib_DATA = linkcmds.
-
-2002-07-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
-
- * wrapup/Makefile.am: Eliminate TMPINSTALL_FILES.
- Remove $(OBJS) from all-local.
-
-2002-06-29 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
-
- * wrapup/Makefile.am: Remove preinstallation of libbsp.a,
-
-2002-06-14 Joel Sherrill <joel@OARcorp.com>
-
- * startup/linkcmds: Fixed typo.
-2001-05-09 Joel Sherrill <joel@OARcorp.com>
-
- * startup/linkcmds: In support of gcc 3.1, added one of more
- of the sections .jcr, .rodata*, .data.*, .gnu.linkonce.s2.*,
- .gnu.linkonce.sb2.*, and .gnu.linkonce.s.*. Spacing corrections
- and direction of segments to memory regions may also have been
- addressed. This was a sweep across all BSPs.
-
-2001-04-08 Joel Sherrill <joel@OARcorp.com>
-
- * startup/linkcmds, startup/linkcmds.dl : Per PR170, PR171, and PR172
- add .eh_frame.
-
-2002-03-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
-
- * configure.ac:
- AC_INIT(package,_RTEMS_VERSION,_RTEMS_BUGS).
- AM_INIT_AUTOMAKE([no-define foreign 1.6]).
- * dlentry/Makefile.am: Remove AUTOMAKE_OPTIONS.
- * Makefile.am: Remove AUTOMAKE_OPTIONS.
- * include/Makefile.am: Remove AUTOMAKE_OPTIONS.
- * startup/Makefile.am: Remove AUTOMAKE_OPTIONS.
- * wrapup/Makefile.am: Remove AUTOMAKE_OPTIONS.
-
-2001-12-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
-
- * configure.ac: Remove RTEMS_ENABLE_NETWORKING.
-
-2001-11-30 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
-
- * configure.ac: Introduce RTEMS_BSP_CONFIGURE.
-
-2001-11-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
-
- * Makefile.am: Remove . from SUBDIRS, remove duplicate bsp_specs
- rules, add @exceptions@ to SUBDIRS.
- * configure.ac: Add RTEMS_BSPOPTS_*(PPC_USE_SPRG),
- RTEMS_BSPOPTS_*(PPC_VECTOR_FILE_BASE),
- RTEMS_PPC_EXCEPTIONS([old]), autoupdate to autoconf 2.52.
- * include/Makefile.am: Convert PREINSTALL_FILES to
- TMPINSTALL_FILES, include force-preinstall.am.
- * wrapup/Makefile.am: Apply @exceptions@.
-
-2001-11-20 Joel Sherrill <joel@OARcorp.com>
-
- * include/bspopts.h.in: Automatically generated file that should not
- be in CVS.
-
-2001-11-14 Joel Sherrill <joel@OARcorp.com>
-
- * startup/linkcmds: Fixed syntax error in my previous addition
- of __init.
-
-2001-11-13 Joel Sherrill <joel@OARcorp.com>
-
- * startup/linkcmds: Added _init, and _fini symbols.
-
-2001-11-13 Joel Sherrill <joel@OARcorp.com>
-
- * .cvsignore: New file.
-
-2001-11-08 Dennis Ehlin (ECS) <Dennis.Ehlin@ecs.ericsson.se>
-
- This modification is part of the submitted modifications necessary to
- support the IBM PPC405 family. This submission was reviewed by
- Thomas Doerfler <Thomas.Doerfler@imd-systems.de> who ensured it did
- not negatively impact the ppc403 BSPs. The submission and tracking
- process was captured as PR50.
- * ChangeLog, Makefile.am, README, bsp_specs, bsp_specs.dl, configure.ac,
- times, dlentry/.cvsignore, dlentry/Makefile.am, dlentry/dlentry.S,
- include/.cvsignore, include/Makefile.am, include/bsp.h,
- include/bspopts.h.in, include/coverhd.h, startup/.cvsignore,
- startup/Makefile.am, startup/bspclean.c, startup/bspstart.c,
- startup/linkcmds, startup/linkcmds.dl, startup/setvec.c,
- wrapup/.cvsignore, wrapup/Makefile.am: New files that are
- part of the new gen405 BSP.
-
diff --git a/c/src/lib/libbsp/powerpc/gen405/Makefile.am b/c/src/lib/libbsp/powerpc/gen405/Makefile.am
deleted file mode 100644
index 2500683196..0000000000
--- a/c/src/lib/libbsp/powerpc/gen405/Makefile.am
+++ /dev/null
@@ -1,53 +0,0 @@
-##
-## $Id$
-##
-
-ACLOCAL_AMFLAGS = -I ../../../../aclocal
-
-include $(top_srcdir)/../../../../automake/compile.am
-include $(top_srcdir)/../../bsp.am
-
-dist_project_lib_DATA = bsp_specs
-
-include_HEADERS = include/bsp.h
-include_HEADERS += include/tm27.h
-
-nodist_include_HEADERS = include/bspopts.h
-DISTCLEANFILES = include/bspopts.h
-
-noinst_PROGRAMS =
-
-include_HEADERS += include/coverhd.h
-
-dist_project_lib_DATA += startup/linkcmds startup/linkcmds.dl
-
-noinst_PROGRAMS += startup.rel
-startup_rel_SOURCES = startup/bspclean.c ../../shared/bsplibc.c \
- ../../shared/bsppost.c startup/bspstart.c ../../shared/bootcard.c \
- ../../shared/sbrk.c startup/setvec.c \
- ../../shared/gnatinstallhandler.c ../../shared/dummy_printk_support.c
-startup_rel_CPPFLAGS = $(AM_CPPFLAGS)
-startup_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
-
-noinst_PROGRAMS += dlentry.rel
-dlentry_rel_SOURCES = dlentry/dlentry.S
-dlentry_rel_CPPFLAGS = $(AM_CPPFLAGS)
-dlentry_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
-
-noinst_LIBRARIES = libbsp.a
-libbsp_a_SOURCES =
-
-libbsp_a_LIBADD = startup.rel dlentry.rel
-
-libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/@exceptions@/rtems-cpu.rel \
- ../../../libcpu/@RTEMS_CPU@/ppc403/clock.rel \
- ../../../libcpu/@RTEMS_CPU@/ppc403/timer.rel \
- ../../../libcpu/@RTEMS_CPU@/ppc403/console.rel \
- ../../../libcpu/@RTEMS_CPU@/ppc403/tty_drv.rel \
- ../../../libcpu/@RTEMS_CPU@/ppc403/vectors.rel \
- ../../../libcpu/@RTEMS_CPU@/ppc403/ictrl.rel
-
-EXTRA_DIST = times
-
-include $(srcdir)/preinstall.am
-include $(top_srcdir)/../../../../automake/local.am
diff --git a/c/src/lib/libbsp/powerpc/gen405/README b/c/src/lib/libbsp/powerpc/gen405/README
deleted file mode 100644
index 5002ed04dd..0000000000
--- a/c/src/lib/libbsp/powerpc/gen405/README
+++ /dev/null
@@ -1,78 +0,0 @@
-#
-# $Id$
-#
-
-BSP NAME: gen405
-BOARD: generic 405
-BUS: N/A
-CPU FAMILY: ppc
-CPU: PowerPC 405GP
-COPROCESSORS: N/A
-MODE: 32 bit mode
-
-DEBUG MONITOR:
-
-PERIPHERALS
-===========
-TIMERS: 405GP internal
-SERIAL PORTS: 405GP internal
-REAL-TIME CLOCK: 405GP internal
-DMA: 405GP internal
-VIDEO: none
-SCSI: none
-NETWORKING: none
-
-DRIVER INFORMATION
-==================
-CLOCK DRIVER: 405GP internal
-IOSUPP DRIVER: 405GP internal
-SHMSUPP: N/A
-TIMER DRIVER: 405GP internal
-TTY DRIVER: 405GP internal
-
-STDIO
-=====
-PORT: Console port 0
-ELECTRICAL: RS-232
-BAUD: 115200
-BITS PER CHARACTER: 8
-PARITY: None
-STOP BITS: 1
-
-Notes
-=====
-
-Board description
------------------
-clock rate:234 MHz
-ROM: 16 MByte FLASH
-RAM: 64 MByte DRAM
-
-gen405 only supports single processor operations.
-
-Porting
--------
-This board support package is written for a typical PPC405GP
-system. The rough features of this board are described above.
-
-
-For adapting this BSP to other boards, the following files should be
-modified:
-
-- c/src/lib/libbsp/powerpc/gen405/startup/linkcmds
- for the memory layout required
-
-- c/src/lib/libbsp/powerpc/gen405/startup/bspstart.c
- Here you can select the clock source for the timers and the
- serial interface (system clock or external clock pin), the clock
- rates, initial baud rate and other stuff
-
-- c/src/lib/libbsp/powerpc/gen405/include/bsp.h
- some BSP-related constants
-
-The actual drivers are placed in
-- c/src/lib/libcpu/powerpc/ppc403/*
- well, they should be generic, so there _should_ be no reason
- to mess around there (but who knows...)
-
-
diff --git a/c/src/lib/libbsp/powerpc/gen405/bsp_specs b/c/src/lib/libbsp/powerpc/gen405/bsp_specs
deleted file mode 100644
index 00695fb208..0000000000
--- a/c/src/lib/libbsp/powerpc/gen405/bsp_specs
+++ /dev/null
@@ -1,13 +0,0 @@
-%rename endfile old_endfile
-%rename startfile old_startfile
-%rename link old_link
-
-*startfile:
-%{!qrtems: %(old_startfile)} \
-%{!nostdlib: %{qrtems: ecrti%O%s}}
-
-*endfile:
-%{!qrtems: %(old_endfile)} %{qrtems: ecrtn%O%s}
-
-*link:
-%{!qrtems: %(old_link)} %{qrtems: -dc -dp -u __vectors -u download_entry -N }
diff --git a/c/src/lib/libbsp/powerpc/gen405/bsp_specs.dl b/c/src/lib/libbsp/powerpc/gen405/bsp_specs.dl
deleted file mode 100644
index 24804479a0..0000000000
--- a/c/src/lib/libbsp/powerpc/gen405/bsp_specs.dl
+++ /dev/null
@@ -1,23 +0,0 @@
-%rename cpp old_cpp
-%rename lib old_lib
-%rename endfile old_endfile
-%rename startfile old_startfile
-%rename link old_link
-
-*cpp:
-%(old_cpp) %{qrtems: -D__embedded__} -Asystem(embedded)
-
-*lib:
-%{!qrtems: %(old_lib)} %{qrtems: ecrti%O%s --start-group \
-%{!qrtems_debug: -lrtemsall} %{qrtems_debug: -lrtemsall_g} \
--lc -lgcc --end-group \
-%{!qnolinkcmds: -T linkcmds%s}}
-
-*startfile:
-%{!qrtems: %(old_startfile)} %{qrtems: \
-%{!qrtems_debug: } \
-%{qrtems_debug: }}
-
-*link:
-%{!qrtems: %(old_link)} %{qrtems: -dc -dp -u __vectors -u download_entry -N }
-
diff --git a/c/src/lib/libbsp/powerpc/gen405/configure.ac b/c/src/lib/libbsp/powerpc/gen405/configure.ac
deleted file mode 100644
index d404a0f61e..0000000000
--- a/c/src/lib/libbsp/powerpc/gen405/configure.ac
+++ /dev/null
@@ -1,39 +0,0 @@
-dnl Process this file with autoconf to produce a configure script.
-dnl
-dnl $Id$
-
-AC_PREREQ(2.60)
-AC_INIT([rtems-c-src-lib-libbsp-powerpc-gen405],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla])
-AC_CONFIG_SRCDIR([bsp_specs])
-RTEMS_TOP(../../../../../..)
-
-RTEMS_CANONICAL_TARGET_CPU
-AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.10])
-RTEMS_BSP_CONFIGURE
-
-RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm])
-RTEMS_CANONICALIZE_TOOLS
-RTEMS_PROG_CCAS
-
-RTEMS_CHECK_NETWORKING
-
-AM_CONDITIONAL(HAS_NETWORKING,test "$HAS_NETWORKING" = "yes")
-
-RTEMS_BSPOPTS_SET([PPC_USE_SPRG],[*],[1])
-RTEMS_BSPOPTS_HELP([PPC_USE_SPRG],
-[If defined, then the PowerPC specific code in RTEMS will use some
- of the special purpose registers to slightly optimize interrupt
- response time. The use of these registers can conflict with
- other tools like debuggers.])
-
-RTEMS_BSPOPTS_SET([PPC_VECTOR_FILE_BASE],[*],[0x0100])
-RTEMS_BSPOPTS_HELP([PPC_VECTOR_FILE_BASE],
-[This defines the base address of the exception table.
- NOTE: Vectors are actually at 0xFFF00000 but file starts at offset.])
-
-# Explicitly list all Makefiles here
-AC_CONFIG_FILES([Makefile])
-
-RTEMS_PPC_EXCEPTIONS
-
-AC_OUTPUT
diff --git a/c/src/lib/libbsp/powerpc/gen405/dlentry/dlentry.S b/c/src/lib/libbsp/powerpc/gen405/dlentry/dlentry.S
deleted file mode 100644
index 0d06a8fa8b..0000000000
--- a/c/src/lib/libbsp/powerpc/gen405/dlentry/dlentry.S
+++ /dev/null
@@ -1,149 +0,0 @@
-/* dlentry.s
- *
- * This file contains the entry code for RTEMS programs starting
- * after download to RAM
- *
- * Author: Thomas Doerfler <td@imd.m.isar.de>
- * IMD Ingenieurbuero fuer Microcomputertechnik
- *
- * COPYRIGHT (c) 1998 by IMD
- *
- * Changes from IMD are covered by the original distributions terms.
- * This file has been derived from the papyrus BSP:
- *
- * This file contains the entry veneer for RTEMS programs
- * downloaded to Papyrus.
- *
- * Author: Andrew Bray <andy@i-cubed.co.uk>
- *
- * COPYRIGHT (c) 1995 by i-cubed ltd.
- *
- * To anyone who acknowledges that this file is provided "AS IS"
- * without any express or implied warranty:
- * permission to use, copy, modify, and distribute this file
- * for any purpose is hereby granted without fee, provided that
- * the above copyright notice and this notice appears in all
- * copies, and that the name of i-cubed limited not be used in
- * advertising or publicity pertaining to distribution of the
- * software without specific, written prior permission.
- * i-cubed limited makes no representations about the suitability
- * of this software for any purpose.
- *
- * $Id$
- *
- * derived from "helas403/dlentry.S":
- * Id: dlentry.S,v 1.2 2000/08/02 16:30:57 joel Exp
- */
-
-#include <rtems/asm.h>
-
-/*
- * The gen405 ELF link scripts support three special sections:
- * .entry The actual entry point
- * .vectors The section containing the interrupt entry veneers.
- */
-
-/*
- * Downloaded code loads the vectors separately to 0x00000100,
- * so .entry can be over 256 bytes.
- *
- * The other sections are linked in the following order:
- * .entry
- * .text
- * .data
- * .bss
- * see linker command file for section placement
- *
- * The initial stack is set to stack.end
- *
- * All the entry veneer has to do is to clear the BSS.
- */
-
-/*
- * GDB likes to have debugging information for the entry veneer.
- * Here was some DWARF information. IMD removed it, because we
- * could not check, whether it was still correct. Sorry.
-
- */
-
-#if PPC_ASM == PPC_ASM_ELF
- .section .entry
-#else
- .csect .text[PR]
-#endif
-
- PUBLIC_VAR (download_entry)
-SYM(download_entry):
- bl .startup
-base_addr:
-
-/*---------------------------------------------------------------------------
- * Parameters from linker
- *--------------------------------------------------------------------------*/
-toc_pointer:
-#if PPC_ASM == PPC_ASM_ELF
- .long s.got
-#else
- .long TOC[tc0]
-#endif
-bss_length:
- .long bss.size
-bss_addr:
- .long bss.start
-stack_top:
- .long stack.end
-/*---------------------------------------------------------------------------
- * Reset_entry.
- *--------------------------------------------------------------------------*/
-.startup:
- /* Get start address, stack grows down from here... */
- mflr r1
-
- /* Assume Bank regs set up..., cache etc. */
- bl bssclr
-
- .extern SYM(__vectors)
-
- lis r2,__vectors@h /* set EVPR exc. vector prefix */
- mtspr evpr,r2
-
- /*-------------------------------------------------------------------
- * C_setup.
- *------------------------------------------------------------------*/
- lwz r2,toc_pointer-base_addr(r1) /* set r2 to toc */
- lwz r1,stack_top-base_addr(r1) /* set r1 to stack_top */
-
- addi r1,r1,-56-4 /* start stack at text_addr - 56 */
- addi r3,r0,0x0 /* clear r3 */
- stw r3, 0(r1) /* Clear stack chain */
- stw r3, 4(r1)
- stw r3, 8(r1)
- stw r3, 12(r1)
- lis r5,environ@ha
- la r5,environ@l(r5) /* environp */
- li r4, 0 /* argv */
- li r3, 0 /* argc */
- .extern SYM (boot_card)
- b SYM (boot_card) /* call the first C routine */
-
-/*---------------------------------------------------------------------------
- * bssclr.
- *--------------------------------------------------------------------------*/
-bssclr:
- /*-------------------------------------------------------------------
- * Data move finished, zero out bss.
- *------------------------------------------------------------------*/
- lwz r2,bss_addr-base_addr(r1) /* start of bss set by loader */
- lwz r3,bss_length-base_addr(r1) /* bss length */
- rlwinm. r3,r3,30,0x3FFFFFFF /* form length/4 */
- beqlr /* no bss */
- mtctr r3 /* set ctr reg */
- xor r6,r6,r6 /* r6 = 0 */
-clear_bss:
- stswi r6,r2,0x4 /* store r6 */
- addi r2,r2,0x4 /* update r2 */
- bdnz clear_bss /* decrement counter and loop */
- blr /* return */
-.L_text_e:
-
- .comm environ,4,4
diff --git a/c/src/lib/libbsp/powerpc/gen405/include/.cvsignore b/c/src/lib/libbsp/powerpc/gen405/include/.cvsignore
deleted file mode 100644
index 5f1077556d..0000000000
--- a/c/src/lib/libbsp/powerpc/gen405/include/.cvsignore
+++ /dev/null
@@ -1,4 +0,0 @@
-bspopts.h
-bspopts.h.in
-stamp-h
-stamp-h.in
diff --git a/c/src/lib/libbsp/powerpc/gen405/include/bsp.h b/c/src/lib/libbsp/powerpc/gen405/include/bsp.h
deleted file mode 100644
index 34dc85303f..0000000000
--- a/c/src/lib/libbsp/powerpc/gen405/include/bsp.h
+++ /dev/null
@@ -1,95 +0,0 @@
-/* bsp.h
- *
- * This include file contains all GEN405 board IO definitions.
- *
- * derived from helas403/include/bsp.h:
- * Id: bsp.h,v 1.4 2001/06/18 17:01:48 joel Exp
- * Author: Thomas Doerfler <td@imd.m.isar.de>
- * IMD Ingenieurbuero fuer Microcomputertechnik
- *
- * COPYRIGHT (c) 1998 by IMD
- *
- * Changes from IMD are covered by the original distributions terms.
- * This file has been derived from the papyrus BSP.
- *
- * Author: Andrew Bray <andy@i-cubed.co.uk>
- *
- * COPYRIGHT (c) 1995 by i-cubed ltd.
- *
- * To anyone who acknowledges that this file is provided "AS IS"
- * without any express or implied warranty:
- * permission to use, copy, modify, and distribute this file
- * for any purpose is hereby granted without fee, provided that
- * the above copyright notice and this notice appears in all
- * copies, and that the name of i-cubed limited not be used in
- * advertising or publicity pertaining to distribution of the
- * software without specific, written prior permission.
- * i-cubed limited makes no representations about the suitability
- * of this software for any purpose.
- *
- * Derived from c/src/lib/libbsp/no_cpu/no_bsp/include/bsp.h
- *
- * 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$
- *
- */
-
-#ifndef _BSP_H
-#define _BSP_H
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-#include <bspopts.h>
-
-#ifdef ASM
-/* Definition of where to store registers in alignment handler */
-#define ALIGN_REGS 0x0140
-
-#else
-#include <rtems.h>
-#include <rtems/console.h>
-#include <rtems/clockdrv.h>
-#include <rtems/console.h>
-#include <rtems/iosupp.h>
-
-/* Constants */
-
-#define RAM_START 0
-#define RAM_END 0x00800000
-
-/* miscellaneous stuff assumed to exist */
-
-/*
- * Device Driver Table Entries
- */
-
-/*
- * NOTE: Use the standard Console driver entry
- */
-
-/*
- * NOTE: Use the standard Clock driver entry
- */
-
-/* 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
-}
-#endif
-
-#endif
diff --git a/c/src/lib/libbsp/powerpc/gen405/include/coverhd.h b/c/src/lib/libbsp/powerpc/gen405/include/coverhd.h
deleted file mode 100644
index f39d324eaa..0000000000
--- a/c/src/lib/libbsp/powerpc/gen405/include/coverhd.h
+++ /dev/null
@@ -1,133 +0,0 @@
-/* coverhd.h
- *
- * This include file has defines to represent the overhead associated
- * with calling a particular directive from C. These are used in the
- * Timing Test Suite to ignore the overhead required to pass arguments
- * to directives. On some CPUs and/or target boards, this overhead
- * is significant and makes it difficult to distinguish internal
- * RTEMS execution time from that used to call the directive.
- * This file should be updated after running the C overhead timing
- * test. Once this update has been performed, the RTEMS Time Test
- * Suite should be rebuilt to account for these overhead times in the
- * timing results.
- *
- * NOTE: If these are all zero, then the times reported include
- * all calling overhead including passing of arguments.
- *
- * 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$
- */
-
-/*
- * Updated for a 25MHz Papyrus by Andrew Bray <andy@i-cubed.co.uk>
- *
- * Units are 100ns.
- *
- * These numbers are of questionable use, as they are developed by calling
- * the routine many times, thus getting its entry veneer into the (small)
- * cache on the 403GA. This in general is not true of the RTEMS timing
- * tests, which usually call a routine only once, thus having no cache loaded
- * advantage.
- *
- * Whether the directive times are useful after deducting the function call
- * overhead is also questionable. The user is more interested generally
- * in the total cost of a directive, not the cost if the procedure call
- * is inlined! (In general this is not true).
- *
- * Andrew Bray 18/08/1995
- *
- */
-
-#ifndef __COVERHD_h
-#define __COVERHD_h
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-#define CALLING_OVERHEAD_INITIALIZE_EXECUTIVE 1
-#define CALLING_OVERHEAD_SHUTDOWN_EXECUTIVE 1
-#define CALLING_OVERHEAD_TASK_CREATE 3
-#define CALLING_OVERHEAD_TASK_IDENT 1
-#define CALLING_OVERHEAD_TASK_START 1
-#define CALLING_OVERHEAD_TASK_RESTART 1
-#define CALLING_OVERHEAD_TASK_DELETE 1
-#define CALLING_OVERHEAD_TASK_SUSPEND 1
-#define CALLING_OVERHEAD_TASK_RESUME 1
-#define CALLING_OVERHEAD_TASK_SET_PRIORITY 1
-#define CALLING_OVERHEAD_TASK_MODE 1
-#define CALLING_OVERHEAD_TASK_GET_NOTE 1
-#define CALLING_OVERHEAD_TASK_SET_NOTE 1
-#define CALLING_OVERHEAD_TASK_WAKE_WHEN 4
-#define CALLING_OVERHEAD_TASK_WAKE_AFTER 1
-#define CALLING_OVERHEAD_INTERRUPT_CATCH 1
-#define CALLING_OVERHEAD_CLOCK_GET 4
-#define CALLING_OVERHEAD_CLOCK_SET 3
-#define CALLING_OVERHEAD_CLOCK_TICK 1
-
-#define CALLING_OVERHEAD_TIMER_CREATE 1
-#define CALLING_OVERHEAD_TIMER_IDENT 1
-#define CALLING_OVERHEAD_TIMER_DELETE 1
-#define CALLING_OVERHEAD_TIMER_FIRE_AFTER 2
-#define CALLING_OVERHEAD_TIMER_FIRE_WHEN 5
-#define CALLING_OVERHEAD_TIMER_RESET 1
-#define CALLING_OVERHEAD_TIMER_CANCEL 1
-#define CALLING_OVERHEAD_SEMAPHORE_CREATE 2
-#define CALLING_OVERHEAD_SEMAPHORE_IDENT 1
-#define CALLING_OVERHEAD_SEMAPHORE_DELETE 1
-#define CALLING_OVERHEAD_SEMAPHORE_OBTAIN 1
-#define CALLING_OVERHEAD_SEMAPHORE_RELEASE 1
-#define CALLING_OVERHEAD_MESSAGE_QUEUE_CREATE 2
-#define CALLING_OVERHEAD_MESSAGE_QUEUE_IDENT 1
-#define CALLING_OVERHEAD_MESSAGE_QUEUE_DELETE 1
-#define CALLING_OVERHEAD_MESSAGE_QUEUE_SEND 1
-#define CALLING_OVERHEAD_MESSAGE_QUEUE_URGENT 1
-#define CALLING_OVERHEAD_MESSAGE_QUEUE_BROADCAST 1
-#define CALLING_OVERHEAD_MESSAGE_QUEUE_RECEIVE 2
-#define CALLING_OVERHEAD_MESSAGE_QUEUE_FLUSH 1
-
-#define CALLING_OVERHEAD_EVENT_SEND 1
-#define CALLING_OVERHEAD_EVENT_RECEIVE 2
-#define CALLING_OVERHEAD_SIGNAL_CATCH 1
-#define CALLING_OVERHEAD_SIGNAL_SEND 1
-#define CALLING_OVERHEAD_PARTITION_CREATE 3
-#define CALLING_OVERHEAD_PARTITION_IDENT 1
-#define CALLING_OVERHEAD_PARTITION_DELETE 1
-#define CALLING_OVERHEAD_PARTITION_GET_BUFFER 1
-#define CALLING_OVERHEAD_PARTITION_RETURN_BUFFER 1
-#define CALLING_OVERHEAD_REGION_CREATE 3
-#define CALLING_OVERHEAD_REGION_IDENT 1
-#define CALLING_OVERHEAD_REGION_DELETE 1
-#define CALLING_OVERHEAD_REGION_GET_SEGMENT 2
-#define CALLING_OVERHEAD_REGION_RETURN_SEGMENT 1
-#define CALLING_OVERHEAD_PORT_CREATE 2
-#define CALLING_OVERHEAD_PORT_IDENT 1
-#define CALLING_OVERHEAD_PORT_DELETE 1
-#define CALLING_OVERHEAD_PORT_EXTERNAL_TO_INTERNAL 1
-#define CALLING_OVERHEAD_PORT_INTERNAL_TO_EXTERNAL 2
-
-#define CALLING_OVERHEAD_IO_INITIALIZE 2
-#define CALLING_OVERHEAD_IO_OPEN 2
-#define CALLING_OVERHEAD_IO_CLOSE 2
-#define CALLING_OVERHEAD_IO_READ 2
-#define CALLING_OVERHEAD_IO_WRITE 2
-#define CALLING_OVERHEAD_IO_CONTROL 2
-#define CALLING_OVERHEAD_FATAL_ERROR_OCCURRED 1
-#define CALLING_OVERHEAD_RATE_MONOTONIC_CREATE 1
-#define CALLING_OVERHEAD_RATE_MONOTONIC_IDENT 1
-#define CALLING_OVERHEAD_RATE_MONOTONIC_DELETE 1
-#define CALLING_OVERHEAD_RATE_MONOTONIC_CANCEL 1
-#define CALLING_OVERHEAD_RATE_MONOTONIC_PERIOD 1
-#define CALLING_OVERHEAD_MULTIPROCESSING_ANNOUNCE 1
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif
diff --git a/c/src/lib/libbsp/powerpc/gen405/include/tm27.h b/c/src/lib/libbsp/powerpc/gen405/include/tm27.h
deleted file mode 100644
index 18f3b6b32b..0000000000
--- a/c/src/lib/libbsp/powerpc/gen405/include/tm27.h
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- * 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
-#error "This is an RTEMS internal file you must not include directly."
-#endif
-
-#ifndef __tm27_h
-#define __tm27_h
-
-/*
- * Stuff for Time Test 27
- */
-
-#define MUST_WAIT_FOR_INTERRUPT 0
-
-#define Install_tm27_vector( handler ) set_vector( (handler), PPC_IRQ_SCALL, 1 )
-
-#define Cause_tm27_intr() asm volatile ("sc")
-
-#define Clear_tm27_intr() /* empty */
-
-#define Lower_tm27_intr() /* empty */
-
-#endif
diff --git a/c/src/lib/libbsp/powerpc/gen405/preinstall.am b/c/src/lib/libbsp/powerpc/gen405/preinstall.am
deleted file mode 100644
index 0c213b0be2..0000000000
--- a/c/src/lib/libbsp/powerpc/gen405/preinstall.am
+++ /dev/null
@@ -1,53 +0,0 @@
-## Automatically generated by ampolish3 - Do not edit
-
-if AMPOLISH3
-$(srcdir)/preinstall.am: Makefile.am
- $(AMPOLISH3) $(srcdir)/Makefile.am > $(srcdir)/preinstall.am
-endif
-
-PREINSTALL_DIRS =
-DISTCLEANFILES += $(PREINSTALL_DIRS)
-
-all-am: $(PREINSTALL_FILES)
-
-PREINSTALL_FILES =
-CLEANFILES = $(PREINSTALL_FILES)
-
-$(PROJECT_LIB)/$(dirstamp):
- @$(MKDIR_P) $(PROJECT_LIB)
- @: > $(PROJECT_LIB)/$(dirstamp)
-PREINSTALL_DIRS += $(PROJECT_LIB)/$(dirstamp)
-
-$(PROJECT_INCLUDE)/$(dirstamp):
- @$(MKDIR_P) $(PROJECT_INCLUDE)
- @: > $(PROJECT_INCLUDE)/$(dirstamp)
-PREINSTALL_DIRS += $(PROJECT_INCLUDE)/$(dirstamp)
-
-$(PROJECT_LIB)/bsp_specs: bsp_specs $(PROJECT_LIB)/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_LIB)/bsp_specs
-PREINSTALL_FILES += $(PROJECT_LIB)/bsp_specs
-
-$(PROJECT_INCLUDE)/bsp.h: include/bsp.h $(PROJECT_INCLUDE)/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp.h
-
-$(PROJECT_INCLUDE)/tm27.h: include/tm27.h $(PROJECT_INCLUDE)/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/tm27.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/tm27.h
-
-$(PROJECT_INCLUDE)/bspopts.h: include/bspopts.h $(PROJECT_INCLUDE)/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bspopts.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/bspopts.h
-
-$(PROJECT_INCLUDE)/coverhd.h: include/coverhd.h $(PROJECT_INCLUDE)/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/coverhd.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/coverhd.h
-
-$(PROJECT_LIB)/linkcmds: startup/linkcmds $(PROJECT_LIB)/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_LIB)/linkcmds
-PREINSTALL_FILES += $(PROJECT_LIB)/linkcmds
-
-$(PROJECT_LIB)/linkcmds.dl: startup/linkcmds.dl $(PROJECT_LIB)/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_LIB)/linkcmds.dl
-PREINSTALL_FILES += $(PROJECT_LIB)/linkcmds.dl
-
diff --git a/c/src/lib/libbsp/powerpc/gen405/startup/bspclean.c b/c/src/lib/libbsp/powerpc/gen405/startup/bspclean.c
deleted file mode 100644
index 56699da354..0000000000
--- a/c/src/lib/libbsp/powerpc/gen405/startup/bspclean.c
+++ /dev/null
@@ -1,43 +0,0 @@
-/* bsp_cleanup()
- *
- * This routine normally is part of start.s and usually returns
- * control to a monitor.
- *
- * INPUT: NONE
- *
- * OUTPUT: NONE
- *
- * Author: Andrew Bray <andy@i-cubed.co.uk>
- *
- * COPYRIGHT (c) 1995 by i-cubed ltd.
- *
- * To anyone who acknowledges that this file is provided "AS IS"
- * without any express or implied warranty:
- * permission to use, copy, modify, and distribute this file
- * for any purpose is hereby granted without fee, provided that
- * the above copyright notice and this notice appears in all
- * copies, and that the name of i-cubed limited not be used in
- * advertising or publicity pertaining to distribution of the
- * software without specific, written prior permission.
- * i-cubed limited makes no representations about the suitability
- * of this software for any purpose.
- *
- * Derived from c/src/lib/libbsp/no_cpu/no_bsp/startup/bspclean.c:
- *
- * 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>
-
-void bsp_cleanup( void )
-{
- rtems_fatal_error_occurred(0);
-}
diff --git a/c/src/lib/libbsp/powerpc/gen405/startup/bspstart.c b/c/src/lib/libbsp/powerpc/gen405/startup/bspstart.c
deleted file mode 100644
index 8cd5a38eb8..0000000000
--- a/c/src/lib/libbsp/powerpc/gen405/startup/bspstart.c
+++ /dev/null
@@ -1,185 +0,0 @@
-/* bsp_start()
- *
- * 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.
- *
- * INPUT: NONE
- *
- * OUTPUT: NONE
- *
- * Author: Thomas Doerfler <td@imd.m.isar.de>
- * IMD Ingenieurbuero fuer Microcomputertechnik
- *
- * COPYRIGHT (c) 1998 by IMD
- *
- * Changes from IMD are covered by the original distributions terms.
- * This file has been derived from the papyrus BSP:
- *
- * Author: Andrew Bray <andy@i-cubed.co.uk>
- *
- * COPYRIGHT (c) 1995 by i-cubed ltd.
- *
- * To anyone who acknowledges that this file is provided "AS IS"
- * without any express or implied warranty:
- * permission to use, copy, modify, and distribute this file
- * for any purpose is hereby granted without fee, provided that
- * the above copyright notice and this notice appears in all
- * copies, and that the name of i-cubed limited not be used in
- * advertising or publicity pertaining to distribution of the
- * software without specific, written prior permission.
- * i-cubed limited makes no representations about the suitability
- * of this software for any purpose.
- *
- * Modifications for spooling console driver and control of memory layout
- * with linker command file by
- * Thomas Doerfler <td@imd.m.isar.de>
- * for these modifications:
- * COPYRIGHT (c) 1997 by IMD, Puchheim, Germany.
- *
- * To anyone who acknowledges that this file is provided "AS IS"
- * without any express or implied warranty:
- * permission to use, copy, modify, and distribute this file
- * for any purpose is hereby granted without fee, provided that
- * the above copyright notice and this notice appears in all
- * copies. IMD makes no representations about the suitability
- * of this software for any purpose.
- *
- * Derived from c/src/lib/libbsp/no_cpu/no_bsp/startup/bspstart.c:
- *
- * COPYRIGHT (c) 1989, 1990, 1991, 1992, 1993, 1994.
- * On-Line Applications Research Corporation (OAR).
- *
- * Modifications for PPC405GP by Dennis Ehlin
- *
- * $Id$
- */
-
-#include <string.h>
-#include <fcntl.h>
-
-#include <bsp.h>
-#include <rtems/libio.h>
-#include <rtems/libcsupport.h>
-#include <ictrl.h>
-
-void *bsp_ram_end = (void *)RAM_END; /* first addr behind avail. ram area */
-
-/*
- * Driver configuration parameters
- */
-uint32_t bsp_serial_per_sec; /* Serial clocks per second */
-boolean bsp_serial_external_clock;
-boolean bsp_serial_xon_xoff;
-boolean bsp_serial_cts_rts;
-uint32_t bsp_serial_rate;
-uint32_t bsp_timer_average_overhead; /* Average overhead of timer in ticks */
-uint32_t bsp_timer_least_valid; /* Least valid number from timer */
-boolean bsp_timer_internal_clock; /* TRUE, when timer runs with CPU clk */
-
-/* Initialize whatever libc we are using
- * called from postdriver hook
- */
-
-void bsp_postdriver_hook(void);
-void bsp_libc_init( void *, uint32_t, int );
-
-/*
- *
- * bsp_predriver_hook
- *
- * Before drivers are setup.
- */
-
-void bsp_predriver_hook(void)
-{
- rtems_status_code status;
- /* init the PPC405 external interrupt controller handler... */
- status = ictrl_init();
-}
-
-/*
- * Function: bsp_pretasking_hook
- * Created: 95/03/10
- *
- * Description:
- * BSP pretasking hook. Called just before drivers are initialized.
- * Used to setup libc and install any BSP extensions.
- *
- * NOTES:
- * Must not use libc (to do io) from here, since drivers are
- * not yet initialized.
- *
- */
-
-void bsp_pretasking_hook(void)
-{
- extern int _end;
- extern int _heap_end;
- uint32_t heap_start;
- uint32_t heap_size;
- uint32_t heap_end;
-
- heap_start = (uint32_t ) &_end;
- if (heap_start & (CPU_ALIGNMENT-1))
- heap_start = (heap_start + CPU_ALIGNMENT) & ~(CPU_ALIGNMENT-1);
-
- heap_end = (uint32_t ) &_heap_end;
- if (heap_end & (CPU_ALIGNMENT-1))
- heap_end = (heap_end + CPU_ALIGNMENT) & ~(CPU_ALIGNMENT-1);
-
- heap_size = heap_end - heap_start;
-
- bsp_libc_init((void *) heap_start, heap_size, 0); /* 64 * 1024 */
-
-#ifdef RTEMS_DEBUG
- rtems_debug_enable( RTEMS_DEBUG_ALL_MASK );
-#endif
-
-}
-
-/*
- * bsp_start
- *
- * This routine does the bulk of the system initialization.
- */
-
-void bsp_start( void )
-{
- /*
- * Allocate the memory for the RTEMS Work Space. This can come from
- * a variety of places: hard coded address, malloc'ed from outside
- * RTEMS world (e.g. simulator or primitive memory manager), or (as
- * typically done by stock BSPs) by subtracting the required amount
- * of work space from the last physical address on the CPU board.
- */
-
- /*
- * Need to "allocate" the memory for the RTEMS Workspace and
- * tell the RTEMS configuration where it is. This memory is
- * not malloc'ed. It is just "pulled from the air".
- */
- /* FIME: plan usage of RAM better:
- - make top of ram dynamic,
- - take out some part for persistant log
- - make rest of ram to heap...
- -remove RAM_END from bsp.h, this cannot be valid...
- or must be a function call
- */
- Configuration.work_space_start = (void *)
- ((char *)(bsp_ram_end)) - rtems_configuration_get_work_space_size();
-
- /*
- * initialize the device driver parameters
- */
- bsp_clicks_per_usec = 300;
- bsp_serial_per_sec = 14625000;
- bsp_serial_external_clock = 0;
- bsp_timer_internal_clock = 1;
- bsp_serial_xon_xoff = 0;
- bsp_serial_cts_rts = 1;
- bsp_serial_rate = 115200;
- bsp_timer_average_overhead = 2;
- bsp_timer_least_valid = 3;
-}
diff --git a/c/src/lib/libbsp/powerpc/gen405/startup/linkcmds b/c/src/lib/libbsp/powerpc/gen405/startup/linkcmds
deleted file mode 100644
index 918be490a4..0000000000
--- a/c/src/lib/libbsp/powerpc/gen405/startup/linkcmds
+++ /dev/null
@@ -1,205 +0,0 @@
-/*
- * This file contains directives for the GNU linker which are specific
- * to the gen405
- * This file is intended to be used together with dlentry.s
- * it will generate downloadable code
- *
- * Modifications for gen405 by Dennis Ehlin
- *
- * $Id$
- */
-
-OUTPUT_FORMAT("elf32-powerpc", "elf32-powerpc",
- "elf32-powerpc")
-OUTPUT_ARCH(powerpc)
-
-ENTRY(download_entry)
-
-MEMORY
- {
- RAM : ORIGIN = 0, LENGTH = 64M
- FLASH : ORIGIN = 0xFFE00000, LENGTH = 16M
- }
-SECTIONS
-{
- .vectors 0x00000100 :
- {
- *(.vectors)
- } > RAM
-
-
- .rel.dyn :
- {
- *(.rel.init)
- *(.rel.text .rel.text.* .rel.gnu.linkonce.t.*)
- *(.rel.fini)
- *(.rel.rodata .rel.rodata.* .rel.gnu.linkonce.r.*)
- *(.rel.data.rel.ro* .rel.gnu.linkonce.d.rel.ro.*)
- *(.rel.data .rel.data.* .rel.gnu.linkonce.d.*)
- *(.rel.tdata .rel.tdata.* .rel.gnu.linkonce.td.*)
- *(.rel.tbss .rel.tbss.* .rel.gnu.linkonce.tb.*)
- *(.rel.ctors)
- *(.rel.dtors)
- *(.rel.got)
- *(.rel.sdata .rel.sdata.* .rel.gnu.linkonce.s.*)
- *(.rel.sbss .rel.sbss.* .rel.gnu.linkonce.sb.*)
- *(.rel.sdata2 .rel.sdata2.* .rel.gnu.linkonce.s2.*)
- *(.rel.sbss2 .rel.sbss2.* .rel.gnu.linkonce.sb2.*)
- *(.rel.bss .rel.bss.* .rel.gnu.linkonce.b.*)
- } >RAM
- .rela.dyn :
- {
- *(.rela.init)
- *(.rela.text .rela.text.* .rela.gnu.linkonce.t.*)
- *(.rela.fini)
- *(.rela.rodata .rela.rodata.* .rela.gnu.linkonce.r.*)
- *(.rela.data .rela.data.* .rela.gnu.linkonce.d.*)
- *(.rela.tdata .rela.tdata.* .rela.gnu.linkonce.td.*)
- *(.rela.tbss .rela.tbss.* .rela.gnu.linkonce.tb.*)
- *(.rela.ctors)
- *(.rela.dtors)
- *(.rela.got)
- *(.rela.got1)
- *(.rela.got2)
- *(.rela.sdata .rela.sdata.* .rela.gnu.linkonce.s.*)
- *(.rela.sbss .rela.sbss.* .rela.gnu.linkonce.sb.*)
- *(.rela.sdata2 .rela.sdata2.* .rela.gnu.linkonce.s2.*)
- *(.rela.sbss2 .rela.sbss2.* .rela.gnu.linkonce.sb2.*)
- *(.rela.bss .rela.bss.* .rela.gnu.linkonce.b.*)
- } >RAM
- .rel.plt : { *(.rel.plt) }
- .rela.plt : { *(.rela.plt) }
-
-
- .text :
- {
- text.start = . ;
- *(.entry)
- *(.entry2)
- *(.text*)
- *(.rodata*)
- *(.rodata1)
-
- /*
- * Special FreeBSD sysctl sections.
- */
- . = ALIGN (16);
- __start_set_sysctl_set = .;
- *(set_sysctl_*);
- __stop_set_sysctl_set = ABSOLUTE(.);
- *(set_domain_*);
- *(set_pseudo_*);
-
- *(.eh_frame)
- *(.gnu.linkonce.r*)
- *(.descriptors)
- *(rom_ver)
- etext = ALIGN(0x10);
- _etext = .;
-
- *(.gnu.linkonce.t*)
-
- __CTOR_LIST__ = .;
- LONG((__CTOR_END__ - __CTOR_LIST__) / 4 - 2)
- *(.ctors)
- LONG(0)
- __CTOR_END__ = .;
-
- __DTOR_LIST__ = .;
- LONG((__DTOR_END__ - __DTOR_LIST__) / 4 - 2)
- *(.dtors)
- LONG(0)
- __DTOR_END__ = .;
-
- *(.lit)
- *(.shdata)
- _init = .; __init = .; *(.init)
- _fini = .; __fini = .; *(.fini)
- _endtext = ALIGN(0x10);
- text.end = .;
- } > RAM
-
- text.size = text.end - text.start;
-
- /* R/W Data */
- .data :
- {
- *(.data)
- *(.data1)
- *(.data.* .gnu.linkonce.d*)
- PROVIDE (__SDATA_START__ = .);
- *(.sdata*)
- *(.gnu.linkonce.s.*)
- } > RAM
-
- PROVIDE (__EXCEPT_START__ = .);
- .gcc_except_table :
- {
- *(.gcc_except_table)
- } >RAM
- PROVIDE (__EXCEPT_END__ = .);
-
- __GOT_START__ = .;
- .got :
- {
- s.got = .;
- *(.got.plt) *(.got)
- } > RAM
- __GOT_END__ = .;
-
- .got1 :
- {
- *(.got1)
- } >RAM
-
- PROVIDE (__GOT2_START__ = .);
- PROVIDE (_GOT2_START_ = .);
- .got2 :
- {
- *(.got2)
- } >RAM
- PROVIDE (__GOT2_END__ = .);
- PROVIDE (_GOT2_END_ = .);
-
- PROVIDE (__FIXUP_START__ = .);
- PROVIDE (_FIXUP_START_ = .);
- .fixup : { *(.fixup) } >RAM
- PROVIDE (_FIXUP_END_ = .);
- PROVIDE (__FIXUP_END__ = .);
-
- PROVIDE (__SDATA2_START__ = .);
- .sdata2 : { *(.sdata2) *(.gnu.linkonce.s2.*) } >RAM
- .sbss2 : { *(.sbss2) *(.gnu.linkonce.sb2.*) } >RAM
- PROVIDE (__SBSS2_END__ = .);
-
- __SBSS_START__ = .;
- .bss :
- {
- bss.start = .;
- *(.bss .bss* .gnu.linkonce.b*)
- *(.sbss*) *(COMMON)
- bss.end = ALIGN(4);
- } > RAM
- __SBSS_END__ = .;
-
- bss.size = bss.end - bss.start;
- PROVIDE(_end = bss.end);
-
- /* reserve 512K for heap */
- heap.end = bss.end + 512K;
- PROVIDE(_heap_end = heap.end);
- /* reserve 64KByte for stack... */
- stack.end = heap.end + 64K;
-
- .line 0 : { *(.line) }
- .debug 0 : { *(.debug) }
- .debug_sfnames 0 : { *(.debug_sfnames) }
- .debug_srcinfo 0 : { *(.debug_srcinfo) }
- .debug_pubnames 0 : { *(.debug_pubnames) }
- .debug_aranges 0 : { *(.debug_aranges) }
- .debug_aregion 0 : { *(.debug_aregion) }
- .debug_macinfo 0 : { *(.debug_macinfo) }
- .stab 0 : { *(.stab) }
- .stabstr 0 : { *(.stabstr) }
-
-}
diff --git a/c/src/lib/libbsp/powerpc/gen405/startup/linkcmds.dl b/c/src/lib/libbsp/powerpc/gen405/startup/linkcmds.dl
deleted file mode 100644
index 30dd38e63d..0000000000
--- a/c/src/lib/libbsp/powerpc/gen405/startup/linkcmds.dl
+++ /dev/null
@@ -1,154 +0,0 @@
-/*
- * This file contains directives for the GNU linker which are specific
- * to the helas403
- * This file is intended to be used together with dlentry.s
- * it will generate downloadable code
- *
- * $Id$
- */
-
-OUTPUT_FORMAT("elf32-powerpc", "elf32-powerpc",
- "elf32-powerpc")
-OUTPUT_ARCH(powerpc)
-
-ENTRY(download_entry)
-
-MEMORY
- {
- RAM : ORIGIN = 0, LENGTH = 8M
- FLASH : ORIGIN = 0xFFF00000, LENGTH = 512K
- }
-
-SECTIONS
-{
- .vectors : 0x00010100
- {
- *(.vectors)
- } > RAM
-
- .text :
- {
- text.start = . ;
- *(.entry)
- *(.entry2)
- *(.text*)
- *(.rodata)
- *(.rodata1)
-
- /*
- * Special FreeBSD sysctl sections.
- */
- . = ALIGN (16);
- __start_set_sysctl_set = .;
- *(set_sysctl_*);
- __stop_set_sysctl_set = ABSOLUTE(.);
- *(set_domain_*);
- *(set_pseudo_*);
-
- *.(eh_frame)
- *(.descriptors)
- *(rom_ver)
- etext = ALIGN(0x10);
- _etext = .;
-
-
- __CTOR_LIST__ = .;
- LONG((__CTOR_END__ - __CTOR_LIST__) / 4 - 2)
- *(.ctors)
- LONG(0)
- __CTOR_END__ = .;
-
- __DTOR_LIST__ = .;
- LONG((__DTOR_END__ - __DTOR_LIST__) / 4 - 2)
- *(.dtors)
- LONG(0)
- __DTOR_END__ = .;
-
- *(.lit)
- *(.shdata)
- *(.init)
- *(.fini)
- _endtext = ALIGN(0x10);
- text.end = .;
- } > RAM
-
- text.size = text.end - text.start;
-
- /* R/W Data */
- .data :
- {
- *(.data)
- *(.data1)
- PROVIDE (__SDATA_START__ = .);
- *(.sdata*)
- } > RAM
-
- PROVIDE (__EXCEPT_START__ = .);
- .gcc_except_table :
- {
- *(.gcc_except_table)
- } >RAM
- PROVIDE (__EXCEPT_END__ = .);
-
- __GOT_START__ = .;
- .got :
- {
- s.got = .;
- *(.got.plt) *(.got)
- } > RAM
- __GOT_END__ = .;
-
- .got1 :
- {
- *(.got1)
- } >RAM
-
- PROVIDE (__GOT2_START__ = .);
- PROVIDE (_GOT2_START_ = .);
- .got2 :
- {
- *(.got2)
- } >RAM
- PROVIDE (__GOT2_END__ = .);
- PROVIDE (_GOT2_END_ = .);
-
- PROVIDE (__FIXUP_START__ = .);
- PROVIDE (_FIXUP_START_ = .);
- .fixup : { *(.fixup) } >RAM
- PROVIDE (_FIXUP_END_ = .);
- PROVIDE (__FIXUP_END__ = .);
-
- PROVIDE (__SDATA2_START__ = .);
- .sdata2 : { *(.sdata2) } >RAM
- .sbss2 : { *(.sbss2) } >RAM
- PROVIDE (__SBSS2_END__ = .);
-
- .sbss2 : { *(.sbss2) } >RAM
- PROVIDE (__SBSS2_END__ = .);
-
- __SBSS_START__ = .;
- .bss :
- {
- bss.start = .;
- *(.bss .bss* .gnu.linkonce.b*)
- *(.sbss*) *(COMMON)
- bss.end = ALIGN(4);
- } > RAM
- __SBSS_END__ = .;
-
- bss.size = bss.end - bss.start;
- PROVIDE(_end = bss.end);
-
- .line 0 : { *(.line) }
- .debug 0 : { *(.debug) }
- .debug_sfnames 0 : { *(.debug_sfnames) }
- .debug_srcinfo 0 : { *(.debug_srcinfo) }
- .debug_pubnames 0 : { *(.debug_pubnames) }
- .debug_aranges 0 : { *(.debug_aranges) }
- .debug_aregion 0 : { *(.debug_aregion) }
- .debug_macinfo 0 : { *(.debug_macinfo) }
- .stab 0 : { *(.stab) }
- .stabstr 0 : { *(.stabstr) }
-}
-
-
diff --git a/c/src/lib/libbsp/powerpc/gen405/startup/setvec.c b/c/src/lib/libbsp/powerpc/gen405/startup/setvec.c
deleted file mode 100644
index af6f68b356..0000000000
--- a/c/src/lib/libbsp/powerpc/gen405/startup/setvec.c
+++ /dev/null
@@ -1,56 +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
- *
- * Author: Andrew Bray <andy@i-cubed.co.uk>
- *
- * COPYRIGHT (c) 1995 by i-cubed ltd.
- *
- * To anyone who acknowledges that this file is provided "AS IS"
- * without any express or implied warranty:
- * permission to use, copy, modify, and distribute this file
- * for any purpose is hereby granted without fee, provided that
- * the above copyright notice and this notice appears in all
- * copies, and that the name of i-cubed limited not be used in
- * advertising or publicity pertaining to distribution of the
- * software without specific, written prior permission.
- * i-cubed limited makes no representations about the suitability
- * of this software for any purpose.
- *
- * Derived from c/src/lib/libbsp/no_cpu/no_bsp/startup/setvec.c:
- *
- * 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>
-
-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_interrupt_catch( handler, vector, (rtems_isr_entry *) &previous_isr );
-
- return previous_isr;
-}
diff --git a/c/src/lib/libbsp/powerpc/gen405/times b/c/src/lib/libbsp/powerpc/gen405/times
deleted file mode 100644
index da260853bf..0000000000
--- a/c/src/lib/libbsp/powerpc/gen405/times
+++ /dev/null
@@ -1,197 +0,0 @@
-#
-# Timing Test Suite Results for the Papyrus BSP
-#
-# NOTE: The Papyrus is a proprietary PPC403 based board. But it is the
-# only BSP currently available for the PowerPC family.
-#
-# $Id$
-#
-
-NOTE: This BSP is user submitted and no timing information
- is currently avaiable.
-
-Board: Papyrus
-CPU: IBM 403GA
-Clock Speed: 33 Mhz
-Memory Configuration: SRAM, DRAM, cache, etc
-Wait States:
-
-Times Reported in: cycles, microseconds, etc
-Timer Source: Count Down Timer, on-CPU cycle counter, etc
-
-Column A: unused
-Column B: unused
-
-# DESCRIPTION A B
-== ================================================================= ==== ====
- 1 rtems_semaphore_create 20
- rtems_semaphore_delete 21
- rtems_semaphore_obtain: available 15
- rtems_semaphore_obtain: not available -- NO_WAIT 15
- rtems_semaphore_release: no waiting tasks 16
-
- 2 rtems_semaphore_obtain: not available -- caller blocks 62
-
- 3 rtems_semaphore_release: task readied -- preempts caller 55
-
- 4 rtems_task_restart: blocked task -- preempts caller 77
- rtems_task_restart: ready task -- preempts caller 70
- rtems_semaphore_release: task readied -- returns to caller 25
- rtems_task_create 57
- rtems_task_start 31
- rtems_task_restart: suspended task -- returns to caller 36
- rtems_task_delete: suspended task 47
- rtems_task_restart: ready task -- returns to caller 37
- rtems_task_restart: blocked task -- returns to caller 46
- rtems_task_delete: blocked task 50
-
- 5 rtems_task_suspend: calling task 51
- rtems_task_resume: task readied -- preempts caller 49
-
- 6 rtems_task_restart: calling task 59
- rtems_task_suspend: returns to caller 18
- rtems_task_resume: task readied -- returns to caller 19
- rtems_task_delete: ready task 50
-
- 7 rtems_task_restart: suspended task -- preempts caller 70
-
- 8 rtems_task_set_priority: obtain current priority 12
- rtems_task_set_priority: returns to caller 27
- rtems_task_mode: obtain current mode 5
- rtems_task_mode: no reschedule 5
- rtems_task_mode: reschedule -- returns to caller 8
- rtems_task_mode: reschedule -- preempts caller 39
- rtems_task_set_note 13
- rtems_task_get_note 13
- rtems_clock_set 33
- rtems_clock_get 3
-
- 9 rtems_message_queue_create 110
- rtems_message_queue_send: no waiting tasks 37
- rtems_message_queue_urgent: no waiting tasks 37
- rtems_message_queue_receive: available 31
- rtems_message_queue_flush: no messages flushed 12
- rtems_message_queue_flush: messages flushed 16
- rtems_message_queue_delete 26
-
-10 rtems_message_queue_receive: not available -- NO_WAIT 15
- rtems_message_queue_receive: not available -- caller blocks 62
-
-11 rtems_message_queue_send: task readied -- preempts caller 72
-
-12 rtems_message_queue_send: task readied -- returns to caller 39
-
-13 rtems_message_queue_urgent: task readied -- preempts caller 72
-
-14 rtems_message_queue_urgent: task readied -- returns to caller 39
-
-15 rtems_event_receive: obtain current events 1
- rtems_event_receive: not available -- NO_WAIT 12
- rtems_event_receive: not available -- caller blocks 56
- rtems_event_send: no task readied 12
- rtems_event_receive: available 12
- rtems_event_send: task readied -- returns to caller 24
-
-16 rtems_event_send: task readied -- preempts caller 55
-
-17 rtems_task_set_priority: preempts caller 62
-
-18 rtems_task_delete: calling task 83
-
-19 rtems_signal_catch 9
- rtems_signal_send: returns to caller 15
- rtems_signal_send: signal to self 18
- exit ASR overhead: returns to calling task 22
- exit ASR overhead: returns to preempting task 49
-
-20 rtems_partition_create 35
- rtems_region_create 23
- rtems_partition_get_buffer: available 15
- rtems_partition_get_buffer: not available 13
- rtems_partition_return_buffer 18
- rtems_partition_delete 16
- rtems_region_get_segment: available 22
- rtems_region_get_segment: not available -- NO_WAIT 21
- rtems_region_return_segment: no waiting tasks 19
- rtems_region_get_segment: not available -- caller blocks 64
- rtems_region_return_segment: task readied -- preempts caller 74
- rtems_region_return_segment: task readied -- returns to caller 44
- rtems_region_delete 16
- rtems_io_initialize 2
- rtems_io_open 1
- rtems_io_close 1
- rtems_io_read 1
- rtems_io_write 1
- rtems_io_control 1
-
-21 rtems_task_ident 149
- rtems_message_queue_ident 145
- rtems_semaphore_ident 156
- rtems_partition_ident 145
- rtems_region_ident 148
- rtems_port_ident 145
- rtems_timer_ident 145
- rtems_rate_monotonic_ident 145
-
-22 rtems_message_queue_broadcast: task readied -- returns to caller 42
- rtems_message_queue_broadcast: no waiting tasks 17
- rtems_message_queue_broadcast: task readied -- preempts caller 78
-
-23 rtems_timer_create 14
- rtems_timer_fire_after: inactive 22
- rtems_timer_fire_after: active 24
- rtems_timer_cancel: active 15
- rtems_timer_cancel: inactive 13
- rtems_timer_reset: inactive 21
- rtems_timer_reset: active 23
- rtems_timer_fire_when: inactive 34
- rtems_timer_fire_when: active 34
- rtems_timer_delete: active 19
- rtems_timer_delete: inactive 17
- rtems_task_wake_when 69
-
-24 rtems_task_wake_after: yield -- returns to caller 9
- rtems_task_wake_after: yields -- preempts caller 45
-
-25 rtems_clock_tick 4
-
-26 _ISR_Disable 0
- _ISR_Flash 1
- _ISR_Enable 1
- _Thread_Disable_dispatch 0
- _Thread_Enable_dispatch 7
- _Thread_Set_state 11
- _Thread_Disptach (NO FP) 31
- context switch: no floating point contexts 21
- context switch: self 10
- context switch: to another task 10
- context switch: restore 1st FP task 25
- fp context switch: save idle, restore idle 31
- fp context switch: save idle, restore initialized 19
- fp context switch: save initialized, restore initialized 20
- _Thread_Resume 7
- _Thread_Unblock 7
- _Thread_Ready 9
- _Thread_Get 4
- _Semaphore_Get 2
- _Thread_Get: invalid id 0
-
-27 interrupt entry overhead: returns to interrupted task 6
- interrupt exit overhead: returns to interrupted task 6
- interrupt entry overhead: returns to nested interrupt 6
- interrupt exit overhead: returns to nested interrupt 5
- interrupt entry overhead: returns to preempting task 7
- interrupt exit overhead: returns to preempting task 36
-
-28 rtems_port_create 16
- rtems_port_external_to_internal 11
- rtems_port_internal_to_external 11
- rtems_port_delete 16
-
-29 rtems_rate_monotonic_create 15
- rtems_rate_monotonic_period: initiate period -- returns to caller 21
- rtems_rate_monotonic_period: obtain status 13
- rtems_rate_monotonic_cancel 16
- rtems_rate_monotonic_delete: inactive 18
- rtems_rate_monotonic_delete: active 20
- rtems_rate_monotonic_period: conclude periods -- caller blocks 53
diff --git a/c/src/lib/libbsp/powerpc/helas403/.cvsignore b/c/src/lib/libbsp/powerpc/helas403/.cvsignore
deleted file mode 100644
index bfdfd995be..0000000000
--- a/c/src/lib/libbsp/powerpc/helas403/.cvsignore
+++ /dev/null
@@ -1,14 +0,0 @@
-aclocal.m4
-autom4te*.cache
-config.cache
-config.guess
-config.log
-config.status
-config.sub
-configure
-depcomp
-install-sh
-Makefile
-Makefile.in
-missing
-mkinstalldirs
diff --git a/c/src/lib/libbsp/powerpc/helas403/ChangeLog b/c/src/lib/libbsp/powerpc/helas403/ChangeLog
deleted file mode 100644
index 3348ba3801..0000000000
--- a/c/src/lib/libbsp/powerpc/helas403/ChangeLog
+++ /dev/null
@@ -1,491 +0,0 @@
-2007-12-11 Joel Sherrill <joel.sherrill@OARcorp.com>
-
- * README, include/bsp.h, startup/bspstart.c: Eliminate copies of the
- Configuration Table. Use the RTEMS provided accessor macros to obtain
- configuration fields.
-
-2007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com>
-
- * include/bsp.h, startup/bspstart.c: Move interrupt_stack_size field
- from CPU Table to Configuration Table. Eliminate CPU Table from all
- ports. Delete references to CPU Table in all forms.
-
-2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
-
- * startup/bspstart.c: Moved most of the remaining CPU Table fields to
- the Configuration Table. This included pretasking_hook,
- predriver_hook, postdriver_hook, idle_task, do_zero_of_workspace,
- extra_mpci_receive_server_stack, stack_allocate_hook, and
- stack_free_hook. As a side-effect of this effort some multiprocessing
- code was made conditional and some style clean up occurred.
-
-2007-11-30 Till Straumann <strauman@slac.stanford.edu>
-
- * startup/bspstart.c: removed bsp_exceptions_in_RAM
-
-2007-11-28 Joel Sherrill <joel.sherrill@OARcorp.com>
-
- * startup/bspstart.c: Now compiles and links.
-
-2007-11-28 Joel Sherrill <joel.sherrill@OARcorp.com>
-
- * startup/bspstart.c: Eliminate PowerPC specific elements from the CPU
- Table. They have been replaced with variables named bsp_XXX as
- needed.
-
-2007-04-12 Ralf Corsépius <ralf.corsepius@rtems.org>
-
- * bsp_specs: Add ecrti%O%s to "startfile:".
- * bsp_specs: Remove qrtems_debug.
-
-2007-04-06 Ralf Corsépius <ralf.corsepius@rtems.org>
-
- * bsp_specs: Remove lib (Now expected to exist in GCC).
-
-2007-04-02 Joel Sherrill <joel@OARcorp.com>
-
- * Makefile.am: Add dummy printk support so all tests link.
-
-2006-12-02 Ralf Corsépius <ralf.corsepius@rtems.org>
-
- * configure.ac: New BUG-REPORT address.
-
-2006-11-15 Joel Sherrill <joel@OARcorp.com>
-
- * Makefile.am: Merge c_rtems_main() into boot_card(). This eliminated a
- file and simplified initialization.
-
-2006-10-17 Ralf Corsépius <ralf.corsepius@rtems.org>
-
- * configure.ac: Require autoconf-2.60. Require automake-1.10.
-
-2006-08-23 Joel Sherrill <joel@OARcorp.com>
-
- * startup/bspstart.c: Revert patch adding new exception support code to
- an old exception BSP.
-
-2006-08-22 Joel Sherrill <joel@OARcorp.com>
-
- * startup/bspstart.c: Add basic _BSP_Fatal_error.
-
-2006-08-09 Joel Sherrill <joel@OARcorp.com>
-
- * startup/linkcmds: Clean up a bit after adding missing .rela sections.
-
-2006-03-08 Joel Sherrill <joel@OARcorp.com>
-
- * startup/linkcmds, startup/linkcmds.dl: Add .gnu.linkonce.b.* section.
-
-2006-02-08 Joel Sherrill <joel@OARcorp.com>
-
- * startup/linkcmds, startup/linkcmds.dl: Add sections required by newer
- gcc versions.
-
-2006-01-11 Ralf Corsepius <ralf.corsepius@rtems.org>
-
- * configure.ac: Remove explicit ampolish3 support (now in
- RTEMS_BSP_CONFIGURE).
-
-2006-01-10 Ralf Corsepius <ralf.corsepius@rtems.org>
-
- * configure.ac: Add ampolish3 support.
- * Makefile.am: Add preinstall.am.
-
-2006-01-09 Ralf Corsepius <ralf.corsepius@rtems.org>
-
- * Makefile.am: Don't include subdirs.am.
-
-2005-05-26 Ralf Corsepius <ralf.corsepius@rtems.org>
-
- * include/bsp.h: New header guard.
-
-2005-02-16 Ralf Corsepius <ralf.corsepius@rtems.org>
-
- * configure.ac: Remove argument from RTEMS_PPC_EXCEPTIONS.
-
-2005-02-15 Ralf Corsepius <ralf.corsepius@rtems.org>
-
- * flashentry/flashentry.S: #include <rtems/powerpc/powerpc.h>
-
-2005-02-11 Ralf Corsepius <ralf.corsepius@rtems.org>
-
- * Makefile.am: Merge-in wrapup/Makefile.am.
- * wrapup/Makefile.am: Remove.
- * configure.ac: Reflect changes above.
-
-2005-02-10 Ralf Corsepius <ralf.corsepius@rtems.org>
-
- * dlentry/dlentry.S, flashentry/flashentry.S:
- Remove PPC_ABI_POWEROPEN.
-
-2005-01-07 Ralf Corsepius <ralf.corsepius@rtems.org>
-
- * Makefile.am: Eliminate CFLAGS_OPTIMIZE_V.
-
-2005-01-02 Ralf Corsepius <ralf.corsepius@rtems.org>
-
- * Makefile.am, wrapup/Makefile.am: Remove build-variant support.
-
-2004-10-02 Ralf Corsepius <ralf_corsepius@rtems.org>
-
- PR 697/bsps
- * flashentry/flashentry.S: Fix broken comments
- (Patch by Thomas.Doerfler@imd-systems.de)
-
-2004-09-24 Ralf Corsepius <ralf_corsepius@rtems.org>
-
- * configure.ac: Require automake > 1.9.
-
-2004-04-23 Ralf Corsepius <ralf_corsepius@rtems.org>
-
- PR 610/bsps
- * Makefile.am: Add include/tm27.h, Cosmetics.
- * include/tm27.h: Final cosmetics.
-
-2004-04-22 Ralf Corsepius <ralf_corsepius@rtems.org>
-
- * include/bsp.h: Split out tmtest27 support.
- * include/tm27.h: New.
-
-2004-04-21 Ralf Corsepius <ralf_corsepius@rtems.org>
-
- PR 613/bsps
- * include/bsp.h: Remove MAX_LONG_TEST_DURATION.
-
-2004-04-21 Ralf Corsepius <ralf_corsepius@rtems.org>
-
- PR 614/bsps
- * include/bsp.h: Remove MAX_SHORT_TEST_DURATION (Unused).
-
-2004-04-13 Ralf Corsepius <ralf_corsepius@rtems.org>
-
- * flashentry/flashentry.S: Include <rtems/score/powerpc.h> instead of
- <rtems/score/ppc.h>.
-
-2004-04-02 Ralf Corsepius <ralf_corsepius@rtems.org>
-
- * dlentry/dlentry.S: Include <rtems/asm.h> instead of <asm.h>.
- * flashentry/flashentry.S: Include <rtems/asm.h> instead of <asm.h>.
-
-2004-04-01 Ralf Corsepius <ralf_corsepius@rtems.org>
-
- * include/bsp.h: Include <rtems/clockdrv.h> instead of <clockdrv.h>.
- * include/bsp.h: Include <rtems/console.h> instead of <console.h>.
- * include/bsp.h: Include <rtems/iosupp.h> instead of <iosupp.h>.
-
-2004-03-31 Ralf Corsepius <ralf_corsepius@rtems.org>
-
- * startup/bspstart.c: Convert to using c99 fixed size types.
-
-2004-02-19 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
-
- * Makefile.am: Reflect changes to bsp.am.
- Preinstall dist_project_lib*.
-
-2004-02-14 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
-
- * Makefile.am: Reflect changes to bsp.am.
-
-2004-02-06 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
-
- * wrapup/Makefile.am: Convert to automake-building rules.
-
-2004-01-30 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
-
- * Makefile.am: Merge-in dlentry/Makefile.am, flashentry/Makefile.am,
- startup/Makefile.am. Use automake compilation rules.
- * dlentry/Makefile.am, flashentry/Makefile.am, startup/Makefile.am:
- Remove.
- * configure.ac: Reflect changes above.
- * wrapup/Makefile.am: Reflect changes above.
-
-2004-01-30 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
-
- * wrapup/Makefile.am: Reflect changes to
- ../support/*exception_processing/*.
-
-2004-01-28 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
-
- * configure.ac: Add nostdinc to AUTOMAKE_OPTIONS.
- Add RTEMS_PROG_CCAS.
-
-2004-01-21 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
-
- * Makefile.am: Add PREINSTALL_DIRS.
- * wrapup/Makefile.am: Reflect changes to libcpu.
-
-2004-01-14 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
-
- * Makefile.am: Re-add dirstamps to PRE/TMPINSTALL_FILES.
- Add PRE/TMPINSTALL_FILES to CLEANFILES.
- * startup/Makefile.am: Ditto.
-
-2004-01-05 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
-
- * wrapup/Makefile.am: Eliminate $(LIB).
- Use noinst_DATA to trigger building libbsp.a.
-
-2003-12-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
-
- * dlentry/Makefile.am: Eliminate VPATH.
- * flashentry/Makefile.am: Eliminate VPATH.
- * startup/Makefile.am: Eliminate VPATH.
-
-2003-12-15 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
-
- * startup/linkcmds: Remove SEARCH_DIR.
- * startup/linkcmds.dl: Remove SEARCH_DIR.
-
-2003-12-13 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
-
- * Makefile.am: s,${PROJECT_RELEASE}/lib,$(PROJECT_LIB),g.
- * startup/Makefile.am: s,${PROJECT_RELEASE}/lib,$(PROJECT_LIB),g.
-
-2003-12-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
-
- * Makefile.am: Use mkdir_p. Remove dirs from PRE/TMPINSTALL_FILES.
- * startup/Makefile.am: Use mkdir_p. Remove dirs from PRE/TMPINSTALL_FILES.
-
-2003-12-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
-
- * configure.ac: Require automake >= 1.8, autoconf >= 2.59.
-
-2003-12-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
-
- * Makefile.am: Misc cleanups and fixes.
- * startup/Makefile.am: Misc cleanups and fixes.
- * startup/linkcmds: Preparations for gcc-3.3.x.
- * wrapup/Makefile.am: Misc cleanups and fixes.
-
-2003-12-03 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
-
- * Makefile.am: Add preinstallation dirstamp support.
- Don't preinstall bsp_specs.dl.
- * dlentry/Makefile.am: Cosmetics.
- * flashentry/Makefile.am: Cosmetics.
- * startup/Makefile.am: Cosmetics.
- * wrapup/Makefile.am: Cosmetics.
-
-2003-12-02 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
-
- * dlentry/Makefile.am: Remove all-local: $(ARCH).
- * flashentry/Makefile.am: Remove all-local: $(ARCH).
- * startup/Makefile.am: Remove all-local: $(ARCH).
- * wrapup/Makefile.am: Remove all-local: $(ARCH).
-
-2003-09-29 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
-
- * Makefile.am: Merge-in include/Makefile.am.
- Reflect changes to bsp.am.
- * include/Makefile.am: Remove.
- * configure.ac: Reflect changes above.
-
-2003-09-04 Joel Sherrill <joel@OARcorp.com>
-
- * include/bsp.h, include/coverhd.h, startup/bspclean.c,
- startup/setvec.c: URL for license changed.
-
-2003-09-04 Joel Sherrill <joel@OARcorp.com>
-
- * startup/bspstart.c: Removed incorrect statement about copyright
- assignment.
-
-2003-08-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
-
- * Makefile.am: Reflect having moved aclocal/.
-
-2003-08-16 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
-
- * Makefile.am: Reflect having moved automake/.
- * dlentry/Makefile.am: Reflect having moved automake/.
- * flashentry/Makefile.am: Reflect having moved automake/.
- * include/Makefile.am: Reflect having moved automake/.
- * startup/Makefile.am: Reflect having moved automake/.
- * wrapup/Makefile.am: Reflect having moved automake/.
-
-2003-08-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
-
- * configure.ac: Use rtems-bugs@rtems.com as bug report email address.
-
-2003-08-06 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
-
- PR 445/bsps
- * bsp_specs: Remove -D__embedded__ -Asystem(embedded) from cpp.
- Remove cpp, old_cpp (now unused).
-
-2003-03-06 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
-
- * configure.ac: Remove AC_CONFIG_AUX_DIR.
-
-2003-02-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
-
- * configure.ac: AM_INIT_AUTOMAKE([1.7.2]).
-
-2003-02-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
-
- * configure.ac: AC_PREREQ(2.57).
-
-2003-01-20 Joel Sherrill <joel@OARcorp.com>
-
- * startup/linkcmds*: Add FreeBSD sysctl() sections.
-
-2003-01-20 Joel Sherrill <joel@OARcorp.com>
-
- * startup/linkcmds.dl: Add FreeBSD sysctl() sections.
-
-2002-12-16 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
-
- * dlentry/Makefile.am: Don't include @RTEMS_BSP@.cfg.
- * flashentry/Makefile.am: Don't include @RTEMS_BSP@.cfg.
- * startup/Makefile.am: Don't include @RTEMS_BSP@.cfg.
-
-2002-12-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
-
- * wrapup/Makefile.am: Don't include @RTEMS_BSP@.cfg.
-
-2002-10-21 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
-
- * .cvsignore: Reformat.
- Add autom4te*cache.
- Remove autom4te.cache.
-
-2002-08-21 Joel Sherrill <joel@OARcorp.com>
-
- * bsp_specs: Added support for -nostdlibs.
-
-2002-08-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
-
- * dlentry/Makefile.am: Use .$(OBJEXT) instead of .o.
- * flashentry/Makefile.am: Use .$(OBJEXT) instead of .o.
- * startup/Makefile.am: Use .$(OBJEXT) instead of .o.
- * wrapup/Makefile.am: Use .$(OBJEXT) instead of .o.
-
-2002-07-20 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
-
- * startup/Makefile.am: Add bsplib_DATA = linkcmds.
-
-2002-07-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
-
- * wrapup/Makefile.am: Eliminate TMPINSTALL_FILES.
- Remove $(OBJS) from all-local.
-
-2002-06-29 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
-
- * wrapup/Makefile.am: Remove preinstallation of libbsp.a,
-
-2002-06-14 Joel Sherrill <joel@OARcorp.com>
-
- * startup/linkcmds: Fixed typo and added gnu.linkonce.t and
- gnu.linkonce.r sections.
-2001-05-09 Joel Sherrill <joel@OARcorp.com>
-
- * startup/linkcmds: In support of gcc 3.1, added one of more
- of the sections .jcr, .rodata*, .data.*, .gnu.linkonce.s2.*,
- .gnu.linkonce.sb2.*, and .gnu.linkonce.s.*. Spacing corrections
- and direction of segments to memory regions may also have been
- addressed. This was a sweep across all BSPs.
-
-2001-04-08 Joel Sherrill <joel@OARcorp.com>
-
- * startup/linkcmds, startup/linkcmds.dl : Per PR170, PR171, and PR172
- add .eh_frame.
-
-2002-03-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
-
- * configure.ac:
- AC_INIT(package,_RTEMS_VERSION,_RTEMS_BUGS).
- AM_INIT_AUTOMAKE([no-define foreign 1.6]).
- * dlentry/Makefile.am: Remove AUTOMAKE_OPTIONS.
- * Makefile.am: Remove AUTOMAKE_OPTIONS.
- * flashentry/Makefile.am: Remove AUTOMAKE_OPTIONS.
- * include/Makefile.am: Remove AUTOMAKE_OPTIONS.
- * startup/Makefile.am: Remove AUTOMAKE_OPTIONS.
- * wrapup/Makefile.am: Remove AUTOMAKE_OPTIONS.
-
-2001-12-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
-
- * configure.ac: Remove RTEMS_ENABLE_NETWORKING.
-
-2001-11-30 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
-
- * configure.ac: Introduce RTEMS_BSP_CONFIGURE.
-
-2001-11-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
-
- * Makefile.am: Remove . from SUBDIRS, add @exceptions@ to
- SUBDIRS.
- * configure.ac: Add RTEMS_BSPOPTS_*(PPC_USE_SPRG),
- RTEMS_BSPOPTS_*(PPC_VECTOR_FILE_BASE),
- RTEMS_PPC_EXCEPTIONS([old]).
- * include/Makefile.am: Convert PREINSTALL_FILES to
- TMPINSTALL_FILES, include force-preinstall.am.
- * wrapup/Makefile.am: Apply @exceptions@.
-
-2001-11-08 Dennis Ehlin (ECS) <Dennis.Ehlin@ecs.ericsson.se>
-
- This modification is part of the submitted modifications necessary to
- support the IBM PPC405 family. This submission was reviewed by
- Thomas Doerfler <Thomas.Doerfler@imd-systems.de> who ensured it did
- not negatively impact the ppc403 BSPs. The submission and tracking
- process was captured as PR50.
- * include/bsp.h: Increase the interrupt stack size to 16K.
-
-2001-10-25 Joel Sherrill <joel@OARcorp.com>
-
- * startup/linkcmds: Added _init and _fini.
-
-2001-10-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
-
- * .cvsignore: Add autom4te.cache for autoconf > 2.52.
- * configure.in: Remove.
- * configure.ac: New file, generated from configure.in by autoupdate.
-
-2001-09-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
-
- * include/Makefile.am: Use 'TMPINSTALL_FILES ='.
-
-2001-05-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
-
- * configure.in: Add bspopts.h.
- * include/.cvsignore: Add bspopts.h*, stamp-h*.
- * include/Makefile.am: Use *_HEADERS instead of *H_FILES.
- * include/bsp.h: Include bspopts.h.
-
-2001-05-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
-
- * configure.in: Use RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm]).
-
-2000-11-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
-
- * Makefile.am: Use ... instead of RTEMS_TOPdir in ACLOCAL_AMFLAGS.
-
-2000-11-02 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
-
- * Makefile.am: Switch to ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal.
-
-2000-11-01 Joel Sherrill <joel@OARcorp.com>
-
- * startup/bspstart.c: assoc.h, error.h, libio_.h, libio.h,
- and libcsupport.h moved from libc to lib/include/rtems and
- now must be referenced as <rtems/XXX.h>. Header file order
- was cleaned up while doing this.
-
-2000-10-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
-
- * Makefile.am: ACLOCAL_AMFLAGS= -I $(RTEMS_TOPdir)/macros.
- Switch to GNU canonicalization.
-
-2000-09-29 Charles-Antoine Gauthier <charles.gauthier@nrc.ca>
-
- * startup/linkcmds: Added lines so DWARF debug information
- would be available. Otherwise gdb complains that the offsets
- for the debug info are incorrect and doesn't load the files.
-
-2000-09-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
-
- * dlentry/Makefile.am, flashentry/Makefile.am, startup/Makefile.am,
- wrapup/Makefile.am: Include compile.am
-
-2000-08-10 Joel Sherrill <joel@OARcorp.com>
-
- * ChangeLog: New file.
diff --git a/c/src/lib/libbsp/powerpc/helas403/Makefile.am b/c/src/lib/libbsp/powerpc/helas403/Makefile.am
deleted file mode 100644
index 702a4c1e22..0000000000
--- a/c/src/lib/libbsp/powerpc/helas403/Makefile.am
+++ /dev/null
@@ -1,59 +0,0 @@
-##
-## $Id$
-##
-
-ACLOCAL_AMFLAGS = -I ../../../../aclocal
-
-include $(top_srcdir)/../../../../automake/compile.am
-include $(top_srcdir)/../../bsp.am
-
-dist_project_lib_DATA = bsp_specs
-
-include_HEADERS = include/bsp.h
-include_HEADERS += include/tm27.h
-
-nodist_include_HEADERS = include/bspopts.h
-DISTCLEANFILES = include/bspopts.h
-
-noinst_PROGRAMS =
-
-dist_project_lib_DATA += bsp_specs.dl
-
-include_HEADERS += include/coverhd.h
-
-noinst_PROGRAMS += dlentry.rel
-dlentry_rel_SOURCES = dlentry/dlentry.S
-dlentry_rel_CPPFLAGS = $(AM_CPPFLAGS)
-dlentry_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
-
-noinst_PROGRAMS += flashentry.rel
-flashentry_rel_SOURCES = flashentry/flashentry.S
-flashentry_rel_CPPFLAGS = $(AM_CPPFLAGS)
-flashentry_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
-
-dist_project_lib_DATA += startup/linkcmds startup/linkcmds.dl
-
-noinst_PROGRAMS += startup.rel
-startup_rel_SOURCES = startup/bspclean.c ../../shared/bsplibc.c \
- ../../shared/bsppost.c startup/bspstart.c ../../shared/bootcard.c \
- ../../shared/sbrk.c startup/setvec.c \
- ../../shared/gnatinstallhandler.c ../../shared/dummy_printk_support.c
-startup_rel_CPPFLAGS = $(AM_CPPFLAGS)
-startup_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
-
-noinst_LIBRARIES = libbsp.a
-libbsp_a_SOURCES =
-
-libbsp_a_LIBADD = startup.rel dlentry.rel flashentry.rel
-
-libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/@exceptions@/rtems-cpu.rel \
- ../../../libcpu/@RTEMS_CPU@/ppc403/clock.rel \
- ../../../libcpu/@RTEMS_CPU@/ppc403/timer.rel \
- ../../../libcpu/@RTEMS_CPU@/ppc403/console.rel \
- ../../../libcpu/@RTEMS_CPU@/ppc403/vectors.rel \
- ../../../libcpu/@RTEMS_CPU@/ppc403/ictrl.rel
-
-EXTRA_DIST = times
-
-include $(srcdir)/preinstall.am
-include $(top_srcdir)/../../../../automake/local.am
diff --git a/c/src/lib/libbsp/powerpc/helas403/README b/c/src/lib/libbsp/powerpc/helas403/README
deleted file mode 100644
index 4e677a11b2..0000000000
--- a/c/src/lib/libbsp/powerpc/helas403/README
+++ /dev/null
@@ -1,105 +0,0 @@
-#
-# $Id$
-#
-
-BSP NAME: helas403
-BOARD: IMD, helas-ppc
-BUS: N/A
-CPU FAMILY: ppc
-CPU: PowerPC 403GA
-COPROCESSORS: N/A
-MODE: 32 bit mode
-
-DEBUG MONITOR: Modified Motorola FBUG
-
-PERIPHERALS
-===========
-TIMERS: 403GA internal
- RESOLUTION: .04 microseconds
-SERIAL PORTS: 403GA internal
-REAL-TIME CLOCK: 403GA internal
-DMA: 403GA internal
-VIDEO: none
-SCSI: none
-NETWORKING: none
-
-DRIVER INFORMATION
-==================
-CLOCK DRIVER: 403GA internal
-IOSUPP DRIVER: N/A
-SHMSUPP: N/A
-TIMER DRIVER: 403GA internal
-TTY DRIVER: 403GA internal
-
-STDIO
-=====
-PORT: Console port 0
-ELECTRICAL: RS-232
-BAUD: 9600
-BITS PER CHARACTER: 8
-PARITY: None
-STOP BITS: 1
-
-Notes
-=====
-
-Board description
------------------
-clock rate: 25 MHz
-bus width: 8-bit PROM, 32-bit DRAM
-ROM: Up to 512KByte (Am29F040), 90 nsec chip select 0
-RAM: 4 to 32 MByte DRAM SIMM (autodetect), 70 nsec,
- no parity, at CS7 or CS6+CS7 (for two-bank-SIMMs)
-
-
-helas403 only supports single processor operations.
-
-Porting
--------
-This board support package is written for a typical PPC403GA
-system. The rough features of this board are described above.
-
-This BSP contains files for two startup methods:
-- Direct start from Flash after powerup (with code run out of flash):
- This is the default configuration, it uses the files
- flashentry/flashentry.s
- startup/linkcmds
-
- Please note, that this configuration is good to startup the system,
-but it will not gain maximum performance due to slow Flash access (8
-bit wide only)
-
-- Start after software download into DRAM:
- This configuration will use:
- dlentry/dlentry.s
- startup/linkcmds.dl
-
-If you want to use the download configuration, it is sufficient to
-rename the file "startup/linkcmds.dl" to "startup/linkcmds", it will
-automatically reference the dlentry.s as entry code. (Renaming is not
-quite elegant, a more sophisticated solution will follow in future,
-any hints welcome ;-)
-
-For adapting this BSP to other boards, the following files should be
-modified:
-
-- c/src/lib/libbsp/powerpc/helas403/flashentry/flashentry.s
- for the memory controller configuration and other basic stuff
-
-- c/src/lib/libbsp/powerpc/helas403/startup/linkcmds[.dl]
- for the memory layout required
-
-- c/src/lib/libbsp/powerpc/helas403/startup/bspstart.c
- Here you can select the clock source for the timers and the serial
- interface (system clock or external clock pin), the clock rates,
- initial baud rate and other stuff
-
-- c/src/lib/libbsp/powerpc/helas403/include/bsp.h
- some BSP-related constants
-
-The actual drivers are placed in
-- c/src/lib/libcpu/powerpc/ppc403/*
- well, they should be generic, so there _should_ be no reason
- to mess around there (but who knows...)
-
-
diff --git a/c/src/lib/libbsp/powerpc/helas403/bsp_specs b/c/src/lib/libbsp/powerpc/helas403/bsp_specs
deleted file mode 100644
index d3fe77cd8a..0000000000
--- a/c/src/lib/libbsp/powerpc/helas403/bsp_specs
+++ /dev/null
@@ -1,13 +0,0 @@
-%rename endfile old_endfile
-%rename startfile old_startfile
-%rename link old_link
-
-*startfile:
-%{!qrtems: %(old_startfile)} \
-%{!nostdlib: %{qrtems: ecrti%O%s}}
-
-*endfile:
-%{!qrtems: %(old_endfile)} %{qrtems: ecrtn%O%s}
-
-*link:
-%{!qrtems: %(old_link)} %{qrtems: -dc -dp -u __vectors -u flash_entry -N }
diff --git a/c/src/lib/libbsp/powerpc/helas403/bsp_specs.dl b/c/src/lib/libbsp/powerpc/helas403/bsp_specs.dl
deleted file mode 100644
index 24804479a0..0000000000
--- a/c/src/lib/libbsp/powerpc/helas403/bsp_specs.dl
+++ /dev/null
@@ -1,23 +0,0 @@
-%rename cpp old_cpp
-%rename lib old_lib
-%rename endfile old_endfile
-%rename startfile old_startfile
-%rename link old_link
-
-*cpp:
-%(old_cpp) %{qrtems: -D__embedded__} -Asystem(embedded)
-
-*lib:
-%{!qrtems: %(old_lib)} %{qrtems: ecrti%O%s --start-group \
-%{!qrtems_debug: -lrtemsall} %{qrtems_debug: -lrtemsall_g} \
--lc -lgcc --end-group \
-%{!qnolinkcmds: -T linkcmds%s}}
-
-*startfile:
-%{!qrtems: %(old_startfile)} %{qrtems: \
-%{!qrtems_debug: } \
-%{qrtems_debug: }}
-
-*link:
-%{!qrtems: %(old_link)} %{qrtems: -dc -dp -u __vectors -u download_entry -N }
-
diff --git a/c/src/lib/libbsp/powerpc/helas403/configure.ac b/c/src/lib/libbsp/powerpc/helas403/configure.ac
deleted file mode 100644
index 8dfdc17e01..0000000000
--- a/c/src/lib/libbsp/powerpc/helas403/configure.ac
+++ /dev/null
@@ -1,38 +0,0 @@
-## Process this file with autoconf to produce a configure script.
-##
-## $Id$
-
-AC_PREREQ(2.60)
-AC_INIT([rtems-c-src-lib-libbsp-powerpc-helas403],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla])
-AC_CONFIG_SRCDIR([bsp_specs])
-RTEMS_TOP(../../../../../..)
-
-RTEMS_CANONICAL_TARGET_CPU
-AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.10])
-RTEMS_BSP_CONFIGURE
-
-RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm])
-RTEMS_CANONICALIZE_TOOLS
-RTEMS_PROG_CCAS
-
-RTEMS_CHECK_NETWORKING
-AM_CONDITIONAL(HAS_NETWORKING,test "$HAS_NETWORKING" = "yes")
-
-RTEMS_BSPOPTS_SET([PPC_USE_SPRG],[*],[1])
-RTEMS_BSPOPTS_HELP([PPC_USE_SPRG],
-[If defined, then the PowerPC specific code in RTEMS will use some
-of the special purpose registers to slightly optimize interrupt
-response time. The use of these registers can conflict with
-other tools like debuggers.])
-
-RTEMS_BSPOPTS_SET([PPC_VECTOR_FILE_BASE],[*],[0x0100])
-RTEMS_BSPOPTS_HELP([PPC_VECTOR_FILE_BASE],
-[This defines the base address of the exception table.
- NOTE: Vectors are actually at 0xFFF00000 but file starts at offset.])
-
-# Explicitly list all Makefiles here
-AC_CONFIG_FILES([Makefile])
-
-RTEMS_PPC_EXCEPTIONS
-
-AC_OUTPUT
diff --git a/c/src/lib/libbsp/powerpc/helas403/dlentry/dlentry.S b/c/src/lib/libbsp/powerpc/helas403/dlentry/dlentry.S
deleted file mode 100644
index f218d9c5d6..0000000000
--- a/c/src/lib/libbsp/powerpc/helas403/dlentry/dlentry.S
+++ /dev/null
@@ -1,146 +0,0 @@
-/* dlentry.s
- *
- * This file contains the entry code for RTEMS programs starting
- * after download to RAM
- *
- * Author: Thomas Doerfler <td@imd.m.isar.de>
- * IMD Ingenieurbuero fuer Microcomputertechnik
- *
- * COPYRIGHT (c) 1998 by IMD
- *
- * Changes from IMD are covered by the original distributions terms.
- * This file has been derived from the papyrus BSP:
- *
- * This file contains the entry veneer for RTEMS programs
- * downloaded to Papyrus.
- *
- * Author: Andrew Bray <andy@i-cubed.co.uk>
- *
- * COPYRIGHT (c) 1995 by i-cubed ltd.
- *
- * To anyone who acknowledges that this file is provided "AS IS"
- * without any express or implied warranty:
- * permission to use, copy, modify, and distribute this file
- * for any purpose is hereby granted without fee, provided that
- * the above copyright notice and this notice appears in all
- * copies, and that the name of i-cubed limited not be used in
- * advertising or publicity pertaining to distribution of the
- * software without specific, written prior permission.
- * i-cubed limited makes no representations about the suitability
- * of this software for any purpose.
- *
- * $Id$
- */
-
-#include <rtems/asm.h>
-
-/*
- * The helas403 ELF link scripts support three special sections:
- * .entry The actual entry point
- * .vectors The section containing the interrupt entry veneers.
- */
-
-/*
- * Downloaded code loads the vectors separately to 0x00000100,
- * so .entry can be over 256 bytes.
- *
- * The other sections are linked in the following order:
- * .entry
- * .text
- * .data
- * .bss
- * see linker command file for section placement
- *
- * The initial stack is set to stack.end
- *
- * All the entry veneer has to do is to clear the BSS.
- */
-
-/*
- * GDB likes to have debugging information for the entry veneer.
- * Here was some DWARF information. IMD removed it, because we
- * could not check, whether it was still correct. Sorry.
-
- */
-
-#if PPC_ASM == PPC_ASM_ELF
- .section .entry
-#else
- .csect .text[PR]
-#endif
-
- PUBLIC_VAR (download_entry)
-SYM(download_entry):
- bl .startup
-base_addr:
-
-/*---------------------------------------------------------------------------
- * Parameters from linker
- *--------------------------------------------------------------------------*/
-toc_pointer:
-#if PPC_ASM == PPC_ASM_ELF
- .long s.got
-#else
- .long TOC[tc0]
-#endif
-bss_length:
- .long bss.size
-bss_addr:
- .long bss.start
-stack_top:
- .long stack.end
-/*---------------------------------------------------------------------------
- * Reset_entry.
- *--------------------------------------------------------------------------*/
-.startup:
- /* Get start address, stack grows down from here... */
- mflr r1
-
- /* Assume Bank regs set up..., cache etc. */
- bl bssclr
-
- .extern SYM(__vectors)
-
- lis r2,__vectors@h /* set EVPR exc. vector prefix */
- mtspr evpr,r2
-
- /*-------------------------------------------------------------------
- * C_setup.
- *------------------------------------------------------------------*/
- lwz r2,toc_pointer-base_addr(r1) /* set r2 to toc */
- lwz r1,stack_top-base_addr(r1) /* set r1 to stack_top */
-
- addi r1,r1,-56-4 /* start stack at text_addr - 56 */
- addi r3,r0,0x0 /* clear r3 */
- stw r3, 0(r1) /* Clear stack chain */
- stw r3, 4(r1)
- stw r3, 8(r1)
- stw r3, 12(r1)
- lis r5,environ@ha
- la r5,environ@l(r5) /* environp */
- li r4, 0 /* argv */
- li r3, 0 /* argc */
- .extern SYM (boot_card)
- b SYM (boot_card) /* call the first C routine */
-
-/*---------------------------------------------------------------------------
- * bssclr.
- *--------------------------------------------------------------------------*/
-bssclr:
- /*-------------------------------------------------------------------
- * Data move finished, zero out bss.
- *------------------------------------------------------------------*/
- lwz r2,bss_addr-base_addr(r1) /* start of bss set by loader */
- lwz r3,bss_length-base_addr(r1) /* bss length */
- rlwinm. r3,r3,30,0x3FFFFFFF /* form length/4 */
- beqlr /* no bss */
- mtctr r3 /* set ctr reg */
- xor r6,r6,r6 /* r6 = 0 */
-clear_bss:
- stswi r6,r2,0x4 /* store r6 */
- addi r2,r2,0x4 /* update r2 */
- bdnz clear_bss /* decrement counter and loop */
- blr /* return */
-.L_text_e:
-
- .comm environ,4,4
diff --git a/c/src/lib/libbsp/powerpc/helas403/flashentry/flashentry.S b/c/src/lib/libbsp/powerpc/helas403/flashentry/flashentry.S
deleted file mode 100644
index d73e7ec4d4..0000000000
--- a/c/src/lib/libbsp/powerpc/helas403/flashentry/flashentry.S
+++ /dev/null
@@ -1,466 +0,0 @@
-/* flashentry.s
- *
- * This file contains the entry code for RTEMS programs starting
- * directly from Flash.
- *
- * Author: Thomas Doerfler <td@imd.m.isar.de>
- * IMD Ingenieurbuero fuer Microcomputertechnik
- *
- * COPYRIGHT (c) 1998 by IMD
- *
- * Changes from IMD are covered by the original distributions terms.
- * This file has been derived from the papyrus BSP:
- *
- * This file contains the entry veneer for RTEMS programs
- * stored in Papyrus' flash ROM.
- *
- * Author: Andrew Bray <andy@i-cubed.co.uk>
- *
- * COPYRIGHT (c) 1995 by i-cubed ltd.
- *
- * To anyone who acknowledges that this file is provided "AS IS"
- * without any express or implied warranty:
- * permission to use, copy, modify, and distribute this file
- * for any purpose is hereby granted without fee, provided that
- * the above copyright notice and this notice appears in all
- * copies, and that the name of i-cubed limited not be used in
- * advertising or publicity pertaining to distribution of the
- * software without specific, written prior permission.
- * i-cubed limited makes no representations about the suitability
- * of this software for any purpose.
- *
- * $Id$
- */
-
-#include <rtems/asm.h>
-#include <rtems/powerpc/powerpc.h>
-
-/*----------------------------------------------------------------------------
- * Reset_entry.
- *---------------------------------------------------------------------------*/
-#if PPC_ASM == PPC_ASM_ELF
- .section .reset,"ax",@progbits
- /* this section MUST be located at absolute address 0xFFFFFFFC
- or last word of EPROM */
-#else
- .csect .text[PR]
-#endif
-
- ba flash_entry /* this is the first instruction after reset */
-
- .previous
-
-/*----------------------------------------------------------------------------
- * ROM Vector area.
- *---------------------------------------------------------------------------*/
-#if PPC_ASM == PPC_ASM_ELF
- .section .entry,"ax",@progbits
-#else
- .csect .text[PR]
-#endif
- PUBLIC_VAR (flash_entry)
-SYM (flash_entry):
- bl .startup /* call startup, link reg points to base_addr */
-base_addr:
-/*----------------------------------------------------------------------------
- * Parameters from linker
- *---------------------------------------------------------------------------*/
-toc_pointer:
-#if PPC_ASM == PPC_ASM_ELF
- .long s.got
-#else
- .long TOC[tc0]
-#endif
-text_length:
- .long text.size
-text_addr:
- .long text.start
-copy_src:
- .long copy.src
-copy_length:
- .long copy.size
-copy_dest:
- .long copy.dest
-bss_length:
- .long bss.size
-bss_addr:
- .long bss.start
-stack_top:
- .long stack.end
-
-/*----------------------------------------------------------------------------
- * from Reset_entry.
- *---------------------------------------------------------------------------*/
-.startup:
- /* Get start address, r1 points to label base_addr */
- mflr r1
-
- /* Set up Bank regs, cache etc. */
- /* set up bank register BR0 for Flash-EPROM:
- * NOTE: bank size should stay 1MByte, this is standard size
- * after RESET
- * base addr = Fffxxxxx -> 0b11111111........................
- * bank size = 1 MByte -> 0b........000..................... (std)
- * bank use = readonly -> 0b...........01...................
- * seq. fill = targ frst-> 0b.............0..................
- * burst mode= enable -> 0b..............1.................
- * bus width = 8 bit -> 0b...............00...............
- * ready pin = disable -> 0b.................0..............
- * first wait= 2 clocks -> 0b..................0010..........
- * burst wait= 2 clocks -> 0b......................10........
- * CSon time = 0 clocks -> 0b........................0.......
- * OEon time = 0 clocks -> 0b.........................0......
- * WBon time = 1 clocks -> 0b..........................1.....
- * WBoff time= 0 clocks -> 0b...........................0....
- * Hold time = 1 clocks -> 0b............................001.
- * ram type = SRAM(ign)-> 0b...............................1
- * value 0b11111111000010100000101000100011
- * 0x F F 0 A 0 A 2 3
- */
- lis r2,0xFF0A
- ori r2,r2,0x0A23
-
- mtdcr br0,r2 /* write to DCR BR0 */
-
- /*--------------------------------------------------------------------
- * test various RAM configurations (from big to small per bank)
- *------------------------------------------------------------------*/
- /*--------------------------------------------------------------------
- * test RAM config 16 MByte (1x4Mx32Bit)
- *------------------------------------------------------------------*/
- /* set up bank register BR7 for DRAM:
- * base addr = 000xxxxx -> 0b00000000........................
- * bank size = 16MByte -> 0b........100.....................
- * bank use = readwrite-> 0b...........11...................
- * seq. fill = targ.frst-> 0b.............0..................
- * early RAS = disabled -> 0b..............0.................
- * bus width = 32bit -> 0b...............10...............
- * adr mux = internal -> 0b.................0..............
- * RAS to CAS= 2 clocks -> 0b..................1.............
- * Alt. Rfrsh= normal -> 0b...................0............
- * page mode = enabled -> 0b....................1...........
- * first wait= 1 clocks -> 0b.....................01.........
- * burst wait= 1 clocks -> 0b.......................01.......
- * precharge = 1 clocks -> 0b.........................0......
- * RAS Rfrsh = 2 clocks -> 0b..........................1.....
- * Rfrsh Itvl= 512 clks -> 0b...........................1000.
- * ram type = DRAM -> 0b...............................0
- * value 0b00000000100110010010101010110000
- * 0x 0 0 9 9 2 A B 0
- */
- lis r2,0x0099
- ori r2,r2,0x2AB0
- mtdcr br7,r2 /* write to DCR BR7*/
-
- lis r2,0x0000 /* start address = 0x00000000 */
- lis r3,0x0100 /* size 16 MB = 0x01000000 */
- bl ramacc /* test memory accessibility */
- cmpi 0,0,r4,0 /* memory ok? else test smaller size */
- bne ramcfgt18
-
- /*--------------------------------------------------------------------
- * test RAM config 32 MByte (2x4Mx32Bit)
- *------------------------------------------------------------------*/
- /* set up bank register BR7 like above
- * set up bank register BR6 for DRAM:
- * base addr = 010xxxxx -> 0b00010000........................
- * bank size = 16MByte -> 0b........100..................... (for now)
- * bank use = readwrite-> 0b...........11...................
- * seq. fill = targ.frst-> 0b.............0..................
- * early RAS = disabled -> 0b..............0.................
- * bus width = 32bit -> 0b...............10...............
- * adr mux = internal -> 0b.................0..............
- * RAS to CAS= 2 clocks -> 0b..................1.............
- * Alt. Rfrsh= normal -> 0b...................0............
- * page mode = enabled -> 0b....................1...........
- * first wait= 1 clocks -> 0b.....................01.........
- * burst wait= 1 clocks -> 0b.......................01.......
- * precharge = 1 clocks -> 0b.........................0......
- * RAS Rfrsh = 2 clocks -> 0b..........................1.....
- * Rfrsh Itvl= 512 clks -> 0b...........................1000.
- * ram type = DRAM -> 0b...............................0
- * value 0b00010000100110010010101010110000
- * 0x 1 0 9 9 2 A B 0
- */
- lis r2,0x1099
- ori r2,r2,0x2AB0
- mtdcr br6,r2 /* write to DCR BR6*/
-
- lis r2,0x0100 /* start address = 0x01000000 */
- lis r3,0x0100 /* size 16 MB = 0x01000000 */
- bl ramacc /* test memory accessibility */
- cmpi 0,0,r4,0 /* memory ok? else test smaller size */
- beq ramcfgok /* ok, we found configuration... */
-
- lis r2,0x0000 /* disable BR6, config not ok */
- mtdcr br6,r2 /* write to DCR BR6*/
- b ramcfgok /* and finish configuration */
-
-ramcfgt18:
- /*--------------------------------------------------------------------
- * test RAM config 8 MByte (1x2Mx32Bit)
- *------------------------------------------------------------------*/
- /* set up bank register BR7 for DRAM:
- * base addr = 000xxxxx -> 0b00000000........................
- * bank size = 8MByte -> 0b........011.....................
- * bank use = readwrite-> 0b...........11...................
- * seq. fill = targ.frst-> 0b.............0..................
- * early RAS = disabled -> 0b..............0.................
- * bus width = 32bit -> 0b...............10...............
- * adr mux = internal -> 0b.................0..............
- * RAS to CAS= 2 clocks -> 0b..................1.............
- * Alt. Rfrsh= normal -> 0b...................0............
- * page mode = enabled -> 0b....................1...........
- * first wait= 1 clocks -> 0b.....................01.........
- * burst wait= 1 clocks -> 0b.......................01.......
- * precharge = 1 clocks -> 0b.........................0......
- * RAS Rfrsh = 2 clocks -> 0b..........................1.....
- * Rfrsh Itvl= 512 clks -> 0b...........................1000.
- * ram type = DRAM -> 0b...............................0
- * value 0b00000000011110010010101010110000
- * 0x 0 0 7 9 2 A B 0
- */
- lis r2,0x0079
- ori r2,r2,0x2AB0
- mtdcr br7,r2 /* write to DCR BR7 */
-
- lis r2,0x0000 /* start address = 0x00000000 */
- lis r3,0x0080 /* size 8 MB = 0x00800000 */
- bl ramacc /* test memory accessibility */
- cmpi 0,0,r4,0 /* memory ok? else test smaller size */
- bne ramcfgt14
-
- /*--------------------------------------------------------------------
- * test RAM config 16 MByte (2x2Mx32Bit)
- *------------------------------------------------------------------*/
- /* set up bank register BR7 like above
- * set up bank register BR6 for DRAM:
- * base addr = 008xxxxx -> 0b00001000........................
- * bank size = 08MByte -> 0b........011..................... (for now)
- * bank use = readwrite-> 0b...........11...................
- * seq. fill = targ.frst-> 0b.............0..................
- * early RAS = disabled -> 0b..............0.................
- * bus width = 32bit -> 0b...............10...............
- * adr mux = internal -> 0b.................0..............
- * RAS to CAS= 2 clocks -> 0b..................1.............
- * Alt. Rfrsh= normal -> 0b...................0............
- * page mode = enabled -> 0b....................1...........
- * first wait= 1 clocks -> 0b.....................01.........
- * burst wait= 1 clocks -> 0b.......................01.......
- * precharge = 1 clocks -> 0b.........................0......
- * RAS Rfrsh = 2 clocks -> 0b..........................1.....
- * Rfrsh Itvl= 512 clks -> 0b...........................1000.
- * ram type = DRAM -> 0b...............................0
- * value 0b00001000011110010010101010110000
- * 0x 0 8 7 9 2 A B 0
- */
- lis r2,0x0879
- ori r2,r2,0x2AB0
- mtdcr br6,r2 /* write to DCR BR6*/
-
- lis r2,0x0080 /* start address = 0x00800000 */
- lis r3,0x0080 /* size 8 MB = 0x00800000 */
- bl ramacc /* test memory accessibility */
- cmpi 0,0,r4,0 /* memory ok? else test smaller size */
- beq ramcfgok /* ok, we found configuration... */
-
- lis r2,0x0000 /* disable BR6, config not ok */
- mtdcr br6,r2 /* write to DCR BR6*/
- b ramcfgok /* and finish configuration */
-
-ramcfgt14:
- /*--------------------------------------------------------------------
- * test RAM config 4 MByte (1x1Mx32Bit)
- *------------------------------------------------------------------*/
- /* set up bank register BR7 for DRAM:
- * base addr = 000xxxxx -> 0b00000000........................
- * bank size = 4MByte -> 0b........010.....................
- * bank use = readwrite-> 0b...........11...................
- * seq. fill = targ.frst-> 0b.............0..................
- * early RAS = disabled -> 0b..............0.................
- * bus width = 32bit -> 0b...............10...............
- * adr mux = internal -> 0b.................0..............
- * RAS to CAS= 2 clocks -> 0b..................1.............
- * Alt. Rfrsh= normal -> 0b...................0............
- * page mode = enabled -> 0b....................1...........
- * first wait= 1 clocks -> 0b.....................01.........
- * burst wait= 1 clocks -> 0b.......................01.......
- * precharge = 1 clocks -> 0b.........................0......
- * RAS Rfrsh = 2 clocks -> 0b..........................1.....
- * Rfrsh Itvl= 512 clks -> 0b...........................1000.
- * ram type = DRAM -> 0b...............................0
- * value 0b00000000010110010010101010110000
- * 0x 0 0 5 9 2 A B 0
- */
- /*
- * FIXME: this is the minimum size supported, should test and
- * report error, when failed
- */
- lis r2,0x0059
- ori r2,r2,0x2AB0
- mtdcr br7,r2 /* write to DCR BR7*/
-
- /*--------------------------------------------------------------------
- * test RAM config 8 MByte (2x1Mx32Bit)
- *------------------------------------------------------------------*/
- /* set up bank register BR7 like above
- * set up bank register BR6 for DRAM:
- * base addr = 004xxxxx -> 0b00000100........................
- * bank size = 4MByte -> 0b........010..................... (for now)
- * bank use = readwrite-> 0b...........11...................
- * seq. fill = targ.frst-> 0b.............0..................
- * early RAS = disabled -> 0b..............0.................
- * bus width = 32bit -> 0b...............10...............
- * adr mux = internal -> 0b.................0..............
- * RAS to CAS= 2 clocks -> 0b..................1.............
- * Alt. Rfrsh= normal -> 0b...................0............
- * page mode = enabled -> 0b....................1...........
- * first wait= 1 clocks -> 0b.....................01.........
- * burst wait= 1 clocks -> 0b.......................01.......
- * precharge = 1 clocks -> 0b.........................0......
- * RAS Rfrsh = 2 clocks -> 0b..........................1.....
- * Rfrsh Itvl= 512 clks -> 0b...........................1000.
- * ram type = DRAM -> 0b...............................0
- * value 0b00000100010110010010101010110000
- * 0x 0 4 5 9 2 A B 0
- */
- lis r2,0x0459
- ori r2,r2,0x2AB0
- mtdcr br6,r2 /* write to DCR BR6*/
-
- lis r2,0x0040 /* start address = 0x00400000 */
- lis r3,0x0040 /* size 4 MB = 0x00400000 */
- bl ramacc /* test memory accessibility */
- cmpi 0,0,r4,0 /* memory ok? else test smaller size */
- beq ramcfgok /* ok, we found configuration... */
-
- lis r2,0x0000 /* disable BR6, config not ok */
- mtdcr br6,r2 /* write to DCR BR6*/
- b ramcfgok /* and finish configuration */
-
-ramcfgok:
- /*--------------------------------------------------------------------
- * init the DRAM where STACK+ DATA+ BBS will be placed. If this is OK
- * we will return here.
- *-------------------------------------------------------------------*/
- bl rom2ram
-
- /* clear caches */
- addi r2,0,PPC_I_CACHE/PPC_CACHE_ALIGNMENT
- mtctr r2 /* count the loops needed... */
- xor r2,r2,r2 /* start at adr zero */
-icinvlp:
- iccci 0,r2
- addi r2,r2,PPC_CACHE_ALIGNMENT
- bdnz icinvlp
-
- addi r2,r0,PPC_D_CACHE/PPC_CACHE_ALIGNMENT
- mtctr r2 /* count the loops needed... */
- xor r2,r2,r2 /* start at adr 0 */
-dcinvlp:
- dccci 0,r2
- addi r2,r2,PPC_CACHE_ALIGNMENT
- bdnz dcinvlp
- /*--------------------------------------------------------------------
- * Enable two 128MB cachable regions.
- * FEPROM is cachable at 0xFFF00000..0xFFFFFFFF
- * DRAM is cachable at 0x00000000..0x00FFFFFF
- * FEPROM is noncachable at 0x7FF00000..0x7FFFFFFF
- * DRAM is noncachable at 0x80000000..0x80FFFFFF
- *-------------------------------------------------------------------*/
- addis r2,r0,0x8000
- addi r2,r2,0x0001
-
- mtspr iccr, r2 /* ICCR */
- mtspr dccr, r2 /* DCCR */
-
- .extern SYM(__vectors)
-
- lis r2,__vectors@h /* set EVPR exc. vector prefix */
- mtspr evpr,r2
-
- lis r2,0x0000
- ori r2,r2,0x0000
- mtmsr r2 /* set default msr */
- lis r2,0x0000 /* do not allow critical IRQ */
- ori r2,r2,0x0000
- mtdcr exier, r2 /* disable all external IRQs */
-
- addi r2,r0,-1 /* r2 = 0xffffffff */
- mtdcr exisr, r2 /* clear all pendingdisable IRQs */
-
- /*--------------------------------------------------------------------
- * C_setup.
- *-------------------------------------------------------------------*/
-
- lwz r2,toc_pointer-base_addr(r1) /* set r2 to toc */
- lwz r1,stack_top-base_addr(r1) /* set r1 to stack_top */
-
- addi r1,r1,-56 /* start stack at data_addr - 56 */
- addi r3,r0,0x0 /* clear r3 */
- stw r3, 0(r1) /* Clear stack chain */
- stw r3, 4(r1)
- stw r3, 8(r1)
- stw r3, 12(r1)
- lis r5,environ@ha
- la r5,environ@l(r5) /* environp */
- li r4, 0 /* argv */
- li r3, 0 /* argc */
- .extern SYM (boot_card)
- b SYM (boot_card) /* call the first C routine */
-
-/*----------------------------------------------------------------------------
- * Rom2ram.
- *---------------------------------------------------------------------------*/
-rom2ram:
- lwz r2,copy_dest-base_addr(r1) /* start of data set by loader */
- lwz r3,copy_length-base_addr(r1) /* data length */
- rlwinm r3,r3,30,0x3FFFFFFF /* form length/4 */
- mtctr r3 /* set ctr reg */
- /*--------------------------------------------------------------------
- * Calculate offset of data in image.
- *-------------------------------------------------------------------*/
- lwz r4,copy_src-base_addr(r1) /* get start of copy area */
-move_data:
- lswi r6,r4,0x4 /* load r6 */
- stswi r6,r2,0x4 /* store r6 */
- addi r4,r4,0x4 /* update r4 */
- addi r2,r2,0x4 /* update r2 */
- bdnz move_data /* decrement counter and loop */
- /*--------------------------------------------------------------------
- * Data move finished, zero out bss.
- *-------------------------------------------------------------------*/
- lwz r2,bss_addr-base_addr(r1) /* start of bss set by loader */
- lwz r3,bss_length-base_addr(r1) /* bss length */
- rlwinm. r3,r3,30,0x3FFFFFFF /* form length/4 */
- beqlr /* no bss */
- mtctr r3 /* set ctr reg */
- xor r6,r6,r6 /* r6 = 0 */
-clear_bss:
- stswi r6,r2,0x4 /* store r6 */
- addi r2,r2,0x4 /* update r2 */
- bdnz clear_bss /* decrement counter and loop */
- blr /* return */
-
-/*----------------------------------------------------------------------------
- * ramacc test accessibility of RAM
- * input: r2 = start address, r3 = length (in byte)
- * output: r4 = 0 -> ok, !=0 -> fail
- *---------------------------------------------------------------------------*/
-ramacc:
- xor r4,r4,r4 /* r4 = 0 */
- stw r4,0(r2) /* init ram at start address */
- addi r4,r0,0x04 /* set start shift */
-ramaccf1:
- cmp 0,0,r4,r3 /* compare with length */
- bge ramaccfx /* r4 >= r3? then finished */
- add r5,r4,r2 /* get next address to fill */
- stw r4,0(r5) /* store new pattern */
- add r4,r4,r4 /* r4 = r4*2 */
- b ramaccf1 /* and then next loop */
-
-ramaccfx:
- lwz r4,0(r2) /* get memory at start adr */
- blr
-
- .comm environ,4,4
diff --git a/c/src/lib/libbsp/powerpc/helas403/include/.cvsignore b/c/src/lib/libbsp/powerpc/helas403/include/.cvsignore
deleted file mode 100644
index 5f1077556d..0000000000
--- a/c/src/lib/libbsp/powerpc/helas403/include/.cvsignore
+++ /dev/null
@@ -1,4 +0,0 @@
-bspopts.h
-bspopts.h.in
-stamp-h
-stamp-h.in
diff --git a/c/src/lib/libbsp/powerpc/helas403/include/bsp.h b/c/src/lib/libbsp/powerpc/helas403/include/bsp.h
deleted file mode 100644
index 774c8fe5c8..0000000000
--- a/c/src/lib/libbsp/powerpc/helas403/include/bsp.h
+++ /dev/null
@@ -1,92 +0,0 @@
-/* bsp.h
- *
- * This include file contains all HELAS-403 board IO definitions.
- *
- * Author: Thomas Doerfler <td@imd.m.isar.de>
- * IMD Ingenieurbuero fuer Microcomputertechnik
- *
- * COPYRIGHT (c) 1998 by IMD
- *
- * Changes from IMD are covered by the original distributions terms.
- * This file has been derived from the papyrus BSP.
- *
- * Author: Andrew Bray <andy@i-cubed.co.uk>
- *
- * COPYRIGHT (c) 1995 by i-cubed ltd.
- *
- * To anyone who acknowledges that this file is provided "AS IS"
- * without any express or implied warranty:
- * permission to use, copy, modify, and distribute this file
- * for any purpose is hereby granted without fee, provided that
- * the above copyright notice and this notice appears in all
- * copies, and that the name of i-cubed limited not be used in
- * advertising or publicity pertaining to distribution of the
- * software without specific, written prior permission.
- * i-cubed limited makes no representations about the suitability
- * of this software for any purpose.
- *
- * Derived from c/src/lib/libbsp/no_cpu/no_bsp/include/bsp.h
- *
- * 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$
- */
-
-#ifndef _BSP_H
-#define _BSP_H
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-#include <bspopts.h>
-
-#ifdef ASM
-/* Definition of where to store registers in alignment handler */
-#define ALIGN_REGS 0x0140
-
-#else
-#include <rtems.h>
-#include <rtems/console.h>
-#include <rtems/clockdrv.h>
-#include <rtems/console.h>
-#include <rtems/iosupp.h>
-
-/* Constants */
-
-#define RAM_START 0
-#define RAM_END 0x00800000
-
-/* miscellaneous stuff assumed to exist */
-
-/*
- * Device Driver Table Entries
- */
-
-/*
- * NOTE: Use the standard Console driver entry
- */
-
-/*
- * NOTE: Use the standard Clock driver entry
- */
-
-/* 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
-}
-#endif
-
-#endif
diff --git a/c/src/lib/libbsp/powerpc/helas403/include/coverhd.h b/c/src/lib/libbsp/powerpc/helas403/include/coverhd.h
deleted file mode 100644
index f39d324eaa..0000000000
--- a/c/src/lib/libbsp/powerpc/helas403/include/coverhd.h
+++ /dev/null
@@ -1,133 +0,0 @@
-/* coverhd.h
- *
- * This include file has defines to represent the overhead associated
- * with calling a particular directive from C. These are used in the
- * Timing Test Suite to ignore the overhead required to pass arguments
- * to directives. On some CPUs and/or target boards, this overhead
- * is significant and makes it difficult to distinguish internal
- * RTEMS execution time from that used to call the directive.
- * This file should be updated after running the C overhead timing
- * test. Once this update has been performed, the RTEMS Time Test
- * Suite should be rebuilt to account for these overhead times in the
- * timing results.
- *
- * NOTE: If these are all zero, then the times reported include
- * all calling overhead including passing of arguments.
- *
- * 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$
- */
-
-/*
- * Updated for a 25MHz Papyrus by Andrew Bray <andy@i-cubed.co.uk>
- *
- * Units are 100ns.
- *
- * These numbers are of questionable use, as they are developed by calling
- * the routine many times, thus getting its entry veneer into the (small)
- * cache on the 403GA. This in general is not true of the RTEMS timing
- * tests, which usually call a routine only once, thus having no cache loaded
- * advantage.
- *
- * Whether the directive times are useful after deducting the function call
- * overhead is also questionable. The user is more interested generally
- * in the total cost of a directive, not the cost if the procedure call
- * is inlined! (In general this is not true).
- *
- * Andrew Bray 18/08/1995
- *
- */
-
-#ifndef __COVERHD_h
-#define __COVERHD_h
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-#define CALLING_OVERHEAD_INITIALIZE_EXECUTIVE 1
-#define CALLING_OVERHEAD_SHUTDOWN_EXECUTIVE 1
-#define CALLING_OVERHEAD_TASK_CREATE 3
-#define CALLING_OVERHEAD_TASK_IDENT 1
-#define CALLING_OVERHEAD_TASK_START 1
-#define CALLING_OVERHEAD_TASK_RESTART 1
-#define CALLING_OVERHEAD_TASK_DELETE 1
-#define CALLING_OVERHEAD_TASK_SUSPEND 1
-#define CALLING_OVERHEAD_TASK_RESUME 1
-#define CALLING_OVERHEAD_TASK_SET_PRIORITY 1
-#define CALLING_OVERHEAD_TASK_MODE 1
-#define CALLING_OVERHEAD_TASK_GET_NOTE 1
-#define CALLING_OVERHEAD_TASK_SET_NOTE 1
-#define CALLING_OVERHEAD_TASK_WAKE_WHEN 4
-#define CALLING_OVERHEAD_TASK_WAKE_AFTER 1
-#define CALLING_OVERHEAD_INTERRUPT_CATCH 1
-#define CALLING_OVERHEAD_CLOCK_GET 4
-#define CALLING_OVERHEAD_CLOCK_SET 3
-#define CALLING_OVERHEAD_CLOCK_TICK 1
-
-#define CALLING_OVERHEAD_TIMER_CREATE 1
-#define CALLING_OVERHEAD_TIMER_IDENT 1
-#define CALLING_OVERHEAD_TIMER_DELETE 1
-#define CALLING_OVERHEAD_TIMER_FIRE_AFTER 2
-#define CALLING_OVERHEAD_TIMER_FIRE_WHEN 5
-#define CALLING_OVERHEAD_TIMER_RESET 1
-#define CALLING_OVERHEAD_TIMER_CANCEL 1
-#define CALLING_OVERHEAD_SEMAPHORE_CREATE 2
-#define CALLING_OVERHEAD_SEMAPHORE_IDENT 1
-#define CALLING_OVERHEAD_SEMAPHORE_DELETE 1
-#define CALLING_OVERHEAD_SEMAPHORE_OBTAIN 1
-#define CALLING_OVERHEAD_SEMAPHORE_RELEASE 1
-#define CALLING_OVERHEAD_MESSAGE_QUEUE_CREATE 2
-#define CALLING_OVERHEAD_MESSAGE_QUEUE_IDENT 1
-#define CALLING_OVERHEAD_MESSAGE_QUEUE_DELETE 1
-#define CALLING_OVERHEAD_MESSAGE_QUEUE_SEND 1
-#define CALLING_OVERHEAD_MESSAGE_QUEUE_URGENT 1
-#define CALLING_OVERHEAD_MESSAGE_QUEUE_BROADCAST 1
-#define CALLING_OVERHEAD_MESSAGE_QUEUE_RECEIVE 2
-#define CALLING_OVERHEAD_MESSAGE_QUEUE_FLUSH 1
-
-#define CALLING_OVERHEAD_EVENT_SEND 1
-#define CALLING_OVERHEAD_EVENT_RECEIVE 2
-#define CALLING_OVERHEAD_SIGNAL_CATCH 1
-#define CALLING_OVERHEAD_SIGNAL_SEND 1
-#define CALLING_OVERHEAD_PARTITION_CREATE 3
-#define CALLING_OVERHEAD_PARTITION_IDENT 1
-#define CALLING_OVERHEAD_PARTITION_DELETE 1
-#define CALLING_OVERHEAD_PARTITION_GET_BUFFER 1
-#define CALLING_OVERHEAD_PARTITION_RETURN_BUFFER 1
-#define CALLING_OVERHEAD_REGION_CREATE 3
-#define CALLING_OVERHEAD_REGION_IDENT 1
-#define CALLING_OVERHEAD_REGION_DELETE 1
-#define CALLING_OVERHEAD_REGION_GET_SEGMENT 2
-#define CALLING_OVERHEAD_REGION_RETURN_SEGMENT 1
-#define CALLING_OVERHEAD_PORT_CREATE 2
-#define CALLING_OVERHEAD_PORT_IDENT 1
-#define CALLING_OVERHEAD_PORT_DELETE 1
-#define CALLING_OVERHEAD_PORT_EXTERNAL_TO_INTERNAL 1
-#define CALLING_OVERHEAD_PORT_INTERNAL_TO_EXTERNAL 2
-
-#define CALLING_OVERHEAD_IO_INITIALIZE 2
-#define CALLING_OVERHEAD_IO_OPEN 2
-#define CALLING_OVERHEAD_IO_CLOSE 2
-#define CALLING_OVERHEAD_IO_READ 2
-#define CALLING_OVERHEAD_IO_WRITE 2
-#define CALLING_OVERHEAD_IO_CONTROL 2
-#define CALLING_OVERHEAD_FATAL_ERROR_OCCURRED 1
-#define CALLING_OVERHEAD_RATE_MONOTONIC_CREATE 1
-#define CALLING_OVERHEAD_RATE_MONOTONIC_IDENT 1
-#define CALLING_OVERHEAD_RATE_MONOTONIC_DELETE 1
-#define CALLING_OVERHEAD_RATE_MONOTONIC_CANCEL 1
-#define CALLING_OVERHEAD_RATE_MONOTONIC_PERIOD 1
-#define CALLING_OVERHEAD_MULTIPROCESSING_ANNOUNCE 1
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif
diff --git a/c/src/lib/libbsp/powerpc/helas403/include/tm27.h b/c/src/lib/libbsp/powerpc/helas403/include/tm27.h
deleted file mode 100644
index 18f3b6b32b..0000000000
--- a/c/src/lib/libbsp/powerpc/helas403/include/tm27.h
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- * 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
-#error "This is an RTEMS internal file you must not include directly."
-#endif
-
-#ifndef __tm27_h
-#define __tm27_h
-
-/*
- * Stuff for Time Test 27
- */
-
-#define MUST_WAIT_FOR_INTERRUPT 0
-
-#define Install_tm27_vector( handler ) set_vector( (handler), PPC_IRQ_SCALL, 1 )
-
-#define Cause_tm27_intr() asm volatile ("sc")
-
-#define Clear_tm27_intr() /* empty */
-
-#define Lower_tm27_intr() /* empty */
-
-#endif
diff --git a/c/src/lib/libbsp/powerpc/helas403/preinstall.am b/c/src/lib/libbsp/powerpc/helas403/preinstall.am
deleted file mode 100644
index 41817a3342..0000000000
--- a/c/src/lib/libbsp/powerpc/helas403/preinstall.am
+++ /dev/null
@@ -1,57 +0,0 @@
-## Automatically generated by ampolish3 - Do not edit
-
-if AMPOLISH3
-$(srcdir)/preinstall.am: Makefile.am
- $(AMPOLISH3) $(srcdir)/Makefile.am > $(srcdir)/preinstall.am
-endif
-
-PREINSTALL_DIRS =
-DISTCLEANFILES += $(PREINSTALL_DIRS)
-
-all-am: $(PREINSTALL_FILES)
-
-PREINSTALL_FILES =
-CLEANFILES = $(PREINSTALL_FILES)
-
-$(PROJECT_LIB)/$(dirstamp):
- @$(MKDIR_P) $(PROJECT_LIB)
- @: > $(PROJECT_LIB)/$(dirstamp)
-PREINSTALL_DIRS += $(PROJECT_LIB)/$(dirstamp)
-
-$(PROJECT_INCLUDE)/$(dirstamp):
- @$(MKDIR_P) $(PROJECT_INCLUDE)
- @: > $(PROJECT_INCLUDE)/$(dirstamp)
-PREINSTALL_DIRS += $(PROJECT_INCLUDE)/$(dirstamp)
-
-$(PROJECT_LIB)/bsp_specs: bsp_specs $(PROJECT_LIB)/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_LIB)/bsp_specs
-PREINSTALL_FILES += $(PROJECT_LIB)/bsp_specs
-
-$(PROJECT_INCLUDE)/bsp.h: include/bsp.h $(PROJECT_INCLUDE)/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp.h
-
-$(PROJECT_INCLUDE)/tm27.h: include/tm27.h $(PROJECT_INCLUDE)/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/tm27.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/tm27.h
-
-$(PROJECT_INCLUDE)/bspopts.h: include/bspopts.h $(PROJECT_INCLUDE)/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bspopts.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/bspopts.h
-
-$(PROJECT_LIB)/bsp_specs.dl: bsp_specs.dl $(PROJECT_LIB)/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_LIB)/bsp_specs.dl
-PREINSTALL_FILES += $(PROJECT_LIB)/bsp_specs.dl
-
-$(PROJECT_INCLUDE)/coverhd.h: include/coverhd.h $(PROJECT_INCLUDE)/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/coverhd.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/coverhd.h
-
-$(PROJECT_LIB)/linkcmds: startup/linkcmds $(PROJECT_LIB)/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_LIB)/linkcmds
-PREINSTALL_FILES += $(PROJECT_LIB)/linkcmds
-
-$(PROJECT_LIB)/linkcmds.dl: startup/linkcmds.dl $(PROJECT_LIB)/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_LIB)/linkcmds.dl
-PREINSTALL_FILES += $(PROJECT_LIB)/linkcmds.dl
-
diff --git a/c/src/lib/libbsp/powerpc/helas403/startup/bspclean.c b/c/src/lib/libbsp/powerpc/helas403/startup/bspclean.c
deleted file mode 100644
index 56699da354..0000000000
--- a/c/src/lib/libbsp/powerpc/helas403/startup/bspclean.c
+++ /dev/null
@@ -1,43 +0,0 @@
-/* bsp_cleanup()
- *
- * This routine normally is part of start.s and usually returns
- * control to a monitor.
- *
- * INPUT: NONE
- *
- * OUTPUT: NONE
- *
- * Author: Andrew Bray <andy@i-cubed.co.uk>
- *
- * COPYRIGHT (c) 1995 by i-cubed ltd.
- *
- * To anyone who acknowledges that this file is provided "AS IS"
- * without any express or implied warranty:
- * permission to use, copy, modify, and distribute this file
- * for any purpose is hereby granted without fee, provided that
- * the above copyright notice and this notice appears in all
- * copies, and that the name of i-cubed limited not be used in
- * advertising or publicity pertaining to distribution of the
- * software without specific, written prior permission.
- * i-cubed limited makes no representations about the suitability
- * of this software for any purpose.
- *
- * Derived from c/src/lib/libbsp/no_cpu/no_bsp/startup/bspclean.c:
- *
- * 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>
-
-void bsp_cleanup( void )
-{
- rtems_fatal_error_occurred(0);
-}
diff --git a/c/src/lib/libbsp/powerpc/helas403/startup/bspstart.c b/c/src/lib/libbsp/powerpc/helas403/startup/bspstart.c
deleted file mode 100644
index f2a180b96d..0000000000
--- a/c/src/lib/libbsp/powerpc/helas403/startup/bspstart.c
+++ /dev/null
@@ -1,175 +0,0 @@
-/* bsp_start()
- *
- * 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.
- *
- * INPUT: NONE
- *
- * OUTPUT: NONE
- *
- * Author: Thomas Doerfler <td@imd.m.isar.de>
- * IMD Ingenieurbuero fuer Microcomputertechnik
- *
- * COPYRIGHT (c) 1998 by IMD
- *
- * Changes from IMD are covered by the original distributions terms.
- * This file has been derived from the papyrus BSP:
- *
- * Author: Andrew Bray <andy@i-cubed.co.uk>
- *
- * COPYRIGHT (c) 1995 by i-cubed ltd.
- *
- * To anyone who acknowledges that this file is provided "AS IS"
- * without any express or implied warranty:
- * permission to use, copy, modify, and distribute this file
- * for any purpose is hereby granted without fee, provided that
- * the above copyright notice and this notice appears in all
- * copies, and that the name of i-cubed limited not be used in
- * advertising or publicity pertaining to distribution of the
- * software without specific, written prior permission.
- * i-cubed limited makes no representations about the suitability
- * of this software for any purpose.
- *
- * Modifications for spooling console driver and control of memory layout
- * with linker command file by
- * Thomas Doerfler <td@imd.m.isar.de>
- * for these modifications:
- * COPYRIGHT (c) 1997 by IMD, Puchheim, Germany.
- *
- * To anyone who acknowledges that this file is provided "AS IS"
- * without any express or implied warranty:
- * permission to use, copy, modify, and distribute this file
- * for any purpose is hereby granted without fee, provided that
- * the above copyright notice and this notice appears in all
- * copies. IMD makes no representations about the suitability
- * of this software for any purpose.
- *
- * Derived from c/src/lib/libbsp/no_cpu/no_bsp/startup/bspstart.c:
- *
- * COPYRIGHT (c) 1989, 1990, 1991, 1992, 1993, 1994.
- * On-Line Applications Research Corporation (OAR).
- *
- * $Id$
- */
-
-#include <string.h>
-#include <fcntl.h>
-
-#include <bsp.h>
-#include <rtems/libio.h>
-#include <rtems/libcsupport.h>
-#include <ictrl.h>
-
-void *bsp_ram_end = (void *)RAM_END; /* first addr behind avail. ram area */
-
-/*
- * Driver configuration parameters
- */
-uint32_t bsp_clicks_per_usec;
-uint32_t bsp_serial_per_sec; /* Serial clocks per second */
-boolean bsp_serial_external_clock;
-boolean bsp_serial_xon_xoff;
-boolean bsp_serial_cts_rts;
-uint32_t bsp_serial_rate;
-uint32_t bsp_timer_average_overhead; /* Average overhead of timer in ticks */
-uint32_t bsp_timer_least_valid; /* Least valid number from timer */
-boolean bsp_timer_internal_clock; /* TRUE, when timer runs with CPU clk */
-void (*bsp_spurious_handler)(uint32_t vector, CPU_Interrupt_frame *);
-
-/* Initialize whatever libc we are using
- * called from postdriver hook
- */
-
-void bsp_postdriver_hook(void);
-void bsp_libc_init( void *, uint32_t, int );
-
-/*
- *
- * bsp_predriver_hook
- *
- * Before drivers are setup.
- */
-
-void bsp_predriver_hook(void)
-{
- rtems_status_code status;
- /* init the PPC403GA external interrupt controller handler... */
- status = ictrl_init();
-}
-
-/*
- * Function: bsp_pretasking_hook
- * Created: 95/03/10
- *
- * Description:
- * BSP pretasking hook. Called just before drivers are initialized.
- * Used to setup libc and install any BSP extensions.
- *
- * NOTES:
- * Must not use libc (to do io) from here, since drivers are
- * not yet initialized.
- *
- */
-
-void bsp_pretasking_hook(void)
-{
- extern int _end;
- uint32_t heap_start;
-
- heap_start = (uint32_t) &_end;
- if (heap_start & (CPU_ALIGNMENT-1))
- heap_start = (heap_start + CPU_ALIGNMENT) & ~(CPU_ALIGNMENT-1);
-
- bsp_libc_init((void *) heap_start, 64 * 1024, 0);
-
-#ifdef RTEMS_DEBUG
- rtems_debug_enable( RTEMS_DEBUG_ALL_MASK );
-#endif
-}
-
-/*
- * bsp_start
- *
- * This routine does the bulk of the system initialization.
- */
-
-void bsp_start( void )
-{
- /*
- * Allocate the memory for the RTEMS Work Space. This can come from
- * a variety of places: hard coded address, malloc'ed from outside
- * RTEMS world (e.g. simulator or primitive memory manager), or (as
- * typically done by stock BSPs) by subtracting the required amount
- * of work space from the last physical address on the CPU board.
- */
-
- /*
- * Need to "allocate" the memory for the RTEMS Workspace and
- * tell the RTEMS configuration where it is. This memory is
- * not malloc'ed. It is just "pulled from the air".
- */
- /* FIME: plan usage of RAM better:
- - make top of ram dynamic,
- - take out some part for persistant log
- - make rest of ram to heap...
- -remove RAM_END from bsp.h, this cannot be valid...
- or must be a function call
- */
- Configuration.work_space_start = (void *)
- ((char *)(bsp_ram_end)) - rtems_configuration_get_work_space_size();
-
- /*
- * initialize the device driver parameters
- */
- bsp_clicks_per_usec = 25;
- bsp_serial_per_sec = 25000000;
- bsp_serial_external_clock = 0;
- bsp_timer_internal_clock = 1;
- bsp_serial_xon_xoff = 0;
- bsp_serial_cts_rts = 1;
- bsp_serial_rate = 9600;
- bsp_timer_average_overhead = 2;
- bsp_timer_least_valid = 3;
-}
diff --git a/c/src/lib/libbsp/powerpc/helas403/startup/linkcmds b/c/src/lib/libbsp/powerpc/helas403/startup/linkcmds
deleted file mode 100644
index bbb071a6e3..0000000000
--- a/c/src/lib/libbsp/powerpc/helas403/startup/linkcmds
+++ /dev/null
@@ -1,289 +0,0 @@
-/*
- * This file contains directives for the GNU linker which are specific
- * to the helas-403
- * This file is intended to be used together with flashentry.s
- * it will generate a ROM that can be started directly after powerup reset
- * $Id$
- */
-
-OUTPUT_FORMAT("elf32-powerpc", "elf32-powerpc",
- "elf32-powerpc")
-OUTPUT_ARCH(powerpc)
-
-ENTRY(flash_entry)
-
-MEMORY
- {
- RAM : ORIGIN = 0, LENGTH = 8M
- FLASH : ORIGIN = 0xFFF00000, LENGTH = 512K
- }
-
- /* DIRTY TRICK: repeat addresses here, so we can work with them... */
- flash.start = 0xFFF00000;
- flash.size = 512K;
-
-SECTIONS
-{
- .entry :
- {
- *(.entry)
- } > FLASH /* this is ROM for flash_entry */
- .text :
- {
- text.start = . ;
- *(.entry2)
- *(.text*)
- *(.gnu.linkonce.t.*)
- *(.rodata*)
- *(.gnu.linkonce.r.*)
- *(.rodata1)
-
- /*
- * Special FreeBSD sysctl sections.
- */
- . = ALIGN (16);
- __start_set_sysctl_set = .;
- *(set_sysctl_*);
- __stop_set_sysctl_set = ABSOLUTE(.);
- *(set_domain_*);
- *(set_pseudo_*);
-
- *(.eh_frame)
- *(.descriptors)
- *(rom_ver)
- etext = ALIGN(0x10);
- _etext = .;
-
-
- __CTOR_LIST__ = .;
- LONG((__CTOR_END__ - __CTOR_LIST__) / 4 - 2)
- *(.ctors)
- LONG(0)
- __CTOR_END__ = .;
-
- __DTOR_LIST__ = .;
- LONG((__DTOR_END__ - __DTOR_LIST__) / 4 - 2)
- *(.dtors)
- LONG(0)
- __DTOR_END__ = .;
-
- *(.lit)
- *(.shdata)
- _init = .; *(.init)
- _fini = .; *(.fini)
- . = ALIGN(0x10);
- _endtext = .;
- text.end = .;
- copy.src = .;
- copy.tmptop.txt = .;
- } > FLASH /* this is ROM for flash_entry */
-
- text.size = text.end - text.start;
-
- /* R/W Data */
- /* place vectors to start at offset 0x100... */
- /* IMPORTANT: sections ".fill" and ".vectors" must be the first in RAM!!*/
- .fill 0x00010000 :
- {
- . = . + 0x0100;
- } > RAM
-
- .vectors : AT (copy.src)
- {
- copy.dest = .;
- *(.vectors)
- . = ALIGN(0x10);
- copy.tmptop.vec = .;
- } > RAM
-
-
- .rel.dyn :
- {
- *(.rel.init)
- *(.rel.text .rel.text.* .rel.gnu.linkonce.t.*)
- *(.rel.fini)
- *(.rel.rodata .rel.rodata.* .rel.gnu.linkonce.r.*)
- *(.rel.data.rel.ro* .rel.gnu.linkonce.d.rel.ro.*)
- *(.rel.data .rel.data.* .rel.gnu.linkonce.d.*)
- *(.rel.tdata .rel.tdata.* .rel.gnu.linkonce.td.*)
- *(.rel.tbss .rel.tbss.* .rel.gnu.linkonce.tb.*)
- *(.rel.ctors)
- *(.rel.dtors)
- *(.rel.got)
- *(.rel.sdata .rel.sdata.* .rel.gnu.linkonce.s.*)
- *(.rel.sbss .rel.sbss.* .rel.gnu.linkonce.sb.*)
- *(.rel.sdata2 .rel.sdata2.* .rel.gnu.linkonce.s2.*)
- *(.rel.sbss2 .rel.sbss2.* .rel.gnu.linkonce.sb2.*)
- *(.rel.bss .rel.bss.* .rel.gnu.linkonce.b.*)
- } >RAM
- .rela.dyn :
- {
- *(.rela.init)
- *(.rela.text .rela.text.* .rela.gnu.linkonce.t.*)
- *(.rela.fini)
- *(.rela.rodata .rela.rodata.* .rela.gnu.linkonce.r.*)
- *(.rela.data .rela.data.* .rela.gnu.linkonce.d.*)
- *(.rela.tdata .rela.tdata.* .rela.gnu.linkonce.td.*)
- *(.rela.tbss .rela.tbss.* .rela.gnu.linkonce.tb.*)
- *(.rela.ctors)
- *(.rela.dtors)
- *(.rela.got)
- *(.rela.got1)
- *(.rela.got2)
- *(.rela.sdata .rela.sdata.* .rela.gnu.linkonce.s.*)
- *(.rela.sbss .rela.sbss.* .rela.gnu.linkonce.sb.*)
- *(.rela.sdata2 .rela.sdata2.* .rela.gnu.linkonce.s2.*)
- *(.rela.sbss2 .rela.sbss2.* .rela.gnu.linkonce.sb2.*)
- *(.rela.bss .rela.bss.* .rela.gnu.linkonce.b.*)
- } >RAM
- .rel.plt : { *(.rel.plt) }
- .rela.plt : { *(.rela.plt) }
-
- .data : AT (copy.tmptop.vec - copy.dest + copy.src)
- {
- *(.data)
- *(.data1)
- *(.data.* .gnu.linkonce.d*)
- PROVIDE (__SDATA_START__ = .);
- *(.sdata*)
- *(.gnu.linkonce.s.*)
- . = ALIGN(0x10);
- copy.tmptop.dat = .;
- } > RAM
-
- PROVIDE (__EXCEPT_START__ = .);
- .gcc_except_table : AT (copy.tmptop.dat - copy.dest + copy.src)
- {
- *(.gcc_except_table)
- . = ALIGN(0x10);
- copy.tmptop.exc = .;
- } >RAM
- PROVIDE (__EXCEPT_END__ = .);
-
- __GOT_START__ = .;
- .got : AT (copy.tmptop.exc - copy.dest + copy.src)
- {
- s.got = .;
- *(.got.plt) *(.got)
- . = ALIGN(0x10);
- copy.tmptop.got = .;
- } > RAM
- __GOT_END__ = .;
-
- .got1 : AT (copy.tmptop.got - copy.dest + copy.src)
- {
- *(.got1)
- . = ALIGN(0x10);
- copy.tmptop.gt1 = .;
- } >RAM
-
- PROVIDE (__GOT2_START__ = .);
- PROVIDE (_GOT2_START_ = .);
- .got2 : AT (copy.tmptop.gt1 - copy.dest + copy.src)
- {
- *(.got2)
- . = ALIGN(0x10);
- copy.tmptop.gt2 = .;
- } >RAM
- PROVIDE (__GOT2_END__ = .);
- PROVIDE (_GOT2_END_ = .);
-
- PROVIDE (__FIXUP_START__ = .);
- PROVIDE (_FIXUP_START_ = .);
- .fixup : AT (copy.tmptop.gt2 - copy.dest + copy.src)
- {
- *(.fixup)
- . = ALIGN(0x10);
- copy.tmptop.fix = .;
- } >RAM
- PROVIDE (_FIXUP_END_ = .);
- PROVIDE (__FIXUP_END__ = .);
-
- PROVIDE (__SDATA2_START__ = .);
- .sdata2 : AT (copy.tmptop.fix - copy.dest + copy.src)
- {
- *(.sdata2)
- . = ALIGN(0x10);
- copy.tmptop.sda = .;
- } >RAM
-
- copy.size = copy.tmptop.sda - copy.dest;
-
- .sbss2 :
- {
- *(.sbss2)
- } >RAM
- PROVIDE (__SBSS2_END__ = .);
-
- __SBSS_START__ = .;
- .bss :
- {
- bss.start = .;
- *(.bss .bss* .gnu.linkonce.b*)
- *(.sbss*) *(COMMON)
- bss.end = ALIGN(4);
- } > RAM
- __SBSS_END__ = .;
-
- bss.size = bss.end - bss.start;
-
- /* reserve 16KByte for stack... */
- stack.end = bss.end + 16K;
- PROVIDE(_end = stack.end);
-
-
- /* 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 . */
- /*
- * place reset instruction into last word of FLASH
- * NOTE: after reset, PPC403 starts executing from address
- * 0xFFFFFFFC
- * The reset section is placed in ROM at 0xF7FFFFFC instead,
- * but a mirror of this address exists at 0xFFFFFFFC due to
- * the initial memory controller setup
- */
- .reset flash.start - 4 + flash.size :
- {
- *(.reset)
- } > FLASH
-}
-
-
diff --git a/c/src/lib/libbsp/powerpc/helas403/startup/linkcmds.dl b/c/src/lib/libbsp/powerpc/helas403/startup/linkcmds.dl
deleted file mode 100644
index 30dd38e63d..0000000000
--- a/c/src/lib/libbsp/powerpc/helas403/startup/linkcmds.dl
+++ /dev/null
@@ -1,154 +0,0 @@
-/*
- * This file contains directives for the GNU linker which are specific
- * to the helas403
- * This file is intended to be used together with dlentry.s
- * it will generate downloadable code
- *
- * $Id$
- */
-
-OUTPUT_FORMAT("elf32-powerpc", "elf32-powerpc",
- "elf32-powerpc")
-OUTPUT_ARCH(powerpc)
-
-ENTRY(download_entry)
-
-MEMORY
- {
- RAM : ORIGIN = 0, LENGTH = 8M
- FLASH : ORIGIN = 0xFFF00000, LENGTH = 512K
- }
-
-SECTIONS
-{
- .vectors : 0x00010100
- {
- *(.vectors)
- } > RAM
-
- .text :
- {
- text.start = . ;
- *(.entry)
- *(.entry2)
- *(.text*)
- *(.rodata)
- *(.rodata1)
-
- /*
- * Special FreeBSD sysctl sections.
- */
- . = ALIGN (16);
- __start_set_sysctl_set = .;
- *(set_sysctl_*);
- __stop_set_sysctl_set = ABSOLUTE(.);
- *(set_domain_*);
- *(set_pseudo_*);
-
- *.(eh_frame)
- *(.descriptors)
- *(rom_ver)
- etext = ALIGN(0x10);
- _etext = .;
-
-
- __CTOR_LIST__ = .;
- LONG((__CTOR_END__ - __CTOR_LIST__) / 4 - 2)
- *(.ctors)
- LONG(0)
- __CTOR_END__ = .;
-
- __DTOR_LIST__ = .;
- LONG((__DTOR_END__ - __DTOR_LIST__) / 4 - 2)
- *(.dtors)
- LONG(0)
- __DTOR_END__ = .;
-
- *(.lit)
- *(.shdata)
- *(.init)
- *(.fini)
- _endtext = ALIGN(0x10);
- text.end = .;
- } > RAM
-
- text.size = text.end - text.start;
-
- /* R/W Data */
- .data :
- {
- *(.data)
- *(.data1)
- PROVIDE (__SDATA_START__ = .);
- *(.sdata*)
- } > RAM
-
- PROVIDE (__EXCEPT_START__ = .);
- .gcc_except_table :
- {
- *(.gcc_except_table)
- } >RAM
- PROVIDE (__EXCEPT_END__ = .);
-
- __GOT_START__ = .;
- .got :
- {
- s.got = .;
- *(.got.plt) *(.got)
- } > RAM
- __GOT_END__ = .;
-
- .got1 :
- {
- *(.got1)
- } >RAM
-
- PROVIDE (__GOT2_START__ = .);
- PROVIDE (_GOT2_START_ = .);
- .got2 :
- {
- *(.got2)
- } >RAM
- PROVIDE (__GOT2_END__ = .);
- PROVIDE (_GOT2_END_ = .);
-
- PROVIDE (__FIXUP_START__ = .);
- PROVIDE (_FIXUP_START_ = .);
- .fixup : { *(.fixup) } >RAM
- PROVIDE (_FIXUP_END_ = .);
- PROVIDE (__FIXUP_END__ = .);
-
- PROVIDE (__SDATA2_START__ = .);
- .sdata2 : { *(.sdata2) } >RAM
- .sbss2 : { *(.sbss2) } >RAM
- PROVIDE (__SBSS2_END__ = .);
-
- .sbss2 : { *(.sbss2) } >RAM
- PROVIDE (__SBSS2_END__ = .);
-
- __SBSS_START__ = .;
- .bss :
- {
- bss.start = .;
- *(.bss .bss* .gnu.linkonce.b*)
- *(.sbss*) *(COMMON)
- bss.end = ALIGN(4);
- } > RAM
- __SBSS_END__ = .;
-
- bss.size = bss.end - bss.start;
- PROVIDE(_end = bss.end);
-
- .line 0 : { *(.line) }
- .debug 0 : { *(.debug) }
- .debug_sfnames 0 : { *(.debug_sfnames) }
- .debug_srcinfo 0 : { *(.debug_srcinfo) }
- .debug_pubnames 0 : { *(.debug_pubnames) }
- .debug_aranges 0 : { *(.debug_aranges) }
- .debug_aregion 0 : { *(.debug_aregion) }
- .debug_macinfo 0 : { *(.debug_macinfo) }
- .stab 0 : { *(.stab) }
- .stabstr 0 : { *(.stabstr) }
-}
-
-
diff --git a/c/src/lib/libbsp/powerpc/helas403/startup/setvec.c b/c/src/lib/libbsp/powerpc/helas403/startup/setvec.c
deleted file mode 100644
index af6f68b356..0000000000
--- a/c/src/lib/libbsp/powerpc/helas403/startup/setvec.c
+++ /dev/null
@@ -1,56 +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
- *
- * Author: Andrew Bray <andy@i-cubed.co.uk>
- *
- * COPYRIGHT (c) 1995 by i-cubed ltd.
- *
- * To anyone who acknowledges that this file is provided "AS IS"
- * without any express or implied warranty:
- * permission to use, copy, modify, and distribute this file
- * for any purpose is hereby granted without fee, provided that
- * the above copyright notice and this notice appears in all
- * copies, and that the name of i-cubed limited not be used in
- * advertising or publicity pertaining to distribution of the
- * software without specific, written prior permission.
- * i-cubed limited makes no representations about the suitability
- * of this software for any purpose.
- *
- * Derived from c/src/lib/libbsp/no_cpu/no_bsp/startup/setvec.c:
- *
- * 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>
-
-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_interrupt_catch( handler, vector, (rtems_isr_entry *) &previous_isr );
-
- return previous_isr;
-}
diff --git a/c/src/lib/libbsp/powerpc/helas403/times b/c/src/lib/libbsp/powerpc/helas403/times
deleted file mode 100644
index da260853bf..0000000000
--- a/c/src/lib/libbsp/powerpc/helas403/times
+++ /dev/null
@@ -1,197 +0,0 @@
-#
-# Timing Test Suite Results for the Papyrus BSP
-#
-# NOTE: The Papyrus is a proprietary PPC403 based board. But it is the
-# only BSP currently available for the PowerPC family.
-#
-# $Id$
-#
-
-NOTE: This BSP is user submitted and no timing information
- is currently avaiable.
-
-Board: Papyrus
-CPU: IBM 403GA
-Clock Speed: 33 Mhz
-Memory Configuration: SRAM, DRAM, cache, etc
-Wait States:
-
-Times Reported in: cycles, microseconds, etc
-Timer Source: Count Down Timer, on-CPU cycle counter, etc
-
-Column A: unused
-Column B: unused
-
-# DESCRIPTION A B
-== ================================================================= ==== ====
- 1 rtems_semaphore_create 20
- rtems_semaphore_delete 21
- rtems_semaphore_obtain: available 15
- rtems_semaphore_obtain: not available -- NO_WAIT 15
- rtems_semaphore_release: no waiting tasks 16
-
- 2 rtems_semaphore_obtain: not available -- caller blocks 62
-
- 3 rtems_semaphore_release: task readied -- preempts caller 55
-
- 4 rtems_task_restart: blocked task -- preempts caller 77
- rtems_task_restart: ready task -- preempts caller 70
- rtems_semaphore_release: task readied -- returns to caller 25
- rtems_task_create 57
- rtems_task_start 31
- rtems_task_restart: suspended task -- returns to caller 36
- rtems_task_delete: suspended task 47
- rtems_task_restart: ready task -- returns to caller 37
- rtems_task_restart: blocked task -- returns to caller 46
- rtems_task_delete: blocked task 50
-
- 5 rtems_task_suspend: calling task 51
- rtems_task_resume: task readied -- preempts caller 49
-
- 6 rtems_task_restart: calling task 59
- rtems_task_suspend: returns to caller 18
- rtems_task_resume: task readied -- returns to caller 19
- rtems_task_delete: ready task 50
-
- 7 rtems_task_restart: suspended task -- preempts caller 70
-
- 8 rtems_task_set_priority: obtain current priority 12
- rtems_task_set_priority: returns to caller 27
- rtems_task_mode: obtain current mode 5
- rtems_task_mode: no reschedule 5
- rtems_task_mode: reschedule -- returns to caller 8
- rtems_task_mode: reschedule -- preempts caller 39
- rtems_task_set_note 13
- rtems_task_get_note 13
- rtems_clock_set 33
- rtems_clock_get 3
-
- 9 rtems_message_queue_create 110
- rtems_message_queue_send: no waiting tasks 37
- rtems_message_queue_urgent: no waiting tasks 37
- rtems_message_queue_receive: available 31
- rtems_message_queue_flush: no messages flushed 12
- rtems_message_queue_flush: messages flushed 16
- rtems_message_queue_delete 26
-
-10 rtems_message_queue_receive: not available -- NO_WAIT 15
- rtems_message_queue_receive: not available -- caller blocks 62
-
-11 rtems_message_queue_send: task readied -- preempts caller 72
-
-12 rtems_message_queue_send: task readied -- returns to caller 39
-
-13 rtems_message_queue_urgent: task readied -- preempts caller 72
-
-14 rtems_message_queue_urgent: task readied -- returns to caller 39
-
-15 rtems_event_receive: obtain current events 1
- rtems_event_receive: not available -- NO_WAIT 12
- rtems_event_receive: not available -- caller blocks 56
- rtems_event_send: no task readied 12
- rtems_event_receive: available 12
- rtems_event_send: task readied -- returns to caller 24
-
-16 rtems_event_send: task readied -- preempts caller 55
-
-17 rtems_task_set_priority: preempts caller 62
-
-18 rtems_task_delete: calling task 83
-
-19 rtems_signal_catch 9
- rtems_signal_send: returns to caller 15
- rtems_signal_send: signal to self 18
- exit ASR overhead: returns to calling task 22
- exit ASR overhead: returns to preempting task 49
-
-20 rtems_partition_create 35
- rtems_region_create 23
- rtems_partition_get_buffer: available 15
- rtems_partition_get_buffer: not available 13
- rtems_partition_return_buffer 18
- rtems_partition_delete 16
- rtems_region_get_segment: available 22
- rtems_region_get_segment: not available -- NO_WAIT 21
- rtems_region_return_segment: no waiting tasks 19
- rtems_region_get_segment: not available -- caller blocks 64
- rtems_region_return_segment: task readied -- preempts caller 74
- rtems_region_return_segment: task readied -- returns to caller 44
- rtems_region_delete 16
- rtems_io_initialize 2
- rtems_io_open 1
- rtems_io_close 1
- rtems_io_read 1
- rtems_io_write 1
- rtems_io_control 1
-
-21 rtems_task_ident 149
- rtems_message_queue_ident 145
- rtems_semaphore_ident 156
- rtems_partition_ident 145
- rtems_region_ident 148
- rtems_port_ident 145
- rtems_timer_ident 145
- rtems_rate_monotonic_ident 145
-
-22 rtems_message_queue_broadcast: task readied -- returns to caller 42
- rtems_message_queue_broadcast: no waiting tasks 17
- rtems_message_queue_broadcast: task readied -- preempts caller 78
-
-23 rtems_timer_create 14
- rtems_timer_fire_after: inactive 22
- rtems_timer_fire_after: active 24
- rtems_timer_cancel: active 15
- rtems_timer_cancel: inactive 13
- rtems_timer_reset: inactive 21
- rtems_timer_reset: active 23
- rtems_timer_fire_when: inactive 34
- rtems_timer_fire_when: active 34
- rtems_timer_delete: active 19
- rtems_timer_delete: inactive 17
- rtems_task_wake_when 69
-
-24 rtems_task_wake_after: yield -- returns to caller 9
- rtems_task_wake_after: yields -- preempts caller 45
-
-25 rtems_clock_tick 4
-
-26 _ISR_Disable 0
- _ISR_Flash 1
- _ISR_Enable 1
- _Thread_Disable_dispatch 0
- _Thread_Enable_dispatch 7
- _Thread_Set_state 11
- _Thread_Disptach (NO FP) 31
- context switch: no floating point contexts 21
- context switch: self 10
- context switch: to another task 10
- context switch: restore 1st FP task 25
- fp context switch: save idle, restore idle 31
- fp context switch: save idle, restore initialized 19
- fp context switch: save initialized, restore initialized 20
- _Thread_Resume 7
- _Thread_Unblock 7
- _Thread_Ready 9
- _Thread_Get 4
- _Semaphore_Get 2
- _Thread_Get: invalid id 0
-
-27 interrupt entry overhead: returns to interrupted task 6
- interrupt exit overhead: returns to interrupted task 6
- interrupt entry overhead: returns to nested interrupt 6
- interrupt exit overhead: returns to nested interrupt 5
- interrupt entry overhead: returns to preempting task 7
- interrupt exit overhead: returns to preempting task 36
-
-28 rtems_port_create 16
- rtems_port_external_to_internal 11
- rtems_port_internal_to_external 11
- rtems_port_delete 16
-
-29 rtems_rate_monotonic_create 15
- rtems_rate_monotonic_period: initiate period -- returns to caller 21
- rtems_rate_monotonic_period: obtain status 13
- rtems_rate_monotonic_cancel 16
- rtems_rate_monotonic_delete: inactive 18
- rtems_rate_monotonic_delete: active 20
- rtems_rate_monotonic_period: conclude periods -- caller blocks 53