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.
* 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.
* 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.
* 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.
* Makefile.am: Removed console.c and linked to the shared console.c.
Note: This change was verified through compilation only.
* console/console.c: Removed.
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.
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.
* 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.
* 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.
* 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.
* 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.
* rtems/score/cpu.h: Removed superfluous comments. Format. Include
by assembler support. Removed superfluous floating-point support.
Stack alignment is now 4.
* 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.
* 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!