Commit Graph

11077 Commits

Author SHA1 Message Date
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
Joel Sherrill
207a979517 2005-05-20 Joel Sherrill <joel@OARcorp.com>
* console/duart.c: Remove warning.
2005-05-20 19:04:17 +00:00
Joel Sherrill
4e8c729f7f 2005-05-20 Eric Norum <norume@aps.anl.gov>
PR 793/networking
	* libnetworking/netinet/ip_icmp.c: Malicious ICMP packet causes panic.
	Just ignore it.
2005-05-20 18:56:42 +00:00
Ralf Corsepius
4878568e39 2005-05-20 Ralf Corsepius <ralf.corsepius@rtems.org>
* Makefile.am: Add SHGEN.
	* startup/linkcmds: Add missing sections.
2005-05-20 13:29:20 +00:00
Ralf Corsepius
7ec21960d3 Add missing sections. 2005-05-20 13:29:04 +00:00
Ralf Corsepius
6095960ed5 Add SHGEN. 2005-05-20 13:28:45 +00:00
Ralf Corsepius
ee19895ed4 Correct PATCH<N> handling. 2005-05-20 08:53:30 +00:00
Ralf Corsepius
d53bbd5aef Remove bogus comment 2005-05-20 08:53:14 +00:00
Ralf Corsepius
3963da6035 2005-05-20 Ralf Corsepius <ralf.corsepius@rtems.org>
* binutils/base-binutils.add, gccnewlib/base-g77.add,
	gccnewlib/base-gcc.add, gccnewlib/base-gcj.add,
	gccnewlib/base-gfortran.add, gccnewlib/base-gnat.add,
	gdb/base-gdb.add: install-info --info-dir=.
2005-05-20 05:40:51 +00:00
Ralf Corsepius
b3fded0fe1 install-info --info-dir= 2005-05-20 05:40:30 +00:00
Ralf Corsepius
07b3eb9e20 2005-05-18 Ralf Corsepius <ralf.corsepius@rtems.org>
* gccnewlib/mkspec.in: Correct patch handling magic.
	* gccnewlib/gccnewlib.add: Reflect changes to mkspec.in.
	Use --with/--without, rework logic for building optional languages.
	* gccnewlib/header.add: Document --with/--without.
2005-05-18 15:47:11 +00:00
Ralf Corsepius
d7f3b91d1e Document --with/--without. 2005-05-18 15:46:33 +00:00
Ralf Corsepius
9724b055e5 Reflect changes to mkspec.in.
Use --with/--without, rework logic for building optional languages.
2005-05-18 15:46:21 +00:00
Ralf Corsepius
07cf62a3a6 Correct patch handling magic. 2005-05-18 15:46:00 +00:00
Chris Johns
a4ad7597d1 2005-05-18 Chris Johns <chrisj@rtems.org>
* libmisc/capture/capture-cli.c: Fix the output of ctload when
	there exists a large number of tasks.
2005-05-18 00:04:17 +00:00
Jennifer Averett
a4ce29f164 2005-05-17 Jennifer Averett <jennifer.averett@oarcorp.com>
* ChangeLog, libchip/network/if_fxp.c, libchip/serial/ns16550.c:
	Modified to use rtems/irq.h.
2005-05-17 15:15:07 +00:00
Jennifer Averett
368c27c700 2005-05-17 Jennifer Averett <jennifer.averett@oarcorp.com>
* mpc5xx/irq/irq.c, mpc5xx/irq/irq.h,
	mpc8xx/console-generic/console-generic.c: Modified to use
	rtems/irq.h.
2005-05-17 15:09:33 +00:00
Jennifer Averett
2c247940a7 2005-05-17 Jennifer Averett <jennifer.averett@oarcorp.com>
* at91rm9200/irq/irq.h, mc9328mxl/irq/irq.h, s3c2400/irq/irq.h:
	Modified names and types to match rtems/irq.h. Note: rtems/irq.h
	should be included after the addition of a parameter to ISRs.
2005-05-17 15:08:26 +00:00
Jennifer Averett
d8999b705a 2005-05-17 Jennifer Averett <jennifer.averett@oarcorp.com>
* clock/p_clock.c, irq/i8259.c, irq/irq.c, irq/irq.h: Modified to use
	rtems/irq.h.
2005-05-17 15:06:22 +00:00
Jennifer Averett
7068d7acfb 2005-05-17 Jennifer Averett <jennifer.averett@oarcorp.com>
* irq/irq.c, irq/irq.h: Modified to use rtems/irq.h.
2005-05-17 15:05:03 +00:00
Jennifer Averett
490fd4a63b 2005-05-17 Jennifer Averett <jennifer.averett@oarcorp.com>
* irq/GT64260Int.c, irq/irq.c, irq/irq.h: Modified to use rtems/irq.h.
2005-05-17 15:03:18 +00:00
Jennifer Averett
adc53ec954 2005-05-17 Jennifer Averett <jennifer.averett@oarcorp.com>
* irq/irq.c, irq/irq.h, network/network.c: Modified to use rtems/irq.h.
2005-05-17 14:59:39 +00:00
Jennifer Averett
41a4657112 2005-05-17 Jennifer Averett <jennifer.averett@oarcorp.com>
* console/rsPMCQ1.c, irq/irq.c: Modified to use rtems/irq.h.
2005-05-17 14:58:28 +00:00
Jennifer Averett
838c82bddd 2005-05-17 Jennifer Averett <jennifer.averett@oarcorp.com>
* irq/irq.c, irq/irq.h: Modified to include rtems/irq.h.
2005-05-17 14:55:45 +00:00
Jennifer Averett
6d03c94463 2005-05-17 Jennifer Averett <jennifer.averett@oarcorp.com>
* Makefile.am, preinstall.am: Added a common irq.h
	* include/rtems/irq.h: New file.
2005-05-17 14:53:01 +00:00
Jennifer Averett
81346bae50 2005-05-17 Jennifer Averett <jennifer.averett@oarcorp.com>
* Makefile.am, preinstall.am: Added a common irq.h
	* include/rtems/irq.h: New file.
2005-05-17 14:52:10 +00:00
Jennifer Averett
309775c7ca 2005-05-17 Jennifer Averett <jennifer.averett@oarcorp.com>
* irq/irq.h: Modified names and types to match rtems/irq.h.
	Note: rtems/irq.h should be included after the addition of a
	parameter to ISRs.
2005-05-17 14:41:50 +00:00
Jennifer Averett
e01c480dfa 2005-05-17 Jennifer Averett <jennifer.averett@oarcorp.com>
* Makefile.am, preinstall.am: Added a common irq.h
	* include/rtems/irq.h: New file.
2005-05-17 14:38:37 +00:00
Ralf Corsepius
f583bb2c07 2005-05-14 Ralf Corsepius <ralf.corsepius@rtems.org>
* libnetworking/netinet/tcp_usrreq.c: Cosmetics from FreeBSD.
	* libnetworking/netinet/tcp_subr.c: Partical update from FreeBSD.
2005-05-14 07:08:17 +00:00
Jennifer Averett
54cb48f28b 2005-05-12 Jennifer Averett <jennifer.averett@oarcorp.com>
* README.VME, include/bsp.h, irq/irq.h, network/GT64260eth.c,
	pci/detect_host_bridge.c, pci/gtpcireg.h, pci/pci.c, pci/pci.h,
	pci/pci_interface.c, pci/pcifinddevice.c:
	Submitted by Kate Feng <feng1@bnl.gov> as RTEMS-MVME5500 BSP v1.1 release.
	Modifications made to merge this release with the current tree.
2005-05-12 18:25:29 +00:00