Commit Graph

7914 Commits

Author SHA1 Message Date
Till Straumann
afd4c7bbff * vmeUniverse/vme_am_defs.h: Added address modifiers for 2eVME. Added
flags for 2eSST and DBW16.

	* vmeUniverse/vmeUniverse.h: Removed AM definitions and include vme_am_defs.h
	instead. Declare new routine vmeUniverseMapCRG(). Export 'irq manager' API
	only if __INSIDE_RTEMS_BSP__ defined. Renamed 'shared' argument to
	vmeUniverseInstallIrqMgrAlt() to 'flags' since now more options are available.
	Added new flag to install 'posted-write' workaround.

	* vmeUniverse/vmeUniverse.c: Allow BSP to override BSP_PCI2LOCAL_ADDR()
	macro. Data width of outbound port can now be restricted to 16-bit
	(if new DBW16 flag set in address modifier). Added vmeUniverseMapCRG()
	for mapping local registers onto VME. Interrupt manager now implements
	a workaround (enabled at installation time) which flushes the write-fifo
	after user ISR returns. This requires the universe's registers to be
	accessible from VME (either CSR space or CRG mapped to A16/A24/A32),
	though.

	* vmeUniverse/vmeTsi148.h: vmeTsi148ClearVMEBusErrors() now returns
	the fault address as a 32-bit address (not ulonglong anymore). The
	driver only supports 32-bit addresses. Declare new routine vmeTsi148MapCRG().
	Export 'irq manager' API only if __INSIDE_RTEMS_BSP__ defined.
	Renamed 'shared' argument to vmeTsi148InstallIrqMgrAlt() to 'flags'
	to allow more options to be supported. Added comments explaining the
	'posted-write' workaround implemented by the interrupt manager.

	* vmeUniverse/vmeTsi148.c: Clear 'SYSFAIL' during initialization.
	Allow BSP to override BSP_PCI2LOCAL_ADDR() macro. Added support for
	2eSST when configuring windows (untested - I have no 2eSST).
	Added vmeTsi148MapCRG() for mapping local registers onto VME.
	Implemented 'posted-write' workaround for interrupt manager
	(consult source for details).
2006-12-13 20:04:05 +00:00
Joel Sherrill
600a241e3b 2006-12-13 Joel Sherrill <joel@OARcorp.com>
* librtems++/include/rtems++/rtemsEvent.h,
	librtems++/include/rtems++/rtemsMessageQueue.h,
	librtems++/include/rtems++/rtemsSemaphore.h,
	librtems++/include/rtems++/rtemsTask.h, librtems++/src/rtemsEvent.cc,
	librtems++/src/rtemsMessageQueue.cc,
	librtems++/src/rtemsSemaphore.cc, librtems++/src/rtemsTask.cc: Change
	rtems_unsigned32 to uint32_t.
2006-12-13 15:52:00 +00:00
Joel Sherrill
5e11c97dcf 2006-12-13 Joel Sherrill <joel@OARcorp.com>
PR 1181/bsps
	* optman/rtems/no-msg.c: Clean up dead code.
2006-12-13 14:48:55 +00:00
Joel Sherrill
460cd5b728 2006-12-13 Joel Sherrill <joel@OARcorp.com>
PR 1190/bsps
	* bootcard.c: Remove status since unused.
2006-12-13 14:46:41 +00:00
Ralf Corsepius
0ab63e5040 2006-12-13 Ralf Corsépius <ralf.corsepius@rtems.org>
* network/network.c, startup/imbx8xx.c: Minor warning fixes.
2006-12-13 14:43:44 +00:00
Joel Sherrill
71ce7e7586 2006-12-13 Alexey Shamrin <shamrin@gmail.com>
PR 1189/bsps
	* console/outch.c: If you print a character with the code larger than
	127 (extended ASCII) to the VGA console, then it blinks. The reason:
	char == signed char, so such characters get represented by negative
	numbers. The sign bit then goes to attribute byte, resulting in the
	blinking.
2006-12-13 12:35:01 +00:00
Ralf Corsepius
294de470b4 2006-12-13 Ralf Corsépius <ralf.corsepius@rtems.org>
* aclocal/rtems-ampolish.m4: Use am_aux_dir/ampolish3.
2006-12-13 05:39:19 +00:00
Ralf Corsepius
b25d6119f2 Use am_aux_dir/ampolish3. 2006-12-13 05:37:07 +00:00
Ralf Corsepius
062f670537 2006-12-12 Ralf Corsépius <ralf.corsepius@rtems.org>
* aclocal/rtems-ampolish.m4: Require AM_MAINTAINER_MODE.
	* aclocal/rtems-top.m4: Remove RTEMS_AMPOLISH.
	* aclocal/project-root.m4: Require RTEMS_AMPOLISH.
