Commit Graph

9690 Commits

Author SHA1 Message Date
Joel Sherrill
b321b10e3d 2009-03-12 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1385/cpukit
	* shared/irq/irq_asm.S: When the type rtems_boolean was switched to the
	C99 bool, the size changed from 4 bytes to 1 byte. The interrupt
	dispatching code accesses two boolean variables for scheduling
	purposes and the assembly implementations of this code did not get
	updated.
2009-03-12 14:33:05 +00:00
Joel Sherrill
01d1ae3610 2009-03-12 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1385/cpukit
	* shared/irq/irq_asm.S: When the type rtems_boolean was switched to the
	C99 bool, the size changed from 4 bytes to 1 byte. The interrupt
	dispatching code accesses two boolean variables for scheduling
	purposes and the assembly implementations of this code did not get
	updated.
2009-03-12 14:18:32 +00:00
Joel Sherrill
1ba9d1bb5c 2009-03-12 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1385/cpukit
	* irq/irq_asm.S: When the type rtems_boolean was switched to the C99
	bool, the size changed from 4 bytes to 1 byte. The interrupt
	dispatching code accesses two boolean variables for scheduling
	purposes and the assembly implementations of this code did not get
	updated.
2009-03-12 14:18:28 +00:00
Joel Sherrill
d2c730f846 2009-03-12 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1385/cpukit
	* startup/exception.S: When the type rtems_boolean was switched to the
	C99 bool, the size changed from 4 bytes to 1 byte. The interrupt
	dispatching code accesses two boolean variables for scheduling
	purposes and the assembly implementations of this code did not get
	updated.
2009-03-12 14:18:21 +00:00
Joel Sherrill
96f2d87a59 2009-03-10 Eric Norum <norume@aps.anl.gov>
* bootcard.c: Swap order of RTEMS Workspace and Malloc Heap. This
	allows the potential for sbrk() to extend the heap area. This
	actually is done on PowerPC BSPs with more than 32MB which use
	dynamic loading.
2009-03-10 17:40:06 +00:00
Joel Sherrill
cdb6eae1e3 2009-03-09 Sebastian Huber <sebastian.huber@embedded-brains.de>
* include/bsp.h: Added missing include.
2009-03-09 17:00:20 +00:00
Joel Sherrill
94da794635 2009-03-09 Antoine Lacroix <antoine.lacroix at sodern.fr>
PR 1391/bsps
	* startup/spurious.c: Format was %d but had leading 0x.
2009-03-09 16:53:27 +00:00
Eric Norum
ac4dd0b331 With Till, Joel and Eric all trying to fix this file things seem
to have been mangled.  I believe that the this version fixes things.
2009-03-05 22:27:19 +00:00
Till Straumann
05b0c8a6dd 2009-03-05 Till Straumann <strauman@slac.stanford.edu>
* include/bsp.h, start/start.S, startup/bspstart.c:
	removed BSP_INIT_STACK_SIZE -- this BSP now also uses
	__stack defined by the linker script for the initial
	stack.
	Removed legacy code (inherited from old mvme2307 BSP
	but not relevant to this one) that tested trapping
	into PPCBug.
2009-03-05 21:17:55 +00:00
Till Straumann
0f2852d08d 2009-03-05 Till Straumann <strauman@slac.stanford.edu>
* startup/misc.c, flash/flashcfg.c, irq/irq_init.c,
	pci/detect_host_bridge.c: changed function arguments
	to silence compiler warnings.
2009-03-05 21:15:17 +00:00
Till Straumann
b0d9310de7 2009-03-05 Till Straumann <strauman@slac.stanford.edu>
* bootcard.c: use aligned heap_start (instead of
	original heap_start) when calculating default heap
	size (to take into account loss due to alignment).
2009-03-05 21:10:07 +00:00
Till Straumann
6987eeccf1 2009-03-05 Till Straumann <strauman@slac.stanford.edu>
* startup/misc.c, flash/flashcfg.c, irq/irq_init.c,
	pci/detect_host_bridge.c: changed function arguments
	to silence compiler warnings.
2009-03-05 21:07:01 +00:00
Till Straumann
7e7f6d7147 2009-03-05 Till Straumann <strauman@slac.stanford.edu>
* vmeUniverse/vmeTsi148.h, vmeUniverse/vmeTsi148.c:
	fixed function declarations to silence compiler
	warnings.
