source: rtems/c/src/lib/libbsp/sparc64/niagara/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.1 KB
Line 
1/*  bsp.h
2 *
3 *  This include file contains all SPARC64 simulator definitions.
4 *
5 *  COPYRIGHT (c) 1989-1998. On-Line Applications Research Corporation (OAR).
6 *
7 *  The license and distribution terms for this file may be
8 *  found in the file LICENSE in this distribution or at
9 *  http://www.rtems.org/license/LICENSE.
10 */
11
12#ifndef LIBBSP_SPARC64_NIAGARA_BSP_H
13#define LIBBSP_SPARC64_NIAGARA_BSP_H
14
15#include <bspopts.h>
16#include <bsp/default-initial-extension.h>
17
18#include <rtems.h>
19#include <rtems/iosupp.h>
20#include <rtems/console.h>
21#include <rtems/clockdrv.h>
22
23#ifdef __cplusplus
24extern "C" {
25#endif
26
27/* support for simulated clock tick */
28/*
29void *clock_driver_sim_idle_body(uintptr_t);
30#define BSP_IDLE_TASK_BODY clock_driver_sim_idle_body
31*/
32
33/* this should be defined somewhere */
34rtems_isr_entry set_vector(                     /* returns old vector */
35    rtems_isr_entry     handler,                /* isr routine        */
36    rtems_vector_number vector,                 /* vector number      */
37    int                 type                    /* RTEMS or RAW intr  */
38);
39
40#ifdef __cplusplus
41}
42#endif
43
44#endif
Note: See TracBrowser for help on using the repository browser.