Back to home page

LXR

 
 

    


File indexing completed on 2025-05-11 08:23:59

0001 /**
0002  * @file
0003  *
0004  * @ingroup RTEMSBSPsPowerPCVirtex4
0005  *
0006  * @brief Global BSP definitions.
0007  */
0008 
0009 /*
0010  *  This include file contains all Virtex4 board IO definitions.
0011  */
0012 
0013 /*
0014  * derived from helas403/include/bsp.h:
0015  *  Id: bsp.h,v 1.4 2001/06/18 17:01:48 joel Exp
0016  *  Author: Thomas Doerfler <td@imd.m.isar.de>
0017  *              IMD Ingenieurbuero fuer Microcomputertechnik
0018  *
0019  *  Copyright (c) 1998 IMD Ingenieurbuero fuer Microcomputertechnik
0020  *
0021  *  Changes from IMD are covered by the original distributions terms.
0022  *  This file has been derived from the papyrus BSP.
0023  *
0024  *  Author: Andrew Bray <andy@i-cubed.co.uk>
0025  *
0026  *  COPYRIGHT (c) 1995 by i-cubed ltd.
0027  *
0028  *  To anyone who acknowledges that this file is provided "AS IS"
0029  *  without any express or implied warranty:
0030  *      permission to use, copy, modify, and distribute this file
0031  *      for any purpose is hereby granted without fee, provided that
0032  *      the above copyright notice and this notice appears in all
0033  *      copies, and that the name of i-cubed limited not be used in
0034  *      advertising or publicity pertaining to distribution of the
0035  *      software without specific, written prior permission.
0036  *      i-cubed limited makes no representations about the suitability
0037  *      of this software for any purpose.
0038  *
0039  *  Derived from c/src/lib/libbsp/no_cpu/no_bsp/include/bsp.h
0040  *
0041  *  COPYRIGHT (c) 1989-1999.
0042  *  On-Line Applications Research Corporation (OAR).
0043  *
0044  *  The license and distribution terms for this file may be
0045  *  found in the file LICENSE in this distribution or at
0046  *  http://www.rtems.org/license/LICENSE.
0047  *
0048  */
0049 
0050 #ifndef LIBBSP_POWERPC_VIRTEX4_BSP_H
0051 #define LIBBSP_POWERPC_VIRTEX4_BSP_H
0052 
0053 /**
0054  * @defgroup RTEMSBSPsPowerPCVirtex4 Xilinx Virtex-4
0055  *
0056  * @ingroup RTEMSBSPsPowerPC
0057  *
0058  * @brief Xilinx Virtex-4 Board Support Package.
0059  *
0060  * @{
0061  */
0062 
0063 #include <bspopts.h>
0064 
0065 /*
0066  *  confdefs.h overrides for this BSP:
0067  *   - Interrupt stack space is not minimum if defined.
0068  */
0069 #define BSP_INTERRUPT_STACK_SIZE  (16 * 1024)
0070 
0071 #ifdef ASM
0072 /* Definition of where to store registers in alignment handler */
0073 #define ALIGN_REGS 0x0140
0074 
0075 #else
0076 #include <rtems.h>
0077 
0078 #include <bsp/default-initial-extension.h>
0079 
0080 #ifdef __cplusplus
0081 extern "C" {
0082 #endif
0083 
0084 /*
0085  * Prototypes for BSP methods shared across file boundaries
0086  */
0087 void zero_bss(void);
0088 
0089 #ifdef __cplusplus
0090 }
0091 #endif
0092 
0093 #endif /* ASM */
0094 
0095 /** @} */
0096 
0097 #endif