Add special event pipes, rework ps2kb process

This commit is contained in:
2025-09-08 22:12:50 +02:00
parent 94dd38d010
commit ab224eda8e
9 changed files with 101 additions and 13 deletions

View File

@ -2,8 +2,16 @@
#define PROC_PS2KB_PS2KBPROC_H_
#include "proc/proc.h"
#include "rbuf/rbuf.h"
#include "spinlock/spinlock.h"
typedef struct {
RBuf rbuf;
SpinLock spinlock;
} Ps2KbFastBuf;
extern Proc *PS2KBPROC;
extern Ps2KbFastBuf PS2KB_BUF;
void ps2kbproc_fn(void);
void ps2kbproc_init(Proc *proc);