[dutch]hailstorm wrote:Matthias: Ouch.
DELETED TEXT...
ach ja, iig bedankt voor het idee :p
[/dutch]
That's what you create the TSS with, yes, but the processor can/will still set the busy bit itself. You're switch_to function doesn't check for the busy bit before jumping to the task.matthias wrote:Uhm if you'd taken some time to read my code, you could have seen that the task only has the interruptable flag set. So won't helphailstorm wrote:I hope this helps:
Try to clear the busy bit of the tss you are switching to, before you make the switch. It might be the problem...
Sorry for the longish code, my ISR's are OK, and do you know what the strangest part is? On a real machine it hangs but in MSVPC it restarts due to an error, would like to know which. No exception is given not even an invalid TSS exception or something.carbonBased wrote:snap
offtopic:hailstorm wrote:You are welcome!
I thought I saw an error, but luckily i saw just in time your type of linked list handling.. Sorry for that.
[dutch]
Dat vind ik trouwens een beetje vage code, het is volgens mij nog niet helemaal af... In die zin, het is waarschijnlijk niet volledig operationeel. Helaas lag daar de fout echter niet...
[/dutch]