]> begriffs open source - freertos/commit
Fix XCore DP/CP register corruption bug (#352)
authorMichael Bruno <mikeb@xmos.com>
Mon, 28 Jun 2021 15:44:24 +0000 (11:44 -0400)
committerGitHub <noreply@github.com>
Mon, 28 Jun 2021 15:44:24 +0000 (08:44 -0700)
commita7092d400c26e3eee3ec8960110ce74e54485fdf
tree6d25b85417a2faf7092f5107b89a1f9f308492d9
parenta9754a8fdd402105b35a14ed17841d94b62d06dd
Fix XCore DP/CP register corruption bug (#352)

The kernel code that runs within RTOS ISRs requires that DP and CP not
be changed from their initial values. If a task changes them and is
interrupted while they are changed, then they must be restored for the
ISR. This commit implements this.

This relies on a corresponding change to the xcore lib_rtos_support.
portable/ThirdParty/xClang/XCORE200/portasm.S
portable/ThirdParty/xClang/XCOREAI/portasm.S