Suspend process waiting for keyboard input
All checks were successful
Build documentation / build-and-deploy (push) Successful in 1m35s

This commit is contained in:
2026-02-15 15:21:18 +01:00
parent 60f201ab55
commit 0f5bd48328
14 changed files with 87 additions and 45 deletions

View File

@@ -1,9 +1,12 @@
#ifndef _KERNEL_DEVICE_PS2_KB_H
#define _KERNEL_DEVICE_PS2_KB_H
#include <libk/std.h>
#include <proc/proc.h>
#include <sys/smp.h>
int ps2kb_read_key (struct proc* proc, void* a1, void* a2, void* a3, void* a4);
bool ps2kb_read_key (struct proc* proc, struct cpu** reschedule_cpu, int* ret, void* a1, void* a2,
void* a3, void* a4);
bool ps2kb_init (void* arg);
void ps2kb_fini (void);