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 |
|