Gregory Nutt
60bdc27d25
Fix a couple of typos in recent commit. Found by David Sidrane
2015-02-17 19:21:07 -06:00
Gregory Nutt
b3dd424e10
mkfatfs: use DMA memory for mkfatfs when needed
...
this makes mkfatfs use fat_dma_alloc() when CONFIG_FAT_DMAMEMORY is
set. This is needed to ensure mkfatfs operates with boards that use
DMA for microSD
From Andrew Tridgell via the PX4/NuttX repository
2015-02-17 16:57:15 -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
e7470e0834
Update dates in all skeleton files
2015-02-13 06:13:34 -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
7e46e94546
Remove CONFIG_DEBUG_STACK. Adding CONFIG_STACK_COLORATION makes this configuration option pointless
2015-01-24 06:49:51 -06:00
Gregory Nutt
8f8259a0d6
Networking: UDP and TCP MSS depends on the IP header size (as well as the link layer header size) and cannot be represented with a single value.
2015-01-16 15:03:10 -06:00
Gregory Nutt
e9cec9057b
There were some changes which broke my NuttX-Build. With these two patches it builds again. From Manuel Stühn
2015-01-01 15:56:25 -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
68038211c1
FS: Add a check for a NULL pathname.
2014-12-13 13:05:54 -06:00
Gregory Nutt
cdc8fc52d1
SmartFS: Implements wear-leveling in the SmartFS. From Ken Pettit
2014-12-09 14:11:15 -06:00
Gregory Nutt
cb051a522d
Add procfs write support. From Ken Petit
2014-12-09 13:24:38 -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
ff87e2e02a
In message queue created return ENOSPC error if size exceeds the configured size of pre-allocatd messages; Use ENOSPC vs ENOMEM per OpenGroup.org. From Pierre-Noel Bouteville
2014-12-06 07:18:48 -06:00
Gregory Nutt
76906110b0
Correct spelling: MOUNTPOINT not MOUNTPOUNT. Numerous places. Some are problems. From Woohan Lee
2014-12-01 06:41:30 -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
1aa528a572
More fixes to problems noted by cppcheck. Some are kind of risky; some are real bugs.
2014-11-25 14:10:35 -06:00
Gregory Nutt
9ac09db800
More fixes to problems noted by cppcheck. Some are kind of risky; some are real bugs.
2014-11-25 13:46:14 -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
2e55db369d
Network: All logic will now handle varialbe length link layer protocol headers within incoming packets. This permits use of multiple network interfaces with differing data links. For example, ETHERNET + SLIP
2014-11-15 13:13:23 -06:00
Gregory Nutt
d287e7036d
Let's raise the priority of NXFFS dumps to LOG_NOTICE
2014-11-12 11:38:48 -06:00
Gregory Nutt
6a9296c397
Fix prolblems with redefinitions of fdb macro. With the fix to the syslog prototype, a LOG priority must now be the first paramter. Fixed by replacing all occurrences of fdbg with syslog(LOG_DEBUG, and eliminating the macro redefinitions. Noted by Sebastien Lorquet.
2014-11-12 07:15:13 -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
cc679cc902
SYSLOG timestamp configuration option should not depend on CONFIG_SYSLOG and the default value should be n
2014-11-01 13:47:10 -06:00
Gregory Nutt
e6c2a36bbe
Add optional timestamp to syslog output. From pn_bouteville@yahoo.fr
2014-11-01 09:17:34 -06:00
Gregory Nutt
f8f6a8fbce
AIO: Several fixes for socket transfers, mostly from Victor Mayoral Vilches
2014-10-27 15:54:35 -06:00
Gregory Nutt
d2424ac65c
Fix a couple of problems introduced in the last commmits
2014-10-11 08:29:26 -06:00
Gregory Nutt
ae3cc327c7
AIO now also supports socket transfers
2014-10-11 08:15:23 -06:00
Gregory Nutt
91f5ecc347
fs/aio/aio.h needs to disable itself is CONFIG_FS_AIO is not defined
2014-10-09 10:45:43 -06:00
Gregory Nutt
5815201cc2
Move syslog back to libc/syslog from fs/syslog
2014-10-09 07:08:36 -06:00
Gregory Nutt
4efb064169
Remove non-standard, conditional syslog_enable(), instead only the required, standard setlogmask()
2014-10-09 06:09:03 -06:00
Gregory Nutt
6d28596fa5
Fix a naming problem (actally a cut'n'paste problem)
2014-10-08 20:17:18 -06:00
Gregory Nutt
bbc658930a
Passing va_list in syscall does not work. Temporarily moved syslog and lowsyslog into kernel code and access via a system call. Need to revisit. Will probably need to move all of syslog back from fs/syslog to libc/syslog
2014-10-08 20:12:52 -06:00
Gregory Nutt
ec57ab6391
Implement setlogmask(); move some syslog logic from libc/syslog to fs/syslog
2014-10-08 19:08:26 -06:00
Gregory Nutt
f8ed7323c0
make standard syslog and vsyslog POSIX compliant (also modify non-standard syslog functions for compatibility). This will break a lot of things until ALL usage of syslog is updated to use the modified interfaces
2014-10-08 09:44:15 -06:00
Gregory Nutt
974f884ddc
Fix typos that cause compile error when file system debug is enabled
2014-10-07 13:49:49 -06:00
Gregory Nutt
e5f34875ff
AIO signal related fixes; extensino to AIO test
2014-10-07 09:57:20 -06:00
Gregory Nutt
f575567f55
Fix a compilation error in last commits that occure if CONFIG_PRIORITY_INHERITANCE is not selected
2014-10-07 09:07:54 -06:00
Gregory Nutt
4c7b988525
Update some comments
2014-10-07 08:34:10 -06:00
Gregory Nutt
98a4b6fb79
The Asynch I/O implementation now satisfies POSIX priority requirements; it uses the new low priority worker thread interfaces to adjust the priority of the worker thread according to the priority of the client thread
2014-10-07 08:24:50 -06:00
Gregory Nutt
e38640ecd8
Eliminate a warning
2014-10-06 16:15:24 -06:00
Gregory Nutt
9e102bc458
Fix some cornercase locking issues; make AIO lock re-entrant
2014-10-06 15:54:00 -06:00