From: Alan Cox Date: Mon, 1 Oct 2018 22:47:12 +0000 (+0100) Subject: micropack: update for termios masks X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=423579e782716a4f770b8eb85fab6a984891febf;p=FUZIX.git micropack: update for termios masks --- diff --git a/Kernel/platform-micropack/devtty.c b/Kernel/platform-micropack/devtty.c index a5ee1aab..279235ba 100644 --- a/Kernel/platform-micropack/devtty.c +++ b/Kernel/platform-micropack/devtty.c @@ -15,6 +15,18 @@ struct s_queue ttyinq[NUM_DEV_TTY+1] = { /* ttyinq[0] is never used */ { tbuf1, tbuf1, tbuf1, TTYSIZ, 0, TTYSIZ/2 }, }; +static tcflag_t port_mask[4] = { + _ISYS, + _OSYS, + _CSYS, + _LSYS +}; + +tcflag_t *termios_mask[NUM_DEV_TTY + 1] = { + NULL, + port_mask +}; + /* Write to system console */ void kputchar(char c) {