]> Zhao Yanbai Git Server - minix.git/commit
TTY: use libchardriver; clean up 67/867/3
authorDavid van Moolenbroek <david@minix3.org>
Wed, 11 Sep 2013 10:48:10 +0000 (12:48 +0200)
committerLionel Sambuc <lionel@minix3.org>
Sat, 1 Mar 2014 08:04:52 +0000 (09:04 +0100)
commit3d697930dd107c20a5178887f70cd0baa848ac0d
tree2934e76c6335b6451b8b4d2b3238eec41b9aaddd
parent701f2b4dd5572a98bc8da921a86fc1f87c872e3d
TTY: use libchardriver; clean up

- writing to a PTY master side blocks if there is not already a
  blocked reader on the slave side, and select now reflects this;
- internally, TTY now uses a test based on "caller != NONE" rather
  than "grant != GRANT_INVALID" to identify whether a call is
  currently ongoing;
- "offset" fields have been removed as they equal the corresponding
  "cum" fields;
- improved variable typing and function naming here and there;
- various other small fixes.

Change-Id: I6b51452888942e864b4e034e8c8490576184a23e
15 files changed:
distrib/sets/lists/minix/mi
drivers/tty/Makefile
drivers/tty/arch/earm/console.c
drivers/tty/arch/earm/keyboard.c
drivers/tty/arch/earm/rs232.c
drivers/tty/arch/i386/console.c
drivers/tty/arch/i386/keyboard.c
drivers/tty/arch/i386/rs232.c
drivers/tty/pty.c
drivers/tty/tty.c
drivers/tty/tty.h
include/minix/Makefile
include/minix/com.h
include/minix/tty.h [deleted file]
include/sys/ioc_tty.h