Commit Graph
22127 Commits
Author SHA1 Message Date
Joel Sherrill 2bac2a7002 2009-11-16 Alan Cudmore <alan.p.cudmore@nasa.gov>
* startup/init5235.c: Add volatile to prevent newer gcc versions from
	optimizing away.
2009-11-16 20:11:48 +00:00
Ralf Corsepius 5e9c2be3f9 * startup/bspstart.c: Remove local prototypes of promCopyDcacheFlush,
promCopyIcacheFlush.
	* include/bsp.h: Add prototypes of promCopyDcacheFlush and
	promCopyIcacheFlush.
2009-11-16 14:11:16 +00:00
Ralf Corsepius 4edf8db59f 2009-11-16 Ralf Corsépius <ralf.corsepius@rtems.org>
* startup/bspstart.c: Remove nested externs.
	#include <libcpu/isr_entries.h.
2009-11-16 10:09:46 +00:00
Ralf Corsepius 11dde574d7 Regenerate. 2009-11-16 10:04:44 +00:00
Ralf Corsepius e94dc4b58f 2009-11-16 Ralf Corsépius <ralf.corsepius@rtems.org>
* Makefile.am: Add shared/interrupts/isr_entries.h.
2009-11-16 10:04:35 +00:00
Ralf Corsepius b18c45c068 2009-11-16 Ralf Corsépius <ralf.corsepius@rtems.org>
* shared/interrupts/isr_entries.h: New.
2009-11-16 10:03:37 +00:00
Ralf Corsepius 67bf686cc1 New. 2009-11-16 10:03:29 +00:00
Ralf Corsepius ca27f4863b 2009-11-16 Ralf Corsépius <ralf.corsepius@rtems.org>
* shared/interrupts/installisrentries.c: Remove nested externs.
2009-11-16 10:02:27 +00:00
Ralf Corsepius cf18144695 Remove nested externs. 2009-11-16 10:02:21 +00:00
Ralf Corsepius be6a9a2dee 2009-11-16 Ralf Corsépius <ralf.corsepius@rtems.org>
* rtems++/Task3.cc: Use %zu instead of %i to print size_t's.
	Remove bogus cast.
2009-11-16 04:55:17 +00:00
Ralf Corsepius 7eab7adeb9 2009-11-16 Ralf Corsépius <ralf.corsepius@rtems.org>
* rtems++/Task1.cc: Use %zu instead of %i to print size_t's.
2009-11-16 04:51:36 +00:00
Till Straumann 1a1c3fb565 2009-11-15 Till Straumann <strauman@slac.stanford.edu>
* startup/bspstart.c: use normal get_ppc_cpu_type()
	for determining PPC flavor. This causes the appropriate
	'feature' bits to be set and should work as long
	as the PVR is set to 0xfffe0000 in the device tree.

	* startup/linkcmds: increased RAM_SIZE to 32M.
2009-11-15 22:37:19 +00:00
Till Straumann c46c2b636c 2009-11-15 Till Straumann <strauman@slac.stanford.edu>
* shared/include/cpuIdent.c: Set 604 features + altivec if
	running on PSIM.
2009-11-15 22:33:05 +00:00
Ralf Corsepius 87bd3ee83a 2009-11-14 Ralf Corsépius <ralf.corsepius@rtems.org>
* rtems++/Task1.cc: Eliminate more warnings.
2009-11-14 21:54:45 +00:00
Ralf Corsepius 1fcff14ff1 2009-11-14 Ralf Corsépius <ralf.corsepius@rtems.org>
* rtems++/Task1.cc, rtems++/Task2.cc: Spray PRI* macros to eliminate
	several dozens of warnings.
2009-11-14 21:09:34 +00:00
Ralf Corsepius 787519fb7c 2009-11-13 Ralf Corsépius <ralf.corsepius@rtems.org>
* libmisc/capture/capture-cli.c: Cast pointer to intptr_t to
	print it (Casting to int32_t is wrong).
2009-11-13 15:12:53 +00:00
Ralf Corsepius 10b83e6f80 2009-11-13 Ralf Corsépius <ralf.corsepius@rtems.org>
* telnetd/telnetd.c (telnetd_dflt_spawn): Adjust prototype.
2009-11-13 11:57:52 +00:00
Ralf Corsepius d093934163 2009-11-13 Ralf Corsépius <ralf.corsepius@rtems.org>
* block06/init.c: Add missing prototype.
2009-11-13 09:47:57 +00:00
Ralf Corsepius d949482a3c 2009-11-12 Ralf Corsépius <ralf.corsepius@rtems.org>
* libchip/ide/ata.c (rtems_ata_initialize): Avoid implicit cast to uint16_t.
2009-11-12 16:34:24 +00:00
Thomas Doerfler b27799c311 New test case 2009-11-12 15:34:09 +00:00
Thomas Doerfler c0e0a92892 Changed set and get IO controls to use the buffer argument for data exchange. 2009-11-12 15:32:11 +00:00
Ralf Corsepius 8509ec2c5b 2009-11-12 Ralf Corsépius <ralf.corsepius@rtems.org>
* libchip/ide/ata.c (ata_non_data_request): Change arg from int to
	uint32_t (16bit ints are too small).
