[PATCH] ARM: Prevent _ARMV4_Exception_fiq_default from re-enabling FIQs.

2015-02-25 Thread Martin Galvan
Follow-up from here: https://lists.rtems.org/pipermail/devel/2015-February/009974.html When talking to Sebastian Huber about the behavior of _ARMV4_Exception_fiq_default, he mentioned that it shouldn't re-enable FIQs again. This patch sets the F bit of the SPSR so that when it gets loaded back

[PATCH] ARM: Add BSP_NEEDS_REGISTER_INITIALIZATION

2015-02-25 Thread Martin Galvan
Follow-up from here: https://lists.rtems.org/pipermail/devel/2015-February/009974.html This patch adds the macro BSP_NEEDS_REGISTER_INITIALIZATION and three hooks for BSP-specific register init code to arm/shared/start.S. Said hooks are bsp_init_registers_core (intended for initializing the ARM

Re: Validity of Ticket #1247 RTEMS does not implement locks needed by multithreaded newlib

2015-02-25 Thread Joel Sherrill
On February 25, 2015 3:38:04 AM EST, Sebastian Huber wrote: >On 24/02/15 22:48, Gedare Bloom wrote: >> Sebastian, >> >> Do you know if #1247 is still valid for current RTEMS and newlib? We already have some configuration related to newlib for the extension. Why wouldn't wenbr able to account

Re: Validity of Ticket #1247 RTEMS does not implement locks needed by multithreaded newlib

2015-02-25 Thread Sebastian Huber
On 24/02/15 22:48, Gedare Bloom wrote: Sebastian, Do you know if #1247 is still valid for current RTEMS and newlib? Gedare This is still valid. I think one of the reasons nobody touched this so far is that the usage of locks will likely break all application configurations. -- Sebastian H