summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/virtex5
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/lib/libbsp/powerpc/virtex5')
-rw-r--r--c/src/lib/libbsp/powerpc/virtex5/Makefile.am17
-rw-r--r--c/src/lib/libbsp/powerpc/virtex5/configure.ac3
-rw-r--r--c/src/lib/libbsp/powerpc/virtex5/include/bsp.h107
-rw-r--r--c/src/lib/libbsp/powerpc/virtex5/include/irq.h82
-rw-r--r--c/src/lib/libbsp/powerpc/virtex5/include/mmu.h287
-rw-r--r--c/src/lib/libbsp/powerpc/virtex5/include/tm27.h1
-rw-r--r--c/src/lib/libbsp/powerpc/virtex5/preinstall.am71
-rw-r--r--c/src/lib/libbsp/powerpc/virtex5/startup/bsp_specs (renamed from c/src/lib/libbsp/powerpc/virtex5/bsp_specs)0
8 files changed, 6 insertions, 562 deletions
diff --git a/c/src/lib/libbsp/powerpc/virtex5/Makefile.am b/c/src/lib/libbsp/powerpc/virtex5/Makefile.am
index 5466edf088..ffc9c7eaea 100644
--- a/c/src/lib/libbsp/powerpc/virtex5/Makefile.am
+++ b/c/src/lib/libbsp/powerpc/virtex5/Makefile.am
@@ -4,18 +4,9 @@ EXTRA_DIST =
include $(top_srcdir)/../../../../automake/compile.am
include $(top_srcdir)/../../bsp.am
-include_bspdir = $(includedir)/bsp
-
-dist_project_lib_DATA = bsp_specs
+dist_project_lib_DATA = startup/bsp_specs
# include
-include_HEADERS = include/bsp.h
-include_HEADERS += include/tm27.h
-
-include_bsp_HEADERS =
-
-nodist_include_HEADERS = include/bspopts.h
-nodist_include_bsp_HEADERS = ../../shared/include/bootcard.h
DISTCLEANFILES = include/bspopts.h
# start
@@ -24,7 +15,7 @@ rtems_crti.$(OBJEXT): ../../powerpc/shared/start/rtems_crti.S
$(CPPASCOMPILE) -o $@ -c $<
project_lib_DATA = rtems_crti.$(OBJEXT)
-dist_project_lib_DATA += startup/linkcmds
+project_lib_DATA += linkcmds
noinst_LIBRARIES = libbsp.a
@@ -51,11 +42,9 @@ libbsp_a_SOURCES += startup/dummy_console.c \
../../shared/dummy_printk_support.c
# irq
-include_bsp_HEADERS += include/irq.h
libbsp_a_SOURCES += irq/irq_init.c
# mmu
-include_bsp_HEADERS += include/mmu.h
libbsp_a_SOURCES += mmu/mmu.c
libbsp_a_LIBADD = ../../../libcpu/@RTEMS_CPU@/@exceptions@/rtems-cpu.rel \
@@ -67,5 +56,5 @@ libbsp_a_LIBADD = ../../../libcpu/@RTEMS_CPU@/@exceptions@/rtems-cpu.rel \
EXTRA_DIST += times
-include $(srcdir)/preinstall.am
include $(top_srcdir)/../../../../automake/local.am
+include $(srcdir)/../../../../../../bsps/powerpc/virtex5/headers.am
diff --git a/c/src/lib/libbsp/powerpc/virtex5/configure.ac b/c/src/lib/libbsp/powerpc/virtex5/configure.ac
index f3a156cb44..0c5481d772 100644
--- a/c/src/lib/libbsp/powerpc/virtex5/configure.ac
+++ b/c/src/lib/libbsp/powerpc/virtex5/configure.ac
@@ -4,6 +4,9 @@ AC_PREREQ([2.69])
AC_INIT([rtems-c-src-lib-libbsp-powerpc-virtex5],[_RTEMS_VERSION],[https://devel.rtems.org/newticket])
AC_CONFIG_SRCDIR([make/custom/virtex5.cfg])
RTEMS_TOP(../../../../../..)
+RTEMS_SOURCE_TOP
+RTEMS_BUILD_TOP
+RTEMS_BSP_LINKCMDS
RTEMS_CANONICAL_TARGET_CPU
AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.12.2])
diff --git a/c/src/lib/libbsp/powerpc/virtex5/include/bsp.h b/c/src/lib/libbsp/powerpc/virtex5/include/bsp.h
deleted file mode 100644
index ee9f20058d..0000000000
--- a/c/src/lib/libbsp/powerpc/virtex5/include/bsp.h
+++ /dev/null
@@ -1,107 +0,0 @@
-/* @file
- *
- * 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.org/license/LICENSE.
- *
- */
-
-#ifndef LIBBSP_POWERPC_VIRTEX5_BSP_H
-#define LIBBSP_POWERPC_VIRTEX5_BSP_H
-
-#include <bspopts.h>
-
-/*
- * confdefs.h overrides for this BSP:
- * - Interrupt stack space is not minimum if defined.
- */
-#define BSP_INTERRUPT_STACK_SIZE (16 * 1024)
-
-#ifdef ASM
-/* Definition of where to store registers in alignment handler */
-#define ALIGN_REGS 0x0140
-
-#else
-#include <rtems.h>
-#include <bsp/default-initial-extension.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/* miscellaneous stuff assumed to exist */
-extern bool bsp_timer_internal_clock; /* TRUE, when timer runs with CPU clk */
-
-/*
- * Bus Frequency
- */
-extern unsigned int BSP_bus_frequency;
-/*
- * Processor Clock Frequency
- */
-extern unsigned int BSP_processor_frequency;
-/*
- * Time base divisior (how many tick for 1 second).
- */
-extern unsigned int BSP_time_base_divisor;
-
-/*
- * Macro used by shared MPC6xx timer driver
- */
-#define BSP_Convert_decrementer( _value ) \
- ((unsigned long long) ((((unsigned long long)BSP_time_base_divisor) * 1000000ULL) /((unsigned long long) BSP_bus_frequency)) * ((unsigned long long) (_value)))
-
-/*
- * Interfaces to required Clock Driver support methods
- */
-int BSP_disconnect_clock_handler(void);
-int BSP_connect_clock_handler(void);
-
-/*
- * Prototypes for BSP methods shared across file boundaries
- */
-void zero_bss(void);
-
-#endif /* ASM */
-
-void BSP_ask_for_reset(void);
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif
diff --git a/c/src/lib/libbsp/powerpc/virtex5/include/irq.h b/c/src/lib/libbsp/powerpc/virtex5/include/irq.h
deleted file mode 100644
index 066090de7f..0000000000
--- a/c/src/lib/libbsp/powerpc/virtex5/include/irq.h
+++ /dev/null
@@ -1,82 +0,0 @@
-/*===============================================================*\
-| Project: RTEMS virtex BSP |
-+-----------------------------------------------------------------+
-| Copyright (c) 2007 |
-| Embedded Brains GmbH |
-| Obere Lagerstr. 30 |
-| D-82178 Puchheim |
-| Germany |
-| rtems@embedded-brains.de |
-+-----------------------------------------------------------------+
-| The license and distribution terms for this file may be |
-| found in the file LICENSE in this distribution or at |
-| |
-| http://www.rtems.org/license/LICENSE. |
-| |
-+-----------------------------------------------------------------+
-| this file declares constants of the interrupt controller |
-\*===============================================================*/
-#ifndef VIRTEX5_IRQ_IRQ_H
-#define VIRTEX5_IRQ_IRQ_H
-
-#include <rtems/irq.h>
-
-/*
- * the following definitions specify the indices used
- * to interface the interrupt handler API
- */
-
-/*
- * Peripheral IRQ handlers related definitions
- */
- /* Not supported at this level */
-
-/*
- * Processor IRQ handlers related definitions
- */
-#define BSP_PROCESSOR_IRQ_NUMBER 3
-#define BSP_PROCESSOR_IRQ_LOWEST_OFFSET 0
-#define BSP_PROCESSOR_IRQ_MAX_OFFSET (BSP_PROCESSOR_IRQ_LOWEST_OFFSET\
- +BSP_PROCESSOR_IRQ_NUMBER-1)
-
-#define BSP_IS_PROCESSOR_IRQ(irqnum) \
- (((irqnum) >= BSP_PROCESSOR_IRQ_LOWEST_OFFSET) && \
- ((irqnum) <= BSP_PROCESSOR_IRQ_MAX_OFFSET))
-
-/*
- * Summary
- */
-#define BSP_IRQ_NUMBER (BSP_PROCESSOR_IRQ_MAX_OFFSET+1)
-#define BSP_LOWEST_OFFSET BSP_PROCESSOR_IRQ_LOWEST_OFFSET
-#define BSP_MAX_OFFSET BSP_PROCESSOR_IRQ_MAX_OFFSET
-
-#define BSP_IS_VALID_IRQ(irqnum) (BSP_IS_PROCESSOR_IRQ(irqnum))
-
-#ifndef ASM
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/*
- * index table for the module specific handlers, a few entries are only placeholders
- */
- typedef enum {
- BSP_EXT = BSP_PROCESSOR_IRQ_LOWEST_OFFSET + 0,
- BSP_PIT = BSP_PROCESSOR_IRQ_LOWEST_OFFSET + 1,
- BSP_CRIT = BSP_PROCESSOR_IRQ_LOWEST_OFFSET + 2
- } rtems_irq_symbolic_name;
-
- extern rtems_irq_connect_data *BSP_rtems_irq_tbl;
- void BSP_irqexc_on_fnc(const rtems_irq_connect_data *conn_data);
- void BSP_irqexc_off_fnc(const rtems_irq_connect_data *unused);
- void BSP_rtems_irq_mngt_init(unsigned cpuId);
-
-#define BSP_DEC BSP_PIT
-#define BSP_DECREMENTER BSP_PIT
-
-#ifdef __cplusplus
-}
-#endif
-#endif /* ASM */
-
-#endif /* VIRTEX5_IRQ_IRQ_H */
diff --git a/c/src/lib/libbsp/powerpc/virtex5/include/mmu.h b/c/src/lib/libbsp/powerpc/virtex5/include/mmu.h
deleted file mode 100644
index a3fb32b662..0000000000
--- a/c/src/lib/libbsp/powerpc/virtex5/include/mmu.h
+++ /dev/null
@@ -1,287 +0,0 @@
-#ifndef RTEMS_VIRTEX5_MMU_H
-#define RTEMS_VIRTEX5_MMU_H
-/**
- * @file
- *
- * @ingroup Virtex5MMU
- *
- * @brief Routines to manipulate the PPC 440 MMU.
- */
-/*
- * Authorship
- * ----------
- * This software was created by
- * Till Straumann <strauman@slac.stanford.edu>, 2005-2007,
- * Stanford Linear Accelerator Center, Stanford University.
- * and was transcribed for the PPC 440 by
- * R. Claus <claus@slac.stanford.edu>, 2012,
- * Stanford Linear Accelerator Center, Stanford University,
- *
- * Acknowledgement of sponsorship
- * ------------------------------
- * This software was produced by
- * the Stanford Linear Accelerator Center, Stanford University,
- * under Contract DE-AC03-76SFO0515 with the Department of Energy.
- *
- * Government disclaimer of liability
- * ----------------------------------
- * Neither the United States nor the United States Department of Energy,
- * nor any of their employees, makes any warranty, express or implied, or
- * assumes any legal liability or responsibility for the accuracy,
- * completeness, or usefulness of any data, apparatus, product, or process
- * disclosed, or represents that its use would not infringe privately owned
- * rights.
- *
- * Stanford disclaimer of liability
- * --------------------------------
- * Stanford University makes no representations or warranties, express or
- * implied, nor assumes any liability for the use of this software.
- *
- * Stanford disclaimer of copyright
- * --------------------------------
- * Stanford University, owner of the copyright, hereby disclaims its
- * copyright and all other rights in this software. Hence, anyone may
- * freely use it for any purpose without restriction.
- *
- * Maintenance of notices
- * ----------------------
- * In the interest of clarity regarding the origin and status of this
- * SLAC software, this and all the preceding Stanford University notices
- * are to remain affixed to any copy or derivative of this software made
- * or distributed by the recipient and are to be affixed to any copy of
- * software made or distributed by the recipient that contains a copy or
- * derivative of this software.
- *
- * ------------------ SLAC Software Notices, Set 4 OTT.002a, 2004 FEB 03
- */
-
-#include <rtems.h>
-#include <inttypes.h>
-#include <stdio.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/**
- * @defgroup Virtex5MMU Virtex 5 - MMU Support
- *
- * @ingroup Virtex5
- *
- * @brief MMU support.
- *
- * @{
- */
-
-/* Some routines require or return an index 'key'.
- */
-typedef int bsp_tlb_idx_t;
-
-/* Cache the relevant TLB entries so that we can make sure the user cannot
- * create conflicting (overlapping) entries. Keep them public for informational
- * purposes.
- */
-typedef struct {
- struct {
- uint32_t pad:24;
- uint32_t tid:8; /** Translation ID */
- } id;
- struct {
- uint32_t epn:22; /** Effective page number */
- uint32_t v:1; /** Valid */
- uint32_t ts:1; /** Translation Address Space */
- uint32_t size:4; /** Page size */
- uint32_t tpar:4; /** Tag parity */
- } w0;
- struct {
- uint32_t rpn:22; /** The real (translated) page number. */
- uint32_t par1:2; /** For matching the TLB array parity */
- uint32_t pad:4;
- uint32_t erpn:4; /** Extended Real Page Number */
- } w1;
- struct {
- uint32_t par2:2; /** Parity for TLB word 2 */
- uint32_t pad1:14;
- uint32_t att:4; /** User-defined attributes */
- uint32_t wimge:5; /** Write-Through/Caching Inhibited/Memory Coherent/Guarded/Endian */
- uint32_t pad2:1;
- uint32_t perm:6; /** User-State Executable/Writeable/Readable Supervisor-State Executable/Writeable/Readable */
- } w2;
-} bsp_tlb_entry_t;
-
-#define NTLBS 64
-
-extern bsp_tlb_entry_t* bsp_mmu_cache;
-
-// These constants will have to be shifted right by 20 bits before
-// being inserted the high word of the TLB.
-
-#define MMU_M_SIZE_1K (0x00000000U)
-#define MMU_M_SIZE_4K (0x08000000U)
-#define MMU_M_SIZE_16K (0x10000000U)
-#define MMU_M_SIZE_64K (0x18000000U)
-#define MMU_M_SIZE_256K (0x20000000U)
-#define MMU_M_SIZE_1M (0x28000000U)
-#define MMU_M_SIZE_16M (0x38000000U)
-#define MMU_M_SIZE_256M (0x48000000U)
-#define MMU_M_SIZE_MIN (MMU_M_SIZE_1K)
-#define MMU_M_SIZE_MAX (MMU_M_SIZE_256M)
-#define MMU_M_SIZE (0x78000000U)
-#define MMU_V_SIZE (27)
-
-// These constants have the same bit positions they'll occupy
-// in low word of the TLB.
-
-#define MMU_M_ATTR_USER0 (0x00010000U)
-#define MMU_M_ATTR_USER1 (0x00008000U)
-#define MMU_M_ATTR_USER2 (0x00004000U)
-#define MMU_M_ATTR_USER3 (0x00002000U)
-#define MMU_M_ATTR (0x0001e000U)
-#define MMU_V_ATTR (13)
-
-#define MMU_M_PROP_WRITE_THROUGH (0x00001000U)
-#define MMU_M_PROP_UNCACHED (0x00000800U)
-#define MMU_M_PROP_MEM_COHERENT (0x00000400U)
-#define MMU_M_PROP_GUARDED (0x00000200U)
-#define MMU_M_PROP_LITTLE_ENDIAN (0x00000100U)
-#define MMU_M_PROP (0x00000f00U)
-#define MMU_V_PROP (8)
-
-#define MMU_M_PERM_USER_EXEC (0x00000020U)
-#define MMU_M_PERM_USER_WRITE (0x00000010U)
-#define MMU_M_PERM_USER_READ (0x00000008U)
-#define MMU_M_PERM_SUPER_EXEC (0x00000004U)
-#define MMU_M_PERM_SUPER_WRITE (0x00000002U)
-#define MMU_M_PERM_SUPER_READ (0x00000001U)
-#define MMU_M_PERM (0x0000003fU)
-#define MMU_V_PERM (0)
-
-
-/*
- * Dump (cleartext) content info from cached TLB entries
- * to a file (stdout if f==NULL).
- */
-void
-bsp_mmu_dump_cache(FILE *f);
-
-/* Read a TLB entry from the hardware and store the settings in the
- * bsp_mmu_cache[] structure.
- *
- * The routine can perform this operation quietly or
- * print information to a file.
- *
- * 'key': TLB entry index.
- * 'quiet': perform operation silently (no info printed) if nonzero.
- * 'f': open FILE where to print information. May be NULL, in
- * which case 'stdout' is used.
- *
- * RETURNS:
- * 0: success; TLB entry is VALID
- * +1: success but TLB entry is INVALID
- * < 0: error (-1: invalid argument)
- * (-2: driver not initialized)
- */
-int
-bsp_mmu_update(bsp_tlb_idx_t key, bool quiet, FILE *f);
-
-/* Initialize cache. Should be done only once although this is not enforced.
- *
- * RETURNS: zero on success, nonzero on error; in this case the driver will
- * refuse to change TLB entries (other than disabling them).
- */
-int
-bsp_mmu_initialize(void);
-
-/* Find first free TLB entry by examining all entries' valid bit. The first
- * entry without the valid bit set is returned.
- *
- * RETURNS: A free TLB entry number. -1 if no entry can be found.
- */
-bsp_tlb_idx_t
-bsp_mmu_find_first_free(void);
-
-/* Write a TLB entry (can also be used to disable an entry).
- *
- * The routine checks against the cached data in bsp_mmu_cache[]
- * to prevent the user from generating overlapping entries.
- *
- * 'idx': TLB entry # to manipulate
- * 'ea': Effective address (must be page aligned)
- * 'pa': Physical address (must be page aligned)
- * 'sz': Page size selector; page size is 1024 * 2^(2*sz) bytes.
- * 'sz' may also be one of the following:
- * - page size in bytes ( >= 1024 ); the selector
- * value is then computed by this routine.
- * However, 'sz' must be a valid page size
- * or -1 will be returned.
- * - a value < 0 to invalidate/disable the
- * TLB entry.
- * 'flgs': Page's User-defined flags, permissions and WIMGE page attributes
- * 'tid': Translation ID
- * 'ts': Translation Space
- * 'erpn': Extended Real Page Number
- *
- * RETURNS: 0 on success, nonzero on error:
- *
- * >0: requested mapping would overlap with
- * existing mapping in another entry. Return
- * value gives conflicting entry + 1; i.e.,
- * if a value of 4 is returned then the request
- * conflicts with existing mapping in entry 3.
- * -1: invalid argument
- * -3: driver not initialized (or initialization failed).
- * <0: other error
- */
-bsp_tlb_idx_t
-bsp_mmu_write(bsp_tlb_idx_t idx, uint32_t ea, uint32_t pa, int sz,
- uint32_t flgs, uint32_t tid, uint32_t ts, uint32_t erpn);
-
-/* Check if a ea/tid/ts/sz mapping overlaps with an existing entry.
- *
- * 'ea': The Effective Address to match against
- * 'sz': The 'logarithmic' size selector; the page size
- * is 1024*2^(2*sz).
- * 'tid': Translation ID
- * 'ts': Translation Space
- *
- * RETURNS:
- * >= 0: index of TLB entry that already provides a mapping
- * which overlaps within the ea range.
- * -1: SUCCESS (no conflicting entry found)
- * <=-2: ERROR (invalid input)
- */
-bsp_tlb_idx_t
-bsp_mmu_match(uint32_t ea, int sz, uint32_t tid, uint32_t ts);
-
-/* Find TLB index that maps 'ea/tid/ts' combination
- *
- * 'ea': Effective address to match against
- * 'tid': Translation ID
- * 'ts': Translation Space
- *
- * RETURNS: index 'key'; i.e., the index number.
- *
- * On error (no mapping) -1 is returned.
- */
-bsp_tlb_idx_t
-bsp_mmu_find(uint32_t ea, uint32_t tid, uint32_t ts);
-
-/* Mark TLB entry as invalid ('disabled').
- *
- * 'key': TLB entry index.
- *
- * RETURNS: zero on success, nonzero on error (TLB unchanged).
- *
- * NOTE: If a TLB entry is disabled the associated
- * entry in bsp_tlb_cache[] is also marked as disabled.
- */
-int
-bsp_mmu_invalidate(bsp_tlb_idx_t key);
-
-/** @} */
-
-#ifdef __cplusplus
-};
-#endif
-
-#endif
diff --git a/c/src/lib/libbsp/powerpc/virtex5/include/tm27.h b/c/src/lib/libbsp/powerpc/virtex5/include/tm27.h
deleted file mode 100644
index 0dfa7bf628..0000000000
--- a/c/src/lib/libbsp/powerpc/virtex5/include/tm27.h
+++ /dev/null
@@ -1 +0,0 @@
-#include <rtems/tm27-default.h>
diff --git a/c/src/lib/libbsp/powerpc/virtex5/preinstall.am b/c/src/lib/libbsp/powerpc/virtex5/preinstall.am
deleted file mode 100644
index 62df611471..0000000000
--- a/c/src/lib/libbsp/powerpc/virtex5/preinstall.am
+++ /dev/null
@@ -1,71 +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)
-
-all-local: $(TMPINSTALL_FILES)
-
-TMPINSTALL_FILES =
-CLEANFILES += $(TMPINSTALL_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_INCLUDE)/bsp/$(dirstamp):
- @$(MKDIR_P) $(PROJECT_INCLUDE)/bsp
- @: > $(PROJECT_INCLUDE)/bsp/$(dirstamp)
-PREINSTALL_DIRS += $(PROJECT_INCLUDE)/bsp/$(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)/bsp/bootcard.h: ../../shared/include/bootcard.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/bootcard.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/bootcard.h
-
-$(PROJECT_LIB)/rtems_crti.$(OBJEXT): rtems_crti.$(OBJEXT) $(PROJECT_LIB)/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_LIB)/rtems_crti.$(OBJEXT)
-TMPINSTALL_FILES += $(PROJECT_LIB)/rtems_crti.$(OBJEXT)
-
-$(PROJECT_LIB)/linkcmds: startup/linkcmds $(PROJECT_LIB)/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_LIB)/linkcmds
-PREINSTALL_FILES += $(PROJECT_LIB)/linkcmds
-
-$(PROJECT_INCLUDE)/bsp/irq.h: include/irq.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/irq.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/irq.h
-
-$(PROJECT_INCLUDE)/bsp/mmu.h: include/mmu.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/mmu.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/mmu.h
-
diff --git a/c/src/lib/libbsp/powerpc/virtex5/bsp_specs b/c/src/lib/libbsp/powerpc/virtex5/startup/bsp_specs
index ccbea2690c..ccbea2690c 100644
--- a/c/src/lib/libbsp/powerpc/virtex5/bsp_specs
+++ b/c/src/lib/libbsp/powerpc/virtex5/startup/bsp_specs