Commit Graph

529 Commits

Author SHA1 Message Date
Sebastian Huber
390e987eb3 libblock: PR2145: Limit maximum read-ahead blocks
This helps to prevent stack overflows due to configuration errors.
2013-09-16 10:54:51 +02:00
Sebastian Huber
1215fd4d94 sapi: SMP support for chains
Add ISR lock to chain control for proper SMP protection.  Replace
rtems_chain_extract() with rtems_chain_explicit_extract() and
rtems_chain_insert() with rtems_chain_explicit_insert() on SMP
configurations.  Use rtems_chain_explicit_extract() and
rtems_chain_explicit_insert() to provide SMP support.
2013-08-30 11:16:28 +02:00
Sebastian Huber
38ec8afe72 libtests/flashdisk01: Update screen file 2013-08-23 09:24:00 +02:00
Sebastian Huber
ae75429ca1 PR766: Delete __RTEMS_VIOLATE_KERNEL_VISIBILITY__ 2013-08-08 14:11:22 +02:00
Sebastian Huber
ede5a2a4d5 libtests/malloc04: Fixes for RTEMS_DEBUG 2nd try 2013-07-26 14:00:00 +02:00
Sebastian Huber
88c74ab115 score: Merge tod implementation into one file
Delete TOD_MICROSECONDS_PER_SECOND, TOD_MICROSECONDS_TO_TICKS() and
TOD_MILLISECONDS_TO_TICKS().
2013-07-26 11:55:47 +02:00
Sebastian Huber
044f317aac libtests/malloc04: Fixes for RTEMS_DEBUG 2013-07-26 11:55:37 +02:00
Sebastian Huber
39046f766f score: Merge sysstate API into one file 2013-07-24 11:11:21 +02:00
Sebastian Huber
b7cf09c305 libtests/malloctest: Fixes for RTEMS_DEBUG 2013-07-24 11:11:21 +02:00
Sebastian Huber
e6f7f81766 score: Create heap implementation header
Move implementation specific parts of heap.h and heap.inl into new
header file heapimpl.h.  The heap.h contains now only the application
visible API.
2013-07-23 17:19:08 +02:00
Sebastian Huber
7660e8b347 Include missing <string.h> 2013-07-23 15:12:54 +02:00
Sebastian Huber
93fb3cb059 score: Create rbtree implementation header
Move implementation specific parts of rbtree.h and rbtree.inl into new
header file rbtreeimpl.h.  The rbtree.h contains now only the
application visible API.
2013-07-23 15:12:52 +02:00
Sebastian Huber
d7ce33f17e testsuites: Use _Thread_Get_executing() 2013-07-22 16:46:00 +02:00
Sebastian Huber
a9127a2e65 testsuites: Include missing header files 2013-07-22 16:45:59 +02:00
Sebastian Huber
0dd262d33d libtests/gxx01: Avoid random memory read/write 2013-07-18 09:58:56 +02:00
Ralf Kirchner
2ee8b15863 libtests: Add new test: utf8proc01
utf8proc is a library for processing UTF-8 encoded Unicode strings.
Some features are Unicode normalization, stripping of default ignorable characters, case folding and detection of grapheme cluster boundaries.
For now utf8proc is intended for normalizing and folding strings for comparison purposes within the UTF-8 support of the FAT file system.
This test will call interface methods of library utf8proc in order to make sure they compiled and linked ok.
The library is third party, thus it should be sufficient for us to make sure we can build it correctly.
2013-06-03 17:28:41 +02:00
Sebastian Huber
9deed9edbf libtests/malloc04: Prevent compiler optimizations 2013-05-10 12:10:14 +02:00
Sebastian Huber
85387db5aa libtests/malloc04: Adjust for new sbrk() support 2013-05-03 17:30:53 +02:00
Sebastian Huber
dfd1508168 libtests/exit02: New test 2013-04-23 14:32:40 +02:00
Sebastian Huber
49120e8b21 libtests/exit01: New test 2013-04-23 14:32:40 +02:00
Ralf Corsépius
f205c18f0c Use uint32_t instead of long. Use unsigned defines (Prevent overflows on 16bit targets) 2013-04-17 12:23:34 +02:00
Sebastian Huber
a53045fda5 libtests/flashdisk01: Disable for small memory BSP 2013-04-08 09:54:53 +02:00
Gedare Bloom
fad2d38a9f RTEMS: Delete ChangeLog files.
This commit deletes all RTEMS ChangeLog files. These files have been abandoned
since converting to git version control. The historical data may be recovered
by checking out any commit before this one. Most of the contents of these
ChangeLog files can also be found in the git log.

