Commit Graph

23622 Commits

Author SHA1 Message Date
Joel Sherrill
600bd1bb59 PR 2011/networking GRETH: Moved print to remove potential deadlock
Deadlock may arise when the EDCL bug link is used to tunnel
console output over Ethernet, when Ethernet is down one should
avoid using console (only during debugging of LEON targets)

Author: Marko Isomaki <marko@gaisler.com>
Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
2012-02-02 13:05:24 -06:00
Daniel Hellstrom
2b2e409d8d LEON3: change d-cache snoop detect implementation
PR 2010/bsps

The previous code only checked if d-cache snooping was implemented,
however snooping may be available but not enabled which may lead
to driver bugs.

Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
2012-02-02 12:08:15 -06:00
Joel Sherrill
735b0ca5f4 White space correction. 2012-02-02 11:00:49 -06:00
Daniel Hellstrom
54a169db92 LEON3: CPU index intialization moved to bspstart.c
PR 2009/bsps

All LEON3/4 systems have a CPU-id, if on a single-CPU system the
ID is always zero. On a multicore system it ranges from 0 to 15.

The CPU index should always by updated even in a non-MP RTEMS OS
since the CPU running RTEMS may not always be CPU0. For example
when RTEMS runs on CPU1 and Linux on CPU0 in a mixed ASMP system.

The old code executed within the IRQ controller initialization code
makes no sense since the ASR register is a CPU register, it has
nothing to do with AMBA initialization either.

Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
2012-02-02 10:55:06 -06:00
Daniel Hellstrom
6d79be5112 LEON3: fix compiler warning in SHM driver
PR 2008/bsps

Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
2012-02-02 10:33:41 -06:00
Daniel Hellstrom
2a68f53afa LEON3BSP MP: may wake one more CPU than expected
The SHM code always wakes one CPU more that configured, however
this has never been a problem since RTEMS will be running on all CPUs
or only two cores were available.

PR 2006/bsps

Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
2012-02-02 10:15:50 -06:00
Sebastian Huber
1052242d23 Removed fpathconf file system node handler.
There existed no calling function for this handler.
2012-02-02 15:55:33 +01:00
Joel Sherrill
184a612ebe Merge remote branch 'remotes/origin/gitignore' 2012-02-02 08:17:25 -06:00
Sebastian Huber
72a3af3e42 Extended API to support iteration of const chains. 2012-02-02 11:09:30 +01:00
Joel Sherrill
52694844ce Improve comments on console select patch. 2012-02-01 15:03:18 -06:00
Joel Sherrill
d1887bafc0 Improve comments on console select patch. 2012-02-01 15:02:03 -06:00
Jennifer Averett
441b90e6c9 Correct run-time selection of console port.
This was broken by conversion of console driver to libchip style.
2012-02-01 14:32:28 -06:00
Joel Sherrill
61250b4ce9 Remove all .cvsignore files. 2012-02-01 10:59:44 -06:00
Joel Sherrill
34ce24e222 Add minimal .gitignore files. 2012-02-01 10:49:55 -06:00
Joel Sherrill
41572c40c3 Fix spelling error and improve comment. 2012-01-31 15:15:20 -06:00
Sebastian Huber
77c2178501 Fixed race condition during startup. 2012-01-31 11:25:15 +01:00
Sebastian Huber
be42aa1aef Revert "Google C++ Testing Framework 1.6.0."
This reverts commit 9bf3a86865.
2012-01-26 09:58:10 +01:00
Sebastian Huber
78384114f2 Revert "Support custom Makefiles."
This reverts commit 621e1c9b74.
2012-01-26 09:57:57 +01:00
Sebastian Huber
f4491f945e Revert "Disable optimization."
This reverts commit 8ae88d7f96.
2012-01-26 09:57:19 +01:00
Sebastian Huber
a762dc2a49 Support for MPC5643L.
Rework of the start sequence to reduce the amount assembler code and to
support configuration tables which may be provided by the application.
2012-01-23 11:19:22 +01:00
Sebastian Huber
9bf3a86865 Google C++ Testing Framework 1.6.0. 2012-01-23 10:50:19 +01:00
Sebastian Huber
621e1c9b74 Support custom Makefiles. 2012-01-23 10:50:15 +01:00
Sebastian Huber
8ae88d7f96 Disable optimization. 2012-01-23 10:50:11 +01:00
Sebastian Huber
0180806481 Update due to API changes. 2012-01-23 10:50:07 +01:00
Chris Johns
6dde1121f3 Change the email address for Chris Johns. 2012-01-20 12:53:09 +11:00
Joel Sherrill
70fff65ff6 2011-12-14 Joel Sherrill <joel.sherrilL@OARcorp.com>
* Makefile.am: Change to one file per line. Clean up.
2011-12-14 19:23:49 +00:00
Sebastian Huber
3b057ea2db Typo. 2011-12-14 13:19:52 +00:00
Sebastian Huber
46231e1330 2011-12-14 Sebastian Huber <sebastian.huber@embedded-brains.de>
PR 1924/cpukit
	* spstkalloc02/.cvsignore, spstkalloc02/Makefile.am,
	spstkalloc02/init.c, spstkalloc02/spstkalloc02.doc,
	spstkalloc02/spstkalloc02.scn: New files.
	* Makefile.am, configure.ac: Reflect changes above.
