Commit Graph

24 Commits

Author SHA1 Message Date
Gregory Nutt cded7ea682 Fix some time value changes; mostly changing greater than 1000000000 to greater than or equal to 1000000000. From Juha Niskanen 2015-02-20 07:07:36 -06:00
Gregory Nutt f357897b6c Some files that now include sys/time.h should no longer include timer.h 2015-02-15 16:38:18 -06:00
Gregory Nutt d6704a1cd7 Suffer the consequences of moving struct timeval to its correct location 2015-02-15 15:18:35 -06:00
Gregory Nutt 38781d308e VFS: New block driver unlink support is dependent on mountpoint support 2015-01-31 17:16:30 -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 62e588a0a4 VFS: Add an unlink method to the character driver interface. This is important because if the character driver inode is unlinked and there are no open references to the driver, then the driver resources will be stranded. On the unlink call, the driver has the opportunity (1) check if there an any open references, and (2) if not free the driver resources 2015-01-31 11:31:34 -06:00
Gregory Nutt 936e4e529d Don't build pread()/pwrite() if file system support is disabled 2014-12-28 15:20:41 -06:00
Gregory Nutt 58ce5653fb Fix a typo in a recent commit 2014-12-08 08:28:50 -06:00
Gregory Nutt 8bd5556b47 Fix compilation errors if CONFIG_DISABLE_MOUNTPOINT is selected 2014-12-08 07:14:31 -06:00
Gregory Nutt 7ad7163bd3 Updated comments 2014-11-29 17:39:40 -06:00
Gregory Nutt e31d5125ae Add support for a variadic ioctl() function. The ioctl() interface is a non-standard, Unix interface. NuttX has always used the older, three-parameter version. Most contemporary systems now, however, use a variadic form of the ioctl() function. Added an option to insert a shim layer to adapt the three-parameter ioctl() to use the variadic interface form. Internally, the ioctl handling is the same three-parameter logic. The only real complexity to the shim is in how the system calls must be handled. 2014-11-29 10:53:22 -06:00
Gregory Nutt 71d27ec3da apps/examples/bridge: Add host-side test driver 2014-11-21 08:20:25 -06:00
Gregory Nutt 6eee578317 vfs/poll: add proper handling for sem_timedwait errnos. From Jussi Kivilinna 2014-11-21 06:38:26 -06:00
Gregory Nutt bee3640829 Simplifed semaphore wait logic in poll() 2014-11-19 09:49:11 -06:00
Gregory Nutt 4448cc43db poll() was not waking up from signals (for example mq_notify() events).
Signed-off-by: Jussi Kivilinna <jussi.kivilinna@haltian.com>
2014-11-19 09:31:51 -06:00
Gregory Nutt 839d3f2204 Cosmetic. Fix some conditional logic in some conditioned out code 2014-11-02 17:26:38 -06:00
Gregory Nutt d914f3ceec Major structure of file system functions to better support asynchronous I/O. Respository should not be trusted until I have a chance to verify everything 2014-10-06 10:53:25 -06:00
Gregory Nutt 6d33cd329d First pread/pwrite typo fixes 2014-10-04 07:39:30 -06:00
Gregory Nutt 948be542a1 Add pread() and pwrite() 2014-10-04 07:31:13 -06:00
Gregory Nutt ae90309b36 Move fs/fs.h to fs/inode/inode.h and some to fs/driver/driver.h 2014-09-29 07:14:38 -06:00
Gregory Nutt 1b2729e35e More testing, bugfixes and integration of VFS-based named semaphores 2014-09-28 17:30:42 -06:00
Gregory Nutt 650a0d0615 Completes VFS-based named semaphore implemetation. Still a little buggy 2014-09-28 15:58:56 -06:00
Gregory Nutt 8a6a202c6d straighten out files in some Make.defs files 2014-09-28 12:26:22 -06:00
Gregory Nutt ff73be870e Move renaming files in fs/. to fs/vfs/. (Don't all belong there) 2014-09-28 11:46:11 -06:00