[rtems commit] virtex4/startup/dummy_console.c: Use <rtems/bspIo.h> and < rtems/console.h> for many of the prototypes

Joel Sherrill joel at rtems.org
Thu Apr 27 21:51:32 UTC 2017


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

Author:    Joel Sherrill <joel at rtems.org>
Date:      Wed Apr 26 10:50:08 2017 -0500

virtex4/startup/dummy_console.c: Use <rtems/bspIo.h> and <rtems/console.h> for many of the prototypes

---

 .../libbsp/powerpc/virtex4/startup/dummy_console.c    | 19 ++-----------------
 1 file changed, 2 insertions(+), 17 deletions(-)

diff --git a/c/src/lib/libbsp/powerpc/virtex4/startup/dummy_console.c b/c/src/lib/libbsp/powerpc/virtex4/startup/dummy_console.c
index e62a9f0..6ff24b2 100644
--- a/c/src/lib/libbsp/powerpc/virtex4/startup/dummy_console.c
+++ b/c/src/lib/libbsp/powerpc/virtex4/startup/dummy_console.c
@@ -1,5 +1,7 @@
 #include <rtems.h>
 #include <rtems/libio.h>
+#include <rtems/bspIo.h>
+#include <rtems/console.h>
 
 #include <string.h>
 
@@ -10,23 +12,6 @@ ssize_t __bsp_memory_write(int minor, const char* buf, size_t len);
 rtems_device_driver console_initialize(rtems_device_major_number major,
                                        rtems_device_minor_number minor,
                                        void*                     arg);
-rtems_device_driver console_open(rtems_device_major_number major,
-                                 rtems_device_minor_number minor,
-                                 void*                     arg);
-rtems_device_driver console_close(rtems_device_major_number major,
-                                  rtems_device_minor_number minor,
-                                  void*                     arg);
-rtems_device_driver console_read(rtems_device_major_number major,
-                                 rtems_device_minor_number minor,
-                                 void*                     arg);
-rtems_device_driver console_write(rtems_device_major_number major,
-                                  rtems_device_minor_number minor,
-                                  void*                     arg);
-rtems_device_driver console_control(rtems_device_major_number major,
-                                    rtems_device_minor_number minor,
-                                    void*                     arg);
-
-void BSP_output_char(char ch);
 
 ssize_t __bsp_memory_write(int minor, const char* buf, size_t len)
 {



More information about the vc mailing list