Commit Graph

23024 Commits

Author SHA1 Message Date
Ralf Corsepius
644bc3c799 New. 2011-08-26 05:24:27 +00:00
Joel Sherrill
f9c2370197 2011-08-24 Ricardo Aguirre <el.mastin@ymail.com>
PR 1903/testing
	* Makefile.am, configure.ac, psxtmtests_plan.csv: Add test for message
	queues which covers most open, close, unlink cases as well as
	send/receive which do not involve task state changes.
	* psxtmmq01/.cvsignore, psxtmmq01/Makefile.am, psxtmmq01/init.c,
	psxtmmq01/psxtmmq01.doc: New files.
2011-08-24 21:15:58 +00:00
Sebastian Huber
3143f31fe6 2011-08-24 Sebastian Huber <sebastian.huber@embedded-brains.de>
* start/start.S: Update due to API changes.
2011-08-24 09:53:14 +00:00
Sebastian Huber
cefcc5ebd0 2011-08-24 Sebastian Huber <sebastian.huber@embedded-brains.de>
* startup/iss555.c: Update due to API changes.
2011-08-24 09:52:13 +00:00
Sebastian Huber
c972c361af 2011-08-24 Sebastian Huber <sebastian.huber@embedded-brains.de>
* console/polled_io.c: Update due to API changes.
2011-08-24 09:51:30 +00:00
Sebastian Huber
01750d5210 2011-08-24 Sebastian Huber <sebastian.huber@embedded-brains.de>
* network/network.c: Update due to API changes.
2011-08-24 09:50:15 +00:00
Sebastian Huber
7e85bfbef4 2011-08-24 Sebastian Huber <sebastian.huber@embedded-brains.de>
* shared/bootloader/exception.S, shared/bootloader/misc.c,
	shared/bootloader/mm.c, shared/console/polled_io.c,
	shared/startup/probeMemEnd.c: Update due to API changes.
2011-08-24 09:48:56 +00:00
Sebastian Huber
1d367a49df 2011-08-24 Sebastian Huber <sebastian.huber@embedded-brains.de>
* mpc6xx/clock/c_clock.c, mpc6xx/mmu/mmuAsm.S,
	new-exceptions/bspsupport/ppc_exc_global_handler.c,
	shared/include/cpuIdent.c, shared/src/stack.c: Update due to API
	changes.
2011-08-24 09:45:20 +00:00
Sebastian Huber
cf3d1948b0 2011-08-24 Sebastian Huber <sebastian.huber@embedded-brains.de>
* rtems/powerpc/registers.h: Renamed defines XER in PPC_XER, LR in
	PPC_LR, CTR in PPC_CTR, PVR in PPC_PVR, RPA in PPC_RPA, DAR in
	PPC_DAR, DEC in PPC_DEC, and EAR in PPC_EAR.
2011-08-24 09:43:06 +00:00
Jennifer Averett
76c0fb0012 2011-08-23 Jennifer Averett <Jennifer.Averett@OARcorp.com>
* Makefile.am, console/config.c: Resolved printk issues.
	* console/printk_support.c: New file.
2011-08-23 18:06:08 +00:00
Jennifer Averett
41265b2397 2011-08-23 Jennifer Averett <Jennifer.Averett@OARcorp.com>
* Makefile.am: Removed console.c and linked to the shared console.c.
	Note: This change was verified through compilation only.
	* console/console.c: Removed.
2011-08-23 16:28:22 +00:00
Sebastian Huber
61860b57a0 2011-08-23 Julien Delange <julien.delange@gmail.com>
* startup/linkcmds: Fixed instruction cache size.
2011-08-23 07:43:11 +00:00
Jennifer Averett
dad36c52b8 2011-08-22 Jennifer Averett <Jennifer.Averett@OARcorp.com>
PR 1876
	* score/Makefile.am, score/include/rtems/score/isr.h, score/src/isr.c,
	score/src/smp.c, score/src/smplock.c, score/src/threaddispatch.c,
	score/src/threaddispatchdisablelevel.c: Add smp isr support.
	* score/src/isrsmp.c: New file.
