[rtems commit] bsps: Include missing <rtems/bspIo.h>
Sebastian Huber
sebh at rtems.org
Fri Jun 24 12:32:02 UTC 2016
Module: rtems
Branch: master
Commit: 1c77a36f11e0d0e43a82e747a0bd777ce92d69e4
Changeset: http://git.rtems.org/rtems/commit/?id=1c77a36f11e0d0e43a82e747a0bd777ce92d69e4
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Fri Jun 24 14:31:29 2016 +0200
bsps: Include missing <rtems/bspIo.h>
---
c/src/lib/libbsp/arm/altera-cyclone-v/console/console-config.c | 2 ++
c/src/lib/libbsp/arm/beagle/console/console-config.c | 2 ++
c/src/lib/libbsp/arm/shared/comm/uart.h | 2 ++
c/src/lib/libbsp/arm/xilinx-zynq/console/console-config.c | 2 ++
c/src/lib/libbsp/i386/shared/comm/tty_drv.c | 1 +
c/src/lib/libbsp/lm32/shared/console/console.c | 1 +
c/src/lib/libbsp/lm32/shared/milkymist_console/console.c | 1 +
c/src/lib/libbsp/mips/malta/console/printk_support.c | 1 +
c/src/lib/libbsp/powerpc/haleakala/startup/bspstart.c | 1 +
c/src/lib/libbsp/powerpc/mpc55xxevb/console/console-generic.c | 1 +
c/src/lib/libbsp/shared/console-output-char.c | 2 ++
c/src/lib/libbsp/sparc64/shared/console/conscfg.c | 2 ++
12 files changed, 18 insertions(+)
diff --git a/c/src/lib/libbsp/arm/altera-cyclone-v/console/console-config.c b/c/src/lib/libbsp/arm/altera-cyclone-v/console/console-config.c
index f84eb36..3249bbd 100644
--- a/c/src/lib/libbsp/arm/altera-cyclone-v/console/console-config.c
+++ b/c/src/lib/libbsp/arm/altera-cyclone-v/console/console-config.c
@@ -14,6 +14,8 @@
#include <libchip/ns16550.h>
+#include <rtems/bspIo.h>
+
#include <bsp.h>
#include <bsp/irq.h>
#include <bsp/alt_clock_manager.h>
diff --git a/c/src/lib/libbsp/arm/beagle/console/console-config.c b/c/src/lib/libbsp/arm/beagle/console/console-config.c
index 8b3b49f..ec50154 100644
--- a/c/src/lib/libbsp/arm/beagle/console/console-config.c
+++ b/c/src/lib/libbsp/arm/beagle/console/console-config.c
@@ -26,6 +26,8 @@
#include <libchip/serial.h>
#include <libchip/ns16550.h>
+#include <rtems/bspIo.h>
+
#include <bsp.h>
#include <bsp/irq.h>
#include <bsp/uart-output-char.h>
diff --git a/c/src/lib/libbsp/arm/shared/comm/uart.h b/c/src/lib/libbsp/arm/shared/comm/uart.h
index 2f69d57..742c56b 100644
--- a/c/src/lib/libbsp/arm/shared/comm/uart.h
+++ b/c/src/lib/libbsp/arm/shared/comm/uart.h
@@ -23,6 +23,8 @@
#ifndef _BSPUART_H
#define _BSPUART_H
+#include <rtems/bspIo.h>
+
void BSP_uart_init(int uart, int baud, int hwFlow);
void BSP_uart_set_baud(int aurt, int baud);
void BSP_uart_intr_ctrl(int uart, int cmd);
diff --git a/c/src/lib/libbsp/arm/xilinx-zynq/console/console-config.c b/c/src/lib/libbsp/arm/xilinx-zynq/console/console-config.c
index 6725005..94e5e4f 100644
--- a/c/src/lib/libbsp/arm/xilinx-zynq/console/console-config.c
+++ b/c/src/lib/libbsp/arm/xilinx-zynq/console/console-config.c
@@ -14,6 +14,8 @@
#include <libchip/serial.h>
+#include <rtems/bspIo.h>
+
#include <bsp.h>
#include <bsp/irq.h>
#include <bsp/zynq-uart.h>
diff --git a/c/src/lib/libbsp/i386/shared/comm/tty_drv.c b/c/src/lib/libbsp/i386/shared/comm/tty_drv.c
index bbc22af..2152dec 100644
--- a/c/src/lib/libbsp/i386/shared/comm/tty_drv.c
+++ b/c/src/lib/libbsp/i386/shared/comm/tty_drv.c
@@ -23,6 +23,7 @@
#include <bsp.h>
#include <bsp/irq.h>
+#include <rtems/bspIo.h>
#include <rtems/libio.h>
#include <rtems/termiostypes.h>
#include <termios.h>
diff --git a/c/src/lib/libbsp/lm32/shared/console/console.c b/c/src/lib/libbsp/lm32/shared/console/console.c
index 61a3f49..d49ca34 100644
--- a/c/src/lib/libbsp/lm32/shared/console/console.c
+++ b/c/src/lib/libbsp/lm32/shared/console/console.c
@@ -17,6 +17,7 @@
#define NO_BSP_INIT
#include <bsp.h>
+#include <rtems/bspIo.h>
#include <rtems/libio.h>
#include <rtems/console.h>
diff --git a/c/src/lib/libbsp/lm32/shared/milkymist_console/console.c b/c/src/lib/libbsp/lm32/shared/milkymist_console/console.c
index 9bced94..3558e33 100644
--- a/c/src/lib/libbsp/lm32/shared/milkymist_console/console.c
+++ b/c/src/lib/libbsp/lm32/shared/milkymist_console/console.c
@@ -12,6 +12,7 @@
#include <termios.h>
#include <rtems.h>
+#include <rtems/bspIo.h>
#include <rtems/libio.h>
#include <rtems/console.h>
#include <rtems/termiostypes.h>
diff --git a/c/src/lib/libbsp/mips/malta/console/printk_support.c b/c/src/lib/libbsp/mips/malta/console/printk_support.c
index 38d7745..e548485 100644
--- a/c/src/lib/libbsp/mips/malta/console/printk_support.c
+++ b/c/src/lib/libbsp/mips/malta/console/printk_support.c
@@ -14,6 +14,7 @@
*/
#include <rtems.h>
+#include <rtems/bspIo.h>
#include <bsp.h>
#include <libchip/serial.h>
#include <libchip/ns16550.h>
diff --git a/c/src/lib/libbsp/powerpc/haleakala/startup/bspstart.c b/c/src/lib/libbsp/powerpc/haleakala/startup/bspstart.c
index 4159d48..00f44c2 100644
--- a/c/src/lib/libbsp/powerpc/haleakala/startup/bspstart.c
+++ b/c/src/lib/libbsp/powerpc/haleakala/startup/bspstart.c
@@ -53,6 +53,7 @@
#include <string.h>
#include <fcntl.h>
+#include <rtems/bspIo.h>
#include <rtems/counter.h>
#include <bsp.h>
diff --git a/c/src/lib/libbsp/powerpc/mpc55xxevb/console/console-generic.c b/c/src/lib/libbsp/powerpc/mpc55xxevb/console/console-generic.c
index b2694a2..2c79545 100644
--- a/c/src/lib/libbsp/powerpc/mpc55xxevb/console/console-generic.c
+++ b/c/src/lib/libbsp/powerpc/mpc55xxevb/console/console-generic.c
@@ -24,6 +24,7 @@
#include <bsp/console-generic.h>
#include <bsp/fatal.h>
+#include <rtems/bspIo.h>
#include <rtems/console.h>
static const struct termios console_generic_termios = {
diff --git a/c/src/lib/libbsp/shared/console-output-char.c b/c/src/lib/libbsp/shared/console-output-char.c
index e731dad..40f728d 100644
--- a/c/src/lib/libbsp/shared/console-output-char.c
+++ b/c/src/lib/libbsp/shared/console-output-char.c
@@ -14,6 +14,8 @@
#include <libchip/serial.h>
+#include <rtems/bspIo.h>
+
static void output_char(char c)
{
int minor = (int) Console_Port_Minor;
diff --git a/c/src/lib/libbsp/sparc64/shared/console/conscfg.c b/c/src/lib/libbsp/sparc64/shared/console/conscfg.c
index 471bdc8..560bdc0 100644
--- a/c/src/lib/libbsp/sparc64/shared/console/conscfg.c
+++ b/c/src/lib/libbsp/sparc64/shared/console/conscfg.c
@@ -10,6 +10,8 @@
#include <libchip/serial.h>
+#include <rtems/bspIo.h>
+
#include <boot/ofw.h>
static int sun4v_console_device_first_open(int major, int minor, void *arg)
More information about the vc
mailing list