Commit Graph

10437 Commits

Author SHA1 Message Date
Thomas Doerfler
2f5435a42f add support for mpc551x based GW_LCFM system 2010-03-25 20:26:00 +00:00
Thomas Doerfler
e95368e854 change this BSP to use the decrementer as clock source 2010-03-22 16:21:00 +00:00
Eric Norum
cf293d1562 Fix hex constants. 2010-03-16 15:53:48 +00:00
Joel Sherrill
8c5358013e 2010-03-12 Joel Sherrill <joel.sherrill@oarcorp.com>
* libchip/network/i82586.c: Readdress use of ctype methods per
	recommendation from D.J. Delorie on the newlib mailing list. We
	should pass an unsigned char into these methods.
2010-03-12 16:27:24 +00:00
Thomas Doerfler
337853429d various changes 2010-03-12 08:26:18 +00:00
Thomas Doerfler
1d110280cc Fixed IO configurations 2010-03-12 08:25:53 +00:00
Thomas Doerfler
171090c425 Fixed _CPU_cache_disable_data() 2010-03-12 08:25:09 +00:00
Joel Sherrill
39b8611978 2010-03-11 Joel Sherrill <joel.sherrill@oarcorp.com>
* libchip/ide/ide_controller.c: Fix warnings for uninitialized
	variable.
2010-03-11 19:17:39 +00:00
Joel Sherrill
8a3a92dcfb 2010-03-11 Joel Sherrill <joel.sherrill@oarcorp.com>
* libchip/network/i82586.c: Fix warnings for ctype methods.
2010-03-11 19:13:04 +00:00
Joel Sherrill
543f17b391 2010-03-10 Marc Pignat <marc.pignat@hevs.ch>
PR 1488/bsps
	* start/start.S: Micromon on bf537 uses DMA for UART reception.
	This prevents the UART driver in RTEMS from working (and also
	causes received characters to be stored in a buffer that RTEMS
	doesn't know about, so it's potentially dangerous, but in practice
	the risk is small since an RTEMS app intended to be booted from
	Micromon would normally be configured to leave the RAM Micromon
	uses reserved).  The attached patch corrects this by disabling
	all DMA channels at startup.
2010-03-10 17:22:05 +00:00
Joel Sherrill
ee07b99715 2010-03-10 Gedare Bloom <gedare@gwu.edu>
PR 1495/bsp
	* clock/ckinit.c, make/custom/pc386.cfg: Calling
	rtems_clock_get_uptime() in a tight loop sometimes showed time moving
	backwards.
2010-03-10 17:16:02 +00:00
Joel Sherrill
5deb608389 2010-03-10 Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1497/bsps
	* startup/bspreset.c: Do not enable interrupts while waiting for board
	to reset.
2010-03-10 16:39:13 +00:00
Joel Sherrill
3080a7c740 2010-03-04 Joel Sherrill <joel.sherrill@oarcorp.com>
* README: CONFIGURE_DISABLE_CLASSIC_NOTEPADS is typo of
	CONFIGURE_DISABLE_CLASSIC_API_NOTEPADS. Fix it.
2010-03-04 14:41:51 +00:00
Joel Sherrill
965dc555f1 2010-02-26 Joel Sherrill <joel.sherrill@oarcorp.com>
* smc/smc.c: Replace EBADRQC with EINVAL.
2010-02-26 14:23:23 +00:00
Thomas Doerfler
28b38f3c30 combine all checks for missing MAC address
enable FPU, if POSIX init task present
 explicitly disable all edge port interrupts
2010-02-25 11:01:35 +00:00
Chris Johns
37c0822dc2 2010-02-19 Chris Johns <chrisj@rtems.org>
* libchip/ide/ide_controller.c: Create the devices as block
        devices.
2010-02-19 03:19:12 +00:00
Till Straumann
1bab8a6df1 2010-02-09 Till Straumann <strauman@slac.stanford.edu>
* network/tsec.c: Added code to restart halted DMA
	after a TX error (from error-isr). Added statistics
	counters for restarts and DMA bus errors.
