source: rtems/c/src/lib/libbsp/m32c/m32cbsp/include/bsp.h @ 9cff822a

4.115
Last change on this file since 9cff822a was 9cff822a, checked in by Joel Sherrill <joel.sherrill@…>, on 07/16/15 at 15:40:05

Most bsp.h: Switch to LIBBSP_@CPU@_@BSP_FAMILY@_H for guard

This was done by the following script run from libbsp:

find * -name bsp.h | xargs -e grep -l "#ifndef.*_BSP_H" | while read b
do

echo $b
cpu=echo $b | cut -d'/' -f1 | tr '[:lower:]' '[:upper:]'
bsp=echo $b | cut -d'/' -f2 | tr '[:lower:]' '[:upper:]'
g="LIBBSP_${cpu}_${bsp}_BSP_H"
# echo $g
sed -e "s/ifndef _BSP_H/ifndef ${g}/" \

-e "s/define _BSP_H/define ${g}/" \

-i $b

done

  • Property mode set to 100644
File size: 991 bytes
Line 
1/**
2  *  @file
3  *
4  *  @ingroup m32c_bsp
5  *
6  *  @brief m32c simulator 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 LIBBSP_M32C_M32CBSP_BSP_H
23#define LIBBSP_M32C_M32CBSP_BSP_H
24
25#include <bspopts.h>
26#include <bsp/default-initial-extension.h>
27
28#include <rtems.h>
29#include <rtems/iosupp.h>
30#include <rtems/console.h>
31#include <rtems/clockdrv.h>
32
33#ifdef __cplusplus
34extern "C" {
35#endif
36
37/**
38  *  @defgroup m32c_bsp Clock Tick Support
39  *
40  *  @ingroup m32c_m32cbsp
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#ifdef __cplusplus
49}
50#endif
51
52#endif
Note: See TracBrowser for help on using the repository browser.