source: rtems/bsps/sh/gensh2/include/bsp.h @ 8c62cf4

5
Last change on this file since 8c62cf4 was 8c62cf4, checked in by Sebastian Huber <sebastian.huber@…>, on 06/06/18 at 14:21:22

tools: Remove shgen

All tools should be removed from the RTEMS source repository at some
point in time. Tools with a BSD-style license will be moved to the RTEMS
tools repository. Unfortunately, the shgen tool is GPL licensed.

Remove all uses of this tool from the code base. Replace generated files
with stub functions. If users of this BSP still exist, they can
reimplement the functionality using a BSD-style license.

Close #3443.

  • Property mode set to 100644
File size: 2.0 KB
Line 
1/*
2 *  generic sh2
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) 1997-1998, FAW 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 *
17 *  COPYRIGHT (c) 1998.
18 *  On-Line Applications Research Corporation (OAR).
19 *
20 *  The license and distribution terms for this file may be
21 *  found in the file LICENSE in this distribution or at
22 *  http://www.rtems.org/license/LICENSE.
23 *
24 *  Minor adaptations for sh2 by:
25 *  John M. Mills (jmills@tga.com)
26 *  TGA Technologies, Inc.
27 *  100 Pinnacle Way, Suite 140
28 *  Norcross, GA 30071 U.S.A.
29 *
30 *  This modified file may be copied and distributed in accordance
31 *  the above-referenced license. It is provided for critique and
32 *  developmental purposes without any warranty nor representation
33 *  by the authors or by TGA Technologies.
34 */
35
36#ifndef LIBBSP_SH_GENSH2_BSP_H
37#define LIBBSP_SH_GENSH2_BSP_H
38
39#include <rtems.h>
40
41#include <bspopts.h>
42#include <bsp/default-initial-extension.h>
43
44#include <termios.h> /* for tcflag_t */
45
46#include <sh/sci.h>
47
48#ifdef __cplusplus
49extern "C" {
50#endif
51
52#if 1
53/* FIXME:
54 *   These definitions will be no longer necessary if the old
55 *   implementation of SCI driver will be droped
56 */
57#define BSP_CONSOLE_DEVNAME "/dev/sci0"
58#define BSP_CONSOLE_MINOR_NUMBER ((rtems_device_minor_number) 0)
59#define BSP_CONSOLE_DRIVER_TABLE_ENTRY DEVSCI_DRIVER_TABLE_ENTRY
60#define BSP_CONSOLE_DEVICE_TERMIOS_HANDLERS (sh_sci_get_termios_handlers(TRUE))
61#endif
62
63/* Constants */
64
65/*
66 * Defined in the linker script 'linkcmds'
67 */
68extern void *CPU_Interrupt_stack_low;
69extern void *CPU_Interrupt_stack_high;
70
71/*
72 * BSP methods that cross file boundaries.
73 */
74void bsp_hw_init(void);
75
76int _sci_get_brparms(
77  unsigned int   spd,
78  unsigned char *smr,
79  unsigned char *brr
80);
81
82#ifdef __cplusplus
83}
84#endif
85
86#endif
Note: See TracBrowser for help on using the repository browser.