forked from Imagelibrary/rtems
bsps: Move console drivers to bsps
This patch is a part of the BSP source reorganization. Update #3285.
This commit is contained in:
@@ -26,7 +26,7 @@
|
|||||||
|
|
||||||
#include <rtems/termiostypes.h>
|
#include <rtems/termiostypes.h>
|
||||||
#include <libchip/serial.h>
|
#include <libchip/serial.h>
|
||||||
#include "../../../../../../../bsps/shared/dev/serial/legacy-console.h"
|
#include "../../shared/dev/serial/legacy-console.h"
|
||||||
#include <bsp/rpi-fb.h>
|
#include <bsp/rpi-fb.h>
|
||||||
|
|
||||||
rtems_device_minor_number BSPPrintkPort = 0;
|
rtems_device_minor_number BSPPrintkPort = 0;
|
||||||
@@ -23,7 +23,7 @@
|
|||||||
#include <rtems/vgacons.h>
|
#include <rtems/vgacons.h>
|
||||||
#endif
|
#endif
|
||||||
#include <bsp/irq.h>
|
#include <bsp/irq.h>
|
||||||
#include "../../../../../../../bsps/shared/dev/serial/legacy-console.h"
|
#include "../../shared/dev/serial/legacy-console.h"
|
||||||
|
|
||||||
#if BSP_ENABLE_VGA
|
#if BSP_ENABLE_VGA
|
||||||
#define VGA_CONSOLE_FUNCTIONS &vgacons_fns
|
#define VGA_CONSOLE_FUNCTIONS &vgacons_fns
|
||||||
@@ -30,7 +30,7 @@
|
|||||||
#if BSP_ENABLE_VGA
|
#if BSP_ENABLE_VGA
|
||||||
#include <rtems/keyboard.h>
|
#include <rtems/keyboard.h>
|
||||||
#endif
|
#endif
|
||||||
#include "../../../../../../../bsps/shared/dev/serial/legacy-console.h"
|
#include "../../shared/dev/serial/legacy-console.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* console_control
|
* console_control
|
||||||
@@ -29,7 +29,7 @@
|
|||||||
#include <rtems/termiostypes.h>
|
#include <rtems/termiostypes.h>
|
||||||
#include <bsp/bspimpl.h>
|
#include <bsp/bspimpl.h>
|
||||||
|
|
||||||
#include "../../../../../../../bsps/shared/dev/serial/legacy-console.h"
|
#include "../../shared/dev/serial/legacy-console.h"
|
||||||
#ifdef RTEMS_RUNTIME_CONSOLE_SELECT
|
#ifdef RTEMS_RUNTIME_CONSOLE_SELECT
|
||||||
#include <crt.h>
|
#include <crt.h>
|
||||||
#endif
|
#endif
|
||||||
@@ -27,7 +27,7 @@
|
|||||||
#include <rtems/bspIo.h>
|
#include <rtems/bspIo.h>
|
||||||
#include <rtems/pci.h>
|
#include <rtems/pci.h>
|
||||||
#include <bsp/exar17d15x.h>
|
#include <bsp/exar17d15x.h>
|
||||||
#include "../../../../../../../bsps/shared/dev/serial/legacy-console.h"
|
#include "../../shared/dev/serial/legacy-console.h"
|
||||||
|
|
||||||
#define MAX_BOARDS 4
|
#define MAX_BOARDS 4
|
||||||
|
|
||||||
@@ -30,7 +30,7 @@
|
|||||||
#include <libchip/ns16550.h>
|
#include <libchip/ns16550.h>
|
||||||
#include <bsp/bspimpl.h>
|
#include <bsp/bspimpl.h>
|
||||||
|
|
||||||
#include "../../../../../../../bsps/shared/dev/serial/legacy-console.h"
|
#include "../../shared/dev/serial/legacy-console.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Used in the stub to print output.
|
* Used in the stub to print output.
|
||||||
@@ -25,7 +25,7 @@
|
|||||||
#include <bsp.h>
|
#include <bsp.h>
|
||||||
#include <libchip/serial.h>
|
#include <libchip/serial.h>
|
||||||
#include <libchip/ns16550.h>
|
#include <libchip/ns16550.h>
|
||||||
#include "../../../../../../../bsps/shared/dev/serial/legacy-console.h"
|
#include "../../shared/dev/serial/legacy-console.h"
|
||||||
|
|
||||||
rtems_device_minor_number BSPPrintkPort = 0;
|
rtems_device_minor_number BSPPrintkPort = 0;
|
||||||
|
|
||||||
@@ -26,7 +26,7 @@
|
|||||||
#include <rtems/bspIo.h>
|
#include <rtems/bspIo.h>
|
||||||
#include <bsp/rtd316.h>
|
#include <bsp/rtd316.h>
|
||||||
#include <rtems/score/i386.h>
|
#include <rtems/score/i386.h>
|
||||||
#include "../../../../../../../bsps/shared/dev/serial/legacy-console.h"
|
#include "../../shared/dev/serial/legacy-console.h"
|
||||||
|
|
||||||
#define RTD_CLOCK_RATE (460800 * 32)
|
#define RTD_CLOCK_RATE (460800 * 32)
|
||||||
|
|
||||||
@@ -15,7 +15,7 @@
|
|||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
|
|
||||||
#include <libchip/serial.h>
|
#include <libchip/serial.h>
|
||||||
#include "../../../../../../../bsps/shared/dev/serial/legacy-console.h"
|
#include "../../shared/dev/serial/legacy-console.h"
|
||||||
|
|
||||||
/* select which serial port the mouse is connected to */
|
/* select which serial port the mouse is connected to */
|
||||||
#if defined(SERIAL_MOUSE_COM2)
|
#if defined(SERIAL_MOUSE_COM2)
|
||||||
@@ -236,7 +236,7 @@ DRIVER_MODULE(uart, pci, uart_pci_driver, uart_devclass, NULL, NULL);
|
|||||||
#include <libchip/ns16550.h>
|
#include <libchip/ns16550.h>
|
||||||
#include <rtems/bspIo.h>
|
#include <rtems/bspIo.h>
|
||||||
#include <rtems/pci.h>
|
#include <rtems/pci.h>
|
||||||
#include "../../../../../../../bsps/shared/dev/serial/legacy-console.h"
|
#include "../../shared/dev/serial/legacy-console.h"
|
||||||
|
|
||||||
#define MAX_BOARDS 4
|
#define MAX_BOARDS 4
|
||||||
|
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user