mirror of
https://github.com/rdmsr/zag.git
synced 2026-10-30 14:58:21 +00:00
loader: rework kernel entry point
This commit is contained in:
+6
-1
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user