diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-09-16 19:10:15 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-09-16 19:10:15 +0000 |
commit | ed521b68902780b0e7609d411188b21cc6b1a3fa (patch) | |
tree | dedf09c6f43be17172c465d46d23ae7106fd879a /c | |
parent | 2008-09-16 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-ed521b68902780b0e7609d411188b21cc6b1a3fa.tar.bz2 |
2008-09-16 Joel Sherrill <joel.sherrill@oarcorp.com>
* clockdrv_shell.c: Remove unnecessary includes of rtems/libcsupport.h
and rtems/libio.h.
* bspstart.c: New file.
Diffstat (limited to 'c')
-rw-r--r-- | c/src/lib/libbsp/shared/ChangeLog | 6 | ||||
-rw-r--r-- | c/src/lib/libbsp/shared/bspstart.c | 22 | ||||
-rw-r--r-- | c/src/lib/libbsp/shared/clockdrv_shell.c | 1 |
3 files changed, 28 insertions, 1 deletions
diff --git a/c/src/lib/libbsp/shared/ChangeLog b/c/src/lib/libbsp/shared/ChangeLog index 68b6523315..9c9063fcba 100644 --- a/c/src/lib/libbsp/shared/ChangeLog +++ b/c/src/lib/libbsp/shared/ChangeLog @@ -1,3 +1,9 @@ +2008-09-16 Joel Sherrill <joel.sherrill@oarcorp.com> + + * clockdrv_shell.c: Remove unnecessary includes of rtems/libcsupport.h + and rtems/libio.h. + * bspstart.c: New file. + 2008-09-05 Joel Sherrill <joel.sherrill@OARcorp.com> * clockdrv_shell.c: The Shared Memory Driver no longer requires the diff --git a/c/src/lib/libbsp/shared/bspstart.c b/c/src/lib/libbsp/shared/bspstart.c new file mode 100644 index 0000000000..3671a59c40 --- /dev/null +++ b/c/src/lib/libbsp/shared/bspstart.c @@ -0,0 +1,22 @@ +/* + * COPYRIGHT (c) 1989-2008. + * On-Line Applications Research Corporation (OAR). + * + * The license and distribution terms for this file may be + * found in the file LICENSE in this distribution or at + * http://www.rtems.com/license/LICENSE. + * + * $Id$ + */ + +#include <bsp.h> +#include <bsp/bootcard.h> + +/* + * This routine would usually do the bulk of the system initialization. + * But if a BSP doesn't need to do anything, it can use this version. + */ + +void bsp_start( void ) +{ +} diff --git a/c/src/lib/libbsp/shared/clockdrv_shell.c b/c/src/lib/libbsp/shared/clockdrv_shell.c index cf53f47154..2404fbb7a1 100644 --- a/c/src/lib/libbsp/shared/clockdrv_shell.c +++ b/c/src/lib/libbsp/shared/clockdrv_shell.c @@ -14,7 +14,6 @@ #include <stdlib.h> #include <bsp.h> -#include <rtems/libio.h> #if defined(CLOCK_DRIVER_USE_FAST_IDLE) && defined(CLOCK_DRIVER_ISRS_PER_TICK) #error "clockdrv_shell.c: fast idle and N ISRs per tick is not supported" |