Commit Graph

209 Commits

Author SHA1 Message Date
patacongo
2ffccdc2c5 Fix an error in opendir() when a mountpoint is in the root directory.
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3432 42af7a65-404d-4744-a932-0658087f49c3
2011-03-28 17:43:34 +00:00
patacongo
7b69f1af91 Re-organize header files so that file systems can be built outside of the nuttx tree; add a binfs file system to apps/namedapp
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3428 42af7a65-404d-4744-a932-0658087f49c3
2011-03-28 00:05:58 +00:00
patacongo
1b91975e30 #warning removal
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3355 42af7a65-404d-4744-a932-0658087f49c3
2011-03-09 03:41:34 +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
3a71f0ac59 Add IGMP user interface
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2786 42af7a65-404d-4744-a932-0658087f49c3
2010-07-11 18:10:22 +00:00
patacongo
74e2893056 Eliminate some warnings
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2376 42af7a65-404d-4744-a932-0658087f49c3
2009-12-17 19:52:47 +00:00
patacongo
e385b1074b Clean-up from big switch to stdint/stdbool
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2362 42af7a65-404d-4744-a932-0658087f49c3
2009-12-16 23:23:46 +00:00
patacongo
d67e9f0ad9 Switching to C99 stdint/stdbool.h types
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2341 42af7a65-404d-4744-a932-0658087f49c3
2009-12-15 00:18:32 +00:00
patacongo
4686cc55fa types blkcnt_t and off_t should not depend on memory model; Remove non-standard type STATUS
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2330 42af7a65-404d-4744-a932-0658087f49c3
2009-12-13 18:01:46 +00:00
patacongo
9535a28d7a Eliminate some hcs12 compile errors/warnings
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2329 42af7a65-404d-4744-a932-0658087f49c3
2009-12-13 15:13:37 +00:00
patacongo
d209d47e16 Fix error in mount() error handling
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2271 42af7a65-404d-4744-a932-0658087f49c3
2009-11-18 17:31:04 +00:00
patacongo
6abf781fa1 cosmetic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2067 42af7a65-404d-4744-a932-0658087f49c3
2009-09-16 20:25:16 +00:00
patacongo
275133b216 Continued THTTPD debug
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2023 42af7a65-404d-4744-a932-0658087f49c3
2009-08-15 22:59:59 +00:00
patacongo
69544599c3 Read from socket is the same as recv with flags==0
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2017 42af7a65-404d-4744-a932-0658087f49c3
2009-08-15 15:57:15 +00:00
patacongo
ea16dce2f3 Fix some ez80 compilation errors
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2005 42af7a65-404d-4744-a932-0658087f49c3
2009-08-02 13:24:47 +00:00
patacongo
297cb5e256 Add fcntl(F_DUPFD)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1995 42af7a65-404d-4744-a932-0658087f49c3
2009-07-19 00:14:46 +00:00
patacongo
e68c54fea0 Still fleshing out THTTPD example
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1994 42af7a65-404d-4744-a932-0658087f49c3
2009-07-18 22:59:44 +00:00
patacongo
8c7634d4a2 Add skeleton for fcntl()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1993 42af7a65-404d-4744-a932-0658087f49c3
2009-07-18 21:39:59 +00:00
patacongo
e72dce9e1b Consolidate buffer dumping; fix all occurrences of 'the the'
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1951 42af7a65-404d-4744-a932-0658087f49c3
2009-06-25 17:44:35 +00:00
patacongo
ca79f124d4 Fix a bug in initial XIP offset
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1942 42af7a65-404d-4744-a932-0658087f49c3
2009-06-24 23:33:33 +00:00
patacongo
6ad27ed177 Reserved word 'private' in C header files is a problem for C++
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1890 42af7a65-404d-4744-a932-0658087f49c3
2009-06-16 23:23:31 +00:00
patacongo
fdf76b48bc dup() and dup2() support for socket descriptors
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1884 42af7a65-404d-4744-a932-0658087f49c3
2009-06-15 18:58:22 +00:00
patacongo
9f478308f7 Fix mount problem
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1835 42af7a65-404d-4744-a932-0658087f49c3
2009-05-29 13:32:00 +00:00
patacongo
75604f27d0 Fix FAT32 bug
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1829 42af7a65-404d-4744-a932-0658087f49c3
2009-05-27 21:44:20 +00:00
patacongo
601390e5d9 Fixes for correct compilation with ZDS-II
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1556 42af7a65-404d-4744-a932-0658087f49c3
2009-03-01 17:42:24 +00:00
patacongo
14d2342d9e Make sure the private data is initially NULL
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1293 42af7a65-404d-4744-a932-0658087f49c3
2008-11-20 14:13:04 +00:00
patacongo
cf12e1690e Move poll save area back into struct pollfd (as it was
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1288 42af7a65-404d-4744-a932-0658087f49c3
2008-11-19 18:43:50 +00:00
patacongo
0f4896d7b8 Revert part of last change
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1285 42af7a65-404d-4744-a932-0658087f49c3
2008-11-19 02:39:21 +00:00
patacongo
004cd55833 cosmetic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1281 42af7a65-404d-4744-a932-0658087f49c3
2008-11-18 23:00:05 +00:00
patacongo
0dd623a473 Basic setup of network select
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1278 42af7a65-404d-4744-a932-0658087f49c3
2008-11-18 22:14:25 +00:00
patacongo
b2b69f173b Implement poll/select for sockets
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1277 42af7a65-404d-4744-a932-0658087f49c3
2008-11-18 17:30:30 +00:00
patacongo
d5000bfdc5 Fix improper access to table
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1271 42af7a65-404d-4744-a932-0658087f49c3
2008-11-17 23:24:22 +00:00
patacongo
2ed32601fa Extend test to verify select
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1267 42af7a65-404d-4744-a932-0658087f49c3
2008-11-17 21:18:03 +00:00
patacongo
acbefdbb30 Initial integration of poll()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1266 42af7a65-404d-4744-a932-0658087f49c3
2008-11-17 20:27:26 +00:00
patacongo
73c4fa5757 Add select()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1263 42af7a65-404d-4744-a932-0658087f49c3
2008-11-17 20:25:28 +00:00
patacongo
72d4fbf168 Poll API may be disabled
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1259 42af7a65-404d-4744-a932-0658087f49c3
2008-11-16 22:05:28 +00:00
patacongo
dbda581f26 Add infrastructure to support poll()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1258 42af7a65-404d-4744-a932-0658087f49c3
2008-11-16 18:48:29 +00:00
patacongo
57c41ff2fc Basic file structure for poll() API
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1257 42af7a65-404d-4744-a932-0658087f49c3
2008-11-16 17:19:38 +00:00
patacongo
3a02c111ca Fix some lseek to zero problems
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1251 42af7a65-404d-4744-a932-0658087f49c3
2008-11-16 14:54:03 +00:00
patacongo
c08eaaff33 Fix a FAT mount bug
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1249 42af7a65-404d-4744-a932-0658087f49c3
2008-11-16 01:28:01 +00:00
patacongo
67d446be4e trivial cosmetic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1246 42af7a65-404d-4744-a932-0658087f49c3
2008-11-15 19:19:34 +00:00
patacongo
c47d76bdf9 Correct comments
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1232 42af7a65-404d-4744-a932-0658087f49c3
2008-11-14 15:09:39 +00:00
patacongo
6cb7caab02 Make use of FAR consistent in stdio.h
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1182 42af7a65-404d-4744-a932-0658087f49c3
2008-11-10 14:40:03 +00:00
patacongo
ad93759c76 Share block driver helpers outside of fs/
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1069 42af7a65-404d-4744-a932-0658087f49c3
2008-10-23 20:52:32 +00:00
patacongo
de5c6ffcdc Allow block drivers without mountpoint support
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1063 42af7a65-404d-4744-a932-0658087f49c3
2008-10-22 22:02:44 +00:00
patacongo
a11383a93f Fix access to aligned partition table values
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1046 42af7a65-404d-4744-a932-0658087f49c3
2008-10-15 19:12:33 +00:00
patacongo
24aff819a4 Not setting error on driver errors
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1014 42af7a65-404d-4744-a932-0658087f49c3
2008-10-09 20:22:21 +00:00
patacongo
f796d1dff6 Use SEC_NSECTOR macro
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@921 42af7a65-404d-4744-a932-0658087f49c3
2008-09-12 22:28:29 +00:00
patacongo
fb6d8f6ae6 Combine common sector address in one function
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@920 42af7a65-404d-4744-a932-0658087f49c3
2008-09-12 22:28:11 +00:00
patacongo
890f1034e0 Combine hard link traversal into one common function
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@918 42af7a65-404d-4744-a932-0658087f49c3
2008-09-12 20:54:14 +00:00
patacongo
031dfef23c Added mmap()/XIP test to ROMFS test
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@917 42af7a65-404d-4744-a932-0658087f49c3
2008-09-12 19:17:15 +00:00
patacongo
1427e4083c Add mmap() API
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@916 42af7a65-404d-4744-a932-0658087f49c3
2008-09-12 15:54:20 +00:00
patacongo
1a286a874d cosmetic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@915 42af7a65-404d-4744-a932-0658087f49c3
2008-09-12 14:52:33 +00:00
patacongo
af55abec61 cosmetic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@914 42af7a65-404d-4744-a932-0658087f49c3
2008-09-12 14:46:44 +00:00
patacongo
b0d5432f8b Add ioctl's to support XIP
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@913 42af7a65-404d-4744-a932-0658087f49c3
2008-09-12 14:34:06 +00:00
patacongo
76420d3dc0 ROMFS fixes discovered during testing
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@908 42af7a65-404d-4744-a932-0658087f49c3
2008-09-11 21:51:41 +00:00
patacongo
c54c3b0a25 Add a test of ROMFS
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@906 42af7a65-404d-4744-a932-0658087f49c3
2008-09-11 05:21:36 +00:00
patacongo
6a5e4f302d ROMFS filesystem support
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@903 42af7a65-404d-4744-a932-0658087f49c3
2008-09-10 19:29:24 +00:00
patacongo
5e510557e5 ROMFS filesystem
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@902 42af7a65-404d-4744-a932-0658087f49c3
2008-09-10 19:27:49 +00:00
patacongo
fb22c557dc cosmetic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@901 42af7a65-404d-4744-a932-0658087f49c3
2008-09-10 19:09:47 +00:00
patacongo
469948a0b6 cosmetic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@900 42af7a65-404d-4744-a932-0658087f49c3
2008-09-10 13:24:31 +00:00
patacongo
d57cb4fc90 Fix FAT seek bug
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@896 42af7a65-404d-4744-a932-0658087f49c3
2008-09-08 17:04:14 +00:00
patacongo
34cfa3ead5 Fixed critical FAT bugs
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@894 42af7a65-404d-4744-a932-0658087f49c3
2008-09-07 22:27:17 +00:00
patacongo
cd1ddef34a update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@893 42af7a65-404d-4744-a932-0658087f49c3
2008-09-07 20:18:36 +00:00
patacongo
4f58db9c18 Fix fseek/ftell; add fsetpos/fgetpos
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@862 42af7a65-404d-4744-a932-0658087f49c3
2008-09-01 20:35:41 +00:00
patacongo
4b57c3bad4 Fix Linux sim errors/warning
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@842 42af7a65-404d-4744-a932-0658087f49c3
2008-08-29 15:36:02 +00:00
patacongo
e716896a18 Fix error in stat on root directory
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@838 42af7a65-404d-4744-a932-0658087f49c3
2008-08-23 15:04:21 +00:00
patacongo
6adab3df7c Fix error in FAT FS when file opened for O_APPEND
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@827 42af7a65-404d-4744-a932-0658087f49c3
2008-08-17 16:19:13 +00:00
patacongo
2878532acb Fix bad assert in opendir
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@825 42af7a65-404d-4744-a932-0658087f49c3
2008-08-17 16:17:08 +00:00
patacongo
7c18bfddad Fix read()/write() prototype
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@820 42af7a65-404d-4744-a932-0658087f49c3
2008-08-13 00:32:32 +00:00
patacongo
e2dd36627a Added test for mkfatfs
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@807 42af7a65-404d-4744-a932-0658087f49c3
2008-08-10 16:36:33 +00:00
patacongo
871a684fc6 Added mkfatfs() test
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@806 42af7a65-404d-4744-a932-0658087f49c3
2008-08-10 14:50:27 +00:00
patacongo
dd7f63b94a Implemented mkfatfs()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@805 42af7a65-404d-4744-a932-0658087f49c3
2008-08-09 21:48:06 +00:00
patacongo
c6ad3e0d22 Added search for good cluster size
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@804 42af7a65-404d-4744-a932-0658087f49c3
2008-08-09 19:44:55 +00:00
patacongo
a88a6ecb67 Add FAT size calculation
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@803 42af7a65-404d-4744-a932-0658087f49c3
2008-08-09 15:55:42 +00:00
patacongo
8a30c6b64a Continued mkfatfs work
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@802 42af7a65-404d-4744-a932-0658087f49c3
2008-08-05 23:52:44 +00:00
patacongo
9e1d3f8984 fleshing out mkfatfs logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@801 42af7a65-404d-4744-a932-0658087f49c3
2008-08-03 17:45:20 +00:00
patacongo
7089a04067 Support for mkfatfs()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@800 42af7a65-404d-4744-a932-0658087f49c3
2008-08-02 20:59:48 +00:00
patacongo
360cc0a648 typos
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@799 42af7a65-404d-4744-a932-0658087f49c3
2008-08-02 17:22:22 +00:00
patacongo
0e44d93cd7 Move FAT-related files to fs/fat
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@798 42af7a65-404d-4744-a932-0658087f49c3
2008-08-02 15:02:10 +00:00
patacongo
08d439fefb Fat directory
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@797 42af7a65-404d-4744-a932-0658087f49c3
2008-08-02 14:44:25 +00:00
patacongo
a5916b8df8 Add find/open/close_blockdriver()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@796 42af7a65-404d-4744-a932-0658087f49c3
2008-08-02 14:25:34 +00:00
patacongo
ab815f91f9 Simplication
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@794 42af7a65-404d-4744-a932-0658087f49c3
2008-08-01 02:17:32 +00:00
patacongo
2d52cdfac7 Fix missing lock in last change
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@793 42af7a65-404d-4744-a932-0658087f49c3
2008-08-01 01:59:11 +00:00
patacongo
6b1891dc83 Need to call driver close() method on exit
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@792 42af7a65-404d-4744-a932-0658087f49c3
2008-08-01 00:22:09 +00:00
patacongo
faf168d93c Fix bug: Using unsigned to detect errno<0
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@791 42af7a65-404d-4744-a932-0658087f49c3
2008-07-31 00:28:24 +00:00
patacongo
d05f4750cb Add mkfifo()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@773 42af7a65-404d-4744-a932-0658087f49c3
2008-07-20 20:58:32 +00:00
patacongo
714c61c361 Add RAM disk support
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@765 42af7a65-404d-4744-a932-0658087f49c3
2008-06-01 20:08:20 +00:00
patacongo
bdf74c42f2 Fix several problems with accessing FAT filesystems
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@758 42af7a65-404d-4744-a932-0658087f49c3
2008-05-31 22:10:21 +00:00
patacongo
be2a62af5a Eliminate deadlock condition in opendir()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@757 42af7a65-404d-4744-a932-0658087f49c3
2008-05-31 20:14:15 +00:00
patacongo
669118c68e Fix endian conditional compilation
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@644 42af7a65-404d-4744-a932-0658087f49c3
2008-02-06 21:08:16 +00:00
patacongo
09af7cf6ce Added lseek()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@612 42af7a65-404d-4744-a932-0658087f49c3
2008-02-01 22:19:20 +00:00
patacongo
37d20db817 Z16F Debug
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@579 42af7a65-404d-4744-a932-0658087f49c3
2008-01-29 00:50:16 +00:00
patacongo
291270beb5 Using tool-specific clean
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@545 42af7a65-404d-4744-a932-0658087f49c3
2008-01-10 18:23:08 +00:00
patacongo
d8b91b19e5 Make logic reorganized for non-GNU toolchain
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@528 42af7a65-404d-4744-a932-0658087f49c3
2008-01-08 17:06:21 +00:00
patacongo
131931c877 Reduce make output
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@526 42af7a65-404d-4744-a932-0658087f49c3
2008-01-08 13:41:00 +00:00
patacongo
c5a589f25b Add support for tools that can't make dependencies
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@522 42af7a65-404d-4744-a932-0658087f49c3
2008-01-08 00:19:24 +00:00
patacongo
d9080fb256 Debug NSH on z80sim
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@474 42af7a65-404d-4744-a932-0658087f49c3
2007-12-31 23:52:53 +00:00
patacongo
3e64d53637 Add TELNET front end to NSH
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@421 42af7a65-404d-4744-a932-0658087f49c3
2007-12-02 18:18:59 +00:00
patacongo
5fe8b2974d Add examples/dhcpd
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@413 42af7a65-404d-4744-a932-0658087f49c3
2007-11-30 20:46:29 +00:00