2009-03-05 21:05:13 +00:00
Till Straumann
ad82bec5d1 - must return original memory size in *heap_size_p if policy == -1 2009-03-05 20:09:59 +00:00
Thomas Doerfler
21ae805dc1 * shared/clock/clock.c: Standard decrementer exception is now more
robust against erroneous external exception disable times.
2009-03-05 13:45:06 +00:00
Joel Sherrill
b96bd98f46 2009-03-02 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, console/console.c: Use shared polled console framework.
2009-03-03 12:20:30 +00:00
Joel Sherrill
f0f8e4deb2 2009-03-02 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, preinstall.am, include/bsp.h, startup/setvec.c: Now
	compiles again but applications do not link.
2009-03-03 00:10:56 +00:00
Joel Sherrill
188a3fc62f 2009-03-02 Till Straumann <strauman@slac.stanford.edu>
PR 1375/bsps
	* clock/clock.c: Correct implementation of nanoseconds since last tick
	handler.
2009-03-02 18:57:11 +00:00
Joel Sherrill
27d29e18b8 2009-03-02 Daniel Hellstrom <daniel@gaisler.com>
PR 1390/bsps
	* startup/linkcmds: Fix sections so C++ global constructors and
	destructors work with late model (>= 4.3) gcc versions.
2009-03-02 17:27:54 +00:00
Joel Sherrill
bdc8d46647 2009-03-02 Ray Xu <rayx.cn@gmail.com>
* shared/irq/irq_asm.S: Newer compilers handle alignment better.
2009-03-02 17:10:31 +00:00
Joel Sherrill
b900586702 2009-03-02 Ray Xu <rayx.cn@gmail.com>
PR 1380/bsps
	* include/bsp.h: Switch to English comments.
2009-03-02 17:03:10 +00:00
Joel Sherrill
eb148a2680 2009-02-27 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am: Remove unnecessary copy of cpu_asm.S
	* console/Modif_cpu_asm.S: Removed.
2009-02-27 19:19:46 +00:00
Joel Sherrill
08ed3c3ece 2009-02-27 Daniel Hellstrom <daniel@gaisler.com>
PR 1386/bsps
	* shared/start.S: Stack space not correctly initialized. Causes
	failures on unoptimized applications.
2009-02-27 15:33:08 +00:00
Joel Sherrill
5d01560bb4 2009-02-27 Joel Sherrill <joel.sherrill@OARcorp.com>
* bspgetworkarea.c: Add check to determine if current stack pointer is
	in work area.
2009-02-27 15:09:37 +00:00
Joel Sherrill
67cad729e6 2009-02-27 Joel Sherrill <joel.sherrill@OARcorp.com>
* shared/startup/bspgetworkarea.c: Add check to determine if current
	stack pointer is in work area.
2009-02-27 15:09:14 +00:00
Thomas Doerfler
949166d6c0 added missing files 2009-02-27 12:12:08 +00:00
Thomas Doerfler
9647f7feac * README: Added NCS.
* Makefile.am, configure.ac, preinstall.am: Added BSP variants.
	* console/console-config.c, clock/clock-config.c, ssp/ssp.c: Fixed
	register settings.  Cleanup.
	* include/bsp.h: Added network defines and functions.
	* include/lpc24xx.h: Added AHB and EMC defines.  Fixed Ethernet status
	sizes.
	* include/system-clocks.h, misc/system-clocks.c: Added micro seconds
	delay function that uses Timer 1.  Changed PLL setup.
	* network/network.c, startup/bspreset.c, startup/linkcmds.lpc2478,
	startup/linkcmds.lpc2478_ncs, startup/linkcmds.lpc2478_ncs_ram: New
	files.
	* startup/bspstart.c: Added EMC initialization.  Changes for ROM boot.
2009-02-27 11:26:44 +00:00
Thomas Doerfler
92cbf96514 * bsp_specs: Added crtbegin.o and crtend.o to support global C++
constructors and destructors.
2009-02-27 11:25:30 +00:00
Thomas Doerfler
ca5bcd88a0 PR 1356
* libchip/i2c/spi-sd-card.c: Added support for high capacity and MMC
	cards.
2009-02-27 11:10:46 +00:00
Joel Sherrill
9cc70d8007 2009-02-26 Joel Sherrill <joel.sherrill@OARcorp.com>
* startup/cpu.c: Now compiles. Does not run.
2009-02-26 21:16:03 +00:00
Joel Sherrill
5d64375f71 2009-02-26 Joel Sherrill <joel.sherrill@oarcorp.com>
* shared/clock/ckinit.c, shared/start/start.S, shared/timer/timer.c:
	Run better on simulator. Timer is probably not right yet but
