Commit Graph

17715 Commits

Author SHA1 Message Date
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
eb7ee96a75 2009-03-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
* libcsupport/src/malloc_initialize.c: Fixed invalid function
	parameter.
2009-03-05 12:16:22 +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
b7f49f7ed4 2009-03-02 Joel Sherrill <joel.sherrill@oarcorp.com>
* cpu_asm.S: Eliminate extern of unused variables.
2009-03-02 18:34:12 +00:00
Joel Sherrill
7246c8e997 2009-03-02 Joel Sherrill <joel.sherrill@oarcorp.com>
* libcsupport/src/malloc_initialize.c, score/Makefile.am,
	score/include/rtems/score/protectedheap.h,
	score/inline/rtems/score/heap.inl: Get total heap size correct when
	using unified C Program Heap and RTEMS Workspace.
	* score/src/pheapgetsize.c: New file.
2009-03-02 18:10:34 +00:00
Joel Sherrill
6387939e5c 2009-03-02 Joel Sherrill <joel.sherrill@OARcorp.com>
* cdtest/main.cc: Use printk() in global destructors since printf() no
	longer works.
2009-03-02 17:28:28 +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
8c324aa647 2009-03-02 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1388/cpukit
	* sp09/screen05.c, sp09/screen09.c, sp09/sp09.scn: Classic Semaphores
	allow both priority inherit and ceiling attributes to be set on
	semaphore create. These attributes are mutually exclusive and this
	should be an error.
2009-03-02 16:12:49 +00:00
Joel Sherrill
e93d791135 2009-03-02 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1388/cpukit
	* rtems/src/semcreate.c: Classic Semaphores allow both priority inherit
	and ceiling attributes to be set on semaphore create. These
	attributes are mutually exclusive and this should be an error.
2009-03-02 16:12:41 +00:00
Joel Sherrill
657d23e380 2009-03-02 Joel Sherrill <joel.sherrill@OARcorp.com>
* user/.cvsignore: Add Object ID PDF files.
2009-03-02 15:04:02 +00:00
Joel Sherrill
f547bc8a1f 2009-03-02 Joel Sherrill <joel.sherrill@oarcorp.com>
* cpu.c: Remove stray semi-colon.
2009-03-02 12:12:17 +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
fd234b864c 2009-02-27 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems/score/cpu.h: AVR stack grows down.
2009-02-27 18:19:33 +00:00
Joel Sherrill
1fb9fa1c82 2009-02-27 Joel Sherrill <joel.sherrill@oarcorp.com>
* posix_users/preface.texi, shell/preface.texi: Add stock
	acknowledgement paragraphs that are required when excerpting and
	reusing text from POSIX standards per the agreement at
	* common/opengroup_manpage_acknowledgement.texi,
	common/opengroup_preface_acknowledgement.texi: New files.
2009-02-27 18:04:44 +00:00
Joel Sherrill
78de087927 Format. 2009-02-27 16:44:55 +00:00
Joel Sherrill
f2d37869d0 2009-02-27 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1387/doc
	* user/intr.t: Add Interrupt Manager services to list of services
	callable from ISR.
2009-02-27 16:02:28 +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
7a18a320e4 Adapt to modified shell configuration 2009-02-27 11:13:52 +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
Thomas Doerfler
cd4ed38422 * rtems/powerpc/registers.h: Added Freescale Book E Implementation
Standards (EIS) special purpose register definitions for MMU and L1
	cache.
2009-02-27 11:06:21 +00:00
Thomas Doerfler
06f8e558b7 * libmisc/shell/shell.c, libmisc/shell/shell.h: Changed type for
boolean values from 'int' to 'bool'.  Added option 'login' to enable or
	disable a login prompt.  Changed intialization of global shell
	environment to static initialization.  Changed stack size type to
	'size_t' conforming to classic API.

	* libmisc/shell/shellconfig.h: Fixed some typos.
2009-02-27 11:03:57 +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
d35ffd6856 Regenerate. 2009-02-25 07:42:28 +00:00
Ralf Corsepius
8ac2414dac Bump GDB_RPMREL. 2009-02-25 07:42:16 +00:00
Ralf Corsepius
d334010610 Disable lm32 simulator on mingw32. 2009-02-25 07:41:06 +00:00