| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Update #3170.
Update #3199.
|
|
|
|
|
|
|
|
| |
The TEST_EXTERN is a used only by the system.h style tests and they use
CONFIGURE_INIT appropriately.
Update #3170.
Update #3199.
|
|
|
|
|
|
|
|
|
|
| |
- 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.
|
|
|
|
| |
Close #3088.
|
|
|
|
| |
This define was superfluous, undocumented and used inconsistently.
|
|
|
|
| |
Include <sys/param.h> if necessary to get the MIN()/MAX() macros.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
* fileio/init.c: Explictly consts in size_t initializers
(avoid overflows on 16bit-int targets).
|
|
|
|
|
| |
* fileio/fileio.scn: New file.
* capture/init.c, fileio/init.c: Use rtems_shell_wait_for_input().
|
|
|
|
|
| |
* fileio/init.c, fileio/system.h: Add commands to
create ram disks from the shell prompt. Helps testing.
|
|
|
|
|
| |
* fileio/init.c: Avoid use of deprecated rtems_clock_get() except in
spclockget().
|
|
|
|
|
| |
* fileio/Makefile.am, ticker/Makefile.am: Missed part of previous
patch.
|
|
|
|
|
|
| |
* 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.
|
| |
|
|
|
|
|
|
| |
* fileio/Makefile.am: Remove AM_CONDITIONAL(LIBCHIP).
* configure.ac: Remove AM_CONDITIONAL(LIBCHIP).
Force autoconf-2.67, automake-1.11.1.
|
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
* fileio/init.c: Remove deprecation warnings.
|
|
|
|
| |
* fileio/init.c: Fix warnings for ctype methods.
|
| |
|
|
|
|
| |
* fileio/init.c: Use %zd to print ssize_t.
|
| |
|
| |
|
|
|
|
|
|
|
| |
* 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().
|
|
|
|
|
|
| |
* 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().
|
|
|
|
| |
* fileio/system.h: Switch to unified work area.
|
|
|
|
|
|
|
| |
* 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.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
* fileio/init.c: Change arguments to rtems_shell_init() to match
new expectations.
|
| |
|
|
|
|
|
| |
* fileio/init.c: Add explicit creation of /etc/passwd and /etc/group so
we have a test case for real password checking.
|
|
|
|
|
| |
* fileio/init.c: When USE_SHELL not defined, do not attempt to
configure shell.
|