You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As the dsPIC33 has the same Architecture except the additional dsp register and as you wrote your kernel is useable for dspic devices why are you not saving the dsp Registers during a context switch?
It should be inserted in File tneo/src/arch/pic24_dspic/tn_arch_pic24.S and during stack initialisation.
So that an working dsp operation with Registers ACCA*/ACCB*/DO is context save.
The text was updated successfully, but these errors were encountered:
Hi, thanks, that's a good point; I recall that I planned to make sure the code is correct for dsPICs, but apparently I did not get around to implement that properly.
At the moment I don't have any dsPIC device around though, so would it be possible for you to craft a PR? I'd be happy to accept it.
I do not implement the whole kernel. At the moment i just use the context switch code from your dspic arch file to solve a special problem of my actual project.
But when i'm ready, the code is tested and microchip had a look through it i will provide you a PR.
Hey
As the dsPIC33 has the same Architecture except the additional dsp register and as you wrote your kernel is useable for dspic devices why are you not saving the dsp Registers during a context switch?
It should be inserted in File tneo/src/arch/pic24_dspic/tn_arch_pic24.S and during stack initialisation.
So that an working dsp operation with Registers ACCA*/ACCB*/DO is context save.
The text was updated successfully, but these errors were encountered: