[rtems commit] bsp/pc386: Use public include path

Sebastian Huber sebh at rtems.org
Fri Jan 5 10:58:50 UTC 2018


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

Author:    Chris Johns <chrisj at rtems.org>
Date:      Thu Jan  4 08:39:40 2018 +0100

bsp/pc386: Use public include path

Update #3254.

---

 c/src/lib/libbsp/i386/pc386/console/conscfg.c             | 2 +-
 c/src/lib/libbsp/i386/pc386/console/console_control.c     | 2 +-
 c/src/lib/libbsp/i386/pc386/console/ps2_mouse.c           | 2 +-
 c/src/lib/libbsp/i386/pc386/console/serial_mouse_config.c | 2 +-
 c/src/lib/libbsp/i386/pc386/console/vgacons.c             | 2 +-
 c/src/lib/libbsp/i386/shared/comm/tty_drv.c               | 2 +-
 6 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/c/src/lib/libbsp/i386/pc386/console/conscfg.c b/c/src/lib/libbsp/i386/pc386/console/conscfg.c
index 97eb1b8..d320031 100644
--- a/c/src/lib/libbsp/i386/pc386/console/conscfg.c
+++ b/c/src/lib/libbsp/i386/pc386/console/conscfg.c
@@ -20,7 +20,7 @@
 #include <libchip/serial.h>
 #include <libchip/ns16550.h>
 #if BSP_ENABLE_VGA
-#include "vgacons.h"
+#include <rtems/vgacons.h>
 #endif
 #include <bsp/irq.h>
 #include "../../../shared/console_private.h"
diff --git a/c/src/lib/libbsp/i386/pc386/console/console_control.c b/c/src/lib/libbsp/i386/pc386/console/console_control.c
index e5e4bc1..344a53f 100644
--- a/c/src/lib/libbsp/i386/pc386/console/console_control.c
+++ b/c/src/lib/libbsp/i386/pc386/console/console_control.c
@@ -28,7 +28,7 @@
 #include <libchip/serial.h>
 #include <rtems/mouse_parser.h>
 #if BSP_ENABLE_VGA
-#include "keyboard.h"
+#include <rtems/keyboard.h>
 #endif
 #include "../../../shared/console_private.h"
 
diff --git a/c/src/lib/libbsp/i386/pc386/console/ps2_mouse.c b/c/src/lib/libbsp/i386/pc386/console/ps2_mouse.c
index 9112552..6a3f855 100644
--- a/c/src/lib/libbsp/i386/pc386/console/ps2_mouse.c
+++ b/c/src/lib/libbsp/i386/pc386/console/ps2_mouse.c
@@ -29,8 +29,8 @@
 
 #define  INITIALIZE_MOUSE
 /* Some configuration switches are present in the include file... */
+#include <rtems/ps2_drv.h>
 #include "ps2_mouse.h"
-#include "ps2_drv.h"
 
 static void kbd_write_command_w(int data);
 #if 0
diff --git a/c/src/lib/libbsp/i386/pc386/console/serial_mouse_config.c b/c/src/lib/libbsp/i386/pc386/console/serial_mouse_config.c
index b2ebc5a..a6d6019 100644
--- a/c/src/lib/libbsp/i386/pc386/console/serial_mouse_config.c
+++ b/c/src/lib/libbsp/i386/pc386/console/serial_mouse_config.c
@@ -14,7 +14,7 @@
 #include <sys/stat.h>
 #include <fcntl.h>
 
-#include "libchip/serial.h"
+#include <libchip/serial.h>
 #include "../../../shared/console_private.h"
 
 /* select which serial port the mouse is connected to */
diff --git a/c/src/lib/libbsp/i386/pc386/console/vgacons.c b/c/src/lib/libbsp/i386/pc386/console/vgacons.c
index 01fe82e..2886496 100644
--- a/c/src/lib/libbsp/i386/pc386/console/vgacons.c
+++ b/c/src/lib/libbsp/i386/pc386/console/vgacons.c
@@ -21,7 +21,7 @@
 #include <bsp.h>
 #include <crt.h>
 #include <assert.h>
-#include "keyboard.h"
+#include <rtems/keyboard.h>
 
 #define VGACONS_STATIC static
 
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 e15edbd..1218200 100644
--- a/c/src/lib/libbsp/i386/shared/comm/tty_drv.c
+++ b/c/src/lib/libbsp/i386/shared/comm/tty_drv.c
@@ -29,7 +29,7 @@
 #include <termios.h>
 #include <uart.h>
 #include <libcpu/cpuModel.h>
-#include "tty_drv.h"
+#include <bsp/tty_drv.h>
 
 int BSP_poll_read(int);
 




More information about the vc mailing list