[rtems commit] mvme162: Fix errors tripped by transition to using polled IO for tests

Joel Sherrill joel at rtems.org
Fri Nov 10 20:41:01 UTC 2017


Module:    rtems
Branch:    master
Commit:    a6bf052a3bea06ccabc449f2941dc120a506778d
Changeset: http://git.rtems.org/rtems/commit/?id=a6bf052a3bea06ccabc449f2941dc120a506778d

Author:    Joel Sherrill <joel at rtems.org>
Date:      Fri Nov 10 14:24:34 2017 -0600

mvme162: Fix errors tripped by transition to using polled IO for tests

---

 c/src/lib/libbsp/m68k/mvme162/Makefile.am       | 2 +-
 c/src/lib/libbsp/m68k/mvme162/console/console.c | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/c/src/lib/libbsp/m68k/mvme162/Makefile.am b/c/src/lib/libbsp/m68k/mvme162/Makefile.am
index 62490a5..d2a9793 100644
--- a/c/src/lib/libbsp/m68k/mvme162/Makefile.am
+++ b/c/src/lib/libbsp/m68k/mvme162/Makefile.am
@@ -43,7 +43,7 @@ libbsp_a_SOURCES += startup/bspclean.c \
 # clock
 libbsp_a_SOURCES += clock/ckinit.c
 # console
-libbsp_a_SOURCES += console/console.c ../../shared/dummy_printk_support.c
+libbsp_a_SOURCES += console/console.c
 # timer
 libbsp_a_SOURCES += timer/timer.c timer/timerisr.S
 # tod
diff --git a/c/src/lib/libbsp/m68k/mvme162/console/console.c b/c/src/lib/libbsp/m68k/mvme162/console/console.c
index 6857b7b..985254d 100644
--- a/c/src/lib/libbsp/m68k/mvme162/console/console.c
+++ b/c/src/lib/libbsp/m68k/mvme162/console/console.c
@@ -273,4 +273,5 @@ static void _BSP_output_char(char c)
 }
 
 /* Printk function */
-BSP_output_char_function_type BSP_output_char = _BSP_output_char;
+BSP_output_char_function_type           BSP_output_char = _BSP_output_char;
+BSP_polling_getchar_function_type       BSP_poll_char = NULL;




More information about the vc mailing list