2011-12-14 13:18:01 +00:00
Sebastian Huber
9fa3cf0db8 2011-12-14 Sebastian Huber <sebastian.huber@embedded-brains.de>
PR 1924/cpukit
	* sapi/include/rtems/config.h: Added stack_allocate_init_hook to
	rtems_configuration_table.
	* sapi/include/confdefs.h: Added CONFIGURE_TASK_STACK_FROM_ALLOCATOR
	and CONFIGURE_TASK_STACK_ALLOCATOR_INIT defines.  Set default stack
	allocator and free hook to _Workspace_Allocate() and _Workspace_Free()
	respectively.
	* score/src/thread.c, score/src/threadstackallocate.c,
	score/src/threadstackfree.c: Update due to API changes.
2011-12-14 13:17:19 +00:00
Sebastian Huber
f55595e489 2011-12-14 Sebastian Huber <sebastian.huber@embedded-brains.de>
* termios01/init.c: Update due to API changes.  Fixed integer types.
	Make functions static.  Added const qualifier.
2011-12-14 12:58:21 +00:00
Sebastian Huber
3538e191ab 2011-12-14 Sebastian Huber <sebastian.huber@embedded-brains.de>
* libcsupport/src/termios_setinitialbaud.c: Fixed typo.
2011-12-14 09:22:43 +00:00
Sebastian Huber
40f8b21ef4 2011-12-14 Sebastian Huber <sebastian.huber@embedded-brains.de>
* libcsupport/include/rtems/termiostypes.h,
	libcsupport/src/termios_baud2num.c,
	libcsupport/src/termios_baudtable.c,
	libcsupport/src/termios_num2baud.c,
	libcsupport/src/termios_setinitialbaud.c: Added const qualifier to
	baud associations.  Fixed integer types.