2010-02-10 01:59:57 +00:00
Till Straumann
5068f3f994 2010-02-09 Till Straumann <strauman@slac.stanford.edu>
* network/if_mve/mv643xx_eth.c: Fixed alignment attribute
	in descriptor declaration. Not the pointers to the descriptors
	have to be aligned but the descriptors themselves (didn't
	cause problems but caused unnecessary holes in 'private' struct).

	FIX: Added more robustness when number of available TX descriptors
	drops to zero. (This can e.g., happen if the link goes bad causing
	packets to stall in the FIFO.) At the following points the transmitter
	is explicitly (re-)started:
	  o when link comes up and number of available TXDs is zero the
	    TX is restarted.
	  o on a failed attempt to send data due to lack of TXDs the
	    TX is restarted if swiping the TX ring doesn't yield any
	    buffers (i.e., if the # of available buffers is still zero
	    after the swipe).
2010-02-10 00:15:06 +00:00
Ralf Corsepius
33369234cd 2010-02-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* make/custom/lpc32xx_phycore.cfg: Remove -W* flags.
2010-02-02 15:56:21 +00:00
Thomas Doerfler
f1eb199a2e Update of libblock API, update of tqm8xx BSP 2010-01-19 09:12:41 +00:00
Thomas Doerfler
de592aa6f1 tqm8xx BSP fixes 2010-01-19 09:11:34 +00:00
Thomas Doerfler
1ba96ef99a Update for block device API change. 2010-01-19 09:10:56 +00:00
Thomas Doerfler
5c587596f0 libblock API update 2010-01-19 09:10:03 +00:00
Thomas Doerfler
61df726b16 add missing file 2010-01-12 15:17:47 +00:00
Thomas Doerfler
39c8fdb416 add support for lpc32xx 2010-01-12 15:03:22 +00:00
Joel Sherrill
fe83cef683 2010-01-11 Allan Hessenflow <allanh@kallisti.com>
* serial/spi.c, serial/spi.h:
	Fill in skeleton with functional SPI master code.
	* include/spiRegs.h:
	Correct spi shadow register declaration.
2010-01-11 16:14:47 +00:00
Joel Sherrill
e1ddc14b08 2009-12-23 Joel Sherrill <joel.sherrill@oarcorp.com>
* include/bsp.h: Add BSP_HAS_FRAME_BUFFER.
2009-12-23 17:33:41 +00:00
Joel Sherrill
2687028949 2009-12-22 Sebastian Huber <sebastian.huber@embedded-brains.de>
* include/rtems++/rtemsEvent.h, include/rtems++/rtemsMessageQueue.h:
	Fixed timeout calculation.
2009-12-22 13:12:57 +00:00
Thomas Doerfler
1e0a5512fc Update for block device API change 2009-12-18 15:59:30 +00:00
Joel Sherrill
57674ef62e 2009-12-17 Joel Sherrill <joel.sherrill@oarcorp.com>
* libchip/network/greth.c: Eliminate unused type
	rtems_clock_time_value.
