ARM (Thumb Mode) _CPU_Context_switch_arm
Matthew J Fletcher
amimjf at gmail.com
Thu Feb 21 17:02:20 UTC 2013
Hi,
As you may have guessed from the title my BSP is now running right up to
context switching into the first task, i can see from the heir structures
that its got the correct function pointer into my Init task.
Looking at the #ifdef __thumb__ where it restores the context it fails at
the bx instruction, the lr register is not a valid address. Before RTEMS we
used a home grown executive and the asm to swap contexts looks very
different.
Does anyone run an arm BSP in thumb mode ?
--
regards
---
Matthew J Fletcher
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20130221/6c8dc5f8/attachment.html>
More information about the users
mailing list