On Thu, 6 Jun 2019 at 09:43, Sebastian Huber <
sebastian.hu...@embedded-brains.de> wrote:
> Hello Maksim,
>
> thanks for the bug report and the fix. I added a ticket for it:
>
> https://devel.rtems.org/ticket/3756
>
> I checked in a slightly modified patch:
>
>
> https://git.rtems.org/rtems/commit
Hello Maksim,
thanks for the bug report and the fix. I added a ticket for it:
https://devel.rtems.org/ticket/3756
I checked in a slightly modified patch:
https://git.rtems.org/rtems/commit/?id=a38187051863cf4a423c4f00669c6786bc8ff60d
Would you mind reviewing it.
--
Sebastian Huber, embedded
It is needed to restore PSR just before return because condition
codes are dirty after the CMP instructions and this may cause
undefined program behavior after returning from the switching
procedure (on following branch instruction, for example).
---
cpukit/score/cpu/sparc/syscall.S | 4
1 fi