Commit Graph

352 Commits

Author SHA1 Message Date
Joel Sherrill
945f31b9a9 nsecs/init.c: Use long to avoid overflow on 16-bit targets 2014-10-13 11:13:11 -05:00
Joel Sherrill
eb7f306dc8 samples/base_sp: Fix printf() warning 2014-10-09 10:11:57 -05:00
Joel Sherrill
51a95ff9df samples/unlimited: Fix printf() warning and clean up 2014-10-09 10:11:57 -05:00
Sebastian Huber
805360b8e5 pppd: Fix warnings 2014-09-30 14:06:09 +02:00
Sebastian Huber
8ae6f264af samples/iostream: Produce proper begin/end message 2014-09-01 17:16:53 +02:00
Sebastian Huber
647859e9bb samples/pppd: Fix extra drivers initializer 2014-06-11 14:38:32 +02:00
Chris Johns
3cbedb1ba8 testsuite: Add a user keypress to start pppd.
Allow the test to run and pass when automatic testing.
2014-05-22 19:56:50 +10:00
Joel Sherrill
3324383ce0 testsuites: Remove BSP_SMALL_MEMORY 2014-05-06 18:31:00 -05:00
Chris Johns
1461b648b7 testsuite: Add a per BSP test check for tests not to build.
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-05-05 10:24:41 +10:00
Sebastian Huber
1a6093dc60 samples/fileio: Fix configuration 2014-04-03 12:53:24 +02:00
Sebastian Huber
0cd2b777eb samples/base_mp: Include missing header file 2014-03-27 14:52:36 +01:00
Sebastian Huber
8c26e79867 tests: Produce proper begin/end messages 2014-03-25 16:46:37 +01:00
Chris Johns
c49985691f Change all references of rtems.com to rtems.org. 2014-03-21 08:10:47 +11:00
Christian Mauderer
6cd4a5ca2e cpukit/shell: Replace task variables with posix keys.
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-20 09:10:26 +01:00
Sebastian Huber
9391f6d663 tests/samples: Use <rtems/test.h> 2014-03-17 09:17:36 +01:00
Joel Sherrill
a136fb697d testsuites: Add missing .scn files 2013-11-15 11:55:44 -06:00
Sebastian Huber
7c8830c787 testsuites: Include missing header files 2013-07-28 14:00:19 +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
a2e3f33f39 score: Create object implementation header
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-07-26 11:55:47 +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
a052181ca2 score: Add RTEMS_FATAL_SOURCE_EXIT
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-15 15:33:12 +01:00
Sebastian Huber
b5b1f44475 samples/fileio: Add DOSFS and RFS on demand 2012-11-13 09:38:03 +01:00
Gedare Bloom
57e922c799 Revert "Add config.h.in."
This reverts commit cf42a6ea9d.
2012-08-06 13:04:24 -04:00
Ralf Corsépius
1c554014af Remove CVS-Ids. 2012-07-19 16:55:18 +02:00
Ralf Corsépius
59bd51156a Remove CVS-Ids. 2012-07-19 15:59:46 +02:00
Ralf Corsépius
bb2b8259ea Require automake-1.12.2. 2012-07-19 15:47:55 +02:00
Ralf Corsépius
0f772813aa Require autoconf-2.69. 2012-07-19 15:44:32 +02:00
Joel Sherrill
721fe34aae Fix C files which had two semi-colons at EOL 2012-05-31 15:34:36 -05:00
Joel Sherrill
5f0cd3499c samples - Eliminate missing prototype warnings 2012-05-31 10:06:16 -05:00
Ralf Corsépius
cf42a6ea9d Add config.h.in. 2012-05-24 07:17:05 +02:00
Joel Sherrill
9b4422a251 Remove All CVS Id Strings Possible Using a Script
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-11 08:44:13 -05:00
Joel Sherrill
33a105fb69 Revert: Remove CVS Ids
See http://www.rtems.org/pipermail/rtems-devel/2012-May/001006.html
for details.
2012-05-07 11:08:48 -05:00
Joel Sherrill
333a312d9b samples/base_mp - Makefile.am did not set LINK_OBJS
LINK_OBJS =

instead of

