source: rtems/c/src/lib/libbsp/sparc64/usiii/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
13#ifndef LIBBSP_SPARC64_USIII_BSP_H
14#define LIBBSP_SPARC64_USIII_BSP_H
15
16#include <bspopts.h>
17#include <bsp/default-initial-extension.h>
18
19#include <rtems.h>
20#include <rtems/iosupp.h>
21#include <rtems/console.h>
22#include <rtems/clockdrv.h>
23
24#ifdef __cplusplus
25extern "C" {
26#endif
27
28/* support for simulated clock tick */
29/*
30void *clock_driver_sim_idle_body(uintptr_t);
31#define BSP_IDLE_TASK_BODY clock_driver_sim_idle_body
32*/
33
34/* this should be defined somewhere */
35rtems_isr_entry set_vector(                     /* returns old vector */
36    rtems_isr_entry     handler,                /* isr routine        */
37    rtems_vector_number vector,                 /* vector number      */
38    int                 type                    /* RTEMS or RAW intr  */
39);
40
41#ifdef __cplusplus
42}
43#endif
44
45#endif
Note: See TracBrowser for help on using the repository browser.