No subject
Bhuvan
bhuvanb1408@gmail.com
Wed Feb 11 16:54:47 GMT 2026
>From d76155211b2656700b02c7f74f0dd2e42b1060c2 Mon Sep 17 00:00:00 2001
From: BhuvanB <bhuvanb1408@gmail.com>
Date: Wed, 11 Feb 2026 22:10:12 +0530
Subject: [PATCH] rtems: Move termios extension APIs to public header
Move rtems_termios_rxirq_occured() and rtems_termios_puts() to the
public termios.h header. These functions are part of the RTEMS termios
API extensions used by device drivers.
This resolves FIXME comments in RTEMS cpukit/include/rtems/termiostypes.h
requesting these functions be made public.
Signed-off-by: Bhuvan B <bhuvanb1408@gmail.com>
---
newlib/libc/sys/rtems/include/termios.h | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/newlib/libc/sys/rtems/include/termios.h
b/newlib/libc/sys/rtems/include/termios.h
index 9b808329a..db47a41b7 100644
--- a/newlib/libc/sys/rtems/include/termios.h
+++ b/newlib/libc/sys/rtems/include/termios.h
@@ -42,6 +42,8 @@
#include <sys/_winsize.h>
#endif
+struct rtems_termios_tty;
+
#ifndef _PID_T_DECLARED
typedef __pid_t pid_t;
#define _PID_T_DECLARED
@@ -86,6 +88,9 @@ int tcflow(int, int);
int tcflush(int, int);
int tcsendbreak(int, int);
+void rtems_termios_rxirq_occured(struct rtems_termios_tty *);
+void rtems_termios_puts(const void *, size_t, struct rtems_termios_tty *);
+
#if __POSIX_VISIBLE >= 200112
pid_t tcgetsid(int);
#endif
--
2.52.0
More information about the Newlib
mailing list