Sebastian Huber
a0b1b5edb8
Delete CONFIGURE_USE_IMFS_AS_BASE_FILESYSTEM
...
This define was superfluous, undocumented and used inconsistently.
2014-12-16 11:34:38 +01:00
Sebastian Huber
11925eef78
Delete or rename MIN/MAX macros and defines
...
Include <sys/param.h> if necessary to get the MIN()/MAX() macros.
2014-11-21 08:52:29 +01:00
Sebastian Huber
fa028bb2ef
shell: Do chroot() after successful login
2014-11-20 10:30:24 +01:00
Sebastian Huber
0b3fcf5efe
samples/fileio: Use unlimited objects
2014-11-20 10:30:23 +01:00
Sebastian Huber
ab085c92eb
samples/fileio: Fix warning
2014-11-20 10:30:23 +01:00
Sebastian Huber
acf9a8dd54
shell: Use crypt_r() in rtems_shell_login_check()
...
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-11-20 10:30:22 +01:00
Joel Sherrill
3324383ce0
testsuites: Remove BSP_SMALL_MEMORY
2014-05-06 18:31:00 -05:00
Sebastian Huber
1a6093dc60
samples/fileio: Fix configuration
2014-04-03 12:53:24 +02: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
Sebastian Huber
b5b1f44475
samples/fileio: Add DOSFS and RFS on demand
2012-11-13 09:38:03 +01: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
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
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
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
541591c355
2011-05-05 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* fileio/Makefile.am, ticker/Makefile.am: Missed part of previous
patch.
2011-05-05 22:29:23 +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
Ralf Corsepius
8b82bc3b41
2010-08-16 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* fileio/Makefile.am: Remove AM_CONDITIONAL(LIBCHIP).
* configure.ac: Remove AM_CONDITIONAL(LIBCHIP).
Force autoconf-2.67, automake-1.11.1.
2010-08-16 14:20:48 +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
Joel Sherrill
f6ef96c273
2009-08-10 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* fileio/system.h, ticker/system.h, ticker/ticker.scn: Convert calls to
legacy routine rtems_clock_get( RTEMS_CLOCK_GET_xxx, ..) to
rtems_clock_get_xxx().
2009-08-10 16:05:17 +00:00
Joel Sherrill
efc6c73345
2009-08-10 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* fileio/system.h: Switch to unified work area.
2009-08-10 13:33:17 +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
Ralf Corsepius
3d5483771c
Eliminate _exe_/.exe.
2009-04-03 12:55:13 +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
Joel Sherrill
fd6092a3fe
2008-09-17 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* fileio/system.h: Rename STACK_CHECKER_ON to more appropriate
CONFIGURE_STACK_CHECKER_ENABLED.
2008-09-17 19:31:18 +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