Commit Graph
23013 Commits
Author SHA1 Message Date
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
Joel Sherrill 13c4f853e6 2011-08-02 Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1877/cpukit
	* libfs/src/imfs/imfs_mknod.c, libfs/src/imfs/memfile.c,
	sapi/inline/rtems/rbtree.inl, score/include/rtems/score/rbtree.h,
	score/inline/rtems/score/rbtree.inl, score/src/rbtree.c,
	score/src/rbtreefind.c, score/src/rbtreeinsert.c: Add comparison
	function for RBTrees.
2011-08-02 19:25:59 +00:00
Joel Sherrill a6284c9e71 2011-08-02 Ricardo Aguirre <el.mastin@ymail.com>
PR 1880/tests
	* Makefile.am, configure.ac, psxtmtests_plan.csv: Add benchmark of
	pthread_rwlock_timedwrlock - not available, blocks.
	* psxtmrwlock04/.cvsignore, psxtmrwlock04/Makefile.am,
	psxtmrwlock04/init.c, psxtmrwlock04/psxtmrwlock04.doc: New files.
2011-08-02 17:20:18 +00:00
Joel Sherrill d83f90b1e4 2011-08-02 Ricardo Aguirre <el.mastin@ymail.com>
PR 1878/tests
	* Makefile.am, configure.ac, psxtmtests_plan.csv: Add benchmark of
	pthread_rwlock_timedrdlock - not available, blocks.
	* psxtmrwlock03/.cvsignore, psxtmrwlock03/Makefile.am,
	psxtmrwlock03/init.c, psxtmrwlock03/psxtmrwlock03.doc: New files.
2011-08-02 15:17:17 +00:00
Joel Sherrill 6fed43eabc 2011-08-02 Xiang Cui <medivhc@gmail.com>
* configure.ac, fserror/test.c, fslink/test.c, fspermission/test.c,
	fsrdwr/init.c, fssymlink/test.c, fstime/test.c,
	mdosfs_support/fs_config.h, mdosfs_support/fs_support.c,
	mimfs_support/fs_support.c, mrfs_support/fs_config.h,
	support/fstest.h, support/fstest_support.c,
	support/ramdisk_support.c, support/ramdisk_support.h: Perform first
	phase of clean up.
2011-08-02 14:24:59 +00:00
Joel Sherrill f8d760bc96 2011-08-02 Ricardo Aguirre <el.mastin@ymail.com>
PR 1875/tests
	* Makefile.am, configure.ac, psxtmtests_plan.csv: Add benchmark of
	pthread_rwlock_rdlock - not available, blocks.
	* psxtmrwlock02/.cvsignore, psxtmrwlock02/Makefile.am,
	psxtmrwlock02/init.c, psxtmrwlock02/psxtmrwlock02.doc: New files.
2011-08-02 14:19:46 +00:00
Joel Sherrill 18544cbd47 2011-08-02 Sebastien Bourdeauducq <sebastien.bourdeauducq@gmail.com>
PR 1869/bsps
	* ChangeLog: Spacing.
	* README: Removed.
2011-08-02 14:04:40 +00:00
Joel Sherrill 15ad13cb7d 2011-08-02 Sebastien Bourdeauducq <sebastien.bourdeauducq@gmail.com>
PR 1869/bsps
	* milkymist_networking/mm_crc32.c: Removed.
2011-08-02 14:04:31 +00:00
Joel Sherrill 5f4dd4b91f 2011-08-02 Sebastien Bourdeauducq <sebastien.bourdeauducq@gmail.com>
PR 1869/bsps
	* README: Merge content from lm32/README which was specific to
	this BSP.
2011-08-02 14:04:27 +00:00
Jennifer Averett 3c50a488e9 2011-08-02 Jennifer Averett <Jennifer.Averett@OARcorp.com>
* score/include/rtems/score/coremutex.h: Move check dispatch for seize
	into its own macro and add smp support.
2011-08-02 13:59:48 +00:00
Joel Sherrill 9a795cbaeb 2011-08-02 Petr Benes <benesp16@fel.cvut.cz>
PR 1862/testing
	* sprbtree01/init.c, sprbtree01/sprbtree01.scn: Improve test coverage.
2011-08-02 13:38:41 +00:00
Jennifer Averett 6ef32a32b2 2011-08-02 Jennifer.Averett <Jennifer.Averett@OARcorp.com>
PR 1872
	* score/src/apimutexlock.c, score/src/apimutexunlock.c: Added smp
	support to apimutex.
2011-08-02 13:38:25 +00:00