kernel: implement support for magenta_debug over serial

This commit is contained in:
2026-06-06 17:51:44 +01:00
parent eb15d2ffa3
commit c425d6e389
7 changed files with 216 additions and 2 deletions
+3
View File
@@ -2,6 +2,7 @@
#include <kernel/channel.h>
#include <kernel/clock.h>
#include <kernel/cpu.h>
#include <kernel/debug.h>
#include <kernel/handle.h>
#include <kernel/libc/stdio.h>
#include <kernel/locks.h>
@@ -223,6 +224,8 @@ struct task *task_create(
task_list_insert(&task_list, task);
spin_unlock_irqrestore(&task_list_lock, flags);
debug_event_task_created(task->t_id);
return task;
}