[rtems commit] virtex5/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: 61568e6c4988d1833a5a7c4b48b98fd87b9f875a
Changeset: http://git.rtems.org/rtems/commit/?id=61568e6c4988d1833a5a7c4b48b98fd87b9f875a
Author: Joel Sherrill <joel at rtems.org>
Date: Wed Apr 26 10:53:56 2017 -0500
virtex5/startup/dummy_console.c: Use <rtems/bspIo.h> and <rtems/console.h> for many of the prototypes
---
.../libbsp/powerpc/virtex5/startup/dummy_console.c | 22 ++--------------------
1 file changed, 2 insertions(+), 20 deletions(-)
diff --git a/c/src/lib/libbsp/powerpc/virtex5/startup/dummy_console.c b/c/src/lib/libbsp/powerpc/virtex5/startup/dummy_console.c
index e62a9f0..8a35eb9 100644
--- a/c/src/lib/libbsp/powerpc/virtex5/startup/dummy_console.c
+++ b/c/src/lib/libbsp/powerpc/virtex5/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>
@@ -7,26 +9,6 @@ ssize_t app_memory_write(int minor, const char* buf, size_t len)
__attribute__(( weak, alias("__bsp_memory_write") ));
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