Commit Graph

7400 Commits

Author SHA1 Message Date
Eric Norum
cdb717ecc5 Minor tweak to make it easier to insert some code to test realignment. 2005-06-22 18:53:10 +00:00
Eric Norum
f077cc96df Clean up transmit buffer realignment.
Many thanks to Mr. Kolja Waschk for identifying the problem.
2005-06-20 20:48:48 +00:00
Joel Sherrill
cb4185cb7c 2005-06-17 Joel Sherrill <joel@OARcorp.com>
* librdbg/src/powerpc/excep_f.c: Conditionalize use of ISI vector since
	it is not supported by the MPC5xx.
2005-06-17 14:35:57 +00:00
Joel Sherrill
6fdd3b1070 2005-06-17 Joel Sherrill <joel@OARcorp.com>
* mpc5xx/vectors/vectors.h: Add hack to avoid warning.
2005-06-17 14:34:22 +00:00
Joel Sherrill
18ec73e308 2005-06-17 Joel Sherrill <joel@OARcorp.com>
* include/.cvsignore: New file.
2005-06-17 14:33:23 +00:00
Joel Sherrill
9c5873b7de 2005-06-17 Joel Sherrill <joel@OARcorp.com>
* libchip/network/if_dc.c: Begin to convert to new PCI and IRQ
	interface. Also correct attempting to build on other than PowerPC and
	x86.
2005-06-17 14:32:23 +00:00
Joel Sherrill
181601f27d 2005-06-17 Joel Sherrill <joel@OARcorp.com>
* acinclude.m4: Added mcf5235.
2005-06-17 14:30:24 +00:00
Joel Sherrill
df8ba46d8e 2005-06-17 Mike Bertosh <mbertosh@motioncontrol.org>
* ChangeLog, Makefile.am, configure.ac, preinstall.am: Addition of
	mcf5235 support.
	* mcf5235/include/mcf5235.h: New file.
2005-06-17 14:07:56 +00:00
Joel Sherrill
1612af0f62 2005-06-17 Mike Bertosh <mbertosh@motioncontrol.org>
* .cvsignore, ChangeLog, Makefile.am, README, bsp_specs, configure.ac,
	clock/clock.c, console/console.c, include/bsp.h, include/coverhd.h,
	include/tm27.h, network/network.c, start/start.S, startup/bspclean.c,
	startup/bspstart.c, startup/init5235.c, startup/linkcmds,
	startup/linkcmdsflash, startup/linkcmdsram, timer/timer.c: New files.
2005-06-17 14:06:05 +00:00
Joel Sherrill
af28e68eaf 2005-06-16 Daron Chabot <daron@nucleus.usask.ca>
* libchip/Makefile.am: Add driver for Tulip clones.
	* libchip/network/README.tulipclone, libchip/network/if_dc.c,
	libchip/network/if_dcreg.h: New files.
2005-06-16 20:09:36 +00:00
Joel Sherrill
44b4cf4c2d 2005-06-06 Philippe Simons <loki_666@fastmail.fm>
* Makefile.am: Include lcd.rel.
2005-06-06 14:16:30 +00:00
Joel Sherrill
b2a4e861dc 2005-06-01 Philippe Simons <loki_666@fastmail.fm>
* Makefile.am: Add s3c2400/lcd/lcd.c, s3c2400/clock/support.c
	* s3c2400/clock/clockdrv.c: Update to use get_PCLK()
	* s3c2400/timer/timer.c: Update to use get_PCLK()
2005-06-02 13:45:53 +00:00
Joel Sherrill
32cf23b18e 2005-06-01 Philippe Simons <loki_666@fastmail.fm>
* bsp_specs: Add rules for cpp support
	* include/bsp.h: Add gp32 support fct prototypes
	* console/conio.c: Moved video buffer to 0x0c7ed000
	* startup/bspstart.c: Add some init code, some cleaning...
2005-06-02 13:41:35 +00:00
Joel Sherrill
8d3dd7a498 2005-05-26 Joel Sherrill <joel@OARcorp.com>
PR 799/bsps
	* include/bsp.h: Add include of bsp/vectors.h so rdbg.h can be
	compiled.
2005-05-26 17:14:09 +00:00
Ralf Corsepius
34c48523b8 2005-05-26 Ralf Corsepius <ralf.corsepius@rtems.org>
* include/bsp.h: New header guard.
2005-05-26 05:36:48 +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
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
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
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
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
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
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
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
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
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
Joel Sherrill
a67e01e325 2005-05-11 Joel Sherrill <joel@OARcorp.com>
* startup/linkcmds: Add .rodata.* sections.
2005-05-11 16:44:37 +00:00
Joel Sherrill
2b677d99a9 2005-05-11 Joel Sherrill <joel@OARcorp.com>
* startup/linkcmds: Add .data.* sections.
2005-05-11 16:39:44 +00:00
Eric Norum
d00b37d0de Followup fix to Joel's earlier _VBR changes. 2005-05-11 13:40:29 +00:00
Ralf Corsepius
4beccab78d 2005-05-11 Ralf Corsepius <ralf.corsepius@rtems.org>
* libchip/Makefile.am: Include preinstall.am.
	* libchip/preinstall.am: New.
2005-05-11 12:36:30 +00:00
Ralf Corsepius
77c5415c77 Include preinstall.am. 2005-05-11 12:36:11 +00:00
Ralf Corsepius
ae34873182 New. 2005-05-11 12:35:55 +00:00
Ralf Corsepius
3851080da6 2005-05-11 Ralf Corsepius <ralf.corsepius@rtems.org>
* include/tm27.h: Elininate unsigned32.
2005-05-11 12:31:26 +00:00
Ralf Corsepius
76923639ef 2005-05-11 Ralf Corsepius <ralf.corsepius@rtems.org>
* vme/vmeconfig.c: Eliminate unsigned32.
2005-05-11 12:26:46 +00:00
Ralf Corsepius
17cbdc0a6e Remove. 2005-05-11 08:56:16 +00:00
Ralf Corsepius
3c27de02ac 2005-05-11 Ralf Corsepius <ralf.corsepius@rtems.org>
* Makefile.am: Merge-in mcf5282/Makefile.am.
	* preinstall.am: Regenerate.
	* mcf5282/Makefile.am: Remove.
	* configure.ac: Remove mcf5282/Makefile.
2005-05-11 08:53:07 +00:00