| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
* libnetworking/resolv.h: Partial sync with FreeBSD.
Add decls for res_send_setqhook, res_send_setrhook.
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
| |
Semaphores of type RTEMS_SIMPLE_BINARY_SEMAPHORE are not suitable for a
mutex. Use RTEMS_BINARY_SEMAPHORE with RTEMS_INHERIT_PRIORITY instead.
|
|
|
|
|
| |
* libcsupport/src/assocnamebad.c:
Add #define INSIDE_ASSOC.
|
|
|
|
|
| |
* sapi/include/confdefs.h:
Add decl of configuration_mount_table (Fix c++ mangling).
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
The inet_aton() function returns non-zero in case of success.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
| |
For symbolic links, the length in bytes of the pathname contained in the
symbolic link should be returned in st_size.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
"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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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>
|
|
|
|
|
| |
From: Xiangfu <xiangfu@sharism.cc>
Signed-off-by: Xiangfu <xiangfu@sharism.cc>
|
|
|
|
| |
There existed no calling function for this handler.
|
|\ |
|
| | |
|
|/ |
|
|
|
|
| |
This reverts commit 9bf3a868655f260c2fa6cbcab16f0218cf53e5b8.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
* libcsupport/src/termios_setinitialbaud.c: Fixed typo.
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
* sapi/include/confdefs.h: Fixed workspace size estimate of tasks.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
| |
* sapi/include/confdefs.h: Fixed workspace size estimate of POSIX keys
and message queues.
|
|
|
|
|
| |
* score/include/rtems/score/wkspace.h, score/src/wkstringduplicate.c:
Changed parameter of _Workspace_String_duplicate() to avoid strnlen().
|
|
|
|
|
|
| |
* configure.ac: Check for getrusage.h decl.
* libcsupport/src/getrusage.c:
Apply HAVE_DECL_GETRUSAGE (Missing prototypes).
|
|
|
|
|
|
|
| |
* score/src/wkstringduplicate.c: New file.
* score/Makefile.am: Reflect change above.
* score/include/rtems/score/wkspace.h: Declare
_Workspace_String_duplicate().
|
|
|
|
|
| |
* posix/src/fork.c: Include <unistd.h> for "fork" prototype.
Don't include <sys/types.h> (unnecessary).
|
|
|
|
|
| |
PR 1985/cpukit
* telnetd/Makefile.am: Remove icmds.c.
|
|
|
|
|
|
| |
PR 1986/libcpu
* rtems/include/rtems/rtems/cache.h:
Add rtems_cache_aligned_malloc decl.
|
|
|
|
| |
* posix/src/sigtimedwait.c: Make _POSIX_signals_Get_lowest static.
|
|
|
|
|
|
| |
PR 1985/cpukit
* telnetd/icmds.c: Removed.
All functionality is in shell. Obsolete and unreferenced.
|
|
|
|
| |
* cpu.c: Make _defaultExcHandler static.
|
|
|
|
| |
* cpu.c: Correct typo.
|
|
|
|
|
|
|
| |
* libblock/src/flashdisk.c:
Make rtems_fdisk_crc16_gen_factors static.
* libblock/src/nvdisk.c:
Make rtems_nvdisk_crc16_gen_factors static.
|
|
|
|
|
| |
* rtems/src/rtemsobjectsetname.c:
Include <rtems/rtems/object.h> (Missing prototype).
|
|
|
|
|
| |
* rtems/src/rtemsobjectgetclassicname.c:
Include <rtems/rtems/object.h> (Missing prototype).
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
* rtems/src/rtemsobjectgetname.c:
Include <rtems/rtems/object.h> (Missing prototype).
|
|
|
|
| |
* sapi/src/getversionstring.c: Include <rtems.h> (Missing prototype).
|