diff options
author | Benji Dial <benji6283@gmail.com> | 2020-09-06 13:44:20 -0400 |
---|---|---|
committer | Benji Dial <benji6283@gmail.com> | 2020-09-06 13:44:20 -0400 |
commit | 73bb0e48640b842824a0b45fe4854df8ff7faf7b (patch) | |
tree | 077dec8a426db1e835393964da4736e91ff4c69d /src/kernel/task.c | |
parent | cbc85f6e897808b29e2f712156e2fa4d073d8277 (diff) | |
download | portland-os-73bb0e48640b842824a0b45fe4854df8ff7faf7b.tar.gz |
bugfixes, init program, hello world
Diffstat (limited to 'src/kernel/task.c')
-rw-r--r-- | src/kernel/task.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/kernel/task.c b/src/kernel/task.c index c8a8ac8..80818a7 100644 --- a/src/kernel/task.c +++ b/src/kernel/task.c @@ -79,7 +79,9 @@ void advance_active_task() { if (++active_task == tasks + MAX_TASKS) active_task = tasks; if (active_task == prev_task) { - logsz("No active tasks.\nHalting."); + logch('\n'); + set_log_mode(LOG_SYSTEM); + logsz("\nNo active tasks, halting."); while (1) asm ("hlt"); } |