| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Read-ahead requests were previously executed in the context of the
reading task. This blocks the reading task until the complete read
with read-ahead transfer is finished. A read-ahead task is introduced
to off-load the read-ahead transfer. This allows the reading task to
work with the requested block more quickly. The read-ahead is triggered
after two misses of ascending consecutive blocks or a read hit of a
block read by the most-recent read-ahead transfer. The read-ahead
feature is configurable and can be disabled.
|
| |
|
|
|
|
| |
This reverts commit 0c2d8ec48a116cadb86564bc1226e308e197d4c1.
|
|
|
|
| |
This reverts commit 87c8d8aba6a9582ca5eeacd332b5b107e26ea50f.
|
|
|
|
| |
This reverts commit 6a5bd1c65c005457455db344f2ee831d7a5cf99b.
|
|
|
|
| |
This reverts commit a80a108d447d596e476611108cd468ec993be4a6.
|
|
|
|
|
| |
Add block_count and media_blocks_per_block to rtems_disk_device. Add
and use rtems_disk_init_phys() and rtems_disk_init_log().
|
|
|
|
| |
This allows addtion of per disk statistics for example.
|
|
|
|
|
|
| |
The task stack size for the swap-out and worker tasks is now
configurable. The bdbuf task resources are now included in the work
space size estimate.
|
| |
|
|
|
|
| |
This reverts commit 0c2d8ec48a116cadb86564bc1226e308e197d4c1.
|
|
|
|
| |
This reverts commit 87c8d8aba6a9582ca5eeacd332b5b107e26ea50f.
|
|
|
|
| |
This reverts commit 6a5bd1c65c005457455db344f2ee831d7a5cf99b.
|
|
|
|
| |
This reverts commit a80a108d447d596e476611108cd468ec993be4a6.
|
|
|
|
| |
Use C pre-processor instead of shell commands.
|
|
|
|
| |
Use C pre-processor instead of shell commands.
|
|
|
|
|
|
|
|
| |
The header file <rtems/malloc.h> provides now also the malloc_walk()
prototype.
The malloc_walk() prototype reflects now the _Protected_heap_Walk() API.
The return status helps to print only in case of an error.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
|
|
| |
In the Red-Black Tree Heap the administration data structures are not
contained in the managed memory area. This can be used for example in a
task stack allocator which protects the task stacks from access by other
tasks.
|
|
|
|
|
|
|
|
|
|
| |
o Move rtems_bsdnet_fdToSocket() and rtems_bsdnet_makeFdForSocket() to
"cpukit/libnetworking/rtems/rtems_syscall.c".
o The rtems_bsdnet_makeFdForSocket() function is now static.
o Check in rtems_bsdnet_fdToSocket() function that the file descriptor
uses the socket handlers, otherwise an error status will be returned
and errno set to ENOTSOCK.
o New test libtests/syscall01.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
New functions
o rtems_blkdev_create(), and
o rtems_blkdev_create_partition().
New test libtests/block11.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The functions
o rtems_bdbuf_get(),
o rtems_bdbuf_read(),
o rtems_bdbuf_syncdev(), and
o rtems_bdbuf_purge_dev(),
use now the disk device instead of the device identifier. This makes
bdbuf independent of rtems_disk_obtain() and rtems_disk_release(). It
is the responsiblity of the file system to obtain the disk device. This
also reduces the overhead to get a buffer.
The key for the AVL tree uses now the disk device instead of the device
identifier. The pointer is interpreted as an unsigned integer. This
reduces the memory overhead and makes the comparison operation a bit
faster.
Removed function rtems_bdbuf_purge_major(). This function was too
destructive and could have unpredictable side effects.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
* termios01/init.c: Update due to API changes. Fixed integer types.
Make functions static. Added const qualifier.
|
|
|
|
|
|
| |
* math/init.c, mathf/init.c, mathl/init.c: Move configuration section.
* math/domath.c, mathf/domathf.c, mathl/domathl.c: Regenerate.
* math/domath.in: Generate domath* prototype.
|
|
|
|
|
|
| |
* complex/init.c: Move configuration section.
* complex/docomplex.c, complex/docomplexf.c, complex/docomplexl.c:
Regenerate.
|
|
|
|
| |
* complex/docomplex.in: Generate prototype docomplex* prototype.
|
|
|
|
|
| |
* ftp01/Makefile.am:
Re-add ftpd01_LDADD (Fix breakage introduced by previous patch).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
PR 1589/build
* block01/Makefile.am, block02/Makefile.am, block03/Makefile.am,
block04/Makefile.am, block05/Makefile.am, block06/Makefile.am,
block07/Makefile.am, block08/Makefile.am, block09/Makefile.am,
block10/Makefile.am, bspcmdline01/Makefile.am, cpuuse/Makefile.am,
devfs01/Makefile.am, devfs02/Makefile.am, devfs03/Makefile.am,
devfs04/Makefile.am, deviceio01/Makefile.am,
devnullfatal01/Makefile.am, dumpbuf01/Makefile.am, ftp01/Makefile.am,
gxx01/Makefile.am, heapwalk/Makefile.am, malloc02/Makefile.am,
malloc03/Makefile.am, malloc04/Makefile.am, malloc05/Makefile.am,
malloctest/Makefile.am, monitor/Makefile.am, monitor02/Makefile.am,
mouse01/Makefile.am, putenvtest/Makefile.am, rtems++/Makefile.am,
rtmonuse/Makefile.am, stackchk/Makefile.am, stackchk01/Makefile.am,
stringto01/Makefile.am, tar01/Makefile.am, tar02/Makefile.am,
tar03/Makefile.am, termios/Makefile.am, termios01/Makefile.am,
termios02/Makefile.am, termios03/Makefile.am, termios04/Makefile.am,
termios05/Makefile.am, termios06/Makefile.am, termios07/Makefile.am,
termios08/Makefile.am, tztest/Makefile.am: Remove obsolete optional
manager capability.
|
|
|
|
| |
* monitor02/init.c: Remove re-declaration of rtems_shell_main_monitor.
|
|
|
|
| |
* mouse01/init.c: Account for extra message buffer size.
|
|
|
|
| |
* ftp01/init.c: Account for extra FTP worker task stack sizes.
|
|
|
|
| |
* malloc04/init.c: Define p1, p2, p3, p4 extern (Avoid warnings).
|
|
|
|
|
| |
* mouse01/init.c, mouse01/msmouse.c, mouse01/serial_mouse_config.c:
Add HAVE_CONFIG_H.
|
|
|
|
|
| |
* monitor/monitor.scn, termios/termios.scn: New files.
* monitor/init.c, termios01/init.c: Use rtems_shell_wait_for_input().
|
|
|
|
|
| |
* stackchk/init.c, stackchk/system.h, stackchk/stackchk.scn: Print end
of test message.
|
|
|
|
|
|
|
| |
PR 1865/tests
* stringto01/Makefile.am, stringto01/init.c, stringto01/stringto01.doc,
stringto01/stringto01.scn, stringto01/stringto_test_template.h:
Improve coverage of string conversion routines.
|
|
|
|
|
| |
* POSIX/iconv.c, POSIX/iconv_open.c, POSIX/iconv_close.c: New.
* POSIX/Makefile.am: Add iconv, iconv_open, iconv_close.
|