diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2001-08-16 21:08:28 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2001-08-16 21:08:28 +0000 |
commit | 7ae512513f37ccce1d5beeb4807b5b4b765025d7 (patch) | |
tree | 72a15dffde7261d72011432627201d87ded2cdac /c/src/lib/libcpu/sh/sh7045/include | |
parent | 2001-08-01 Radzislaw Galler <rgaller@et.put.poznan.pl> (diff) | |
download | rtems-7ae512513f37ccce1d5beeb4807b5b4b765025d7.tar.bz2 |
2001-08-10 Radzislaw Galler <rgaller@et.put.poznan.pl>
* score/cpu_asm.c (sh_set_irq_priority): Changed interrupt vector
number range check and handling of interrupt priority regs to
conform SH2 specs.
* sci/sci_termios.c: New file.
* include/sci_termios.h: New file.
* include/Makefile.am (EXTRA_DIST): Added sci_termios.h.
(include_sh_HEADERS): Added sci_termios.h.
* score/ispsh7045.c (isp): Calling an ISR with immediate argument
casued negative sign extension for vector numbers of 128 and
above. This was fixed.
* sci/sci.c: Cleaned initialization of SCI registers; added
necessary setup for new TERMIOS console cooperation
Diffstat (limited to '')
-rw-r--r-- | c/src/lib/libcpu/sh/sh7045/include/Makefile.am | 4 | ||||
-rw-r--r-- | c/src/lib/libcpu/sh/sh7045/include/sci.h | 7 |
2 files changed, 9 insertions, 2 deletions
diff --git a/c/src/lib/libcpu/sh/sh7045/include/Makefile.am b/c/src/lib/libcpu/sh/sh7045/include/Makefile.am index 4e9db26cd1..6a45a1cc36 100644 --- a/c/src/lib/libcpu/sh/sh7045/include/Makefile.am +++ b/c/src/lib/libcpu/sh/sh7045/include/Makefile.am @@ -9,7 +9,7 @@ AUTOMAKE_OPTIONS = foreign 1.4 include_shdir = $(includedir)/sh include_rtems_scoredir = $(includedir)/rtems/score -include_sh_HEADERS = io_types.h sci.h sh7_pfc.h sh7_sci.h +include_sh_HEADERS = io_types.h sci.h sh7_pfc.h sh7_sci.h sci_termios.h include_rtems_score_HEADERS = ispsh7045.h iosh7045.h $(PROJECT_INCLUDE)/sh: @@ -27,6 +27,6 @@ TMPINSTALL_FILES += $(PROJECT_INCLUDE)/sh \ all-local: $(TMPINSTALL_FILES) -EXTRA_DIST = io_types.h sci.h sh7_pfc.h sh7_sci.h +EXTRA_DIST = io_types.h sci.h sh7_pfc.h sh7_sci.h sci_termios.h include $(top_srcdir)/../../../../../../automake/local.am diff --git a/c/src/lib/libcpu/sh/sh7045/include/sci.h b/c/src/lib/libcpu/sh/sh7045/include/sci.h index e9c133fd32..e4160f9ca6 100644 --- a/c/src/lib/libcpu/sh/sh7045/include/sci.h +++ b/c/src/lib/libcpu/sh/sh7045/include/sci.h @@ -25,6 +25,8 @@ #ifndef _sh_sci_h #define _sh_sci_h +#include <rtems/libio.h> + #ifdef __cplusplus extern "C" { #endif @@ -77,6 +79,11 @@ extern rtems_device_driver sh_sci_control( rtems_device_minor_number, void * ); + +extern const rtems_termios_callbacks * sh_sci_get_termios_handlers( + rtems_boolean poll +); + #ifdef __cplusplus } |