summaryrefslogtreecommitdiff
path: root/kern/bootstrap.c
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2025-02-08 21:07:49 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2025-02-08 21:07:49 +0100
commit9a7ba7fd88fbc87c6e25e82d8c3bb838bf1ebf8d (patch)
treeb223480247a535bca708672305698c1479c09246 /kern/bootstrap.c
parentb75c7dda611432e8598bcd0ab9652380a4f819c7 (diff)
Add names to kernel tasks and threads
Diffstat (limited to 'kern/bootstrap.c')
-rw-r--r--kern/bootstrap.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/kern/bootstrap.c b/kern/bootstrap.c
index 0470e1b6..2ad11635 100644
--- a/kern/bootstrap.c
+++ b/kern/bootstrap.c
@@ -335,7 +335,9 @@ bootstrap_exec_compat(void *e)
*/
(void) task_create(TASK_NULL, FALSE, &bootstrap_task);
+ (void) task_set_name(bootstrap_task, "bootstrap");
(void) thread_create(bootstrap_task, &bootstrap_thread);
+ (void) thread_set_name(bootstrap_thread, "bootstrap");
/*
* Insert send rights to the master host and device ports.