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:
819 bytes
|
Line | |
---|
1 | /* |
---|
2 | * This include file contains some definitions specific to the |
---|
3 | * moxie simulator in gdb. |
---|
4 | */ |
---|
5 | |
---|
6 | /* |
---|
7 | * COPYRIGHT (c) 1989-1999, 2010, 2014. |
---|
8 | * On-Line Applications Research Corporation (OAR). |
---|
9 | * |
---|
10 | * The license and distribution terms for this file may be |
---|
11 | * found in the file LICENSE in this distribution or at |
---|
12 | * http://www.rtems.org/license/LICENSE. |
---|
13 | */ |
---|
14 | |
---|
15 | #ifndef LIBBSP_MOXIE_MOXIESIM_BSP_H |
---|
16 | #define LIBBSP_MOXIE_MOXIESIM_BSP_H |
---|
17 | |
---|
18 | #include <bspopts.h> |
---|
19 | |
---|
20 | #include <rtems.h> |
---|
21 | #include <rtems/iosupp.h> |
---|
22 | #include <rtems/console.h> |
---|
23 | #include <rtems/clockdrv.h> |
---|
24 | #include <bsp/default-initial-extension.h> |
---|
25 | |
---|
26 | #ifdef __cplusplus |
---|
27 | extern "C" { |
---|
28 | #endif |
---|
29 | |
---|
30 | /* support for simulated clock tick */ |
---|
31 | Thread clock_driver_sim_idle_body(uintptr_t); |
---|
32 | #define BSP_IDLE_TASK_BODY clock_driver_sim_idle_body |
---|
33 | |
---|
34 | #ifdef __cplusplus |
---|
35 | } |
---|
36 | #endif |
---|
37 | |
---|
38 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.