2011-08-22 18:26:08 +00:00
Ralf Corsepius
3f1545b851 Treat SOURCE<N> conditional. 2011-08-22 16:02:24 +00:00
Sebastian Huber
8c43f3d79d 2011-08-22 Sebastian Huber <sebastian.huber@embedded-brains.de>
* start/start.S: Fixed code section.
2011-08-22 14:09:55 +00:00
Sebastian Huber
55658c613f 2011-08-22 Sebastian Huber <sebastian.huber@embedded-brains.de>
* spfatal13/testcase.h: Fixed test name.
	* spfatal05/testcase.h: Increased wait time for slow hardware.
	* spfatal_support/init.c: Print test name at end of test.
	* spfatal01/spfatal01.scn, spfatal02/spfatal02.scn,
	spfatal03/spfatal03.scn, spfatal04/spfatal04.scn,
	spfatal05/spfatal05.scn, spfatal06/spfatal06.scn,
	spfatal07/spfatal07.scn, spfatal08/spfatal08.scn,
	spfatal09/spfatal09.scn, spfatal10/spfatal10.scn,
	spfatal11/spfatal11.scn, spfatal12/spfatal12.scn,
	spfatal13/spfatal13.scn, spfatal14/spfatal14.scn,
	spfatal15/spfatal15.scn, spfatal16/spfatal16.scn,
	spfatal17/spfatal17.scn, spfatal18/spfatal18.scn,
	spfatal19/spfatal19.scn, spfatal20/spfatal20.scn,
	spfatal21/spfatal21.scn, spfatal22/spfatal22.scn,
	spfatal23/spfatal23.scn, spfatal24/spfatal24.scn,
	spfatal25/spfatal25.scn: Reflect changes from above.
2011-08-22 10:10:56 +00:00
Sebastian Huber
eb7deb0133 2011-08-22 Sebastian Huber <sebastian.huber@embedded-brains.de>
PR 1899/testing
	* spfatal14/Makefile.am: Adjust number of semaphores to consume to
	trigger fatal error.
2011-08-22 10:08:25 +00:00
Joel Sherrill
7b5895417f 2011-08-21 Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1899/testing
	* spfatal14/Makefile.am, spfatal15/Makefile.am, spfatal16/Makefile.am:
	Adjust number of semaphores to consume to trigger fatal error.
2011-08-21 21:04:37 +00:00
Joel Sherrill
611909ea87 2011-08-21 Petr Benes <benesp16@fel.cvut.cz>
PR 1886/cpukit
	* sprbtree01/init.c, sprbtree01/sprbtree01.scn: This patch enables
	inserting duplicate keys into rbtree. It is possible to turn on this
	feature when initializing the tree.
2011-08-21 20:07:23 +00:00
Joel Sherrill
74f1c73e96 2011-08-21 Petr Benes <benesp16@fel.cvut.cz>
PR 1886/cpukit
	* sapi/include/rtems/rbtree.h, sapi/inline/rtems/rbtree.inl,
	score/include/rtems/score/rbtree.h,
	score/inline/rtems/score/rbtree.inl, score/src/rbtree.c,
	score/src/rbtreeinsert.c: This patch enables inserting duplicate keys
	into rbtree. It is possible to turn on this feature when initializing
	the tree.
2011-08-21 20:07:11 +00:00
Joel Sherrill
08ef1631cf 2011-08-21 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1890/cpukit
	* psxmsgq01/init.c: POSIX says msg_prio is allowed to be NULL.
2011-08-21 19:59:51 +00:00
Joel Sherrill
e5ca6593f7 2011-08-21 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1890/cpukit
	* posix/src/mqueuerecvsupp.c: POSIX says msg_prio is allowed to be
	NULL.
2011-08-21 19:59:03 +00:00
Joel Sherrill
74ac113b6e 2011-08-21 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1873/cpukit
	* score/include/rtems/score/heap.h: When using heap protection, we
	should account for adding an aligned protection footer.
2011-08-21 19:51:41 +00:00
Chris Johns
a385489281 2011-08-18 Chris Johns <chrisj@rtems.org>
* cpu.c: Fix the ISR get level for the IIC. Make
        _CPU_Context_Initialize a function rather than inlined.
        * cpu_asm.S: Do not enable interrupt on return, rather resume the
        state on entry to the ISR.
        * irq.c, nios2/nios2-iic-low-level.S: Change the ISR handler so
        the ipending decoding is in C and within the interrupt
        context. This is usable with the Altera HAL directly.
        * rtems/score/cpu.h: Add ienable and ipending interfaces. Add some
        comments. Remove _CPU_Context_Initialize.
