summaryrefslogtreecommitdiff
path: root/sys/arch/amd64
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2025-05-16 09:35:49 -0400
committerIan Moffett <ian@osmora.org>2025-05-16 09:35:49 -0400
commit8dd1f460055d2180e5e31c8aac7523b6bdc63016 (patch)
tree3e02e91a526d668d16764cdcfd4d5d8ca910d327 /sys/arch/amd64
parent03f145b2fd5a01e40a3066c6cf2f649000a9fcd8 (diff)
kernel: spawn: Add proper spawn impl + SYS_spawn
This commit introduces a more complete spawn implementation as well as the SYS_spawn syscall and a libc interface. Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/arch/amd64')
-rw-r--r--sys/arch/amd64/isa/i8042.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/arch/amd64/isa/i8042.c b/sys/arch/amd64/isa/i8042.c
index 46a8d19..beacc87 100644
--- a/sys/arch/amd64/isa/i8042.c
+++ b/sys/arch/amd64/isa/i8042.c
@@ -436,7 +436,7 @@ i8042_init(void)
quirks |= I8042_HOSTILE;
pr_trace("lenovo device, assuming hostile\n");
pr_trace("disabling irq 1, polling as fallback\n");
- spawn(&polltd, 0, i8042_sync_loop, NULL);
+ spawn(&polltd, i8042_sync_loop, NULL, 0, NULL);
}
if (!ISSET(quirks, I8042_HOSTILE)) {