Commit Graph

9917 Commits

Author SHA1 Message Date
Joel Sherrill
9c2eacafea 2009-05-03 Joel Sherrill <joel.sherrill@oarcorp.com>
* libchip/rtc/ds1375.c, libchip/rtc/mc146818a.c: Fix warnings. Reformat
	as needed.
2009-05-04 00:53:45 +00:00
Joel Sherrill
81fb3d3646 2009-05-03 Joel Sherrill <joel.sherrill@oarcorp.com>
* shared/start.S: Checked and OK.
2009-05-04 00:50:49 +00:00
Chris Johns
92c70b96b6 2009-04-29 Chris Johns <chrisj@rtems.org>
* libchip/ide/ata.c: Remove a detection test that fails in qemu.

        * libchip/ide/ide_controller.c: Change the status detection and
        add a message if the transfer fails. There is currently no error
        handle at the IDE drvier level.
2009-04-29 08:36:45 +00:00
Chris Johns
288146576b 2009-04-28 Chris Johns <chrisj@rtems.org>
* Makefile.am: Add bspinit.c, a common Init task that manages
        command line arguments from a BSP.
2009-04-28 06:36:25 +00:00
Chris Johns
a4ed6b112d 2009-04-28 Chris Johns <chrisj@rtems.org>
* startup/main.c: Update for boot_card command line change.
2009-04-28 06:35:34 +00:00
Chris Johns
68e2707701 2009-04-28 Chris Johns <chrisj@rtems.org>
* shared/start/start.S: Update for boot_card command line change.
2009-04-28 06:35:06 +00:00
Chris Johns
2549b4d9a8 2009-04-28 Chris Johns <chrisj@rtems.org>
* bootcard.c, include/bootcard.h: Remove argc/argv/envp and
        replace with a single BSP boot command line a BSP can optionally
        support.
2009-04-28 06:34:38 +00:00
Chris Johns
820d1ab084 2009-04-28 Chris Johns <chrisj@rtems.org>
* start/start.S: Update for boot_card command line change.
2009-04-28 06:34:00 +00:00
Chris Johns
976b1594f1 2009-04-28 Chris Johns <chrisj@rtems.org>
* startup/start.S: Update for boot_card command line change.
2009-04-28 06:33:16 +00:00
Chris Johns
0aa4b0fd61 2009-04-28 Chris Johns <chrisj@rtems.org>
* dlentry/dlentry.S: Update for boot_card command line change.
2009-04-28 06:32:31 +00:00
Chris Johns
c5612edf0b 2009-04-28 Chris Johns <chrisj@rtems.org>
* start/start.S, startup/start_c.c: Update for boot_card command
        line change.
2009-04-28 06:28:46 +00:00
Chris Johns
6d3245b623 2009-04-28 Chris Johns <chrisj@rtems.org>
* startup/cpuboot.c: Update for boot_card command line change.
2009-04-28 06:28:20 +00:00
Chris Johns
90819e8010 2009-04-28 Chris Johns <chrisj@rtems.org>
* startup/init5329.c: Update for boot_card command line change.
2009-04-28 06:27:52 +00:00
Chris Johns
bcd1228d90 2009-04-28 Chris Johns <chrisj@rtems.org>
* startup/init52235.c: Update for boot_card command line change.
2009-04-28 06:27:15 +00:00
Chris Johns
010e93365a 2009-04-28 Chris Johns <chrisj@rtems.org>
* shared/start/start.S: Update for boot_card command line change.
2009-04-28 06:23:04 +00:00
Chris Johns
1c5ebc5421 2009-04-28 Chris Johns <chrisj@rtems.org>
* Makefile.am: Add bspcmdline.c.
        * include/bsp.h: Add boot command line interfaces.
        * start/start.c: Save the multiboot command line. Pass the command
        line to boot_card.
        * start/start.S: Update for boot_card command line change.
        * startup/bspstart.c: Initialise the command line.
        * startup/bspcmdline.c: New.
        * console/console.c, ide/idecfg.c: Add boot command line support.
2009-04-28 06:20:35 +00:00
Chris Johns
a263aa724d 2009-04-28 Chris Johns <chrisj@rtems.org>
* startup/linkcmds: Add .data.* for the C++ test.
        * include/bsp.c: Add BSP_SMALL_MEMORY.
2009-04-28 04:56:22 +00:00
Ralf Corsepius
1cb0671023 2009-04-15 Ralf Corsépius <ralf.corsepius@rtems.org>
* leaf.cfg: Remove hard-coded .exe.
2009-04-15 08:31:09 +00:00
Thomas Doerfler
07001bab80 adapt name of assert function for breakpoint 2009-04-14 09:46:58 +00:00
Joel Sherrill
ca23484f0f 2009-04-06 Michael Walle <michael@walle.cc>
* shared/start/start.S: Now calls boot_card.
2009-04-06 21:33:48 +00:00
Joel Sherrill
69722ac959 2009-04-06 Joel Sherrill <joel.sherrill@oarcorp.com>
* startup/linkcmds: Move stack so it does not overlap workarea.
2009-04-06 15:25:56 +00:00
Joel Sherrill
7c48db8d29 2009-03-30 Joel Sherrill <joel.sherrill@oarcorp.com>
* startup/linkcmds: Stack was overlapping work area.
2009-03-30 14:10:54 +00:00
Joel Sherrill
d785ce4a56 2009-03-26 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, console/console.c, startup/linkcmds: Now links but
	clearly the starting stack overlaps regular memory and needs to be
	moved.
2009-03-26 11:18:03 +00:00
Joel Sherrill
8b074ee693 2009-03-25 Joel Sherrill <joel.sherrill@OARcorp.com>
* startup/linkcmds: Start of RTEMS Work Area must be on 16 byte
	boundary on the SPARC.
2009-03-25 17:56:04 +00:00
Thomas Doerfler
ce7d6e62b7 * start/start.S, include/hwreg_vals.h, startup/cpuinit.c:
correct some init values for HSC_CM01 boards
2009-03-19 10:49:55 +00:00
Joel Sherrill
a33af586f1 2009-03-12 Daniel Hellstrom <daniel@gaisler.com>
PR 1392/bsps
	* libchip/i2c/spi-memdrv.c: SPI Memory driver. Fix but where writes
	over multiple pages results in extra data being written.
2009-03-12 15:42:51 +00:00
Joel Sherrill
f0a90bbba7 2009-03-12 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1385/cpukit
	* mpc5xx/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:14 +00:00
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