diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-12-13 20:35:09 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-12-13 20:35:09 +0000 |
commit | 1c98d28cb7d8f0f875ddb0ae8c7adec4fa00144b (patch) | |
tree | 7d3ddaaa18e8e88359a48ac1f784118c60a1c52e /c/src/lib/libcpu/sh/sh7045/include/sci.h | |
parent | *** empty log message *** (diff) | |
download | rtems-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 '')
-rw-r--r-- | c/src/lib/libcpu/sh/sh7045/include/sci.h | 2 |
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 /* |