commit | 7be3274c38b526f3ad9ed34a6b4bd60e46f32fef | [log] [tgz] |
---|---|---|
author | swissChili <swisschili@fastmail.com> | Sat Apr 03 21:17:24 2021 -0700 |
committer | swissChili <swisschili@fastmail.com> | Sat Apr 03 21:17:24 2021 -0700 |
tree | feb1d5020099ebde9457e22077e6dd4984fa38ea | |
parent | cfd3c3cefa0f6698237fbb28b37cbd551e370856 [diff] [blame] |
Fix paging faults when switching/creating tasks
diff --git a/src/kernel/main.c b/src/kernel/main.c index ea5200b..1c654bd 100644 --- a/src/kernel/main.c +++ b/src/kernel/main.c
@@ -80,6 +80,7 @@ greet(); spawn_thread(other_thread); kprintf("thread spawned\n"); + switch_task(); kprintf("Back in main thread\n");