Commit Graph

1206 Commits

Author SHA1 Message Date
patacongo
0985c273fa Move poll storage slot from pollfd struct to socket struct
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1286 42af7a65-404d-4744-a932-0658087f49c3
2008-11-19 02:40:09 +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
fb68f83244 Add host side helper for poll test
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1284 42af7a65-404d-4744-a932-0658087f49c3
2008-11-19 00:23:38 +00:00
patacongo
240e512d67 Add configuration settings necessary to use poll()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1283 42af7a65-404d-4744-a932-0658087f49c3
2008-11-19 00:23:19 +00:00
patacongo
6dedcb2dfe Add poll() and select()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1282 42af7a65-404d-4744-a932-0658087f49c3
2008-11-18 23:00:29 +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
ec5bf90328 Add TCP/IP server
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1280 42af7a65-404d-4744-a932-0658087f49c3
2008-11-18 22:16:10 +00:00
patacongo
f43604ca38 Add UDP poll issue
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1279 42af7a65-404d-4744-a932-0658087f49c3
2008-11-18 22:15:12 +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
8e53b72627 cosmetic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1276 42af7a65-404d-4744-a932-0658087f49c3
2008-11-18 17:24:50 +00:00
patacongo
a93d9f4cd6 Fix serial read behavior
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1275 42af7a65-404d-4744-a932-0658087f49c3
2008-11-18 14:54:43 +00:00
patacongo
f74a19b9fd Add option to use C buffered I/O in examples/serloop
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1274 42af7a65-404d-4744-a932-0658087f49c3
2008-11-17 23:59:16 +00:00
patacongo
17edec8443 Needs conditional compilation for POLL disabled
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1273 42af7a65-404d-4744-a932-0658087f49c3
2008-11-17 23:58:46 +00:00
patacongo
0b84cc9139 Note bad behavior of fgetc
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1272 42af7a65-404d-4744-a932-0658087f49c3
2008-11-17 23:58:17 +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
6fde1cb170 Use FAR storage class
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1270 42af7a65-404d-4744-a932-0658087f49c3
2008-11-17 23:23:45 +00:00
patacongo
bea78a9ecd Remove garbage comment
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1269 42af7a65-404d-4744-a932-0658087f49c3
2008-11-17 23:23:07 +00:00
patacongo
c14ec89a4f Add poll method to serial drivers
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1268 42af7a65-404d-4744-a932-0658087f49c3
2008-11-17 23:22:27 +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
e4922667b2 CAN driver doesn't support poll() method
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1265 42af7a65-404d-4744-a932-0658087f49c3
2008-11-17 20:26:34 +00:00
patacongo
b57ad724f7 Add examples/poll
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1264 42af7a65-404d-4744-a932-0658087f49c3
2008-11-17 20:25:49 +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
68ec2ba098 Add poll() method
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1262 42af7a65-404d-4744-a932-0658087f49c3
2008-11-17 20:24:28 +00:00
patacongo
efff6fa8d2 Test for poll API
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1261 42af7a65-404d-4744-a932-0658087f49c3
2008-11-17 18:36:56 +00:00
patacongo
8840defcc2 Default state is poll() disabled
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1260 42af7a65-404d-4744-a932-0658087f49c3
2008-11-17 13:39:27 +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
85911f6a9d cosmetic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1256 42af7a65-404d-4744-a932-0658087f49c3
2008-11-16 16:36:30 +00:00
patacongo
5a10c4845a Prep for 0.3.18 release
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1255 42af7a65-404d-4744-a932-0658087f49c3
2008-11-16 14:57:10 +00:00
patacongo
972ab74f1a Add to losetup example
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1254 42af7a65-404d-4744-a932-0658087f49c3
2008-11-16 14:55:34 +00:00
patacongo
4d24e3c482 cosmetic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1253 42af7a65-404d-4744-a932-0658087f49c3
2008-11-16 14:54:54 +00:00
patacongo
e4fa1da557 Fix a possible sigsegv in getopt
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1252 42af7a65-404d-4744-a932-0658087f49c3
2008-11-16 14:54:29 +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
f2b7c5e6b4 Flush dirty cache on close
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1250 42af7a65-404d-4744-a932-0658087f49c3
2008-11-16 01:57:16 +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
2522b24e96 Fix hyperlink
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1248 42af7a65-404d-4744-a932-0658087f49c3
2008-11-16 01:06:12 +00:00
patacongo
1889e9e787 Prevent sign extension when dumping bytes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1247 42af7a65-404d-4744-a932-0658087f49c3
2008-11-15 21:06:41 +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
193bfbd032 semaphore not being initialized; wrong offset used
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1245 42af7a65-404d-4744-a932-0658087f49c3
2008-11-15 19:18:32 +00:00
patacongo
3855baf8d9 losetup example
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1244 42af7a65-404d-4744-a932-0658087f49c3
2008-11-15 19:17:55 +00:00
patacongo
c8f205d2c5 Add losetup to NSH
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1243 42af7a65-404d-4744-a932-0658087f49c3
2008-11-15 17:42:49 +00:00
patacongo
d6aa80bbd0 NSH dd command test with block devices
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1242 42af7a65-404d-4744-a932-0658087f49c3
2008-11-15 16:36:32 +00:00
patacongo
4a9e922943 Add dd command to NSH
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1241 42af7a65-404d-4744-a932-0658087f49c3
2008-11-15 15:36:16 +00:00
patacongo
458706e249 Register /dev/zero too
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1240 42af7a65-404d-4744-a932-0658087f49c3
2008-11-15 15:35:47 +00:00
patacongo
0e2ca53487 Add str[n]casecmp
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1239 42af7a65-404d-4744-a932-0658087f49c3
2008-11-15 14:26:22 +00:00
patacongo
386b7f12cd Add loop teardown logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1238 42af7a65-404d-4744-a932-0658087f49c3
2008-11-15 00:20:34 +00:00
patacongo
6aeb99bc51 Add Block-to-character device driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1237 42af7a65-404d-4744-a932-0658087f49c3
2008-11-15 00:18:23 +00:00