Two external ChangeLog files, ChangeLog.slac and ChangeLog.zlib, remain.
2013-03-08 15:55:06 -05:00
Sebastian Huber
b63c8f9b50 ftpfs: Fix SIZE command handling
It is invalid to issue a SIZE command once a data transfer is
in progress.  For reads we issue the SIZE command before the RETR
command and get a snapshot of the file size.  For writes the file size
is initialized to zero and incremented for each write chunk.
2013-01-28 16:46:02 +01:00
Sebastian Huber
33bd2efbb2 testsuites: Fix prototypes 2013-01-27 13:50:23 +01:00
Sebastian Huber
fe62f3aa57 libtests/rbheap01: Add test cases 2012-12-22 17:42:11 +01:00
Sebastian Huber
aaee3a9179 libtests/malloctest: Add test case 2012-12-22 16:41:08 +01:00
Sebastian Huber
d8efe3dc71 libtests/malloctest: Add test case 2012-12-22 16:28:26 +01:00
Sebastian Huber
c40f36b08b libtests/md501: Use test cases of RFC 2202 2012-12-16 21:38:27 +01:00
Sebastian Huber
f95d74a4ad libtests/md501: New test 2012-12-16 17:33:57 +01:00
Sebastian Huber
b0da579608 termios: Implement tcflush()
New IO control RTEMS_IO_TCFLUSH.
2012-12-13 11:36:37 +01:00
Sebastian Huber
ad13ebe071 termios: Fix tcflow() error status 2012-12-13 11:36:37 +01:00
Ralf Kirchner
7fab7fc0cf libblock: Add sparse disk 2012-12-05 15:26:47 +01:00
Sebastian Huber
fe0f24ea39 ftpfs: Use SIZE command 2012-11-21 16:38:34 +01:00
Sebastian Huber
3fbcadfbf7 libnetworking: Use rtems_clock_get_uptime_seconds
This reduces the start-up time of the network stack.

With a 1ms tick the ticks since boot value overflows after approximately
50 days.  This problem is avoided with the
rtems_clock_get_uptime_seconds() function.
2012-11-21 16:29:41 +01:00
Sebastian Huber
a12f7e98f1 score: Add RTEMS_FATAL_SOURCE_STACK_CHECKER 2012-11-15 15:33:13 +01:00
Sebastian Huber
dc0eed7b97 testsuites: Include <bsp.h>
Include <bsp.h> for proper BSP specific <rtems/confdefs.h>
initialization.
2012-11-14 14:06:59 +01:00
Sebastian Huber
3cd79b0a9b libtests/devfs03: Initialize nodes 2012-11-07 15:19:20 +01:00
Sebastian Huber
9f0a68ce5a libblock: Block device transfer request API change
Add and use rtems_blkdev_request_done().  Block device transfer requests
must signal the completion status now with rtems_blkdev_request_done().
The return value of the block device IO control will be ignored for
transfer requests.

The first parameter of rtems_blkdev_request_cb is now the transfer
request structure.

Renamed rtems_blkdev_request::req_done to rtems_blkdev_request::done to
break third party drivers at compile time, otherwise this API change
would result in runtime errors.
2012-11-02 09:40:58 +01:00
Sebastian Huber
9dffa384e1 libblock: rtems_bdbuf_set_block_size() API change
The set block size must synchronize and purge the disk to avoid an
inconsistent cache state and data corruption.  The synchronization is
optional depending on the new sync parameter.  In some contexts a
synchronization must not be performed, e.g. during disk creation.
2012-10-26 22:03:22 +02:00
Sebastian Huber
0d68d8f2e9 libtests/block16: New test 2012-10-26 21:29:36 +02:00
Sebastian Huber
47a3cd8f73 score: Work area initialization API change
The work areas (RTEMS work space and C program heap) will be initialized
now in a separate step and are no longer part of
rtems_initialize_data_structures().  Initialization is performed with
tables of Heap_Area entries.  This allows usage of scattered memory
areas present on various small scale micro-controllers.

The sbrk() support API changes also.  The bsp_sbrk_init() must now deal
with a minimum size for the first memory chunk to take the configured
work space size into account.
2012-10-25 14:54:06 +02:00
Sebastian Huber
e4278f2050 score: Append to free list in _Heap_Extend() 2012-10-25 14:54:06 +02:00
Sebastian Huber
6ccfe722bd score: Change _Heap_Extend() API
The _Heap_Extend() has now the same signature as _Heap_Initialize().
The 4th parameter is ignored (page size in _Heap_Initialize()).

Add Heap_Area and Heap_Initialization_or_extend_handler.

Add and test _Heap_No_extend().

This helps to do a table based heap initialization and extension.
Create a table of Heap_Area elements and iterate through it.  Set the
handler to _Heap_Initialize() in the first iteration and then to
_Heap_Extend().
2012-10-25 14:54:06 +02:00
Ralf Corsépius
e693b9ed56 Remove unused var "sc". 2012-10-15 17:57:47 +02:00
Ralf Corsépius
b9e9dab9ef Remove unused var "service". Move #include "test-http-client.h" after std-header inclusion. 2012-10-15 17:57:27 +02:00
Ralf Corsépius
2d72c19843 Move extern "C" after std-header inclusions. 2012-10-15 17:56:55 +02:00
Joel Sherrill
cb7b57e174 mghttpd: Requires POSIX to build server and tests
Formerly, mghttpd was conditional only on networking being
enabled. It uses on pthread and must also be conditional
on POSIX threads support being enabled.
2012-10-03 11:09:32 -05:00
Gedare Bloom
57e922c799 Revert "Add config.h.in."
This reverts commit cf42a6ea9d.
2012-08-06 13:04:24 -04:00
Ralf Corsépius
bb2b8259ea Require automake-1.12.2. 2012-07-19 15:47:55 +02:00