Commit Graph

3094 Commits

Author SHA1 Message Date
Ralf Corsépius
7f2036aa35 2012-03-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/resolv.h: Partial sync with FreeBSD.
	Add decls for res_send_setqhook, res_send_setrhook.
2012-03-02 13:03:35 +01:00
Ralf Corsépius
396b80ebf6 2012-03-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* 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-03-02 09:40:03 +01:00
Sebastian Huber
9fa3cf0db8 2011-12-14 Sebastian Huber <sebastian.huber@embedded-brains.de>
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-14 13:17:19 +00:00
Sebastian Huber
3538e191ab 2011-12-14 Sebastian Huber <sebastian.huber@embedded-brains.de>
* libcsupport/src/termios_setinitialbaud.c: Fixed typo.
2011-12-14 09:22:43 +00:00
Sebastian Huber
40f8b21ef4 2011-12-14 Sebastian Huber <sebastian.huber@embedded-brains.de>
* 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-14 08:50:49 +00:00
Sebastian Huber
3df4d7424a 2011-12-13 Sebastian Huber <sebastian.huber@embedded-brains.de>
* sapi/include/confdefs.h: Fixed workspace size estimate of tasks.
2011-12-13 14:37:03 +00:00
Sebastian Huber
b98d399f3c 2011-12-13 Sebastian Huber <sebastian.huber@embedded-brains.de>
* 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-13 12:56:53 +00:00
Sebastian Huber
517bf089dc 2011-12-13 Sebastian Huber <sebastian.huber@embedded-brains.de>
* sapi/include/confdefs.h: Fixed workspace size estimate of POSIX keys
	and message queues.
2011-12-13 10:52:21 +00:00
Sebastian Huber
06a81399b8 2011-12-13 Sebastian Huber <sebastian.huber@embedded-brains.de>
* score/include/rtems/score/wkspace.h, score/src/wkstringduplicate.c:
	Changed parameter of _Workspace_String_duplicate() to avoid strnlen().
2011-12-13 10:06:53 +00:00
Ralf Corsepius
66496446db 2011-12-13 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Check for getrusage.h decl.
	* libcsupport/src/getrusage.c:
	Apply HAVE_DECL_GETRUSAGE (Missing prototypes).
2011-12-13 06:47:21 +00:00
Sebastian Huber
141b31107a 2011-12-12 Sebastian Huber <sebastian.huber@embedded-brains.de>
* score/src/wkstringduplicate.c: New file.
	* score/Makefile.am: Reflect change above.
	* score/include/rtems/score/wkspace.h: Declare
	_Workspace_String_duplicate().
2011-12-12 15:17:33 +00:00
Ralf Corsepius
4172953cc4 2011-12-10 Ralf Corsépius <ralf.corsepius@rtems.org>
* posix/src/fork.c: Include <unistd.h> for "fork" prototype.
	Don't include <sys/types.h> (unnecessary).
2011-12-10 05:34:15 +00:00
Ralf Corsepius
0a3c6d89d9 2011-12-10 Ralf Corsépius <ralf.corsepius@rtems.org>
PR 1985/cpukit
	* telnetd/Makefile.am: Remove icmds.c.
2011-12-10 04:27:36 +00:00
Ralf Corsepius
99365ed037 2011-12-10 Ralf Corsépius <ralf.corsepius@rtems.org>
PR 1986/libcpu
	* rtems/include/rtems/rtems/cache.h:
	Add rtems_cache_aligned_malloc decl.
2011-12-10 04:00:32 +00:00
Ralf Corsepius
0a752f4e93 2011-12-10 Ralf Corsépius <ralf.corsepius@rtems.org>
* posix/src/sigtimedwait.c: Make _POSIX_signals_Get_lowest static.
2011-12-10 03:56:16 +00:00
Joel Sherrill
a40eec45a1 2011-12-09 Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1985/cpukit
	* telnetd/icmds.c: Removed.
	All functionality is in shell. Obsolete and unreferenced.
2011-12-09 18:21:17 +00:00
Ralf Corsepius
da13f46bdb 2011-12-09 Ralf Corsépius <ralf.corsepius@rtems.org>
* libblock/src/flashdisk.c:
	Make rtems_fdisk_crc16_gen_factors static.
	* libblock/src/nvdisk.c:
	Make rtems_nvdisk_crc16_gen_factors static.
2011-12-09 13:04:48 +00:00
Ralf Corsepius
102e93602c 2011-12-09 Ralf Corsépius <ralf.corsepius@rtems.org>
* rtems/src/rtemsobjectsetname.c:
	Include <rtems/rtems/object.h> (Missing prototype).