2009-11-12 15:29:35 +00:00
Ralf Corsepius 3a6f4e2e00 2009-11-12 Ralf Corsépius <ralf.corsepius@rtems.org>
* INSTALL: Remove.
2009-11-12 08:45:35 +00:00
Joel Sherrill ea7d86b245 2009-11-11 Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1466/tests
	* Makefile.am, configure.ac, psxclock/init.c, psxclock/psxclock.doc,
	psxclock/psxclock.scn, psxkey03/init.c, psxsignal02/init.c,
	psxsignal03/init.c, psxstack01/init.c: Remove usleep() from tests.
	Add test specifically to test it since it is deprecated as of
	POSIX.1-2008.
	* psxusleep/.cvsignore, psxusleep/Makefile.am, psxusleep/init.c,
	psxusleep/psxusleep.doc, psxusleep/psxusleep.scn: New files.
2009-11-12 00:21:51 +00:00
Joel Sherrill 0c116189aa 2009-11-11 Sebastian Huber <sebastian.huber@embedded-brains.de>
* libcsupport/Makefile.am, libcsupport/include/rtems/malloc.h,
	libcsupport/src/rtems_malloc.c: New function rtems_malloc().
2009-11-11 20:36:44 +00:00
Joel Sherrill 00735eec31 2009-11-11 Jennifer Averett <jennifer.averett@OARcorp.com>
PR 1471/cpukit
	* libmisc/cpuuse/cpuusagereport.c: Rework statement to ensure 64-bit
	multiplication is used to avoid overflow with intermediate value.
2009-11-11 16:28:06 +00:00
Till Straumann 00d6017bdf 2009-11-11 Till Straumann <strauman@slac.stanford.edu>
* start/start.S: Ensure that initial stack is aligned to
	CPU_STACK_ALIGNMENT.
2009-11-11 14:29:08 +00:00
Till Straumann 131e0467d2 2009-11-11 Till Straumann <strauman@slac.stanford.edu>
* shared/start/start.S: Align initial stack to
	CPU_STACK_ALIGNMENT.
2009-11-11 14:25:09 +00:00
Till Straumann f8427ea233 2009-11-11 Till Straumann <strauman@slac.stanford.edu>
* start/start.S: Ensure that initial stack is aligned to
	CPU_STACK_ALIGNMENT.
2009-11-11 14:20:51 +00:00
Joel Sherrill 48f3027201 2009-11-10 Jennifer Averett <jennifer.averett@OARcorp.com>
PR 1468/cpukit
	* score/src/timespecdividebyinteger.c: Rework statement to ensure
	64-bit multiplication is used.
2009-11-10 23:29:57 +00:00
Joel Sherrill a91e372e9a 2009-11-10 Jennifer Averett <jennifer.averett@OARcorp.com>
PR 1462/cpukit
	* rtems/include/rtems/rtems/ratemon.h, rtems/src/ratemonperiod.c: Fine
	tune previous patch after analysis in application.
2009-11-10 23:27:34 +00:00
Till Straumann b02f4cc11f 2009-11-09 Till Straumann <strauman@slac.stanford.edu>
* cpu.c, cpu_asm.S, rtems/score/cpu.h, sse_test.c:
	Added experimental SSE support.
2009-11-10 06:55:28 +00:00
Till Straumann 4a4201cb41 2009-11-10 Till Straumann <strauman@slac.stanford.edu>
* pc386/make/custom/pc586-sse.cfg, pc386/start/start.S,
	shared/irq/irq_asm.S: Added experimental SSE support.
2009-11-10 06:51:52 +00:00
Till Straumann 70f6ff76e7 2009-11-09 Till Straumann <strauman@slac.stanford.edu>
PR 1469/cpukit
	* cpu.c: Add dummy entry for (non-existing) exception #15.
	Otherwise all slots for vectors >= 16 are one element off.
2009-11-10 04:02:25 +00:00
Thomas Doerfler e6000760b2 Added block05, block06 and block07 2009-11-09 16:27:42 +00:00
Joel Sherrill f20ea02f85 2009-11-09 Joel Sherrill <joel.sherrill@oarcorp.com>
* libfs/src/dosfs/msdos_format.c: Rework to avoid overflow on 16-bit
	targets.
2009-11-09 15:20:54 +00:00
Joel Sherrill eecf752dc3 2009-11-09 Joel Sherrill <joel.sherrill@oarcorp.com>
* libcsupport/src/open_dev_console.c: Use constant numbers to avoid
	overflow when shifting on 16-bit targets.
