source: rtems/c/src/lib/libbsp/m32r/m32rsim/include/bsp.h @ 130f01b

4.115
Last change on this file since 130f01b was 130f01b, checked in by Joel Sherrill <joel.sherrill@…>, on 03/17/14 at 18:25:47

m32rsim/include/bsp.h: Remove rtems_bsp_delay()

  • Property mode set to 100644
File size: 1.4 KB
Line 
1/**
2 *  @file
3 *
4 *  @ingroup m32r_bsp
5 *
6 *  @brief m32r definitions in gdb
7 */
8
9/*  bsp.h
10 *
11 *  This include file contains some definitions specific to the
12 *  h8 simulator in gdb.
13 *
14 *  COPYRIGHT (c) 1989-1999.
15 *  On-Line Applications Research Corporation (OAR).
16 *
17 *  The license and distribution terms for this file may be
18 *  found in the file LICENSE in this distribution or at
19 *  http://www.rtems.org/license/LICENSE.
20 */
21
22#ifndef _BSP_H
23#define _BSP_H
24
25#ifdef __cplusplus
26extern "C" {
27#endif
28
29#include <bspopts.h>
30#include <bsp/default-initial-extension.h>
31
32#include <rtems.h>
33#include <rtems/iosupp.h>
34#include <rtems/console.h>
35#include <rtems/clockdrv.h>
36
37/**
38 *  @defgroup m32r_bsp Clock Tick Support
39 *
40 *  @ingroup m32r_m32rsim
41 *
42 *  @brief Clock Tick Support Package
43 */
44
45Thread clock_driver_sim_idle_body(uintptr_t);
46#define BSP_IDLE_TASK_BODY clock_driver_sim_idle_body
47
48/* Trap support interface from Newlib 1.16.0 */
49#define SYS_exit        1
50#define SYS_open        2
51#define SYS_close       3
52#define SYS_read        4
53#define SYS_write       5
54#define SYS_lseek       6
55#define SYS_unlink      7
56#define SYS_getpid      8
57#define SYS_kill        9
58#define SYS_fstat       10
59
60int __trap0 (int function, int p1, int p2, int p3, struct _reent *r);
61
62#define TRAP0(f, p1, p2, p3) \
63  __trap0 (f, (int) (p1), (int) (p2), (int) (p3), _REENT)
64
65#ifdef __cplusplus
66}
67#endif
68
69#endif
Note: See TracBrowser for help on using the repository browser.