Commit Graph

11256 Commits

Author SHA1 Message Date
Ralf Corsepius
b3da5b17a1 2005-05-25 Ralf Corsepius <ralf.corsepius@rtems.org>
* librpc/include/rpc/svc.h: Partial update from FreeBSD.
2005-05-25 12:25:50 +00:00
Ralf Corsepius
d761022941 2005-05-25 Ralf Corsepius <ralf.corsepius@rtems.org>
* aclocal/check-rdbg.m4: Use compilation check on _OLD_EXCEPTIONS
	to enable rdbg.
	* configure.ac: Reflect changes above.
2005-05-25 12:20:58 +00:00
Ralf Corsepius
50e3b3f065 2005-05-25 Ralf Corsepius <ralf.corsepius@rtems.org>
* librpc/include/rpc/clnt.h: Partial update from FreeBSD.
2005-05-25 11:33:47 +00:00
Ralf Corsepius
d7309869ff Regenerate. 2005-05-25 10:15:52 +00:00
Ralf Corsepius
e9e2469ca5 2005-05-25 Ralf Corsepius <ralf.corsepius@rtems.org>
* librpc/include/rpc/clnt_soc.h, librpc/include/rpc/svc_soc.h:
	New (Partial update from FreeBSD).
	* librpc/Makefile.am: Reflect changes above.
2005-05-25 10:15:22 +00:00
Ralf Corsepius
a8ad6a001f New. 2005-05-25 10:05:42 +00:00
Ralf Corsepius
4fe67294a1 2005-05-25 Ralf Corsepius <ralf.corsepius@rtems.org>
* librpc/include/rpc/des_crypt.h: Remove (Unused, unsupported).
	* librpc/Makefile.am: Reflect changes above.
2005-05-25 09:50:52 +00:00
Ralf Corsepius
9029782f36 Regenerate. 2005-05-25 09:49:57 +00:00
Ralf Corsepius
b3a39822c7 2005-05-25 Ralf Corsepius <ralf.corsepius@rtems.org>
* librpc/include/rpc/des.h: Remove (Unused, unsupported).
	* librpc/Makefile.am: Reflect changes above.
2005-05-25 09:49:22 +00:00
Ralf Corsepius
9d770ab58c Remove (Unused, unsupported) 2005-05-25 09:48:27 +00:00
Ralf Corsepius
351b0a18c3 2005-05-25 Ralf Corsepius <ralf.corsepius@rtems.org>
* librpc/include/rpc/des.h: Remove (Unused, unsupported).
	* librpc/Makefile.am: Reflect changes above.
2005-05-25 09:41:55 +00:00
Ralf Corsepius
f6a55f208f Regenerate. 2005-05-25 09:41:29 +00:00
Ralf Corsepius
8ba22b546d Remove (Unused, unsupported). 2005-05-25 09:40:15 +00:00
Ralf Corsepius
fc2d29de0a 2005-05-25 Ralf Corsepius <ralf.corsepius@rtems.org>
* librpc/src/rpc/auth_des.c,
	librpc/src/rpc/auth_time.c,
	librpc/src/rpc/authdes_prot.c,
	librpc/src/rpc/clnt_unix.c,
	librpc/src/rpc/crypt_client.c,
	librpc/src/rpc/des_crypt.c,
	librpc/src/rpc/des_soft.c,
	librpc/src/rpc/getpublickey.c,
	librpc/src/rpc/key_call.c,
	librpc/src/rpc/key_prot_xdr.c,
	librpc/src/rpc/svc_auth_des.c,
	librpc/src/rpc/svc_unix.c: Remove (Unused, obsolete).
	* librpc/Makefile.am: Reflect changes above.
2005-05-25 08:58:09 +00:00
Ralf Corsepius
ce1c8ea42e Remove (Unused, obsolete). 2005-05-25 08:54:37 +00:00
Ralf Corsepius
f724f4f4dc 2005-05-25 Ralf Corsepius <ralf.corsepius@rtems.org>
* librpc/src/rpc/PSD.doc/rpc.prog.ms,
	librpc/src/rpc/PSD.doc/rpcgen.ms,
	librpc/src/rpc/PSD.doc/nfs.rfc.ms,
	librpc/src/rpc/PSD.doc/xdr.rfc.ms,
	librpc/src/rpc/PSD.doc/rpc.rfc.ms,
	librpc/src/rpc/PSD.doc/xdr.nts.ms:
	Remove (Unused, obsolete).
	* librpc/Makefile.am: Reflect changes above.
