[rtems-libbsd commit] termios: Interrupt server API changes

Sebastian Huber sebh at rtems.org
Wed Jul 12 07:07:34 UTC 2017


Module:    rtems-libbsd
Branch:    master
Commit:    83574df474f3417ce8f19eca6c98ccf46f04adcf
Changeset: http://git.rtems.org/rtems-libbsd/commit/?id=83574df474f3417ce8f19eca6c98ccf46f04adcf

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Tue Jul 11 10:42:32 2017 +0200

termios: Interrupt server API changes

---

 rtemsbsd/rtems/rtems-kernel-termioskqueuepoll.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/rtemsbsd/rtems/rtems-kernel-termioskqueuepoll.c b/rtemsbsd/rtems/rtems-kernel-termioskqueuepoll.c
index 7e8faeb..0ac2ab7 100644
--- a/rtemsbsd/rtems/rtems-kernel-termioskqueuepoll.c
+++ b/rtemsbsd/rtems/rtems-kernel-termioskqueuepoll.c
@@ -192,7 +192,7 @@ termios_wakeup(struct termios *term, void *arg)
 {
 	termios_selinfo *ts = arg;
 
-	rtems_interrupt_server_request_submit(RTEMS_ID_NONE, &ts->request);
+	rtems_interrupt_server_request_submit(&ts->request);
 }
 
 static struct selinfo *
@@ -205,8 +205,8 @@ termios_get_selinfo(rtems_termios_tty *tty, struct ttywakeup *wk,
 		BSD_ASSERT(wk->sw_pfn == NULL);
 		ts = malloc(sizeof(*ts), M_TEMP, M_WAITOK | M_ZERO);
 		ts->tty = tty;
-		rtems_interrupt_server_request_initialize(&ts->request,
-		    handler, ts);
+		rtems_interrupt_server_request_initialize(RTEMS_INTERRUPT_SERVER_DEFAULT,
+		    &ts->request, handler, ts);
 		wk->sw_arg = ts;
 		wk->sw_pfn = termios_wakeup;
 	} else {




More information about the vc mailing list