termios: Add <rtems/termiosdevice.h>

Add <rtems/termiosdevice.h> which does not depend on <rtems/libio.h> to
provide rtems_termios_device_context and rtems_termios_device_handler.
For polled serial device drivers, this removes a header file dependency
to the full file system support.
This commit is contained in:
Sebastian Huber
2023-05-23 10:44:04 +02:00
parent 63415655e3
commit 0c3d6f58f1
7 changed files with 314 additions and 247 deletions

View File

@@ -28,6 +28,7 @@
#include <dev/serial/zynq-uart.h>
#include <dev/serial/zynq-uart-regs.h>
#include <bsp/irq.h>
#include <rtems/termiostypes.h>
#include <bspopts.h>