2006-12-13 02:21:10 +00:00
Ralf Corsepius
a7529cedc7 Require RTEMS_AMPOLISH. 2006-12-13 02:20:29 +00:00
Ralf Corsepius
4db0f6f328 Remove RTEMS_AMPOLISH. 2006-12-13 02:19:13 +00:00
Ralf Corsepius
ff01b21f7c Require AM_MAINTAINER_MODE. 2006-12-13 02:18:46 +00:00
Ralf Corsepius
6b1e9217f6 2006-12-12 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Add RTEMS_AMPOLISH3.
2006-12-12 14:48:05 +00:00
Ralf Corsepius
f1d96dbdf1 Add RTEMS_AMPOLISH3. 2006-12-12 14:47:57 +00:00
Ralf Corsepius
34e7be2b4f 2006-12-12 Ralf Corsépius <ralf.corsepius@rtems.org>
* shared/irq/idt.c: unsigned limits to match with
	  i386_get_info_from_IDTR.
2006-12-12 10:43:30 +00:00
Ralf Corsepius
0b933d6a03 2006-12-12 Ralf Corsépius <ralf.corsepius@rtems.org>
* include/bsp.h: Use uint32_t instead of unsigned32.
2006-12-12 10:26:29 +00:00
Ralf Corsepius
ec76139c06 Use uint32_t instead of unsigned32. 2006-12-12 10:26:18 +00:00
Ralf Corsepius
4ce019ce69 2006-12-12 Ralf Corsépius <ralf.corsepius@rtems.org>
* console/debugputs.c, shmsupp/getcfg.c, shmsupp/lock.c,
	timer/timer.c: Use uint32_t instead of rtems_unsigned32/unsigned32.
2006-12-12 10:24:26 +00:00
Ralf Corsepius
1408ea8de8 Use uint32_t instead of rtems_unsigned32/unsigned32. 2006-12-12 10:24:16 +00:00
Ralf Corsepius
b8e42a7699 2006-12-12 Ralf Corsépius <ralf.corsepius@rtems.org>
* console/console.c, timer/timer.c: Use uint32_t instead of
	  rtems_unsigned32/unsigned32.
2006-12-12 10:22:18 +00:00
Ralf Corsepius
fcb0cd462c 2006-12-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: New BUG-REPORT address.
2006-12-02 06:06:55 +00:00
Joel Sherrill
fe6f68cf15 Fix formatting. 2006-11-30 16:05:50 +00:00
Till Straumann
43ea3692ce * vmeUniverse/vmeTsi148.h: user now must define a symbol
for the header to declare 'dump info'-style routine. This
    is in order to avoid pulling in <stdio.h>.
2006-11-30 02:28:49 +00:00
Ralf Corsepius
c73ba8b5b1 Regenerate. 2006-11-20 05:51:08 +00:00
Ralf Corsepius
f6670ed183 2006-11-20 Ralf Corsépius <ralf.corsepius@rtems.org>
* include/coverhd.h: Remove (Use shared default template instead).
2006-11-20 05:50:22 +00:00
Ralf Corsepius
d17f2b5070 2006-11-20 Ralf Corsépius <ralf.corsepius@rtems.org>
* Makefile.am: Remove ampolish3.
2006-11-20 05:47:35 +00:00
Joel Sherrill
76ce226f8c 2006-11-17 Joel Sherrill <joel@OARcorp.com>
* libchip/network/dec21140.c: Fix spacing -- remove long sections of
	blank lines.
2006-11-17 23:08:55 +00:00
Joel Sherrill
3ca2768f1f 2006-11-17 Joel Sherrill <joel@OARcorp.com>
* timer/timer.c: Update timer overhead for start/stop.
2006-11-17 22:46:31 +00:00
Joel Sherrill
d89bfb3b78 2006-11-17 Joel Sherrill <joel@OARcorp.com>
* runtest.in: Change toolname to match 4.8.
2006-11-17 22:46:22 +00:00
Joel Sherrill
3664346e26 2006-11-17 Joel Sherrill <joel@OARcorp.com>
* clock_driver_stub.c, clockdrv_shell.c: Use common clock driver
	template and eliminate all fast idle code specific to this BSP. This
	eliminates a fair amount of code in the BSP clock driver and
	bsp_startup. The LEON3 has to do a scan of the AMBA bus to find the
	timer so I added the new hook Clock_driver_support_find_timer to
	support this. In general, there was some clean up to the file headers
	of various files.
2006-11-17 22:44:10 +00:00
Joel Sherrill
ad19e3c0ad 2006-11-17 Joel Sherrill <joel@OARcorp.com>
* psim, psim-gdb, runtest: Change toolname to match 4.8.
2006-11-17 22:42:54 +00:00
Joel Sherrill
248b6a41a5 2006-11-17 Joel Sherrill <joel@OARcorp.com>
* runtest: Change toolname to match 4.8.
2006-11-17 22:42:18 +00:00
Joel Sherrill
461c916743 2006-11-17 Joel Sherrill <joel@OARcorp.com>
* clock/clockdrv.c: Add copyright.
2006-11-17 22:41:41 +00:00
Joel Sherrill
9824dafe0e 2006-11-16 Joel Sherrill <joel@OARcorp.com>
* shared/bspstart.c, shared/start.S: Use common clock driver template
	and eliminate all fast idle code specific to this BSP. This
	eliminates a fair amount of code in the BSP clock driver and
	bsp_startup. The LEON3 has to do a scan of the AMBA bus to find the
	timer so I added the new hook Clock_driver_support_find_timer to
	support this. In general, there was some clean up to the file headers
	of various files.