2005-05-25 08:24:10 +00:00
Ralf Corsepius
41b326f7cd Remove (unused, obsolete). 2005-05-25 08:23:11 +00:00
Ralf Corsepius
c2db91ed53 Fix typos 2005-05-24 05:10:00 +00:00
Ralf Corsepius
34d4a8199f 2005-05-25 Ralf Corsepius <ralf.corsepius@rtems.org>
* libnetworking/arpa/telnet.h: Remove (Unused, Non-POSIX/SUSV3).
	* libnetworking/Makefile.am: Reflect removing arpa/telnet.h.
2005-05-24 05:09:16 +00:00
Ralf Corsepius
88afe8d4c9 Regenerate. 2005-05-24 05:07:59 +00:00
Ralf Corsepius
f6932d32d1 Remove (Unused, Non-POSIX/SUSV3). 2005-05-24 05:07:14 +00:00
Ralf Corsepius
fb51b73b22 2005-05-25 Ralf Corsepius <ralf.corsepius@rtems.org>
* libnetworking/arpa/nameser.h: Update from FreeBSD.
	* libnetworking/libc/ns_parse.c: Reflect changes above.
2005-05-24 04:49:38 +00:00
Ralf Corsepius
c3713b3a93 Reflect changes to libnetworking/arpa/nameser.h. 2005-05-24 04:49:12 +00:00
Ralf Corsepius
5c7dd995c1 Update from FreeBSD. 2005-05-24 04:48:45 +00:00
Ralf Corsepius
78f251a66b Regenerate. 2005-05-24 04:26:43 +00:00
Ralf Corsepius
d35f18c6b9 2005-05-25 Ralf Corsepius <ralf.corsepius@rtems.org>
* libnetworking/netinet/ip.h: Remove BYTE_PACK.
	Add __packed. Partial update from FreeBSD.
	* libnetworking/netinet/ip_divert.c: Cosmetics from FreeBSD.
2005-05-24 04:25:49 +00:00
Ralf Corsepius
23bf086596 Cosmetics from FreeBSD. 2005-05-24 04:25:19 +00:00
Ralf Corsepius
7adcf0377f Remove BYTE_PACK.
Add __packed.
Partial update from FreeBSD.
2005-05-24 04:24:59 +00:00
Eric Norum
5d25da936e Fix typo. 2005-05-24 04:05:39 +00:00
Eric Norum
e2f88ab9d6 Try to maintain compatability with everyone else's VBR changes. 2005-05-24 01:07:45 +00:00
Eric Norum
2a94c85420 Add "ICMP panic avoided" diagnostic counter. 2005-05-24 00:36:35 +00:00
Joel Sherrill
290268f6b7 2005-05-23 Joel Sherrill <joel@OARcorp.com>
* comm/i386-stub.c: Make get_char() static since it is such a common
	name and conflicts with names in the standard Ada run-time.
2005-05-23 21:56:38 +00:00
Joel Sherrill
cc1aee94cd 2005-05-23 Joel Sherrill <joel@OARcorp.com>
* rtems.adb: Fix variable name.
2005-05-23 17:15:26 +00:00
Joel Sherrill
cb6fc17b4f 2005-05-23 Joel Sherrill <joel@OARcorp.com>
PR rtems_misc/795
	* rtems.ads: Fix parameter ordering.
2005-05-23 15:00:03 +00:00
Ralf Corsepius
aea8e66bce 2005-05-23 Ralf Corsepius <ralf.corsepius@rtems.org>
* configure.ac: Add ada/.
2005-05-23 13:16:14 +00:00
Ralf Corsepius
33e9ef06a5 2005-05-23 Ralf Corsepius <ralf.corsepius@rtems.org>
* Makefile.am: Remove ada.
	* configure.ac: Remove ada.
2005-05-23 07:29:56 +00:00
Ralf Corsepius
f554b02907 Remove ada. 2005-05-23 07:28:06 +00:00
Ralf Corsepius
97a02229eb Remove. 2005-05-23 07:25:46 +00:00
Ralf Corsepius
c45aa34c38 2005-05-21 Ralf Corsepius <ralf.corsepius@rtems.org>
* libnetworking/netinet/ip_icmp.c: Partial update from FreeBSD.
	* libnetworking/sys/mbuf.h: Partial update from FreeBSD.
2005-05-21 16:32:47 +00:00
Ralf Corsepius
a736847cb3 Partial update from FreeBSD. 2005-05-21 16:31:28 +00:00
Ralf Corsepius
3641cf08d0 2005-05-21 Ralf Corsepius <ralf.corsepius@rtems.org>
* libnetworking/netinet/ip_icmp.h: Update from FreeBSD.
	Abandon BYTE_PACK.
