diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2023-05-23 10:44:04 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2023-05-31 10:07:17 +0200 |
commit | 0c3d6f58f139122a69483aaf6b856c2037dc8351 (patch) | |
tree | 9b303f0127c1c8527feea22cbd3da116f9e37f30 /cpukit/libcsupport/src/termiosinitialize.c | |
parent | score/src/pheap*: Remove unreferenced methods (diff) | |
download | rtems-0c3d6f58f139122a69483aaf6b856c2037dc8351.tar.bz2 |
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.
Diffstat (limited to '')
-rw-r--r-- | cpukit/libcsupport/src/termiosinitialize.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/cpukit/libcsupport/src/termiosinitialize.c b/cpukit/libcsupport/src/termiosinitialize.c index 35aa1eb955..ae80243b2a 100644 --- a/cpukit/libcsupport/src/termiosinitialize.c +++ b/cpukit/libcsupport/src/termiosinitialize.c @@ -1,8 +1,11 @@ /** - * @file + * @file * - * @brief Termios Initialization - * @ingroup Termios + * @ingroup TermiostypesSupport + * + * @brief This source file contains the implementation of + * rtems_termios_device_lock_acquire_default() and + * rtems_termios_device_lock_release_default(). */ /* @@ -17,7 +20,7 @@ #include "config.h" #endif -#include <rtems/termiostypes.h> +#include <rtems/termiosdevice.h> void rtems_termios_device_lock_acquire_default( |