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
|
9a44f3017b
|
Fix a few typos in the last commit
|
2016-07-19 13:40:54 -06:00 |
|
Gregory Nutt
|
d6bf67f9ff
|
Alloc different sizes for pipe and fifo buffers
|
2016-07-19 13:34:18 -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
|
2a751068e6
|
Without lowsyslog() *llerr() is not useful. Eliminate and replace with *err().
|
2016-06-20 12:44:38 -06:00 |
|
Gregory Nutt
|
0c8c7fecf0
|
Add _ to the beginning of all debug macros to avoid name collisions
|
2016-06-16 12:33:32 -06:00 |
|
Gregory Nutt
|
0f249016a0
|
Eliminate some warnings
|
2016-06-13 14:01:32 -06:00 |
|
Gregory Nutt
|
efb02f2ef1
|
drivers/: Change some nerr() ERRORS to nwarn() WARNINGS. Anomolous network evernts are not errors.
|
2016-06-12 08:31:22 -06:00 |
|
Gregory Nutt
|
a1469a3e95
|
Add CONFIG_DEBUG_ERROR. Change names of *dbg() * *err()
|
2016-06-11 15:50:49 -06:00 |
|
Gregory Nutt
|
e99301d7c2
|
Rename *lldbg to *llerr
|
2016-06-11 14:55:27 -06:00 |
|
Gregory Nutt
|
1cdc746726
|
Rename CONFIG_DEBUG to CONFIG_DEBUG_FEATURES
|
2016-06-11 14:14:08 -06:00 |
|
Gregory Nutt
|
fc3540cffe
|
Replace all occurrences of vdbg with vinfo
|
2016-06-11 11:59:51 -06:00 |
|
Paul A. Patience
|
f8f7b7582c
|
Silence some warnings
|
2016-05-26 14:06:13 -04:00 |
|
Gregory Nutt
|
c49bd4179a
|
Purely cosmetic
|
2016-03-20 18:44:44 -06:00 |
|
Andrew Tridgell
|
38eb8bb1b0
|
pipes: support FIONREAD and FIONWRITE ioctl on pipes; use semaphores for pipecommon_ioctl().
|
2016-03-20 18:11:13 -06:00 |
|
Gregory Nutt
|
006528b144
|
Add support for freopen()
|
2015-11-22 08:39:17 -06:00 |
|
Gregory Nutt
|
cf14f8d1b5
|
drivers/: Fixes to spacing and alignement
|
2015-10-10 10:41:00 -06:00 |
|
Gregory Nutt
|
0b12dbf95d
|
Fix some spacing problems
|
2015-10-04 15:04:00 -06:00 |
|
Paul A. Patience
|
3b89eabd50
|
Correct #if to #ifdef when the macro can be undefined. Fix bug in AT24XX driver: it should compare AT24XX_ADDRSIZE to 2.
|
2015-09-01 13:52:29 -04:00 |
|
Gregory Nutt
|
3c1af2feed
|
Local sockets: Add poll support for Unix stream sockets. From Jussi Kivilinna.
|
2015-05-12 07:41:12 -06:00 |
|
Gregory Nutt
|
da04b29a68
|
Yet another missing semicolon on DEBUGASSERT
|
2015-04-23 07:29:15 -06:00 |
|
Gregory Nutt
|
0a939ff218
|
Pipes: Fix zero-lenth writes. From Jussi Kivilinna
|
2015-03-13 07:21:06 -06:00 |
|
Gregory Nutt
|
63ab39b274
|
VFS: The inode unlink method should not be support if operations on the root pseudo-filesystem are disabled.
|
2015-02-18 09:34:58 -06:00 |
|
Gregory Nutt
|
eceac1612d
|
Fix some compilation errors introduced in the last commit
|
2015-01-31 13:24:59 -06:00 |
|
Gregory Nutt
|
eb1aca3e46
|
Add an unlink method to block driver interface. Same motivataion as for the same modification to the character driver interface
|
2015-01-31 13:19:23 -06:00 |
|
Gregory Nutt
|
39a5238c43
|
Pipes/FIFOs: Implement the unlink method. If the pipe/FIFO is unlinked, it will marked the pipe/FIFO as unliked. If/when all open references to the driver are closed, all of the driver resources will be freed.
|
2015-01-31 12:05:01 -06:00 |
|
Gregory Nutt
|
e86d00913e
|
Unix domain/FIFOs: Fix a race condition between FIFO buffer operations and the opening and closing of FIFOs which necessary when the FIFOs are used to support Unix domain, datagram sockets. The default policy is the deallocate FIFO buffering when the last client closes the pipe. When when used for datagram communicatinos, packets left in the FIFO will be lost. Some like UDP read-ahead is needed: The buffered data in the FIFO needs to be retained until the reader gets a chance to re-open the FIFO. Added an ioctl (PIPEIOC_POLICY) to control the buffer policy. Default (0) is the legacy behavior; Unix domain datagram logic sets the alternative policy so that the packet data persists after the FIFO is closed.
|
2015-01-30 11:14:24 -06:00 |
|
Gregory Nutt
|
1780810d3d
|
Rename kmalloc to kmm_malloc for consistency
|
2014-08-31 17:26:36 -06:00 |
|
Gregory Nutt
|
54fa3b0b59
|
Rename kfree to kmm_free for consistency with other naming conventions
|
2014-08-31 17:04:02 -06:00 |
|
Gregory Nutt
|
98cf3b06e5
|
nuttx/drivers: Remove explicity references to errno. That is a problem from within the kernel for certain configurations
|
2014-08-28 16:59:06 -06:00 |
|
Gregory Nutt
|
3a1324741a
|
More trailing whilespace removal
|
2014-04-13 14:32:20 -06:00 |
|
patacongo
|
5b7341f5db
|
drivers/, drivers/pipes, and drivers/serial file clean-up
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4944 42af7a65-404d-4744-a932-0658087f49c3
|
2012-07-15 14:56:25 +00:00 |
|
patacongo
|
2fe4ad52f8
|
Move file-system header files to include/nuttx/fs
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4499 42af7a65-404d-4744-a932-0658087f49c3
|
2012-03-21 18:01:07 +00:00 |
|
patacongo
|
12afb230bf
|
Fixes for kernel stub builds
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3473 42af7a65-404d-4744-a932-0658087f49c3
|
2011-04-06 16:40:47 +00:00 |
|
patacongo
|
fefe839818
|
Fix pipe/fifo open logic: semaphore wait in open() must abort if a signal is received
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3327 42af7a65-404d-4744-a932-0658087f49c3
|
2011-03-02 00:33:42 +00:00 |
|
patacongo
|
9634f25391
|
Changing NuttX fixed size type names to C99 standard names -- things will be broken for awhile
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2343 42af7a65-404d-4744-a932-0658087f49c3
|
2009-12-15 14:25:14 +00:00 |
|
patacongo
|
9b04ee217e
|
Move some drivers to separate subdirectories
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2156 42af7a65-404d-4744-a932-0658087f49c3
|
2009-10-18 13:52:21 +00:00 |
|