2011-08-18 09:00:14 +00:00
Sebastian Huber
b7ee9ab913 2011-08-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
* psxfatal_support/init.c: Ensure that _Thread_BSP_context is
	initialized.
2011-08-18 07:47:38 +00:00
Sebastian Huber
afe0344c47 2011-08-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
* spfatal_support/init.c: Ensure that _Thread_BSP_context is
	initialized.
2011-08-18 07:47:07 +00:00
Sebastian Huber
180b106e34 2011-08-18 Sebastien Bourdeauducq <sebastien.bourdeauducq@gmail.com>
PR 1868/lm32
	* irq.c: Bugfix.
2011-08-18 06:45:35 +00:00
Sebastian Huber
542ae51bd5 2011-08-17 Sebastian Huber <sebastian.huber@embedded-brains.de>
* sapi/include/confdefs.h: Revert previous commit due to multi-lib
	rule violation.
2011-08-17 09:14:09 +00:00
Sebastian Huber
6de36ed5dd 2011-08-16 Sebastian Huber <sebastian.huber@embedded-brains.de>
* sapi/include/confdefs.h: Include <bsp.h> for BSP_IDLE_TASK_BODY,
	BSP_IDLE_TASK_STACK_SIZE, BSP_INTERRUPT_STACK_SIZE,
	BSP_ZERO_WORKSPACE_AUTOMATICALLY, BSP_DEFAULT_UNIFIED_WORK_AREAS,
	CONFIGURE_MALLOC_BSP_SUPPORTS_SBRK, and
	CONFIGURE_BSP_PREREQUISITE_DRIVERS defines.
2011-08-16 11:40:53 +00:00
Sebastian Huber
1f3585d1cb 2011-08-15 Sebastian Huber <sebastian.huber@embedded-brains.de>
* libcsupport/src/newlibc_exit.c, score/src/threadhandler.c: Added
	init/fini array support for ARM EABI.  The __libc_init_array() and
	__libc_fini_array() functions are provided by Newlib.
2011-08-15 08:23:49 +00:00
Sebastian Huber
7b46d7a63d 2011-08-15 Julien Delange <julien.delange@gmail.com>
* irq/irq.c: Removed printk() before the interrupt initialization
	because it somehow destroys the interrupt context.
	* make/custom/nds.cfg: Enable Thumb interwork.
	* startup/bspstart.c: Set default exception handler.
2011-08-15 08:12:49 +00:00
Chris Johns
3848df4d72 2011-08-14 Chris Johns <chrisj@rtems.org>
* rtems/score/cpu.h: Clear the vector table for simple vectored
        interrupts.
        * irq.c: Add support for using the IIC with the Altera HAL.
2011-08-14 07:38:14 +00:00
Sebastian Huber
2a5880f17f 2011-08-10 Sebastian Huber <sebastian.huber@embedded-brains.de>
* rtems/score/cpu.h: Removed superfluous comments.  Format.  Include
	by assembler support. Removed superfluous floating-point support.
	Stack alignment is now 4.
2011-08-10 15:00:53 +00:00
Sebastian Huber
45dabfd480 2011-08-10 Sebastian Huber <sebastian.huber@embedded-brains.de>
* rtems/score/cpu.h, cpu.c: Removed superfluous functions.
2011-08-10 14:10:10 +00:00
Sebastian Huber
3ee5a2e29b 2011-08-09 Sebastian Huber <sebastian.huber@embedded-brains.de>
* nios2-iic-low-level.S: New file.
	* cpu_asm.S: Moved low-level interrupt handling into new file.
	* Makefile.am: Reflect change from above.
2011-08-09 11:11:30 +00:00
Sebastian Huber
40ae1fd5e6 2011-08-09 Sebastian Huber <sebastian.huber@embedded-brains.de>
* cpu_asm.S, rtems/score/cpu.h: There is no need to save the global
	pointer (gp) in the thread register context since it is a system wide
	constant and set-up with the C runtime environment.