2011-12-14 08:50:49 +00:00
Ralf Corsepius
fc8f39e684 Regenerate. 2011-12-14 06:25:54 +00:00
Ralf Corsepius
380d93c855 Bump GDB_RPMREL. 2011-12-14 06:25:13 +00:00
Ralf Corsepius
56cdf03bd0 Disable system-readline on EL5 with gdb >= 7.3.91. 2011-12-14 06:24:04 +00:00
Ralf Corsepius
427033509f readline-6.1.2-2. 2011-12-14 04:52:16 +00:00
Ralf Corsepius
edbf1c65cd Work-around gdb-7.3.91 bug. 2011-12-13 18:09:29 +00:00
Ralf Corsepius
d45c69aad1 Regenerate. 2011-12-13 18:08:46 +00:00
Ralf Corsepius
664d321a69 gdb-7.3.91. 2011-12-13 18:08:16 +00:00
Ralf Corsepius
eb9f72c763 New. 2011-12-13 18:07:31 +00:00
Sebastian Huber
3df4d7424a 2011-12-13 Sebastian Huber <sebastian.huber@embedded-brains.de>
* sapi/include/confdefs.h: Fixed workspace size estimate of tasks.
2011-12-13 14:37:03 +00:00
Sebastian Huber
03cc73a695 2011-12-13 Sebastian Huber <sebastian.huber@embedded-brains.de>
* psxconfig01/init.c: Create floating point tasks.
2011-12-13 14:33:42 +00:00
Sebastian Huber
b98d399f3c 2011-12-13 Sebastian Huber <sebastian.huber@embedded-brains.de>
* posix/src/mqueuenametoid.c,
	posix/src/semaphorenametoid.c: Removed files.
	* posix/src/psxnametoid.c: New file.
	* posix/Makefile.am: Reflect changes above.
	* posix/include/rtems/posix/config.h: Fixed integer types.
	* posix/include/rtems/posix/posixapi.h: Declare _POSIX_Name_to_id().
	* posix/include/rtems/posix/mqueue.h,
	posix/inline/rtems/posix/mqueue.inl: Changed parameter of
	_POSIX_Message_queue_Create_support().
	_POSIX_Message_queue_Name_to_id() is now inline.
	* posix/include/rtems/posix/semaphore.h,
	posix/inline/rtems/posix/semaphore.inl: Changed parameter of
	_POSIX_Semaphore_Create_support().  _POSIX_Semaphore_Name_to_id() is
	now inline.
	* posix/src/mqueuecreatesupp.c, posix/src/semaphorecreatesupp.c: Use
	_Workspace_String_duplicate().
	* posix/src/mqueuesendsupp.c, posix/src/mqueueopen.c,
	posix/src/mqueueunlink.c, posix/src/seminit.c, posix/src/semopen.c,
	posix/src/semunlink.c: Update due to API changes.
2011-12-13 12:56:53 +00:00
Ralf Corsepius
3007610e4e 2011-12-13 Ralf Corsépius <ralf.corsepius@rtems.org>
* make/custom/qoriq.inc: Remove -W* flags.
2011-12-13 12:17:54 +00:00
Ralf Corsepius
b3dbca32f2 2011-12-13 Ralf Corsépius <ralf.corsepius@rtems.org>
* math/init.c, mathf/init.c, mathl/init.c: Move configuration section.
	* math/domath.c, mathf/domathf.c,  mathl/domathl.c: Regenerate.
	* math/domath.in: Generate domath* prototype.
2011-12-13 12:11:10 +00:00
Ralf Corsepius
fa011f35d5 2011-12-13 Ralf Corsépius <ralf.corsepius@rtems.org>
* libchip/i2c/spi-memdrv.c: Make
	spi_memdrv_minor2param_ptr, spi_memdrv_wait_ms static.
	* libchip/i2c/spi-sd-card.c: Make
	sd_card_compute_crc7, sd_card_compute_crc16 static.
2011-12-13 12:00:13 +00:00
Sebastian Huber
517bf089dc 2011-12-13 Sebastian Huber <sebastian.huber@embedded-brains.de>
* sapi/include/confdefs.h: Fixed workspace size estimate of POSIX keys
	and message queues.
2011-12-13 10:52:21 +00:00
Ralf Corsepius
9c2d082ba9 2011-12-13 Ralf Corsépius <ralf.corsepius@rtems.org>
* complex/init.c: Move configuration section.
	* complex/docomplex.c, complex/docomplexf.c, complex/docomplexl.c:
	Regenerate.
2011-12-13 10:49:25 +00:00
Sebastian Huber
5f818ec1be 2011-12-13 Sebastian Huber <sebastian.huber@embedded-brains.de>
* psxmsgq04/init.c: Fixed allocation of second message queue.
2011-12-13 10:49:13 +00:00
Ralf Corsepius
23e0b66505 2011-12-13 Ralf Corsépius <ralf.corsepius@rtems.org>
* complex/docomplex.in: Generate prototype docomplex* prototype.
2011-12-13 10:40:46 +00:00