2009-12-17 20:35:40 +00:00
Joel Sherrill
e38b77ce20 2009-12-17 Joel Sherrill <joel.sherrill@oarcorp.com>
* include/bspopts.h.in: Regenerated.
2009-12-17 20:24:32 +00:00
Thomas Doerfler
93d2801be7 adapted to new _write function prototype 2009-12-17 09:51:32 +00:00
Thomas Doerfler
39a9f8ea12 adapted to new prototype for *_write function 2009-12-17 08:42:17 +00:00
Thomas Doerfler
b056194ce3 add missing files 2009-12-16 08:10:29 +00:00
Thomas Doerfler
85893bca07 removed obsolete file (moved to arm/shared/lpc/clock) 2009-12-15 15:25:45 +00:00
Thomas Doerfler
c468f18bb7 add support for LPC32xx 2009-12-15 15:20:47 +00:00
Joel Sherrill
3a23218a74 2009-12-14 Joel Sherrill <joel.sherrill@oarcorp.com>
* mptests/mp01/node1/mp01_node1.adb, mptests/mp01/node2/mp01_node2.adb,
	mptests/mp02/node1/mp02_node1.adb, mptests/mp02/node2/mp02_node2.adb,
	mptests/mp03/node1/mp03_node1.adb, mptests/mp03/node2/mp03_node2.adb,
	mptests/mp04/node1/mp04_node1.adb, mptests/mp04/node2/mp04_node2.adb,
	mptests/mp05/mptest.adb, mptests/mp05/node1/mp05_node1.adb,
	mptests/mp05/node2/mp05_node2.adb, mptests/mp06/node1/mp06_node1.adb,
	mptests/mp06/node2/mp06_node2.adb, mptests/mp07/node1/mp07_node1.adb,
	mptests/mp07/node2/mp07_node2.adb, mptests/mp08/node1/mp08_node1.adb,
	mptests/mp08/node2/mp08_node2.adb, mptests/mp09/node1/mp09_node1.adb,
	mptests/mp09/node2/mp09_node2.adb, mptests/mp10/node1/mp10_node1.adb,
	mptests/mp10/node2/mp10_node2.adb, mptests/mp11/node1/mp11_node1.adb,
	mptests/mp11/node2/mp11_node2.adb, mptests/mp12/node1/mp12_node1.adb,
	mptests/mp12/node2/mp12_node2.adb, mptests/mp13/node1/mp13_node1.adb,
	mptests/mp13/node2/mp13_node2.adb, mptests/mp14/mptest.adb,
	mptests/mp14/node1/mp14_node1.adb, mptests/mp14/node2/mp14_node2.adb,
	sptests/sp09/sptest.adb, sptests/sp11/sptest.adb,
	sptests/sp13/sptest.adb, sptests/sp16/sptest.adb,
	support/test_support.adb: Lines are now all less than 80 columns.
2009-12-14 21:28:54 +00:00
Joel Sherrill
110e1f1dfe 2009-12-14 Joel Sherrill <joel.sherrill@oarcorp.com>
* samples/base_sp/sptest.adb, samples/hello/sptest.adb,
	samples/nsecs/sptest.adb, samples/ticker/sptest.adb,
	sptests/sp01/sptest.adb, sptests/sp02/sptest.adb,
	sptests/sp03/sptest.adb, sptests/sp04/sptest.adb,
	sptests/sp05/sptest.adb, sptests/sp06/sptest.adb,
	sptests/sp07/sptest.adb, sptests/sp08/sptest.adb,
	sptests/sp09/sptest.adb, sptests/sp11/sptest.adb,
	sptests/sp12/sptest.adb, sptests/sp13/sptest.adb,
	sptests/sp14/sptest.adb, sptests/sp15/sptest.adb,
	sptests/sp16/sptest.adb, sptests/sp17/sptest.adb,
	sptests/sp19/sptest.adp, sptests/sp20/sptest.adb,
	sptests/sp22/sptest.adb, sptests/sp23/sptest.adb,
	sptests/sp24/sptest.adb, sptests/sp25/sptest.adb,
	sptests/spname01/spname01.adb, sptests/spname01/sptest.adb,
	sptests/spname01/sptest.ads, support/address_io.adb, support/init.c,
	support/test_support.adb, support/test_support.ads,
	support/time_test_support.adb, support/timer_driver.adb,
	tmtests/tm01/tmtest.adb, tmtests/tm01/tmtest.ads,
	tmtests/tm02/tmtest.adb, tmtests/tm02/tmtest.ads,
	tmtests/tm03/tmtest.adb, tmtests/tm03/tmtest.ads,
	tmtests/tm04/tmtest.adb, tmtests/tm04/tmtest.ads,
	tmtests/tm05/tmtest.adb, tmtests/tm05/tmtest.ads,
	tmtests/tm06/tmtest.adb, tmtests/tm06/tmtest.ads,
	tmtests/tm07/tmtest.adb, tmtests/tm07/tmtest.ads,
	tmtests/tm08/tmtest.adb, tmtests/tm08/tmtest.ads,
	tmtests/tm09/tmtest.adb, tmtests/tm09/tmtest.ads,
	tmtests/tm10/tmtest.adb, tmtests/tm10/tmtest.ads,
	tmtests/tm11/tmtest.adb, tmtests/tm11/tmtest.ads,
	tmtests/tm12/tmtest.adb, tmtests/tm12/tmtest.ads,
	tmtests/tm13/tmtest.adb, tmtests/tm13/tmtest.ads,
	tmtests/tm14/tmtest.adb, tmtests/tm14/tmtest.ads,
	tmtests/tm15/tmtest.adb, tmtests/tm15/tmtest.ads,
	tmtests/tm16/tmtest.adb, tmtests/tm16/tmtest.ads,
	tmtests/tm17/tmtest.adb, tmtests/tm17/tmtest.ads,
	tmtests/tm18/tmtest.adb, tmtests/tm18/tmtest.ads,
	tmtests/tm19/tmtest.adb, tmtests/tm19/tmtest.ads,
	tmtests/tm20/tmtest.adb, tmtests/tm20/tmtest.ads,
	tmtests/tm21/tmtest.adb, tmtests/tm21/tmtest.ads,
	tmtests/tm22/tmtest.adb, tmtests/tm22/tmtest.ads,
	tmtests/tm23/tmtest.adb, tmtests/tm23/tmtest.ads,
	tmtests/tm24/tmtest.adb, tmtests/tm24/tmtest.ads,
	tmtests/tm25/tmtest.adb, tmtests/tm25/tmtest.ads,
	tmtests/tm28/tmtest.adb, tmtests/tm28/tmtest.ads,
	tmtests/tm29/tmtest.adb, tmtests/tm29/tmtest.ads,
	tmtests/tmck/tmtest.adb, tmtests/tmck/tmtest.ads,
	tmtests/tmoverhd/dummy_rtems.adb, tmtests/tmoverhd/tmtest.adb,
	tmtests/tmoverhd/tmtest.ads: Remove many warnings.
