summaryrefslogtreecommitdiffstats
path: root/testsuites/samples (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-06-22rtems: Add rtems_interrupt_local_disable|enable()Sebastian Huber2-0/+5
Add rtems_interrupt_local_disable|enable() as suggested by Pavel Pisa to emphasize that interrupts are only disabled on the current processor. Do not define the rtems_interrupt_disable|enable|flash() macros and functions on SMP configurations since they don't ensure system wide mutual exclusion.
2015-03-24samples/minimum/init.c: Add cast to avoid warningJoel Sherrill1-1/+1
2015-03-17testsuites/samples/minimum/init.c: Notepads no longer need to be disabledJoel Sherrill1-7/+0
They are disabled by default as they are deprecated.
2015-02-12IMFS: Add fine grained configurationSebastian Huber1-3/+0
Remove miniIMFS. Statically initialize the root IMFS. Add configuration options to disable individual features of the root IMFS, e.g. o CONFIGURE_IMFS_DISABLE_CHOWN, o CONFIGURE_IMFS_DISABLE_FCHMOD, o CONFIGURE_IMFS_DISABLE_LINK, o CONFIGURE_IMFS_DISABLE_MKNOD, o CONFIGURE_IMFS_DISABLE_MOUNT, o CONFIGURE_IMFS_DISABLE_READLINK, o CONFIGURE_IMFS_DISABLE_RENAME, o CONFIGURE_IMFS_DISABLE_RMNOD, o CONFIGURE_IMFS_DISABLE_SYMLINK, o CONFIGURE_IMFS_DISABLE_UNMOUNT, and o CONFIGURE_IMFS_DISABLE_UTIME.
2015-01-20libnetworking: Fix close of active socketsSebastian Huber1-1/+4
Send a special event to notify tasks waiting for a socket state change in case this socket gets closed. This prevents a use after free. Close #785.
2014-12-16Delete CONFIGURE_USE_IMFS_AS_BASE_FILESYSTEMSebastian Huber2-3/+0
This define was superfluous, undocumented and used inconsistently.
2014-12-05Update bug report URLSebastian Huber1-1/+1
2014-11-21Delete or rename MIN/MAX macros and definesSebastian Huber1-4/+1
Include <sys/param.h> if necessary to get the MIN()/MAX() macros.
2014-11-20shell: Do chroot() after successful loginSebastian Huber1-1/+7
2014-11-20samples/fileio: Use unlimited objectsSebastian Huber1-8/+1
2014-11-20samples/fileio: Fix warningSebastian Huber1-0/+2
2014-11-20shell: Use crypt_r() in rtems_shell_login_check()Sebastian Huber1-4/+9
Use '*" to disable shell login instead of '!' according to the Linux man page. Use getpwnam_r() instead of getpwnam(). Do not access the user environment directly. Update the user environment only after a successful login check.
2014-10-13nsecs/init.c: Use long to avoid overflow on 16-bit targetsJoel Sherrill1-2/+3
2014-10-09samples/base_sp: Fix printf() warningJoel Sherrill1-2/+3
2014-10-09samples/unlimited: Fix printf() warning and clean upJoel Sherrill5-24/+33
2014-09-30pppd: Fix warningsSebastian Huber1-3/+1
2014-09-01samples/iostream: Produce proper begin/end messageSebastian Huber2-4/+4
2014-06-11samples/pppd: Fix extra drivers initializerSebastian Huber1-1/+1
2014-05-22testsuite: Add a user keypress to start pppd.Chris Johns1-0/+22
Allow the test to run and pass when automatic testing.
2014-05-06testsuites: Remove BSP_SMALL_MEMORYJoel Sherrill9-53/+2
2014-05-05testsuite: Add a per BSP test check for tests not to build.Chris Johns1-8/+8
Provide a file per BSP to list tests that do not build for a BSP. This change removes the BSP_SMALL_MEMORY hack from the code. That hack was a mistake. Provide configuration files for each BSP with tests that cannot build.
2014-04-03samples/fileio: Fix configurationSebastian Huber1-1/+1
2014-03-27samples/base_mp: Include missing header fileSebastian Huber1-0/+2
2014-03-25tests: Produce proper begin/end messagesSebastian Huber1-2/+3
2014-03-21Change all references of rtems.com to rtems.org.Chris Johns45-45/+45
2014-03-20cpukit/shell: Replace task variables with posix keys.Christian Mauderer2-2/+6
Use posix keys for current shell environment instead of task variables. With this patch the shell needs one posix-key and one posix-key-value-pair configured. Update documentation for the shell. Adapt samples/fileio: - Add necessary objects. - Add login function and custom device name for better testing of the shell.
2014-03-17tests/samples: Use <rtems/test.h>Sebastian Huber26-25/+95
2013-11-15testsuites: Add missing .scn filesJoel Sherrill2-2/+135
2013-07-28testsuites: Include missing header filesSebastian Huber1-0/+2
2013-07-26score: Merge tod implementation into one fileSebastian Huber1-5/+2
Delete TOD_MICROSECONDS_PER_SECOND, TOD_MICROSECONDS_TO_TICKS() and TOD_MILLISECONDS_TO_TICKS().
2013-07-26score: Create object implementation headerSebastian Huber1-1/+0
Move implementation specific parts of object.h and object.inl into new header file objectimpl.h. The object.h contains now only the application visible API.
2013-03-08RTEMS: Delete ChangeLog files.Gedare Bloom1-1119/+0
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.
2012-11-15score: Add RTEMS_FATAL_SOURCE_EXITSebastian Huber1-17/+0
Include <bsp/default-initial-extension.h> in all BSPs. Call rtems_fatal() with RTEMS_FATAL_SOURCE_EXIT as source and the exit() status code as fatal code in every bsp_cleanup(). Move previous bsp_cleanup() code into bsp_fatal_extension().
2012-11-13samples/fileio: Add DOSFS and RFS on demandSebastian Huber1-6/+10
2012-08-06Revert "Add config.h.in."Gedare Bloom1-61/+0
This reverts commit cf42a6ea9dbb6ebee498ae8db319d3e475bcd6be.
2012-07-19Remove CVS-Ids.Ralf Corsépius1-2/+0
2012-07-19Remove CVS-Ids.Ralf Corsépius1-5/+0
2012-07-19Require automake-1.12.2.Ralf Corsépius1-1/+1
2012-07-19Require autoconf-2.69.Ralf Corsépius1-1/+1
2012-05-31Fix C files which had two semi-colons at EOLJoel Sherrill1-2/+2
2012-05-31samples - Eliminate missing prototype warningsJoel Sherrill13-124/+65
2012-05-24Add config.h.in.Ralf Corsépius1-0/+61
2012-05-11Remove All CVS Id Strings Possible Using a ScriptJoel Sherrill64-177/+0
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.
2012-05-07Revert: Remove CVS IdsJoel Sherrill17-0/+78
See http://www.rtems.org/pipermail/rtems-devel/2012-May/001006.html for details.
2012-05-04samples/base_mp - Makefile.am did not set LINK_OBJSJoel Sherrill2-2/+2
LINK_OBJS = instead of LINK_OBJS = $(mp01_node1_OBJECTS)
2012-05-04Remove CVS-Ids.Ralf Corsépius17-78/+0
2012-03-27confdefs: Add declaration for unlimited objects.Gedare Bloom1-1/+2
Adds to confdefs a way to specify rtems_resource_unlimited for classic and posix objects using a new macro CONFIGURE_OBJECTS_UNLIMITED. Use CONFIGURE_OBJECTS_ALLOCATION_SIZE to declare the allocation size for extending the set of objects at runtime. Updates the unlimited sample to demonstrate how to use the new macros. Also adds new documentation in the C User's Manual regarding configuring with unlimited objects.
2012-03-13libblock: Change bdbuf APISebastian Huber1-34/+33
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.
2012-02-222012-02-22 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsépius2-1/+1
* pppd/system.h: Add pppdapp_initialize. * pppd/init.c: Remove pppdapp_initialize.
2012-02-222012-02-22 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsépius3-16/+22
* nsecs/system.h: New (Split out from nsecs/init.c). * nsecs/init.c: Reflect nsecs/system.h having been split out. * nsecs/empty.c: Include "system.h".