loader: rework kernel entry point

This commit is contained in:
Loïc Grégoire
2026-08-07 15:40:58 -04:00
parent 13375f294c
commit 5bb264a9ae
4 changed files with 25 additions and 14 deletions
+6 -1
View File
@@ -137,7 +137,12 @@ pub const Thread = struct {
arg: ?*anyopaque,
) void {
thread.* = .{
.context = .init(stack, stack_size, entry, arg),
.context = .init(
stack,
stack_size,
entry,
arg,
),
.lock = .init(),
.nice = 0,
.priority = prio,