2009-12-14 21:17:59 +00:00
Joel Sherrill
221db54a51 2009-12-14 Joel Sherrill <joel.sherrill@oarcorp.com>
* mptests/mp01/node1/Makefile.am, mptests/mp01/node2/Makefile.am,
	mptests/mp02/node1/Makefile.am, mptests/mp02/node2/Makefile.am,
	mptests/mp03/node1/Makefile.am, mptests/mp03/node2/Makefile.am,
	mptests/mp04/node1/Makefile.am, mptests/mp04/node2/Makefile.am,
	mptests/mp05/node1/Makefile.am, mptests/mp05/node2/Makefile.am,
	mptests/mp06/node1/Makefile.am, mptests/mp06/node2/Makefile.am,
	mptests/mp07/node1/Makefile.am, mptests/mp07/node2/Makefile.am,
	mptests/mp08/node1/Makefile.am, mptests/mp08/node2/Makefile.am,
	mptests/mp09/node1/Makefile.am, mptests/mp09/node2/Makefile.am,
	mptests/mp10/node1/Makefile.am, mptests/mp10/node2/Makefile.am,
	mptests/mp11/node1/Makefile.am, mptests/mp11/node2/Makefile.am,
	mptests/mp12/node1/Makefile.am, mptests/mp12/node2/Makefile.am,
	mptests/mp13/node1/Makefile.am, mptests/mp13/node2/Makefile.am,
	mptests/mp14/node1/Makefile.am, mptests/mp14/node2/Makefile.am,
	samples/base_mp/Makefile.am, samples/base_mp/node1/Makefile.am,
	samples/base_mp/node2/Makefile.am, samples/base_sp/Makefile.am,
	samples/hello/Makefile.am, samples/nsecs/Makefile.am,
	samples/ticker/Makefile.am, sptests/sp01/Makefile.am,
	sptests/sp02/Makefile.am, sptests/sp03/Makefile.am,
	sptests/sp04/Makefile.am, sptests/sp05/Makefile.am,
	sptests/sp06/Makefile.am, sptests/sp07/Makefile.am,
	sptests/sp08/Makefile.am, sptests/sp09/Makefile.am,
	sptests/sp11/Makefile.am, sptests/sp12/Makefile.am,
	sptests/sp13/Makefile.am, sptests/sp14/Makefile.am,
	sptests/sp15/Makefile.am, sptests/sp16/Makefile.am,
	sptests/sp17/Makefile.am, sptests/sp19/Makefile.am,
	sptests/sp20/Makefile.am, sptests/sp22/Makefile.am,
	sptests/sp23/Makefile.am, sptests/sp24/Makefile.am,
	sptests/sp25/Makefile.am, sptests/spname01/Makefile.am,
	tmtests/tm01/Makefile.am, tmtests/tm02/Makefile.am,
	tmtests/tm03/Makefile.am, tmtests/tm04/Makefile.am,
	tmtests/tm05/Makefile.am, tmtests/tm06/Makefile.am,
	tmtests/tm07/Makefile.am, tmtests/tm08/Makefile.am,
	tmtests/tm09/Makefile.am, tmtests/tm10/Makefile.am,
	tmtests/tm11/Makefile.am, tmtests/tm12/Makefile.am,
	tmtests/tm13/Makefile.am, tmtests/tm14/Makefile.am,
	tmtests/tm15/Makefile.am, tmtests/tm16/Makefile.am,
	tmtests/tm17/Makefile.am, tmtests/tm18/Makefile.am,
	tmtests/tm19/Makefile.am, tmtests/tm20/Makefile.am,
	tmtests/tm21/Makefile.am, tmtests/tm22/Makefile.am,
	tmtests/tm23/Makefile.am, tmtests/tm24/Makefile.am,
	tmtests/tm25/Makefile.am, tmtests/tm28/Makefile.am,
	tmtests/tm29/Makefile.am, tmtests/tmck/Makefile.am,
	tmtests/tmoverhd/Makefile.am: Update so all tests build.