2011-12-09 11:37:45 +00:00
Ralf Corsepius
1059b7600d 2011-12-09 Ralf Corsépius <ralf.corsepius@rtems.org>
* rtems/src/rtemsobjectgetclassicname.c:
	Include <rtems/rtems/object.h> (Missing prototype).
2011-12-09 07:36:41 +00:00
Chris Johns
8504f12471 2011-12-09 Chris Johns <chrisj@rtems.org>
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-09 07:21:02 +00:00
Ralf Corsepius
cc42039e15 2011-12-08 Ralf Corsépius <ralf.corsepius@rtems.org>
* rtems/src/rtemsobjectgetname.c:
	Include <rtems/rtems/object.h> (Missing prototype).
2011-12-08 14:15:06 +00:00
Ralf Corsepius
0042168c67 2011-12-08 Ralf Corsépius <ralf.corsepius@rtems.org>
* sapi/src/getversionstring.c: Include <rtems.h> (Missing prototype).
2011-12-08 14:13:55 +00:00
Ralf Corsepius
4b41d3d4d5 2011-12-08 Ralf Corsépius <ralf.corsepius@rtems.org>
* libcsupport/src/termios.c: Make rtems_termios_refill_transmitter
	static.
2011-12-08 14:12:27 +00:00
Ralf Corsepius
58451f1c23 2011-12-08 Ralf Corsépius <ralf.corsepius@rtems.org>
PR 1981/cpukit
	* posix/Makefile.am: Reflect changes below.
	* posix/src/pthreadsetcputime.c, posix/src/pthreadgetcputime.c:
	Remove (Obsolete).
2011-12-08 08:57:57 +00:00
Ralf Corsepius
438a893051 2011-12-08 Ralf Corsépius <ralf.corsepius@rtems.org>
* ftpd/ftpd.c: Make split_command static.
2011-12-08 05:36:27 +00:00
Ralf Corsepius
8709c3e4b3 2011-12-08 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/rtems/rtems_dhcp.c:
	Make format_ip, dhcp_init static.
	* libnetworking/nfs/bootp_subr.c:
	Make bootp_strdup_realloc static.
2011-12-08 05:35:14 +00:00
Ralf Corsepius
b9f9165812 2011-12-07 Ralf Corsépius <ralf.corsepius@rtems.org>
* rtems/src/rtemsobjectapiminimumclass.c:
	Include <rtems/rtems/object.h> (Missing prototype).
	Adjust rtems_object_api_minimum_class to prototype.
2011-12-07 18:46:05 +00:00
Ralf Corsepius
a16bc1c884 Fix typo. 2011-12-07 17:23:04 +00:00
Ralf Corsepius
c4e1e32eda 2011-12-07 Ralf Corsépius <ralf.corsepius@rtems.org>
* libcsupport/src/sup_fs_is_separator.c:
	Include <rtems/libio_.h> (Missing protypes).
2011-12-07 17:21:35 +00:00
Ralf Corsepius
adfc907570 2011-12-07 Ralf Corsépius <ralf.corsepius@rtems.org>
* rtems/src/workspace.c:
 	Include <rtems/rtems/support.h> (Missing prototypes).
2011-12-07 07:11:31 +00:00
Ralf Corsepius
a1399ba8cd 2011-12-07 Ralf Corsépius <ralf.corsepius@rtems.org>
PR 1983/networking
	* libnetworking/libc/gethostbyht.c (gethostent_r):
	Abort if (!hostf).
2011-12-07 06:49:32 +00:00
Ralf Corsepius
5876a99902 2011-12-07 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/libc/ns_parse.c (ns_parserr):
	Comment out if ( section < 0 ) (type is unsigned).
2011-12-07 06:46:19 +00:00
Ralf Corsepius
ce373088e9 2011-12-07 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/libc/gethostbydns.c: Comment out __dns_getanswer
	(Unused).
2011-12-07 05:19:07 +00:00
Ralf Corsepius
e31173c13a 2011-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
* rtems/src/ratemonperiod.c: Make _Rate_monotonic_Update_statistics
	static.
2011-12-06 15:45:06 +00:00
Ralf Corsepius
39bcf257b9 2011-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
* libcsupport/src/pipe.c: Include <unistd.h>.
	Include <rtems/pipe.h>.
2011-12-06 15:42:00 +00:00
Ralf Corsepius
13a69b9b23 2011-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
* libmisc/stackchk/check.c: Make Stack_check_Initialize,
	Stack_check_Dump_threads_usage static.