2009-02-26 20:45:48 +00:00
Joel Sherrill
be9f085602 2009-02-26 Joel Sherrill <joel.sherrill@oarcorp.com>
* configure.ac, include/bsp.h: Run better on simulator. Timer is
	probably not right yet but
2009-02-26 20:45:44 +00:00
Joel Sherrill
9f127d2123 2009-02-26 Joel Sherrill <joel.sherrill@OARcorp.com>
* shared/startup/bspgetworkarea.c: Make debug messages same as
	standard.
2009-02-26 17:38:05 +00:00
Joel Sherrill
7b1d93dbe9 2009-02-26 Joel Sherrill <joel.sherrill@OARcorp.com>
* irq/irq.c: Add bsp_interrupt_handler_default() so this BSP will link.
2009-02-26 17:37:43 +00:00
Joel Sherrill
b7beebfddb 2009-02-25 Joel Sherrill <joel.sherrill@OARcorp.com>
* clock/clock.c, include/bsp.h: Make bsp idle thread names match.
2009-02-25 22:22:47 +00:00
Joel Sherrill
0b05a31d2e 2009-02-25 Joel Sherrill <joel.sherrill@oarcorp.com>
* shared/clock/ckinit.c: Use shared Clock Driver Template and support
	fast idle on simulator.
2009-02-25 21:32:53 +00:00
Joel Sherrill
4ce40845d3 2009-02-25 Joel Sherrill <joel.sherrill@oarcorp.com>
* README: Add fast idle information.
2009-02-25 21:32:22 +00:00
Joel Sherrill
74133389c8 2009-02-25 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, configure.ac: Add SIMULATOR_FAST_IDLE,
	BSP_PRESS_KEY_FOR_RESET, and BSP_RESET_BOARD_AT_EXIT. Use the standard
	bsp_cleanup code.
	* README: New file.  Include instructions on gdb simulator.
2009-02-25 21:31:23 +00:00
Ralf Corsepius
36944ecddd 2009-02-25 Ralf Corsépius <ralf.corsepius@rtems.org>
* Makefile.am: Rework.
2009-02-25 16:08:07 +00:00
Ralf Corsepius
a057a6c912 2009-02-23 Ralf Corsépius <ralf.corsepius@rtems.org>
* include/bsp.h: Conditionally include rtems/rtems_bsdnet.h.
2009-02-23 16:47:05 +00:00
Ralf Corsepius
12aa044fc8 Conditionally include rtems/rtems_bsdnet.h. 2009-02-23 16:46:05 +00:00
Ralf Corsepius
f8d9da42b8 2009-02-23 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Add RTEMS_CHECK_NETWORKING.
	* Makefile.am: Rework.
2009-02-23 16:46:04 +00:00
Ralf Corsepius
a825e53356 Rework. 2009-02-23 16:45:59 +00:00
Ralf Corsepius
f4249583fa Add RTEMS_CHECK_NETWORKING. 2009-02-23 16:45:48 +00:00
Joel Sherrill
09b73cf9c7 2009-02-21 Michael Walle <michael@walle.cc>
* startup/linkcmds: Add new sections.
2009-02-21 14:02:11 +00:00
Ralf Corsepius
4ee7d75bce 2009-02-17 Ralf Corsépius <ralf.corsepius@rtems.org>
* Makefile.am: Fix breakage introduced in 2009-02-13 changes.
2009-02-20 16:47:37 +00:00
Joel Sherrill
a62222fb51 2009-02-19 Joel Sherrill <joel.sherrill@oarcorp.com>
* shared/irq/irq.c, shared/irq/irq.h, shared/irq/irq_asm.S: Add shared
	interrupt support to i386.
2009-02-19 20:22:25 +00:00
Joel Sherrill
9bb39026a8 2009-02-19 Joel Sherrill <joel.sherrill@oarcorp.com>
* shared/irq/irq.c: Spacing.
2009-02-19 20:19:03 +00:00
Joel Sherrill
66913da28a 2009-02-19 Joel Sherrill <joel.sherrill@oarcorp.com>
* libchip/network/dec21140.c, libchip/network/elnk.c: Make sure this is
	enabled on x86.
2009-02-19 19:25:53 +00:00
Joel Sherrill
f6cef3aff9 2009-02-17 Till Straumann <strauman@slac.stanford.edu>
PR 1371/bsps
	* network/network.c: mvme167 network driver buggy.
2009-02-17 18:37:02 +00:00