2006-11-16 16:31:38 +00:00
Joel Sherrill
29d1fcee5e 2006-11-16 Joel Sherrill <joel@OARcorp.com>
* clock/ckinit.c, startup/bspstart.c: Use common clock driver template
	and eliminate all fast idle code specific to this BSP. This
	eliminates a fair amount of code in the BSP clock driver and
	bsp_startup. The LEON3 has to do a scan of the AMBA bus to find the
	timer so I added the new hook Clock_driver_support_find_timer to
	support this. In general, there was some clean up to the file headers
	of various files.
2006-11-16 16:31:36 +00:00
Joel Sherrill
2d4b256e1a 2006-11-16 Joel Sherrill <joel@OARcorp.com>
* clock/ckinit.c: Use common clock driver template and eliminate all
	fast idle code specific to this BSP. This eliminates a fair amount of
	code in the BSP clock driver and bsp_startup. The LEON3 has to do a
	scan of the AMBA bus to find the timer so I added the new hook
	Clock_driver_support_find_timer to support this. In general, there
	was some clean up to the file headers of various files.
2006-11-16 16:31:34 +00:00
Joel Sherrill
74b09f1ca9 2006-11-16 Joel Sherrill <joel@OARcorp.com>
* clock/ckinit.c, console/console.c: Use common clock driver template
	and eliminate all fast idle code specific to this BSP. This
	eliminates a fair amount of code in the BSP clock driver and
	bsp_startup. The LEON3 has to do a scan of the AMBA bus to find the
	timer so I added the new hook Clock_driver_support_find_timer to
	support this. In general, there was some clean up to the file headers
	of various files.
2006-11-16 16:31:32 +00:00
Joel Sherrill
aa4369c1b5 2006-11-15 Joel Sherrill <joel@OARcorp.com>
* Makefile.am: Merge c_rtems_main() into boot_card(). This eliminated a
	file and simplified initialization.
2006-11-15 15:24:01 +00:00
Joel Sherrill
920fb9c25b 2006-11-15 Joel Sherrill <joel@OARcorp.com>
* shared/startup/bspstart.c: Merge c_rtems_main() into boot_card().
	This eliminated a file and simplified initialization.
2006-11-15 15:21:24 +00:00
Joel Sherrill
9b86dabd73 2006-11-15 Joel Sherrill <joel@OARcorp.com>
* Makefile.am, irq/irq.h: Merge c_rtems_main() into boot_card(). This
	eliminated a file and simplified initialization.
2006-11-15 15:21:12 +00:00
Joel Sherrill
66d973ffbe 2006-11-15 Joel Sherrill <joel@OARcorp.com>
* bootcard.c: Merge c_rtems_main() into boot_card(). This eliminated a
	file and simplified initialization.
	* main.c: Removed.
2006-11-15 15:20:05 +00:00
Ralf Corsepius
3b6c3329f7 2006-11-15 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Remove RTEMS_AMPOLISH3.
	* aclocal/bsp-configure.m4: AC_PREREQ(2.60).
	  Remove checks for AMPOLISH3.
	* aclocal/rtems-ampolish.m4: Pick up ampolish3 from ac_aux_dir.
	* aclocal/rtems-top.m4: Add RTEMS_AMPOLISH3.
	* ampolish3: Remove.
2006-11-15 14:35:56 +00:00
Ralf Corsepius
498057d001 Remove. 2006-11-15 14:35:15 +00:00
Ralf Corsepius
4b02af0f2b Add RTEMS_AMPOLISH3. 2006-11-15 14:34:44 +00:00
Ralf Corsepius
633bae48f4 Pick up ampolish3 from ac_aux_dir. 2006-11-15 14:34:23 +00:00
Ralf Corsepius
d4e28828b9 AC_PREREQ(2.60).
Remove checks for AMPOLISH3.
2006-11-15 14:34:00 +00:00
Ralf Corsepius
7a00d74e3b Remove RTEMS_AMPOLISH3. 2006-11-15 14:33:30 +00:00
Ralf Corsepius
64d01b9c32 Regenerate. 2006-11-15 11:03:09 +00:00
Ralf Corsepius
e4a0c4e9a1 2006-11-15 Ralf Corsépius <ralf.corsepius@rtems.org>
* aclocal/target.m4: Remove RTEMS_OUTPUT_BUILD_SUBDIRS.
2006-11-15 09:55:27 +00:00
Ralf Corsepius
71986114ad 2006-11-15 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Use AC_CONFIG_HEADER instead of AM_CONFIG_HEADER.
2006-11-15 09:47:09 +00:00