summaryrefslogtreecommitdiffstats
path: root/testsuites/samples/fileio/init.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* testsuites/samples: Change license to BSD-2Joel Sherrill2022-04-121-3/+22
| | | | Updates #3053.
* testsuites/samples/fileio - Increase of stack sizeFrank Kühndel2020-10-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | When I use the 'shell' from the fileio sample with the command below: env QEMU_AUDIO_DRV="none" \ qemu-system-arm -no-reboot -net none -nographic -M realview-pbx-a9 \ -m 256M \ -kernel build/arm/realview_pbx_a9_qemu/testsuites/samples/fileio.exe The executable crashes with an "BLOWN STACK!!!" as soon as I try to login as 'root' with password. (The logins without password work fine.) Increasing the stack size of the affected thread a bit solves the issue. Hence, I suggest this patch. My config.ini was [arm/realview_pbx_a9_qemu] RTEMS_DEBUG = True RTEMS_NETWORKING = True RTEMS_POSIX_API = True RTEMS_SMP = True BUILD_TESTS = True RTEMS origin.master at a479686c112144119866391ceb21c48be6a3eca9 Close #4143
* Correct minor spelling and grammar errorsZenon2018-11-061-2/+2
| | | | This work was performed as a GCI 2018 task.
* tests: Use rtems_task_exit()Sebastian Huber2018-10-051-2/+1
| | | | Update #3533.
* fileio: Avoid deprecated rtems_disk_obtain()Sebastian Huber2018-08-071-22/+25
| | | | Update #3358.
* nvdisk: Use rtems_blkdev_create()Sebastian Huber2018-08-071-58/+3
| | | | Update #3358.
* ramdisk: Use rtems_blkdev_create()Sebastian Huber2018-08-071-59/+24
| | | | Update #3358.
* tests: Remove TEST_INITSebastian Huber2017-10-281-2/+0
| | | | | | | | The TEST_EXTERN is a used only by the system.h style tests and they use CONFIGURE_INIT appropriately. Update #3170. Update #3199.
* testsuite: Use printk for all test output where possible.Chris Johns2017-10-231-0/+2
| | | | | | | | | | - Remove the printf support leaving the direct printk support configured with TESTS_USE_PRINTK and all other output goes via a buffered vsniprintf call to printk. - Control the test's single init for functions and global data with TEST_INIT and not CONFIGURE_INIT. They are now separate. Updates #3170.
* samples/fileio: Give command availability hintSebastian Huber2017-08-241-3/+7
| | | | Close #3088.
* Delete or rename MIN/MAX macros and definesSebastian Huber2014-11-211-4/+1
| | | | Include <sys/param.h> if necessary to get the MIN()/MAX() macros.
* shell: Do chroot() after successful loginSebastian Huber2014-11-201-1/+7
|
* samples/fileio: Fix warningSebastian Huber2014-11-201-0/+2
|
* shell: Use crypt_r() in rtems_shell_login_check()Sebastian Huber2014-11-201-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.
* Change all references of rtems.com to rtems.org.Chris Johns2014-03-211-1/+1
|
* cpukit/shell: Replace task variables with posix keys.Christian Mauderer2014-03-201-2/+3
| | | | | | | | | | | | 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.
* tests/samples: Use <rtems/test.h>Sebastian Huber2014-03-171-2/+4
|
* samples - Eliminate missing prototype warningsJoel Sherrill2012-05-311-13/+2
|
* Remove All CVS Id Strings Possible Using a ScriptJoel Sherrill2012-05-111-2/+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.
* libblock: Change bdbuf APISebastian Huber2012-03-131-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.
* 2011-12-13 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-12-131-9/+11
| | | | | | | | * 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-10-18 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-10-181-2/+2
| | | | | * fileio/init.c: Explictly consts in size_t initializers (avoid overflows on 16bit-int targets).
* 2011-09-16 Sebastian Huber <Sebastian.Huber@embedded-brains.de>Sebastian Huber2011-09-161-13/+34
| | | | | * fileio/fileio.scn: New file. * capture/init.c, fileio/init.c: Use rtems_shell_wait_for_input().
* 2011-07-04 Chris Johns <chrisj@rtems.org>Chris Johns2011-07-041-2/+527
| | | | | * fileio/init.c, fileio/system.h: Add commands to create ram disks from the shell prompt. Helps testing.
* 2011-06-11 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2011-06-111-6/+6
| | | | | * fileio/init.c: Avoid use of deprecated rtems_clock_get() except in spclockget().
* 2011-05-05 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2011-05-051-1/+4
| | | | | | * 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.
* Add HAVE_CONFIG_H.Ralf Corsepius2011-02-221-0/+4
|
* 2010-06-02 Chris Johns <chrisj@rtems.org>Chris Johns2010-06-021-19/+21
| | | | | | * 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-03-12 Sebastian Huber <Sebastian.Huber@embedded-brains.de>Joel Sherrill2010-03-121-23/+21
| | | | * fileio/init.c: Remove deprecation warnings.
* 2010-03-11 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2010-03-111-1/+1
| | | | * fileio/init.c: Fix warnings for ctype methods.
* Whitespace removal.Ralf Corsepius2009-11-301-5/+5
|
* 2009-10-29 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2009-10-291-1/+1
| | | | * fileio/init.c: Use %zd to print ssize_t.
* Fix broken prints.Ralf Corsepius2009-10-241-2/+2
|
* interrupt handler type changeThomas Doerfler2009-10-211-1/+24
|
* 2009-08-12 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-08-121-3/+3
| | | | | | | * 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-04-28 Chris Johns <chrisj@rtems.org>Chris Johns2009-04-281-0/+12
| | | | | | | * 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.
* removed obsolete references to login.hThomas Doerfler2009-04-141-1/+0
|
* Fix Id string typo.Joel Sherrill2009-03-291-2/+2
|
* 2009-03-29 Joel Sherrill <joel.sherrill@gmail.com>Joel Sherrill2009-03-291-2/+2
| | | | | * fileio/init.c: Change arguments to rtems_shell_init() to match new expectations.
* Adapt to modified shell configurationThomas Doerfler2009-02-271-2/+3
|
* 2008-12-09 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-12-091-2/+35
| | | | | * fileio/init.c: Add explicit creation of /etc/passwd and /etc/group so we have a test case for real password checking.
* 2008-10-02 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-10-021-0/+2
| | | | | * fileio/init.c: When USE_SHELL not defined, do not attempt to configure shell.
* Convert to "bool".Ralf Corsepius2008-09-061-14/+14
|
* 2008-07-16 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-07-161-3/+8
| | | | | * fileio/init.c: New argument sequence for rtems_shell_init(). Also split on multiple lines and document each parameter.
* 2008-04-17 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-04-171-1/+48
| | | | | * fileio/init.c, hello/system.h, minimum/init.c, unlimited/system.h: Use CONFIGURE_APPLICATION_DOES_NOT_NEED_CLOCK_DRIVER where needed.
* 2008-01-11 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-01-111-1/+1
| | | | | * fileio/init.c, fileio/system.h, hello/init.c: Enable malloc statistics so shell output can be interesting.
* 2007-12-17 Chris Johns <chrisj@rtems.org>Chris Johns2007-12-171-5/+5
| | | | | * testsuites/samples/fileio/init.c: Change shell_* to rtems_shell_*. Add the mount file-system type of msdos.
* 2007-12-14 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2007-12-141-1/+1
| | | | | * fileio/init.c, fileio/system.h: Increase stack requested for shell task. Turn on stack checking so the report is interesting.
* 2007-12-11 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2007-12-111-0/+36
| | | | | * fileio/init.c: Add RTEMS Shell configuration and static configuration of user commands.
* mproved gen5200 MSCAN driverThomas Doerfler2007-01-211-0/+8
| | | | fixed synchronization bug between ata.c and bdbuf.c