jserv / mini-arm-os

Build a minimal multi-tasking OS kernel for ARM from scratch
Other
1.06k stars 243 forks source link

Fix wrong processor mode in first time exception return #29

Closed lecopzer closed 6 years ago

lecopzer commented 6 years ago

Close #27 , fix 04, 07 and 08 which run first thread in wrong mode. See the comments in each commit in detail. Close #23 , add naked attribute before thread_start

lecopzer commented 6 years ago

Please review it again, thanks.

lecopzer commented 6 years ago

Please take a look again, thanks

lecopzer commented 6 years ago

Excuse me, are there any comments?

lecopzer commented 6 years ago

Update reference in both 07 and 08 https://github.com/jserv/mini-arm-os/blob/5dd4e08e58d988ff5c4f95639553862bc2653ae6/07-Threads/threads.c#L169-L178

lecopzer commented 6 years ago

Update empty + 32 and comments for naked attribute