2005-05-21 13:44:25 +00:00
Ralf Corsepius
8b77a1308b 2005-05-21 Ralf Corsepius <ralf.corsepius@rtems.org>
* libnetworking/netdb.h: Update from FreeBSD.
2005-05-21 13:37:57 +00:00
Ralf Corsepius
4d96472b06 Update from FreeBSD. 2005-05-21 13:37:17 +00:00
Joel Sherrill
182813e164 2005-05-20 Sergei Organov <osv@javad.ru>
PR networking/772.
	* libnetworking/rtems/rtems_select.c (socket_select): fixed bug
	setting SB_WAIT flag of so_rcv instead of so_snd when FWRITE.
2005-05-20 19:58:32 +00:00
Joel Sherrill
9f114a806a 2005-05-20 Sergei Organov <osv@topconrd.ru>
PR 750/networking
	* libnetworking/pppd/sys-rtems.c: Avoid NULL dereference in
	wait_input().
2005-05-20 19:33:23 +00:00
Joel Sherrill
862cbe3aee 2005-05-20 Chris Johns <chrisj@rtems.org>
* rtems/score/cpu.h, rtems/score/m68k.h: Change declaration of _VBR.
2005-05-20 19:28:20 +00:00
Joel Sherrill
15113c45ca Added PR775. 2005-05-20 19:25:33 +00:00
Joel Sherrill
266a5c92a8 2005-05-20 Jennifer Averett <jennifer@OARcorp.com>
PR 702/bsps
	* include/tm27.h: Add better tm27.h support. Uses decrementer register
	interrupt -- copied from psim.
2005-05-20 19:22:26 +00:00
Joel Sherrill
5c1af4caf0 2005-05-20 Sergei Organov <osv@topconrd.ru>
PR 749/networking
	* libnetworking/rtems/rtems_showroute.c: Avoid NULL dereference.
2005-05-20 19:18:55 +00:00
Joel Sherrill
80f2885b70 2005-05-14 Sergei Organov <osv@topconrd.ru>
PR 746/rtems
	Optimize realloc(). The problem is that realloc() can neither grow
	nor shrink efficiently the current memory region without support
	from underlying heap/region modules. The patch introduces one new
	routine for each of heap and region modules, _Heap_Resize_block(),
	and rtems_region_resize_segment(), respectively, and uses the
	latter to optimize realloc().

	The implementation of _Heap_Resize_block() lead to changing of the
	heap allocation strategy: now the heap manager, when splits larger
	free block into used and new free parts, makes the first part of
	the block used, not the last one as it was before. Due to this new
	strategy, _Heap_Resize_block() never needs to change the user
	pointer.

	Caveat: unlike previous heap implementation, first few bytes of
	the contents of the memory allocated from the heap are now almost
	never all zero. This can trigger bugs in client code that have not
	been visible before this patch.

	* libcsupport/src/malloc.c (realloc): try to resize segment in
	place using new rtems_region_resize_segment() routine before
	falling back to the malloc()/free() method.
	* score/src/heap.c:
	(_Heap_Initialize): change initial heap layout to reflect new
	allocation strategy of using of the lower part of a previously
	free block when splitting it for the purpose of allocation.
	(_Heap_Block_allocate): when split, make the lower part used, and
	leave the upper part free. Return type changed from Heap_Block* to
	uint32_t.
	* score/include/rtems/score/heap.h:
	(Heap_Statistics): added 'resizes' field.
	(Heap_Resize_status): new enum.
	(_Heap_Resize_block): new routine.
	(_Heap_Block_allocate): return type changed from Heap_Block* to
	uint32_t.
	* score/src/heapwalk.c: reflect new heap layout in checks.
	* score/src/heapsizeofuserarea.c: more assertions added.
	* score/src/heapresizeblock.c: new file.
	(_Heap_Resize_block): new routine.
	* score/src/heapfree.c: reverse the checks _Heap_Is_block_in() and
	_Heap_Is_prev_used() on entry to be in this order.
	* score/src/heapallocate.c, score/src/heapallocatealigned.c:
	ignore return value of _Heap_Block_allocate().
	* score/Makefile.am (HEAP_C_FILES): added src/heapresizeblock.c.
	* rtems/include/rtems/rtems/region.h:
	(rtems_region_resize_segment): new interface routine.
	(_Region_Process_queue): new internal routine called from
	rtems_region_resize_segment() and rtems_region_return_segment().
	* rtems/src/regionreturnsegment.c: move queue management code into
	the new internal routine _Region_Process_queue() and call it.

	* rtems/src/regionresizesegment.c: new file.
	(rtems_region_resize_segment): new interface routine.
	* rtems/src/regionprocessqueue.c: new file.
	(_Region_Process_queue): new internal routine containing queue
	management code factored out from 'regionreturnsegment.c'.
	* rtems/Makefile.am (REGION_C_FILES): Added
	src/regionresizesegment.c, and src/regionprocessqueue.c.
	* ada/rtems.adb, ada/rtems.ads: Added Region_Resize_Segment.
2005-05-20 19:15:41 +00:00