Commit Graph

9080 Commits

Author SHA1 Message Date
Gregory Nutt
f19afef16f Forgot to add a file 2014-09-30 14:41:57 -06:00
Gregory Nutt
a982ff5795 Completes simulated uart implementation... does not work 2014-09-30 14:41:57 -06:00
Gregory Nutt
9e6b07c1b5 simulation: Add a simulatied UART input device. Also lots of misc clean-up for stylistic compatibility with other architectures 2014-09-30 14:41:57 -06:00
Gregory Nutt
d7c28b9a5e Update TODO list 2014-09-30 13:27:34 -06:00
Gregory Nutt
55be11b406 Fix an error when compiled with debug enabled 2014-09-30 08:06:37 -06:00
Gregory Nutt
71b574f26c Repartition some message queue logic: sched/mqueue should have all mqueue knowledge; fs/mqueue should deal only with inodes 2014-09-30 08:03:39 -06:00
Gregory Nutt
f934db2db5 Add support for a custom NSH ROMFS startup image header file location. From Martin Lederhilger 2014-09-30 06:43:49 -06:00
Gregory Nutt
284a5e1243 Update TODO list 2014-09-29 17:43:33 -06:00
Gregory Nutt
ddbcba03d3 Oops... forgot to add a new directory in the last commit 2014-09-29 16:48:01 -06:00
Gregory Nutt
db3cdcf7cc Add a framework that may someday support shared memory objects in the VFS 2014-09-29 16:46:31 -06:00
Gregory Nutt
2f970ffaf7 Eliminate a warning about an uninitilized variable 2014-09-29 16:46:01 -06:00
Gregory Nutt
fcfe877e96 Cosmetic update to comments 2014-09-29 16:22:21 -06:00
Gregory Nutt
d7cfc7c736 Update ChangeLog 2014-09-29 16:16:07 -06:00
Gregory Nutt
5462ede661 Fix some unbalanced sched_lock()/sched_unlock() pairs int the re-implemented VFS semaphore and message queue logic 2014-09-29 16:13:07 -06:00
Gregory Nutt
e340d89990 First round of fixes for re-implemented VFS message queues 2014-09-29 16:03:56 -06:00
Gregory Nutt
419b074b15 Completes the re-implementation of mq_unlink() 2014-09-29 15:48:52 -06:00
Gregory Nutt
1f2cc9f4fe Complete re-implementation of mq_close 2014-09-29 15:33:34 -06:00
Gregory Nutt
584d0fe4ad Complete re-implementation of mq_open() 2014-09-29 14:59:31 -06:00
Gregory Nutt
9e975a217d Separate mqueue allocation logic from mq_open() and put it in sched/mqueue/mq_msgqalloc.c 2014-09-29 14:09:31 -06:00
Gregory Nutt
b0f80cc8db Move mq_open.c, mq_close.c, and mq_unlink.c from sched/mqueue to fs/mqueue 2014-09-29 13:35:32 -06:00
Gregory Nutt
e3fa34681b Convert mqueue structure for use in VFS as inode data; rename mqueue_inode_s; remove links, reference counts and name from mqueue structure. These will be replaced by VFS data. Remove g_msgqueues and mq_findnamed.c; these will be replace with VFS logic 2014-09-29 13:19:11 -06:00
Gregory Nutt
3973c2676d Fix a missed include file change 2014-09-29 12:53:20 -06:00
Gregory Nutt
712d130a13 Fix some comments: Remove button description from GPIO interrupt handlers that derive from the button interrupt handler 2014-09-29 12:22:31 -06:00
Gregory Nutt
542e706d7d Fix a perverse case where vfork() is called from a pthread. Still not recommended 2014-09-29 12:21:34 -06:00
Gregory Nutt
b693fb358a Update ChangeLog 2014-09-29 11:01:05 -06:00
Gregory Nutt
e4deeada85 More vfork(): If we get to vfork() via system call, then we need to clone some system call information so that the return form the cloned system call works correctly 2014-09-29 10:59:15 -06:00
Gregory Nutt
eeb57240de Update ChangeLog 2014-09-29 10:47:12 -06:00
Gregory Nutt
1dc9768c1a Fix vfork(). Now that arguments are kept on the stack, the way that arguments are passed from parent to child in vfork() must change. This bug has always been present, but was not visible with the old strdup() way of passing arguments 2014-09-29 10:45:44 -06:00
Gregory Nutt
d35492e703 Refresh STM32F4Discovery kosest configuration file 2014-09-29 08:00:51 -06:00
Gregory Nutt
ceb532ae39 Fix conditional compilation error introduced with the named semaphore changes 2014-09-29 07:54:45 -06:00
Gregory Nutt
9a3f18db37 Fix missing header file for bug introduced yesterday 2014-09-29 07:48:45 -06:00
Gregory Nutt
c910db8b7e Update ChangeLog 2014-09-29 07:15:49 -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
d5dd9842dc Add build support for messages queues as part of the VFS (only build logic, no C files yet) 2014-09-29 07:00:11 -06:00
Gregory Nutt
71add0b9f2 Update ChangeLog 2014-09-29 06:53:07 -06:00
Gregory Nutt
8c958be5ab Semaphore initialization is now only required if priority inheritance is initialized 2014-09-29 06:50:48 -06:00
Gregory Nutt
60f8a8ec86 STM32F4-Discovery: Fix some backwad conditional compilation 2014-09-29 06:49:55 -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
11a33801c4 Fix a typo in a Make.defs file 2014-09-28 16:45:39 -06:00
Gregory Nutt
999cc5ef8b Seems to work okay now, but needs more testing 2014-09-28 16:36:43 -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
30694f064c Add VFS-based sem_open() implementation 2014-09-28 14:35:17 -06:00
Gregory Nutt
aed3fe045e Add a simple named semaphore test to the OS test 2014-09-28 13:02:36 -06:00
Gregory Nutt
8a6a202c6d straighten out files in some Make.defs files 2014-09-28 12:26:22 -06:00
Gregory Nutt
c73a47b8ac Upate ChangeLog 2014-09-28 12:19:51 -06:00
Gregory Nutt
242b34cf46 Create a build structure that will (eventually) support using the VFS to manage named semaphores 2014-09-28 12:19:01 -06:00
Gregory Nutt
7db12a638c Update ChangeLog 2014-09-28 11:47:08 -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
Gregory Nutt
1426e424ff Update ChangeLog 2014-09-28 11:28:52 -06:00
Gregory Nutt
36a88638a4 Move mount-related files from fs/. to fs/mount/. 2014-09-28 11:28:17 -06:00