| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Add and use _Objects_Put_without_thread_dispatch(). These two functions
pair with the _Objects_Get() function. This helps to introduce object
specific SMP locks to avoid lock contention.
|
|
|
|
|
| |
Provide SMP support. The ISR disable/enable is not enough to ensure
mutual exclusion for SMP configurations.
|
|
|
|
|
| |
This is the result of a sed script which converts all uses
of @{ into a consistent form.
|
| |
|
|
|
|
|
|
|
| |
The output of the modules.html is much improved. Most
filesystem and POSIX API related groups are properly nested.
Some formatting issues were addressed as were multiple
inconsistencies.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
http://www.google-melange.com/gci/task/view/google/gci2012/7945218
|
|
|
|
| |
http://www.google-melange.com/gci/task/view/google/gci2012/7948216
|
|
|
|
| |
http://www.google-melange.com/gci/task/view/google/gci2012/7997223
|
|
|
|
| |
http://www.google-melange.com/gci/task/view/google/gci2012/8022219
|
|
|
|
| |
http://www.google-melange.com/gci/task/view/google/gci2012/7987221
|
|
|
|
| |
http://www.google-melange.com/gci/task/view/google/gci2012/8003214
|
|
|
|
| |
http://www.google-melange.com/gci/task/view/google/gci2012/7958218
|
|
|
|
| |
http://www.google-melange.com/gci/task/view/google/gci2012/7988213
|
|
|
|
| |
http://www.google-melange.com/gci/task/view/google/gci2012/8003213
|
|
|
|
| |
http://www.google-melange.com/gci/task/view/google/gci2012/7959229
|
|
|
|
| |
http://www.google-melange.com/gci/task/view/google/gci2012/7987220
|
|
|
|
| |
http://www.google-melange.com/gci/task/view/google/gci2012/7955219
|
| |
|
|
|
|
|
| |
This file contains the parts of <rtems/posix/psignal.h> that are only
necessary for the POSIX API implementation.
|
|
|
|
|
|
|
|
| |
Move post switch hook from API_extensions_Control to new
API_extensions_Post_switch_control. Rename
_API_extensions_Run_postswitch() in _API_extensions_Run_post_switch().
Add _API_extensions_Post_switch_list and
_API_extensions_Add_post_switch().
|
|
|
|
|
| |
This file contains the parts of <rtems/score/userext.h> that are only
necessary for the RTEMS implementation.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Script does what is expected and tries to do it as
smartly as possible.
+ remove occurrences of two blank comment lines
next to each other after Id string line removed.
+ remove entire comment blocks which only exited to
contain CVS Ids
+ If the processing left a blank line at the top of
a file, it was removed.
|
|
|
|
|
| |
See http://www.rtems.org/pipermail/rtems-devel/2012-May/001006.html
for details.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
o A new data structure rtems_filesystem_global_location_t was
introduced to be used for
o the mount point location in the mount table entry,
o the file system root location in the mount table entry,
o the root directory location in the user environment, and
o the current directory location in the user environment.
During the path evaluation global start locations are obtained to
ensure that the current file system instance will be not unmounted in
the meantime.
o The user environment uses now reference counting and is protected
from concurrent access.
o The path evaluation process was completely rewritten and simplified.
The IMFS, RFS, NFS, and DOSFS use now a generic path evaluation
method. Recursive calls in the path evaluation have been replaced
with iteration to avoid stack overflows. Only the evaluation of
symbolic links is recursive. No dynamic memory allocations and
intermediate buffers are used in the high level path evaluation. No
global locks are held during the file system instance specific path
evaluation process.
o Recursive symbolic link evaluation is now limited by
RTEMS_FILESYSTEM_SYMLOOP_MAX. Applications can retrieve this value
via sysconf().
o The device file system (devFS) uses now no global variables and
allocation from the workspace. Node names are allocated from the
heap.
o The upper layer lseek() performs now some parameter checks.
o The upper layer ftruncate() performs now some parameter checks.
o unmask() is now restricted to the RWX flags and protected from
concurrent access.
o The fchmod_h and rmnod_h file system node handlers are now a file
system operation.
o The unlink_h operation has been removed. All nodes are now destroyed
with the rmnod_h operation.
o New lock_h, unlock_h, clonenod_h, and are_nodes_equal_h file system
operations.
o The path evaluation and file system operations are now protected by
per file system instance lock and unlock operations.
o Fix and test file descriptor duplicate in fcntl().
o New test fstests/fsnofs01.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* posix/src/mqueuenametoid.c,
posix/src/semaphorenametoid.c: Removed files.
* posix/src/psxnametoid.c: New file.
* posix/Makefile.am: Reflect changes above.
* posix/include/rtems/posix/config.h: Fixed integer types.
* posix/include/rtems/posix/posixapi.h: Declare _POSIX_Name_to_id().
* posix/include/rtems/posix/mqueue.h,
posix/inline/rtems/posix/mqueue.inl: Changed parameter of
_POSIX_Message_queue_Create_support().
_POSIX_Message_queue_Name_to_id() is now inline.
* posix/include/rtems/posix/semaphore.h,
posix/inline/rtems/posix/semaphore.inl: Changed parameter of
_POSIX_Semaphore_Create_support(). _POSIX_Semaphore_Name_to_id() is
now inline.
* posix/src/mqueuecreatesupp.c, posix/src/semaphorecreatesupp.c: Use
_Workspace_String_duplicate().
* posix/src/mqueuesendsupp.c, posix/src/mqueueopen.c,
posix/src/mqueueunlink.c, posix/src/seminit.c, posix/src/semopen.c,
posix/src/semunlink.c: Update due to API changes.
|
|
|
|
|
| |
* posix/src/fork.c: Include <unistd.h> for "fork" prototype.
Don't include <sys/types.h> (unnecessary).
|
|
|
|
| |
* posix/src/sigtimedwait.c: Make _POSIX_signals_Get_lowest static.
|
|
|
|
|
|
|
| |
PR 1981/cpukit
* posix/Makefile.am: Reflect changes below.
* posix/src/pthreadsetcputime.c, posix/src/pthreadgetcputime.c:
Remove (Obsolete).
|
|
|
|
|
| |
* posix/src/pspinlocktranslatereturncode.c:
Include <rtems/posix/spinlock.h> (Missing prototypes).
|
|
|
|
|
|
|
|
|
|
| |
* posix/include/rtems/posix/pthread.h:
Add _POSIX_Threads_Initialize_user_threads_body.
* rtems/include/rtems/rtems/tasks.h:
Add _RTEMS_tasks_Initialize_user_tasks_body.
* sapi/include/confdefs.h: Remove conditional, nested redeclaration of
_POSIX_Threads_Initialize_user_threads_body,
_RTEMS_tasks_Initialize_user_tasks_body.
|
|
|
|
| |
* posix/src/pthread.c: Fix typos.
|
|
|
|
| |
* posix/src/pthreadinitthreads.c: Fix typos.
|
|
|
|
|
| |
* posix/src/pthreadatfork.c:
Include <pthread.h> (Missing prototypes).
|
|
|
|
|
|
|
|
|
| |
* posix/src/mqueuetranslatereturncode.c:
Include <rtems/posix/mqueue.h> (Missing prototypes).
* posix/src/mutextranslatereturncode.c:
Include <rtems/posix/mutex.h> (Missing prototypes).
* posix/src/semaphoretranslatereturncode.c:
Include <rtems/posix/semaphore.h> (Missing prototypes).
|
|
|
|
|
| |
* posix/src/mqueuenotify.c: Make _POSIX_Message_queue_Notify_handler
static.
|
|
|
|
|
| |
* posix/src/aio_misc.c: Make rtems_aio_move_to_work,
rtems_aio_insert_prio static.
|
|
|
|
|
|
|
|
|
| |
* posix/src/pthread.c (_POSIX_Threads_Default_attributes): Add
missing initializer.
* posix/src/pthread.c: Make
_POSIX_Threads_Create_extension,_POSIX_Threads_Delete_extension,
_POSIX_Threads_Exitted_extension,
_POSIX_Threads_Initialize_user_threads static.
|
|
|
|
| |
* posix/src/mqueueopen.c: Use va_arg(..., mode_t) to retrieve mode.
|
|
|
|
| |
* posix/src/semopen.c: Use va_arg(..., mode_t) to retrieve mode.
|