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
5f0cd3499c
samples - Eliminate missing prototype warnings
2012-05-31 10:06:16 -05: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
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 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
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
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
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
Joel Sherrill
91c805472d
2011-06-11 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* fileio/init.c: Avoid use of deprecated rtems_clock_get() except in
spclockget().
2011-06-11 16:41:56 +00:00
Joel Sherrill
7c1e69429a
2011-05-05 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* base_sp/apptask.c, base_sp/init.c, fileio/init.c, fileio/system.h,
nsecs/init.c, ticker/init.c, ticker/system.h, ticker/tasks.c: Remove
warnings.
2011-05-05 16:45:40 +00:00
Ralf Corsepius
e3135514a8
Add HAVE_CONFIG_H.
2011-02-22 10:58:44 +00:00
Chris Johns
558a5f48fc
2010-06-02 Chris Johns <chrisj@rtems.org>
...
* fileio/init.c: Update to new mount API.
* iostream/init.cc: Hack to work around confdefs.h in C++.
* iostream/system.h: Add comment about base miniIMFS.
2010-06-02 00:47:15 +00:00
Joel Sherrill
3c02c9dd47
2010-03-12 Sebastian Huber <Sebastian.Huber@embedded-brains.de>
...
* fileio/init.c: Remove deprecation warnings.
2010-03-12 16:00:58 +00:00
Joel Sherrill
8c8e3e0977
2010-03-11 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* fileio/init.c: Fix warnings for ctype methods.
2010-03-11 19:13:13 +00:00
Ralf Corsepius
b1274bd94c
Whitespace removal.
2009-11-30 03:33:25 +00:00
Ralf Corsepius
edfc0f9260
2009-10-29 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* fileio/init.c: Use %zd to print ssize_t.
2009-10-29 03:21:40 +00:00
Ralf Corsepius
a3b2830e0f
Fix broken prints.
2009-10-24 05:51:06 +00:00
Thomas Doerfler
60e5832e23
interrupt handler type change
2009-10-21 13:24:35 +00:00
Joel Sherrill
99f0971146
2009-08-12 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* cdtest/main.cc, fileio/init.c, fileio/system.h, pppd/pppdapp.c,
ticker/system.h, ticker/tasks.c: Eliminate test routines
TICKS_PER_SECOND and get_ticks_per_second() in favor of new
rtems_clock_get_ticks_per_second().
2009-08-12 20:50:38 +00:00
Chris Johns
c0ec0d82d3
2009-04-28 Chris Johns <chrisj@rtems.org>
...
* fileio/init.c, fileio/system.h, iostream/init.cc,
loopback/init.c, pppd/init.c, pppd/pppdapp.c: Do not build if
BSP_SMALL_MEMORY is defined. Remove this code once a better way is
supported by the build system.
2009-04-28 05:04:11 +00:00
Thomas Doerfler
e4bd96ec40
removed obsolete references to login.h
2009-04-14 10:22:53 +00:00
Joel Sherrill
6dcb3b0eb7
Fix Id string typo.
2009-03-29 23:14:58 +00:00
Joel Sherrill
06ac2e6f97
2009-03-29 Joel Sherrill <joel.sherrill@gmail.com>
...
* fileio/init.c: Change arguments to rtems_shell_init() to match
new expectations.
2009-03-29 23:04:19 +00:00
Thomas Doerfler
7a18a320e4
Adapt to modified shell configuration
2009-02-27 11:13:52 +00:00
Joel Sherrill
527ecc7acf
2008-12-09 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* fileio/init.c: Add explicit creation of /etc/passwd and /etc/group so
we have a test case for real password checking.
2008-12-09 19:34:04 +00:00
Joel Sherrill
339fd66572
2008-10-02 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* fileio/init.c: When USE_SHELL not defined, do not attempt to
configure shell.
2008-10-02 21:49:39 +00:00
Ralf Corsepius
f0157b8fd8
Convert to "bool".
2008-09-06 03:39:58 +00:00
Joel Sherrill
72cb077f39
2008-07-16 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* fileio/init.c: New argument sequence for rtems_shell_init(). Also
split on multiple lines and document each parameter.
2008-07-16 17:08:41 +00:00
Joel Sherrill
a645637b72
2008-04-17 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* fileio/init.c, hello/system.h, minimum/init.c, unlimited/system.h:
Use CONFIGURE_APPLICATION_DOES_NOT_NEED_CLOCK_DRIVER where needed.
2008-04-17 22:46:15 +00:00
Joel Sherrill
aec29f178c
2008-01-11 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* fileio/init.c, fileio/system.h, hello/init.c: Enable malloc
statistics so shell output can be interesting.
2008-01-11 21:43:58 +00:00
Chris Johns
d2a488f7dd
2007-12-17 Chris Johns <chrisj@rtems.org>
...
* testsuites/samples/fileio/init.c: Change shell_* to
rtems_shell_*. Add the mount file-system type of msdos.
2007-12-17 00:40:20 +00:00
Joel Sherrill
0e263c91e9
2007-12-14 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* fileio/init.c, fileio/system.h: Increase stack requested for shell
task. Turn on stack checking so the report is interesting.
2007-12-14 21:50:55 +00:00
Joel Sherrill
4c081a041f
2007-12-11 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* fileio/init.c: Add RTEMS Shell configuration and static configuration
of user commands.
2007-12-11 21:33:31 +00:00
Thomas Doerfler
3d14a451e9
mproved gen5200 MSCAN driver
...
fixed synchronization bug between ata.c and bdbuf.c
2007-01-21 18:25:31 +00:00
Ralf Corsepius
d66557fac4
Switch back to include compile.am instead of amcompile.am
2005-11-07 09:09:26 +00:00
Ralf Corsepius
8f71a36f71
Remove stray white spaces.
2004-04-20 07:09:31 +00:00
Ralf Corsepius
05153a1f10
2004-04-01 Ralf Corsepius <ralf_corsepius@rtems.org>
...
* fileio/init.c: Include <rtems/dosfs.h> instead of <dosfs.h>.
2004-04-01 10:14:40 +00:00
Ralf Corsepius
4c84d7b760
2004-03-30 Ralf Corsepius <ralf_corsepius@rtems.org>
...
* fileio/init.c, fileio/system.h, ticker/system.h, ticker/tasks.c,
unlimited/init.c, unlimited/test1.c, unlimited/test2.c,
unlimited/test3.c: Convert to using c99 fixed size types.
2004-03-30 11:12:01 +00:00
Ralf Corsepius
af69e57bc3
2003-09-30 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
...
* fileio/init.c: Unconditionally define MIN (We *do want* to see
error messages if it conflicts).
2003-09-30 05:43:30 +00:00
Joel Sherrill
3e26377bba
2003-09-04 Joel Sherrill <joel@OARcorp.com>
...
* README, base_mp/apptask.c, base_mp/init.c, base_mp/system.h,
base_mp/node1/base_mp.doc, base_mp/node2/base_mp.doc,
base_sp/apptask.c, base_sp/base_sp.doc, base_sp/init.c,
base_sp/system.h, cdtest/init.c, cdtest/main.cc, cdtest/system.h,
fileio/fileio.doc, fileio/init.c, fileio/system.h, hello/hello.doc,
hello/init.c, hello/system.h, minimum/init.c, minimum/minimum.doc,
paranoia/init.c, paranoia/paranoia.doc, paranoia/system.h,
ticker/init.c, ticker/system.h, ticker/tasks.c, ticker/ticker.doc,
unlimited/init.c, unlimited/system.h, unlimited/test1.c,
unlimited/test2.c, unlimited/test3.c, unlimited/unlimited.doc: URL
for license changed.
2003-09-04 18:53:41 +00:00
Jennifer Averett
ac0a2afe73
2003-08-06 Thomas Doerfler<Thomas.Doerfler@imd-systems.de>
...
PR 369/filesystem
* Makefile.am, configure.ac: sample application to show the use of the
DOSFS functions
* fileio/Makefile.am, fileio/fileio.doc, fileio/init.c,
fileio/system.h: New files.
2003-08-06 19:20:52 +00:00