2011-08-09 10:28:09 +00:00
Sebastian Huber
2a514e80d9 2011-08-08 Sebastian Huber <sebastian.huber@embedded-brains.de>
* irq/irq-dispatch.c: New file.
	* irq/irq.c: Moved bsp_interrupt_dispatch() to new file.
	* Makefile.am: Reflect change from above.
2011-08-08 12:36:15 +00:00
Sebastian Huber
18a0c56b4b 2011-08-08 Sebastian Huber <sebastian.huber@embedded-brains.de>
* misc/i2c.c: Bugfix.
2011-08-08 12:33:22 +00:00
Till Straumann
7bdd5716f5 2011-07-18 Till Straumann <strauman@slac.stanford.edu>
* configure.ac: changed tests so that variants
	of qemuprep (e.g., qemuprep-altivec) are recognized.
2011-08-06 02:39:35 +00:00
Till Straumann
e94aa61b68 2011-08-04 Till Straumann <strauman@slac.stanford.edu>
* shared/irq/irq_asm.S: BUGFIX (introduced by SMP changes
	which moved code around, apparently): *must* store i8259
	mask to frame *before* switching to IRQ stack. The code
	retrieves the mask after switching back to original stack.
	Also, the IRQ stack has no reserved space for the mask;
	storing it there could overwrite memory!
2011-08-05 00:15:50 +00:00
Joel Sherrill
0f660eb744 2011-08-04 Joel Sherrill <joel.sherrill@oarcorp.com>
* psxtmtests_plan.csv: update.
2011-08-04 17:24:29 +00:00
Joel Sherrill
aa66acbbc3 2011-08-04 Ricardo Aguirre <el.mastin@ymail.com>
PR 1888/tests
	* Makefile.am, configure.ac, psxtmtests_plan.csv: Add benchmark of
	pthread_rwlock_unlock - thread waiting, preempt.
	* psxtmrwlock07/.cvsignore, psxtmrwlock07/Makefile.am,
	psxtmrwlock07/init.c, psxtmrwlock07/psxtmrwlock07.doc: New files.
2011-08-04 15:20:06 +00:00
Joel Sherrill
e0983d1ffe 2011-08-04 Ricardo Aguirre <el.mastin@ymail.com>
PR 1887/tests
	* Makefile.am, configure.ac, psxtmtests_plan.csv: Add benchmark of
	pthread_rwlock_unlock - thread waiting, no preempt.
	* psxtmrwlock06/.cvsignore, psxtmrwlock06/Makefile.am,
	psxtmrwlock06/init.c, psxtmrwlock06/psxtmrwlock06.doc: New files.
2011-08-04 15:15:23 +00:00
Joel Sherrill
f5ab0885ee 2011-08-04 Ricardo Aguirre <el.mastin@ymail.com>
* psxtmrwlock01/init.c, psxtmrwlock01/psxtmrwlock01.doc: Update.
2011-08-04 15:06:45 +00:00
Joel Sherrill
21889eadb5 2011-08-04 Ricardo Aguirre <el.mastin@ymail.com>
PR 1881/tests
	* Makefile.am, configure.ac, psxtmtests_plan.csv: Add benchmark of
	pthread_rwlock_timedwrlock - not available, blocks.
	* psxtmrwlock05/.cvsignore, psxtmrwlock05/Makefile.am,
	psxtmrwlock05/init.c, psxtmrwlock05/psxtmrwlock05.doc: New files.
2011-08-04 15:02:06 +00:00
Joel Sherrill
b61bb4f44c 2011-08-04 Joel Sherrill <joel.sherrill@oarcorp.com>
* psxtmrwlock03/init.c: Fix abstime issue. Time is now reasonable.
2011-08-04 14:42:05 +00:00
Ralf Corsepius
d7314783e1 Regenerate. 2011-08-04 04:45:34 +00:00
Ralf Corsepius
7be7c2ac3f GCC_RPMREL = 6. 2011-08-04 04:44:51 +00:00
Joel Sherrill
6ba5971e85 2011-08-02 Petr Benes <benesp16@fel.cvut.cz>
PR 1883/testing
	* sprbtree01/init.c: Attempt provide coverage on last two ranges.
2011-08-02 21:46:20 +00:00
Joel Sherrill
b2f66e60d7 2011-08-02 Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1877/cpukit
	* sprbtree01/init.c: Add comparison function for RBTrees.
2011-08-02 19:26:05 +00:00