commit | b58ab67dd44af8fde4802345312a320a92485d21 | [log] [tgz] |
---|---|---|
author | swissChili <swisschili@fastmail.com> | Mon Jan 17 21:18:01 2022 -0800 |
committer | swissChili <swisschili@fastmail.com> | Mon Jan 17 21:18:01 2022 -0800 |
tree | 427f89188e6f0db8bb7da53e1dcc1f36c3b01078 | |
parent | d00ec61d4d75300330c0d27a381acf263a528505 [diff] [blame] |
Fix IDT error # bug, add debug helper, continue debugging spawn_thread crash The crash occurs after the newly-created stack is accessed, suggesting that there is some bug in the paging code.
diff --git a/include/kernel/task.h b/include/kernel/task.h index 38ff7ee..3126180 100644 --- a/include/kernel/task.h +++ b/include/kernel/task.h
@@ -23,6 +23,7 @@ // NOTE: must be PAGE ALIGNED uint last_stack_pos; }; + /** * The smallest schedulable unit, a thread of a process. */