Commit Graph

597 Commits

Author SHA1 Message Date
Sebastian Huber
7660e8b347 Include missing <string.h> 2013-07-23 15:12:54 +02:00
Sebastian Huber
0b32bb8042 rtems: Create barrier implementation header
Move implementation specific parts of barrier.h and barrier.inl into new
header file barrierimpl.h.  The barrier.h contains now only the
application visible API.
2013-07-22 16:57:21 +02:00
Sebastian Huber
9165a5b07d IMFS: Fix reference count for debug enabled 2013-06-21 10:26:11 +02:00
Sebastian Huber
961669db4e documentation: Fix Doxygen comments 2013-06-14 16:26:09 +02:00
Sebastian Huber
2d2352bab9 score: Add and use _Objects_Put()
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.
2013-06-07 17:06:43 +02:00
Sebastian Huber
9bfd7ff09e dosfs: Documentation 2013-06-07 17:02:25 +02:00
Sebastian Huber
36ae561c8e nfsclient: Add rpcSetXIDs() 2013-06-05 17:19:34 +02:00
Sebastian Huber
a2854fd55e nfsclient: Fix warnings 2013-06-05 17:19:33 +02:00
Sebastian Huber
442db915f8 nfsclient: Delete superfluous mask operation 2013-06-05 17:19:33 +02:00
Sebastian Huber
c295e098c6 nfsclient: Delete superfluous assignment 2013-06-05 17:19:33 +02:00
Ralf Kirchner
27170bae58 dosfs: Documentation 2013-06-03 17:28:42 +02:00
Ralf Kirchner
83a4cbb69d dosfs: UTF-8 Support: Multibyte conversions
Add optional conversion methods for multibyte strings. With these
conversions which make use of iconv and utf8proc it becomes possible to
use strings from any language (Czech, Chinese, Arabian, Hebrew, Corean,
...) for file names and directory names.

