summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libcpu/sh/sh7045/include
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1999-12-13 20:35:09 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1999-12-13 20:35:09 +0000
commit1c98d28cb7d8f0f875ddb0ae8c7adec4fa00144b (patch)
tree7d3ddaaa18e8e88359a48ac1f784118c60a1c52e /c/src/lib/libcpu/sh/sh7045/include
parent*** empty log message *** (diff)
downloadrtems-1c98d28cb7d8f0f875ddb0ae8c7adec4fa00144b.tar.bz2
Patch rtems-19991203.sh2.diff from John M. Mills <jmills@tga.com> which
fixes some problems: I found the problem which prevented opening 'dev/sci1' (the default console) with the 'gensh2' (sh7045) BSP. Both SCI ports were being initialized against the same minor device number: '0'. When I tried to open minor-device '1', it naturally crashed. Fixing that one value in the 'sci_device[]' array solved the problem and allowed 'hello.exe' to run.
Diffstat (limited to 'c/src/lib/libcpu/sh/sh7045/include')
-rw-r--r--c/src/lib/libcpu/sh/sh7045/include/sci.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/c/src/lib/libcpu/sh/sh7045/include/sci.h b/c/src/lib/libcpu/sh/sh7045/include/sci.h
index c18321899c..e9c133fd32 100644
--- a/c/src/lib/libcpu/sh/sh7045/include/sci.h
+++ b/c/src/lib/libcpu/sh/sh7045/include/sci.h
@@ -26,7 +26,7 @@
#define _sh_sci_h
#ifdef __cplusplus
-extern"C" {
+extern "C" {
#endif
/*