Commit Graph

7665 Commits

Author SHA1 Message Date
Joel Sherrill
5fa10f2db6 2005-07-18 Lars Munch <lars@segv.dk>
PR 813/networking
	* ne2000/ne2000.c: The ne2000 driver on pc386 has been broken since a
	parameter was added to irq handlers (2005-04-18). Before these
	changes the argument to the interrupt handler was the interrupt
	number, now the argument is handle, but the ne2000 driver needs the
	interrupt number. The fix is to set the handle to the interrupt
	number.
2005-07-18 14:34:41 +00:00
Joel Sherrill
fb875a8585 2005-07-08 Joel Sherrill <joel@OARcorp.com>
* Makefile.am: Eliminate duplicate entry for include_mcf5235... .
2005-07-08 21:39:58 +00:00
Joel Sherrill
b0a95a55ef 2005-06-17 Joel Sherrill <joel@OARcorp.com>
* mpc5xx/vectors/vectors.h: Add hack to avoid warning.
2005-07-08 21:38:50 +00:00
Philippe Simons
a617dac1e3 2005-07-07 Philippe Simons <loki_666@fastmail.fm>
* lcd/lcd.c: removed.
2005-07-07 22:21:35 +00:00
Philippe Simons
4bc22a6d75 2005-07-07 Philippe Simons <loki_666@fastmail.fm>
* Makefile.am: Remove lcd.rel, added console/uart.c,
	removed conio stuffs.
	* console/conio.c, console/console.c, console/defaultfont.c,
	include/conio.h : files removed.
	* console/uart.c: New file.
	* include/bsp.h: lcd.c prototypes removed.
	* startup/bspstart.c: bsp_reset() cause gp32 to reset to bios,
	added a bsp_idle_task which put s3c2400 in a "wait for IRQ" state.
2005-07-07 22:07:11 +00:00
Philippe Simons
1f18710404 2005-07-07 Philippe Simons <loki_666@fastmail.fm>
* Makefile.am: Remove s3c2400/lcd/lcd.c
	* s3c2400/lcd/lcd.c: Remove.
	* s3c2400/clock/support.c: file "rewrote" to avoid GPL.
2005-07-07 21:20:38 +00:00
Joel Sherrill
2732040d90 2005-07-06 Markku Puro <markku.puro@kopteri.net>
* acinclude.m4: Added GBA BSP.
2005-07-06 18:46:41 +00:00
Joel Sherrill
3c7ed6b8cd 2005-07-06 Markku Puro <markku.puro@kopteri.net>
* .cvsignore, ChangeLog, Makefile.am, README, bsp_specs, configure.ac,
	clock/clockdrv.c, console/conio.c, console/console.c,
	console/defaultfont.c, include/arm_mode_bits.h, include/asm_macros.h,
	include/bsp.h, include/bspopts.h.in, include/conio.h, include/gba.h,
	include/gba_registers.h, include/tm27.h, irq/bsp_irq_asm.S,
	irq/bsp_irq_init.c, irq/irq.c, irq/irq.h, irq/irq_asm.S,
	irq/irq_init.c, start/logo.S, start/start.S, startup/bspstart.c,
	startup/cpu.c, startup/cpu_asm.S, startup/exit.c, startup/linkcmds,
	timer/timer.c: New files.
2005-07-06 18:46:04 +00:00
Ralf Corsepius
63a45384a5 2005-07-06 Ralf Corsepius <ralf.corsepius@rtems.org>
* console/keyboard.c: Apply CHAR_BIT to compute BITS_PER_LONG.
2005-07-06 11:34:10 +00:00
Ralf Corsepius
320124feb5 2005-07-06 Ralf Corsepius <ralf.corsepius@rtems.org>
* console/console-io.c: Remove unused variable i.
2005-07-06 11:29:20 +00:00
Eric Norum
728e17740c Enable CS1* and CS2* now that Arcturus bootstrap PROMs no longer take care of that for us. 2005-07-06 00:17:28 +00:00
Eric Norum
d0f01d2f08 Add description of external interrupt request assignments. 2005-06-30 11:53:12 +00:00
Eric Norum
57519eac82 Reflect changes to network driver. 2005-06-29 22:00:17 +00:00
Eric Norum
5eb336b142 Drive LEDs with more useful information. 2005-06-29 20:44:25 +00:00
Eric Norum
81291a01e4 Add duplex negotation support. 2005-06-29 20:09:14 +00:00
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