NOTE: Iconv support must be activated during the build of the tool chain
for these conversion methods (options --enable-newlib-iconv
--enable-newlib-iconv-encodings=[ENCODINGS_YOU_WANT]).  Alternatively
you can provide your own conversion methods.
2013-06-03 17:28:41 +02:00
Ralf Kirchner
d2e0bb36e3 dosfs: UTF-8 Support: UI, backwards compatibility
User interface and backwards compatibility for UTF-8 support in the FAT
file system.  Purpose of UTF-8 support is to permit file names and
directory names with characters from all kinds of languages (Czech,
Chinese, Arabian, Hebrew, Korean, ...).  This commit does not yet
support multibyte characters. It only contains the user interface and
the backwards compatibility.
2013-06-03 17:28:40 +02:00
Ralf Kirchner
e67025e390 dosfs: Add RTEMS_DOSFS_SEMAPHORES_PER_INSTANCE 2013-05-24 08:55:05 +02:00
Ralf Kirchner
a0f3ce25a4 dosfs: Fix typo 2013-05-24 08:52:35 +02:00
Andrei Mozzhuhin
56f2260008 dosfs: Add statvfs() support 2013-05-16 11:40:41 +02:00
Sebastian Huber
f2a1ba5002 libfs: Always use geteuid() and getegid()
The two functions are independent of the POSIX API.
2013-03-22 15:43:41 +01:00
Sebastian Huber
6d9ab345e2 IMFS: Fix NULL pointer access 2013-03-18 16:26:31 +01:00
Andreas Heinig
2434555708 dosfs: PR2091: Fix warning 2013-02-27 11:00:47 +01:00
Sebastian Huber
01eff24887 IMFS: PR2093: Fix warning 2013-02-27 10:53:49 +01:00
Andreas Heinig
d06d4ab312 dosfs: PR2092: Delete unused function 2013-02-27 10:42:52 +01:00
Sebastian Huber
78a50d924c dosfs: Fix file length update 2013-02-20 09:11:40 +01:00
Sebastian Huber
cd85e841de dosfs: Start scan with a valid data cluster
Simpify the loop.  Set last cluster to an undefined value in case no
free cluster exists.
2013-02-15 17:01:55 +01:00
Sebastian Huber
df8c2d77f6 dosfs: Fix file extend
Only append a valid cluster chain (cluster added > 0), otherwise we
overwrite the root directory cluster (cluster 0) of a FAT12 or FAT16
with arbitrary data.
2013-02-15 17:01:55 +01:00
Sebastian Huber
0c9b35e8dd dosfs: Ensure valid data cluster count 2013-02-15 17:01:55 +01:00
Sebastian Huber
eefeefdd0e dosfs: Always release the buffers
Release the buffers also if this is not the last reference to the file
object since otherwise we may hold modified data indefinitely.
2013-01-30 17:08:04 +01:00
Joel Sherrill
e858f7049c cpukit: Fix many Doxygen warnings 2013-01-10 17:06:47 -06:00
Joel Sherrill
0c2f1e3345 devfs: Doxygen Warning Removal and Cleanup 2013-01-10 17:06:47 -06:00
Joel Sherrill
b697bc6a44 cpukit: Use Consistent Beginning of Doxygen Group Notation
This is the result of a sed script which converts all uses
of @{ into a consistent form.
2013-01-10 17:06:47 -06:00
Joel Sherrill
b10825cd5d cpukit: Add EOL on files missing EOL at EOF 2013-01-10 17:06:47 -06:00
Joel Sherrill
ff1becb6e7 rfs: Doxygen group cannot have a dash in it
Change rtems-rfs to rtems_rfs
2013-01-10 17:06:47 -06:00
Joel Sherrill
a15eaaf9fd cpukit: Doxygen group fixes and many warnings addressed
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.
2013-01-10 17:06:47 -06:00
Sebastian Huber
a89a2ec596 IMFS: Documentation 2013-01-09 20:52:44 +01:00
Sebastian Huber
f33a84b555 nfsclient: Return an error status in nfsInit()
Avoid assert() and use proper cleanup if nfsInit() fails to allocate a
resource.
2013-01-09 17:24:49 +01:00
Alex Ivanov
e354eb4f4f libfs: Doxygen Clean Up Task #1
http://www.google-melange.com/gci/task/view/google/gci2012/8120204

Patch committed with fixes for whitespace issues.
2013-01-08 09:02:58 -05:00
Mathew Kallada
2305f97117 libfs: Doxygen Clean Up Task #2
There were minor conflicts and the modifications that were
in the repo were favored over the modifications in the submitted
patch.
2013-01-04 08:39:30 -06:00
Alex Ivanov
3cf4031c19 Header File Doxygen Enhancement Task #1 2012-12-28 17:48:12 -06:00
Mathew Kallada
9ab091e1e4 Header File Doxygen Enhancement Task #2 2012-12-28 10:36:55 -06:00
Ayush Awasthi
8587b018b9 libfs: Doxygen Enhancement Task #4 2012-12-28 08:26:30 -06:00
Mathew Kallada
4e592763cb libfs: Doxygen Enhancement Task #5 2012-12-28 08:05:20 -06:00
Alex Ivanov
36f3207b27 libfs: Doxygen Enhancement Task #3 2012-12-28 07:51:07 -06:00
Sebastian Huber
9fd4d0d106 IMFS: Documentation 2012-12-21 21:38:00 +01:00
Sebastian Huber
3b91605e84 IMFS: Fix resource leak in IMFS_allocate_node() 2012-12-21 15:45:55 +01:00
Alex Ivanov
ef5e4526dc libfs: Doxygen Enhancement Task #1 2012-12-20 09:45:31 -06:00
Mathew Kallada
d883ce2eff libfs: Doxygen Enhancement Task #6" 2012-12-20 08:22:52 -06:00
Alex Ivanov
11109ea227 libfs: Doxygen Enhancement Task #2
http://www.google-melange.com/gci/task/view/google/gci2012/8032207
2012-12-18 15:46:38 -05:00
Sebastian Huber
4fdc3ee0aa dosfs: Avoid error caused by bdbuf configuration
The success of a block size change depends on the bdbuf configuration.
Do not treat a failed block size change as a hard error.  This is only a
missed performance optimization.
2012-12-14 10:18:31 +01:00
Sebastian Huber
d0b9295fd9 Fix spelling 2012-12-14 10:17:04 +01:00
Sebastian Huber
4b8e01f7c5 dosfs: Add sync_device option for msdos_format() 2012-12-13 11:38:53 +01:00
Sebastian Huber
60e8cd430e dosfs: Fix error status handling 2012-12-13 11:38:52 +01:00