chaos4ever / chaos

The chaos Operating System
https://chaos4ever.github.io/
16 stars 6 forks source link

Fix thread_create to use PL3 stack instead of PL0 #122

Closed perlun closed 5 years ago

perlun commented 5 years ago

It would previously use the PL0 stack for the newly created thread. This commit fixes this, so that the PL3 stack (which is much less limited in size) is used instead.

(This change was a drive-by change while I was researching the root cause for some issues mentioned in #120)