2011-12-06 15:22:13 +00:00
Ralf Corsepius
47528a8f2e 2011-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
* libfs/src/pipe/pipe.c: Include <rtems/pipe.h> (Missing prototype).
2011-12-06 15:20:50 +00:00
Sebastian Huber
a89ae540c1 2011-12-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
* score/src/heapiterate.c, score/src/pheapiterate.c: New files.
	* score/Makefile.am: Reflect changes above.
	* score/include/rtems/score/heap.h: Declare _Heap_Iterate() and define
	Heap_Block_visitor.
	* score/include/rtems/score/protectedheap.h: Declare
	_Protected_heap_Iterate().
	* score/src/heapgetinfo.c: Use _Heap_Iterate().
2011-12-06 14:23:26 +00:00
Ralf Corsepius
ee89b319e4 2011-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
* libcsupport/src/flockfile.c, libcsupport/src/ftrylockfile.c,
	libcsupport/src/funlockfile.c:
	Add __attribute__((unused)) to unused function parameters.
2011-12-06 13:39:12 +00:00
Ralf Corsepius
3e0a98a756 2011-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
* libcsupport/src/envlock.c: Build conditionally.
2011-12-06 13:35:12 +00:00
Ralf Corsepius
b317c39155 2011-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Check for envlock.h.
	Check for decls of __env_lock, __env_unlock.
2011-12-06 08:15:32 +00:00
Ralf Corsepius
16ef51ee2b 2011-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
* libcsupport/src/envlock.c: Rename define ENVLOCK_DEDIDCATED_MUTEX
	into ENVLOCK_DEDICATED_MUTEX (Typo).
2011-12-06 08:05:34 +00:00
Ralf Corsepius
01d79edf78 2011-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
* libmisc/serdbg/serdbg.h: Add serdbg_init_dbg.
	* libmisc/serdbg/serdbgcnf.h:
	Remove conditional serdbg_init_dbg prototype.
2011-12-06 08:02:31 +00:00
Ralf Corsepius
3ab21dce11 2011-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
* libmisc/mouse/serial_mouse.c: Make serial_mouse_l_rint static.
2011-12-06 08:00:24 +00:00
Ralf Corsepius
96d3f26e1d 2011-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
* libcsupport/src/malloc_sbrk_helpers.c: Make
	malloc_sbrk_initialize, malloc_sbrk_extend_and_allocate static.
2011-12-06 07:57:10 +00:00
Ralf Corsepius
6425dc5033 2011-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
* libmisc/monitor/mon-network.c: Include <rtems/monitor.h>.
	* libmisc/monitor/mon-object.c:
	Make rtems_monitor_object_canonical_next_remote,
	rtems_monitor_object_dump_1, rtems_monitor_object_dump_all static.
	* libmisc/monitor/mon-prmisc.c:
	Make rtems_monitor_dump_assoc_bitfield static.
	* libmisc/monitor/mon-symbols.c:
	Make rtems_monitor_symbol_dump_all static.
2011-12-06 07:34:48 +00:00
Ralf Corsepius
04bf7cbf60 2011-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
* score/src/schedulercbsattachthread.c,
	score/src/schedulercbsdestroyserver.c,
	score/src/schedulercbsdetachthread.c,
	score/src/schedulercbsgetapprovedbudget.c,
	score/src/schedulercbsgetexecutiontime.c,
	score/src/schedulercbsgetparameters.c,
	score/src/schedulercbsgetremainingbudget.c,
	score/src/schedulercbssetparameters.c:
	Remove checks for server_id < 0 (server_id is unsigned).
2011-12-06 07:12:42 +00:00
Ralf Corsepius
e2bcb3217b 2011-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
* posix/src/pspinlocktranslatereturncode.c:
	Include <rtems/posix/spinlock.h> (Missing prototypes).
2011-12-06 07:08:45 +00:00
Ralf Corsepius
46ae58a595 2011-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
* libfs/src/imfs/imfs_debug.c: Make IMFS_print_jnode,
	IMFS_dump_directory static.
	* libfs/src/imfs/memfile.c: Make memfile_free_blocks_in_table static.
2011-12-06 07:05:54 +00:00
Ralf Corsepius
145c934384 2011-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
* libcsupport/include/rtems/libio.h:
	Make LIBIO_FLAGS_* defined unsigned (Avoid implicit sign
	conversions).
2011-12-06 06:39:03 +00:00