[PATCH] arm/start.S: Do not use a scratch register to hold the stack pointer

Chris Johns chrisj at rtems.org
Fri Jul 26 05:41:39 UTC 2019

On 26/7/19 3:07 pm, Sebastian Huber wrote:
> On 26/07/2019 07:06, Sebastian Huber wrote:
>> Hello Chris,
>> I am not sure, if using r8 is the right thing to do since r8..r14 are banked
>> in FIQ mode. I think the bsp_start_arm_drop_hyp_mode needs to be changed to
>> not touch r3, it can use r1 instead.
> I think the code should move to start.S also.

Sure, if you would like to do that. I have no time to spend on that sort of
change. I am happy to test a change.

In the meantime the solution on the table is the best one we have. I will push
it tomorrow if nothing better is posted.


More information about the devel mailing list