source: rtems/c/src/lib/libbsp/sh/shsim/include/bsp.h @ ccd5434

5
Last change on this file since ccd5434 was ccd5434, checked in by Sebastian Huber <sebastian.huber@…>, on 01/07/16 at 08:55:45

score: Introduce Thread_Entry_information

This avoids potential dead code in _Thread_Handler(). It gets rid of
the dangerous function pointer casts.

Update #2514.

  • Property mode set to 100644
File size: 1.3 KB
Line 
1/*
2 *  SH-gdb simulator BSP
3 *
4 *  This include file contains all board IO definitions.
5 */
6
7/*
8 *  Author: Ralf Corsepius (corsepiu@faw.uni-ulm.de)
9 *
10 *  COPYRIGHT (c) 2001, Ralf Corsepius, Ulm, Germany
11 *
12 *  This program is distributed in the hope that it will be useful,
13 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
14 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15 *
16 *  COPYRIGHT (c) 2001.
17 *  On-Line Applications Research Corporation (OAR).
18 *
19 *  The license and distribution terms for this file may be
20 *  found in the file LICENSE in this distribution or at
21 *  http://www.rtems.org/license/LICENSE.
22 */
23
24#ifndef LIBBSP_SH_SHSIM_BSP_H
25#define LIBBSP_SH_SHSIM_BSP_H
26
27#ifndef ASM
28
29#include <rtems.h>
30#include <rtems/clockdrv.h>
31#include <rtems/console.h>
32
33#include <bspopts.h>
34#include <bsp/default-initial-extension.h>
35
36/*
37 * FIXME: One of these would be enough.
38 */
39#include <rtems/devnull.h>
40
41#ifdef __cplusplus
42extern "C" {
43#endif
44
45/* Constants */
46
47void *clock_driver_sim_idle_body(uintptr_t);
48#define BSP_IDLE_TASK_BODY clock_driver_sim_idle_body
49
50/*
51 * Defined in the linker script 'linkcmds'
52 */
53extern void *CPU_Interrupt_stack_low;
54extern void *CPU_Interrupt_stack_high;
55
56/*
57 * BSP methods that cross file boundaries.
58 */
59int _sys_exit (int n);
60void bsp_hw_init(void);
61
62#ifdef __cplusplus
63}
64#endif
65
66#endif /* !ASM */
67#endif
Note: See TracBrowser for help on using the repository browser.