Back to home page

LXR

 
 

    


File indexing completed on 2025-05-11 08:24:02

0001 /**
0002  * @file
0003  *
0004  * @ingroup RTEMSBSPsSHSim
0005  *
0006  * @brief Global BSP definitions.
0007  */
0008 
0009 /*
0010  *  SH-gdb simulator BSP
0011  *
0012  *  This include file contains all board IO definitions.
0013  */
0014 
0015 /*
0016  *  Author: Ralf Corsepius (corsepiu@faw.uni-ulm.de)
0017  *
0018  *  COPYRIGHT (c) 2001, Ralf Corsepius, Ulm, Germany
0019  *
0020  *  This program is distributed in the hope that it will be useful,
0021  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
0022  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
0023  *
0024  *  COPYRIGHT (c) 2001.
0025  *  On-Line Applications Research Corporation (OAR).
0026  *
0027  *  The license and distribution terms for this file may be
0028  *  found in the file LICENSE in this distribution or at
0029  *  http://www.rtems.org/license/LICENSE.
0030  */
0031 
0032 #ifndef LIBBSP_SH_SHSIM_BSP_H
0033 #define LIBBSP_SH_SHSIM_BSP_H
0034 
0035 /**
0036  * @defgroup RTEMSBSPsSHSim Simulator
0037  *
0038  * @ingroup RTEMSBSPsSH
0039  *
0040  * @brief Simulator Board Support Package.
0041  *
0042  * @{
0043  */
0044 
0045 #ifndef ASM
0046 
0047 #include <rtems.h>
0048 
0049 #include <bspopts.h>
0050 #include <bsp/default-initial-extension.h>
0051 
0052 /*
0053  * FIXME: One of these would be enough.
0054  */
0055 #include <rtems/devnull.h>
0056 
0057 #ifdef __cplusplus
0058 extern "C" {
0059 #endif
0060 
0061 /* Constants */
0062 
0063 void *clock_driver_sim_idle_body(uintptr_t);
0064 #define BSP_IDLE_TASK_BODY clock_driver_sim_idle_body
0065 
0066 /*
0067  * BSP methods that cross file boundaries.
0068  */
0069 int _sys_exit (int n);
0070 void bsp_hw_init(void);
0071 
0072 #ifdef __cplusplus
0073 }
0074 #endif
0075 
0076 #endif /* !ASM */
0077 
0078 /** @} */
0079 
0080 #endif