2009-11-09 15:19:57 +00:00
Joel Sherrill 0610d21ed4 2009-11-09 Joel Sherrill <joel.sherrill@oarcorp.com>
* start/start.S: Remove warning.
2009-11-09 15:18:24 +00:00
Joel Sherrill f3ddd7ba93 2009-11-09 Joel Sherrill <joel.sherrill@oarcorp.com>
* psxcancel01/init.c: Initialize start time.
2009-11-09 15:04:03 +00:00
Joel Sherrill fd3a990a1a 2009-11-09 Joel Sherrill <joel.sherrill@oarcorp.com>
* sapi/src/fatal.c: Formatting.
2009-11-09 15:03:18 +00:00
Joel Sherrill 86436f4427 2009-11-09 Joel Sherrill <joel.sherrill@oarcorp.com>
* score/inline/rtems/score/coremutex.inl,
	score/inline/rtems/score/coresem.inl: Eliminate use of local
	variable. This local variable causes unused variable warnings
	on some ports.
2009-11-09 14:52:28 +00:00
Joel Sherrill 1369978b7f 2009-11-09 Joel Sherrill <joel.sherrill@oarcorp.com>
* support/include/tmacros.h: Add service to check status returned by
	POSIX methods which return a pointer which is -1 on error. This
	eliminated some casts.
2009-11-09 14:49:35 +00:00
Joel Sherrill 96bdacd57d 2009-11-09 Joel Sherrill <joel.sherrill@oarcorp.com>
* psxmsgq01/init.c, psxsem01/init.c: Add service to check status
	returned by POSIX methods which return a pointer which is -1 on
	error. This eliminated some casts.
2009-11-09 14:49:27 +00:00
Joel Sherrill 23938252ad 2009-11-09 Joel Sherrill <joel.sherrill@oarcorp.com>
* psxenosys/Makefile.am: Add documentation file.
	* psxenosys/psxenosys.doc: New file.
2009-11-09 14:47:06 +00:00
Joel Sherrill bd861cc6e0 2009-11-09 Joel Sherrill <joel.sherrill@oarcorp.com>
* ada_user/Makefile.am, ada_user/ada_user.texi, user/Makefile.am,
	user/c_user.texi, user/concepts.t, user/overview.t,
	user/preface.texi, user/schedule.t, user/sem.t: Add table of figures.
	Add text and graphic of tree illustrating valid combinations of
	semaphore attributes.
	* user/semaphore_attributes.eps, user/semaphore_attributes.png:
	New files.
2009-11-09 14:36:14 +00:00
Joel Sherrill 3ee8430be6 2009-11-09 Joel Sherrill <joel.sherrill@oarcorp.com>
* spprintk/spprintk.scn: Add end of line at end of file.
2009-11-09 14:30:10 +00:00
Joel Sherrill 380c61ac67 2009-11-09 Joel Sherrill <joel.sherrill@oarcorp.com>
* sp32/Makefile.am, sp33/Makefile.am, sp37/Makefile.am,
	sp38/Makefile.am, sp39/Makefile.am, sp43/Makefile.am,
	sp44/Makefile.am, spfatal01/Makefile.am, spfatal02/Makefile.am,
	spfatal03/Makefile.am, spfatal04/Makefile.am, spfatal05/Makefile.am,
	spfatal06/Makefile.am, spfatal07/Makefile.am, spfatal08/Makefile.am,
	spfatal09/Makefile.am, spobjgetnext/Makefile.am,
	spprintk/Makefile.am, spsize/Makefile.am, spwatchdog/Makefile.am,
	spwkspace/Makefile.am: Add documentation files for multiple tests.
	* sp32/sp32.doc, sp33/sp33.doc, sp37/sp37.doc, sp38/sp38.doc,
	sp39/sp39.doc, sp43/sp43.doc, sp44/sp44.doc, spfatal01/spfatal01.doc,
	spfatal02/spfatal02.doc, spfatal03/spfatal03.doc,
	spfatal04/spfatal04.doc, spfatal05/spfatal05.doc,
	spfatal06/spfatal06.doc, spfatal07/spfatal07.doc,
	spfatal08/spfatal08.doc, spfatal09/spfatal09.doc,
	spobjgetnext/spobjgetnext.doc, spprintk/spprintk.doc,
	spsize/spsize.doc, spwatchdog/spwatchdog.doc,
	spwkspace/spwkspace.doc: New files.
2009-11-09 14:25:28 +00:00
Joel Sherrill 517655cde4 2009-11-09 Joel Sherrill <joel.sherrill@oarcorp.com>
* score/include/rtems/score/thread.h: Revert accidentally committed
	change. It is possible that _Thread_Dispatch_disable_level can be an
	8-bit variable but this impacts assembly and must be carefully
	considered.
2009-11-09 11:35:36 +00:00
Ralf Corsepius 15baee5af9 2009-11-08 Ralf Corsépius <ralf.corsepius@rtems.org>
* libmisc/capture/capture.h (RTEMS_CAPTURE_CONTROL_FROM_MASK):
	Use UINT32_C(1) to avoid overflow in implict typecast on 16bit
	targets.
2009-11-08 08:15:59 +00:00
Ralf Corsepius 217282dbd6 Regenerate. 2009-11-07 04:41:17 +00:00