summaryrefslogtreecommitdiffstats
path: root/cpukit (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-03-022012-03-02 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsépius2-182/+193
* libnetworking/resolv.h: Partial sync with FreeBSD. Add decls for res_send_setqhook, res_send_setrhook.
2012-03-022012-03-02 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsépius3-1/+11
* configure.ac: Check for rcmd in unistd.h. * libnetworking/libc/rcmd.c: Build iff rcmd is declared in unistd.h. Change rcmd's decl to match with Linux/FreeBSD's decl.
2012-02-23PR 2026/filesystem - Fix semaphore attributesSebastian Huber1-7/+2
Semaphores of type RTEMS_SIMPLE_BINARY_SEMAPHORE are not suitable for a mutex. Use RTEMS_BINARY_SEMAPHORE with RTEMS_INHERIT_PRIORITY instead.
2012-02-222012-02-22 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsépius1-0/+2
* libcsupport/src/assocnamebad.c: Add #define INSIDE_ASSOC.
2012-02-222012-02-22 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsépius1-0/+1
* sapi/include/confdefs.h: Add decl of configuration_mount_table (Fix c++ mangling).
2012-02-17Add functions for greedy workspace allocationSebastian Huber3-0/+57
Various tests must check program paths that result due to failed memory allocations from the workspace. To avoid tinkering with internal workspace structures throughout the test code these functions should be used.
2012-02-15Fixed incorrect error pathSebastian Huber1-2/+0
The inet_aton() function returns non-zero in case of success.
2012-02-14Avoid buffer overflow and misaligned memory accessSebastian Huber1-14/+24
2012-02-13Avoid NULL pointer accessSebastian Huber1-3/+5
2012-02-11Support Thumb 2.Sebastian Huber1-1/+4
2012-02-11ARMv7-M NVIC and MPU API changes.Sebastian Huber3-12/+248
2012-02-11ARMv7-M Systick API changeSebastian Huber1-1/+1
2012-02-10Added support functions for greedy heap allocationSebastian Huber6-2/+144
Various tests must check program paths that result due to failed memory allocations from the heap. To avoid tinkering with internal heap structures throughout the test code these functions should be used.
2012-02-10Moved empty test in front of busy testsSebastian Huber1-10/+10
2012-02-09Check that the file offset is valid after a seekSebastian Huber2-14/+8
2012-02-08POSIX conformanceSebastian Huber1-1/+2
For symbolic links, the length in bytes of the pathname contained in the symbolic link should be returned in st_size.
2012-02-08Fixed typo (setegid.c was missing)Sebastian Huber1-1/+1
2012-02-03PR 2001/shell - medit command argument parsing correctionJoel Sherrill1-3/+1
"medit" overran the argument list, choking on the NULL pointer following the last argument. Note that "medit" still only does byte-sized accesses, which limits its usefulness on most systems. Author: Werner Almesberger <werner@almesberger.net> Signed-off-by: Sebastien Bourdeauducq <sebastien@milkymist.org>
2012-02-02PR 1991/cpukit - attr.c (really mode code) warning reworkJoel Sherrill3-8/+33
This PR was about a warning for no previous prototype for rtems_interrupt_level_attribute. This method exists (like a few others) to have real bodies for Classic API services implemented as macros. These macros are not available from anything but C and C++. The most explicit use was in the Ada binding but these would be needed from assembly language or any other non-C based language. On top of needing a prototype, the methods were misnamed. They were related to modes. This renames them, moves the file, fixes test code, etc.
2012-02-02PR 2012 - mdump/wdump shell cmds handle length arg incorrectly; add ldump cmdJoel Sherrill4-134/+168
* libmisc/shell/main_mdump.c: Reworked to fix bugs in handling of the length argument and to provide an "ldump" command. This file now also supports the "wdump" command. In addition, an RTEMS API function called rtems_mdump() is provided to allow easy dumping from application code. * libmisc/shell/main_mwdump.c: Obsolete file. * libmisc/Makefile.am: Removed main_mwdump.c * libmisc/shell/shellconfig.h: Added "ldump" command. * shell/memory.t: Added documentation for the "ldump" command Signed-off-by: Ric Claus <claus@SLAC.Stanford.edu>
2012-02-02PR 1998/networking - Move ftpd root initializationJoel Sherrill1-9/+7
From: Xiangfu <xiangfu@sharism.cc> Signed-off-by: Xiangfu <xiangfu@sharism.cc>
2012-02-02Removed fpathconf file system node handler.Sebastian Huber20-72/+1
There existed no calling function for this handler.
2012-02-02Extended API to support iteration of const chains.Sebastian Huber2-10/+132
2012-02-01Remove all .cvsignore files.Joel Sherrill42-104/+0
2012-01-26Revert "Google C++ Testing Framework 1.6.0."Sebastian Huber36-29047/+0
This reverts commit 9bf3a868655f260c2fa6cbcab16f0218cf53e5b8.
2012-01-23Google C++ Testing Framework 1.6.0.Sebastian Huber36-0/+29047
2012-01-23Update due to API changes.Sebastian Huber1-1/+1
2011-12-142011-12-14 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber6-58/+113
PR 1924/cpukit * sapi/include/rtems/config.h: Added stack_allocate_init_hook to rtems_configuration_table. * sapi/include/confdefs.h: Added CONFIGURE_TASK_STACK_FROM_ALLOCATOR and CONFIGURE_TASK_STACK_ALLOCATOR_INIT defines. Set default stack allocator and free hook to _Workspace_Allocate() and _Workspace_Free() respectively. * score/src/thread.c, score/src/threadstackallocate.c, score/src/threadstackfree.c: Update due to API changes.
2011-12-142011-12-14 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2-1/+5
* libcsupport/src/termios_setinitialbaud.c: Fixed typo.
2011-12-142011-12-14 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber6-55/+70
* libcsupport/include/rtems/termiostypes.h, libcsupport/src/termios_baud2num.c, libcsupport/src/termios_baudtable.c, libcsupport/src/termios_num2baud.c, libcsupport/src/termios_setinitialbaud.c: Added const qualifier to baud associations. Fixed integer types.
2011-12-132011-12-13 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2-12/+20
* sapi/include/confdefs.h: Fixed workspace size estimate of tasks.
2011-12-132011-12-13 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber19-212/+196
* posix/src/mqueuenametoid.c, posix/src/semaphorenametoid.c: Removed files. * posix/src/psxnametoid.c: New file. * posix/Makefile.am: Reflect changes above. * posix/include/rtems/posix/config.h: Fixed integer types. * posix/include/rtems/posix/posixapi.h: Declare _POSIX_Name_to_id(). * posix/include/rtems/posix/mqueue.h, posix/inline/rtems/posix/mqueue.inl: Changed parameter of _POSIX_Message_queue_Create_support(). _POSIX_Message_queue_Name_to_id() is now inline. * posix/include/rtems/posix/semaphore.h, posix/inline/rtems/posix/semaphore.inl: Changed parameter of _POSIX_Semaphore_Create_support(). _POSIX_Semaphore_Name_to_id() is now inline. * posix/src/mqueuecreatesupp.c, posix/src/semaphorecreatesupp.c: Use _Workspace_String_duplicate(). * posix/src/mqueuesendsupp.c, posix/src/mqueueopen.c, posix/src/mqueueunlink.c, posix/src/seminit.c, posix/src/semopen.c, posix/src/semunlink.c: Update due to API changes.
2011-12-132011-12-13 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2-7/+10
* sapi/include/confdefs.h: Fixed workspace size estimate of POSIX keys and message queues.
2011-12-132011-12-13 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber3-10/+11
* score/include/rtems/score/wkspace.h, score/src/wkstringduplicate.c: Changed parameter of _Workspace_String_duplicate() to avoid strnlen().
2011-12-132011-12-13 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius3-0/+13
* configure.ac: Check for getrusage.h decl. * libcsupport/src/getrusage.c: Apply HAVE_DECL_GETRUSAGE (Missing prototypes).
2011-12-122011-12-12 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber4-1/+64
* score/src/wkstringduplicate.c: New file. * score/Makefile.am: Reflect change above. * score/include/rtems/score/wkspace.h: Declare _Workspace_String_duplicate().
2011-12-102011-12-10 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2-3/+7
* posix/src/fork.c: Include <unistd.h> for "fork" prototype. Don't include <sys/types.h> (unnecessary).
2011-12-102011-12-10 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2-1/+6
PR 1985/cpukit * telnetd/Makefile.am: Remove icmds.c.
2011-12-102011-12-10 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2-1/+12
PR 1986/libcpu * rtems/include/rtems/rtems/cache.h: Add rtems_cache_aligned_malloc decl.
2011-12-102011-12-10 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2-1/+5
* posix/src/sigtimedwait.c: Make _POSIX_signals_Get_lowest static.
2011-12-092011-12-09 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2-64/+6
PR 1985/cpukit * telnetd/icmds.c: Removed. All functionality is in shell. Obsolete and unreferenced.
2011-12-092011-12-09 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2-1/+5
* cpu.c: Make _defaultExcHandler static.
2011-12-092011-12-09 Jennifer AverettJennifer Averett2-1/+5
* cpu.c: Correct typo.
2011-12-092011-12-09 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius3-2/+9
* libblock/src/flashdisk.c: Make rtems_fdisk_crc16_gen_factors static. * libblock/src/nvdisk.c: Make rtems_nvdisk_crc16_gen_factors static.
2011-12-092011-12-09 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2-0/+3
* rtems/src/rtemsobjectsetname.c: Include <rtems/rtems/object.h> (Missing prototype).
2011-12-092011-12-09 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2-0/+6
* rtems/src/rtemsobjectgetclassicname.c: Include <rtems/rtems/object.h> (Missing prototype).
2011-12-092011-12-09 Chris Johns <chrisj@rtems.org>Chris Johns4-31/+83
PR 1968/filesystem * libfs/src/rfs/rtems-rfs-file.c: Fix to the seek bug where a seek to 0 after reading the end of the file did not point to the correct block. * libfs/src/rfs/rtems-rfs-rtems.h, libfs/src/rfs/rtems-rfs-trace.c: Fix the trace flags. Used to fix the bug.
2011-12-082011-12-08 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2-0/+3
* rtems/src/rtemsobjectgetname.c: Include <rtems/rtems/object.h> (Missing prototype).
2011-12-082011-12-08 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2-0/+2
* sapi/src/getversionstring.c: Include <rtems.h> (Missing prototype).
2011-12-082011-12-08 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2-1/+6
* libcsupport/src/termios.c: Make rtems_termios_refill_transmitter static.