LINK_OBJS = $(mp01_node1_OBJECTS)
2012-05-04 15:14:34 -05:00
Ralf Corsépius
4dec3529a1 Remove CVS-Ids. 2012-05-04 09:36:24 +02:00
Gedare Bloom
e53aae2676 confdefs: Add declaration for unlimited objects.
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-27 19:51:31 -04:00
Sebastian Huber
796967c3df libblock: Change bdbuf API
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-03-13 12:24:18 +01:00
Ralf Corsépius
56f1fbed85 2012-02-22 Ralf Corsépius <ralf.corsepius@rtems.org>
* pppd/system.h: Add pppdapp_initialize.
	* pppd/init.c: Remove pppdapp_initialize.
2012-02-22 09:33:18 +01:00
Ralf Corsépius
99aebcbc86 2012-02-22 Ralf Corsépius <ralf.corsepius@rtems.org>
* 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".
2012-02-22 09:33:10 +01:00
Joel Sherrill
61250b4ce9 Remove all .cvsignore files. 2012-02-01 10:59:44 -06:00
Ralf Corsepius
4534ba300e 2011-12-13 Ralf Corsépius <ralf.corsepius@rtems.org>
* fileio/init.c: Comment out setup_nvdisk (Unused).
	Make shell_nvdisk_trace, shell_nvdisk_erase, shell_bdbuf_trace,
	disk_test_set_block_size, disk_test_write_blocks, disk_test_block_sizes,
	parse_size_arg, create_ramdisk, create_nvdisk static.
	* nsecs/init.c: Make my_ctime, subtract_em static.
2011-12-13 09:36:01 +00:00
Joel Sherrill
cd06294a08 2011-12-08 Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1589/build
	* base_mp/node1/Makefile.am, base_mp/node2/Makefile.am,
	base_sp/Makefile.am, capture/Makefile.am, cdtest/Makefile.am,
	fileio/Makefile.am, hello/Makefile.am, iostream/Makefile.am,
	loopback/Makefile.am, minimum/Makefile.am, nsecs/Makefile.am,
	paranoia/Makefile.am, pppd/Makefile.am, ticker/Makefile.am,
	unlimited/Makefile.am: Remove obsolete optional manager capability.
2011-12-08 21:38:29 +00:00
Ralf Corsepius
5e9990b85c Fix typo. 2011-10-18 14:26:34 +00:00
Ralf Corsepius
96bb783aa0 2011-10-18 Ralf Corsépius <ralf.corsepius@rtems.org>
* fileio/init.c: Explictly consts in size_t initializers
	(avoid overflows on 16bit-int targets).
2011-10-18 13:36:37 +00:00
Ralf Corsepius
16b1599ffb 2011-10-07 Ralf Corsépius <ralf.corsepius@rtems.org>
* capture/init.c: Declare notification only if being used.
2011-10-07 09:39:53 +00:00
Ralf Corsepius
d44c86b49d 2011-09-30 Ralf Corsépius <ralf.corsepius@rtems.org>
* nsecs/init.c: Include "pritime.h".
	Use PRIdtime_t to print time_t.
2011-09-30 02:55:30 +00:00
Ralf Corsepius
b47a7ccb8d 2011-09-30 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Check for size of time_t.
2011-09-30 01:55:27 +00:00
Sebastian Huber
7c9d27e831 2011-09-16 Sebastian Huber <Sebastian.Huber@embedded-brains.de>
* fileio/fileio.scn: New file.
	* capture/init.c, fileio/init.c: Use rtems_shell_wait_for_input().
2011-09-16 09:23:19 +00:00
Joel Sherrill
b57e1376ca 2011-08-29 Joel Sherrill <joel.sherrilL@OARcorp.com>
* ticker/system.h: Remove unneeded include.
2011-08-29 17:18:44 +00:00
Chris Johns
7032a45830 2011-07-04 Chris Johns <chrisj@rtems.org>
* fileio/init.c, fileio/system.h: Add commands to
        create ram disks from the shell prompt. Helps testing.
2011-07-04 00:34:00 +00:00
Ralf Corsepius
3a9d9e1e12 2011-06-20 Ralf Corsépius <ralf.corsepius@rtems.org>
* pppd/Makefile.am: Add ppp.conf, pppd.options to EXTRA_DIST.
	* pppd/Makefile-user: Remove.
2011-06-20 07:25:09 +00:00