kernel: implement support for magenta_debug over serial
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user