diff options
author | Joel Sherrill <joel.sherrill@oarcorp.com> | 2014-10-15 14:20:14 -0500 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@oarcorp.com> | 2014-10-16 08:58:49 -0500 |
commit | 0626dba48a5190abe2ec90db5febde46c951b3af (patch) | |
tree | 7785bb6280bbbf77a183429a65a3d04149d1eb99 /c/src/lib/libbsp/sh/gensh2 | |
parent | arm/rtl22xx/startup/bspstart.c: Ensure bsp_start_default() is static (diff) | |
download | rtems-0626dba48a5190abe2ec90db5febde46c951b3af.tar.bz2 |
SH libcpu and libbsp: Fix warnings
Diffstat (limited to 'c/src/lib/libbsp/sh/gensh2')
-rw-r--r-- | c/src/lib/libbsp/sh/gensh2/include/bsp.h | 28 |
1 files changed, 15 insertions, 13 deletions
diff --git a/c/src/lib/libbsp/sh/gensh2/include/bsp.h b/c/src/lib/libbsp/sh/gensh2/include/bsp.h index be49e71146..5ef882a5bf 100644 --- a/c/src/lib/libbsp/sh/gensh2/include/bsp.h +++ b/c/src/lib/libbsp/sh/gensh2/include/bsp.h @@ -1,8 +1,10 @@ /* - * This include file contains all board IO definitions. - * * generic sh2 * + * This include file contains all board IO definitions. + */ + +/* * Author: Ralf Corsepius (corsepiu@faw.uni-ulm.de) * * COPYRIGHT (c) 1997-1998, FAW Ulm, Germany @@ -45,12 +47,11 @@ extern "C" { #include <bspopts.h> #include <bsp/default-initial-extension.h> -#if 0 -#include <rtems/devnull.h> -#define BSP_CONSOLE_DEVNAME "/dev/null" -#define BSP_CONSOLE_DRIVER_TABLE_ENTRY DEVNULL_DRIVER_TABLE_ENTRY -#else +#include <termios.h> /* for tcflag_t */ + #include <sh/sci.h> + +#if 1 /* FIXME: * These definitions will be no longer necessary if the old * implementation of SCI driver will be droped @@ -66,17 +67,18 @@ extern "C" { /* * Defined in the linker script 'linkcmds' */ - extern void *CPU_Interrupt_stack_low; extern void *CPU_Interrupt_stack_high; /* - * Device Driver Table Entries - */ - -/* - * NOTE: Use the standard Clock driver entry + * BSP methods that cross file boundaries. */ +void bsp_hw_init(void); +extern int _sci_get_brparms( + tcflag_t cflag, + unsigned char *smr, + unsigned char *brr +); #ifdef __cplusplus } |