Commit Graph

27 Commits

Author SHA1 Message Date
Gregory Nutt
79c8bb7ddf Updae more comments 2016-07-27 08:03:09 -06:00
Gregory Nutt
59e0c4411f Correct some comments 2016-07-26 13:39:20 -06:00
Gregory Nutt
0c7f5d62e4 More comments 2016-07-26 12:13:30 -06:00
Gregory Nutt
084d200a66 PTY: Cosmetic, update some comments 2016-07-26 10:09:35 -06:00
Gregory Nutt
e0b4a10dfa drivers/serial/pty.c, serial.c, usbdev/cdcacm.c, include/nuttx/fs/ioctl.h: Fix FIONWRITE and add FIONSPACE. All implementations of FIONWRITE were wrong. FIONWRITE should return the number of bytes waiting in the outgoing send queue, not the free space. Rather, FIONSPACE should return the free space in the send queue. 2016-07-25 14:06:32 -06:00
Gregory Nutt
4b4dbc79a2 Move driver related prototypes out of include/nuttx/fs/fs.h and into new include/drivers/drivers.h 2016-07-20 13:15:37 -06:00
Gregory Nutt
318f34fb7d Psuedo-terminal pipe size is now configurable 2016-07-19 14:26:41 -06:00
Gregory Nutt
56582e2263 Update some comments 2016-07-19 10:40:23 -06:00
Gregory Nutt
8bf4684de8 Update some comments 2016-07-19 09:53:52 -06:00
Gregory Nutt
a4458c5016 PTY: Fix a race condition in test-fifo-empty-before-read logic 2016-07-19 06:45:02 -06:00
Gregory Nutt
d9fbf4c90f Eliminate some warnings 2016-07-18 11:27:06 -06:00
Gregory Nutt
1660329d06 Rename up_rnginitialize to devrandom_register 2016-07-18 10:55:37 -06:00
Gregory Nutt
6194467c13 PTY: Fix termios read input processing.. what was I thinking? Also, if some data was read, pty_read() should not block on the empty FIFO. 2016-07-18 08:00:56 -06:00
Gregory Nutt
ded91e451b PTY: Add TERMIOS support. 2016-07-16 10:43:44 -06:00
Alan Carvalho de Assis
8fa14b8fed Fix poll-related compile issues introduced with recent PTY changes 2016-07-16 07:03:38 -06:00
Gregory Nutt
4b1553d3ad PTY: Fix some tricky issues. Now seems to be working. A lot more testing is needed 2016-07-15 14:29:32 -06:00
Gregory Nutt
4b5149b244 PTY: Fix a few errors from early testing 2016-07-15 14:09:02 -06:00
Gregory Nutt
9ecd558002 Add the correct implementation of the file_poll() function 2016-07-15 11:34:08 -06:00
Gregory Nutt
f7f7036db8 Update some comments 2016-07-15 11:15:33 -06:00
Gregory Nutt
4d1b811117 PTY: Add support for the poll() method. 2016-07-15 10:07:33 -06:00
Gregory Nutt
95555a0199 PTY: Add ioctls to support locking and unlocking of the slave. LIBC: Add implementation of unlockpt() 2016-07-15 09:39:33 -06:00
Gregory Nutt
6139860c0b PTY: Added PTY IOCTL command definitions. Add support for TIOCGPTN. LIB: Implement ptsname() and ptsname_r() 2016-07-15 08:33:47 -06:00
Gregory Nutt
bcbe9806d2 In SUSv1 model, need to tried the PTY driver pair as unlinked if the master closes its reference 2016-07-15 07:33:48 -06:00
Gregory Nutt
14c216107a PTY: Need to free PTMX minor number is slave is unlinked 2016-07-15 07:22:36 -06:00
Gregory Nutt
e50646336b Add PTY header files 2016-07-15 07:19:42 -06:00
Gregory Nutt
7fa5093fff PTYs prototypes hooked into build and configuration system (as EXPERIMENTAL) 2016-07-15 06:48:10 -06:00
Gregory Nutt
ccf4bfafcb Prototype versions of ptmx/pty suppoprt. Still under developement; not yet hooked into build or configuration system. 2016-07-14 20:20:48 -06:00