2009-12-14 18:28:03 +00:00
Thomas Doerfler
5ea4e632da get vital data from dBUG monitor for COBRA5475 board 2009-12-14 14:57:55 +00:00
Thomas Doerfler
44c28e7a81 emoved ppc_exc_bspsupp.h include file 2009-12-14 14:52:32 +00:00
Thomas Doerfler
8e46b093b5 Removed new-exceptions/bspsupport/ppc_exc_bspsupp.h 2009-12-14 14:51:50 +00:00
Joel Sherrill
0a7fb3c12d 2009-12-11 Joel Sherrill <joel.sherrill@oarcorp.com>
* clock/ckinit.c: Fix warning.
2009-12-11 20:54:30 +00:00
Joel Sherrill
e0d83f696a 2009-12-11 Joel Sherrill <joel.sherrill@oarcorp.com>
* startup/bspgetworkarea.c: Make bsp_mem_size available for page table
	initialization.
2009-12-11 20:53:03 +00:00
Joel Sherrill
fa62f19c1c 2009-12-11 Joel Sherrill <joel.sherrill@oarcorp.com>
* page.c: Use bsp_mem_size.
2009-12-11 20:52:41 +00:00
Ralf Corsepius
f36eeb35df 2009-12-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* libchip/network/dec21140.c: Warning elimination
	(dec21140_softc->base now is an uint32_t).
2009-12-11 13:05:22 +00:00
Ralf Corsepius
01f8266c14 2009-12-11 Ralf Corsépius <ralf.corsepius@rtems.org>
PR 1483/cpukit
	* shared/include/pci.h: Rename pci_config into rtems_pci_config_t.
2009-12-11 13:02:17 +00:00
Ralf Corsepius
df0243f6de 2009-12-11 Ralf Corsépius <ralf.corsepius@rtems.org>
PR 1483/cpukit
	* pci/pci.c: Rename pci_config into rtems_pci_config_t.
2009-12-11 13:00:27 +00:00
Ralf Corsepius
b80cf5a300 2009-12-11 Ralf Corsépius <ralf.corsepius@rtems.org>
PR 1483/cpukit
	* shared/pci/pci.c: Rename pci_config into rtems_pci_config_t.
2009-12-11 12:58:28 +00:00
Ralf Corsepius
32c347dc15 2009-12-11 Ralf Corsépius <ralf.corsepius@rtems.org>
PR 1483/cpukit
	* shared/pci/pcibios.c: Rename pci_config into rtems_pci_config_t.
2009-12-11 12:55:25 +00:00