Rearchitecture PS2KB driver using event buffers

This commit is contained in:
2025-10-05 19:48:15 +02:00
parent 247ef1bbd1
commit e9838d530f
10 changed files with 262 additions and 189 deletions

View File

@ -4,17 +4,7 @@
#include <stdint.h>
#include <stddef.h>
#include "dev.h"
#include "rbuf/rbuf.h"
#include "spinlock/spinlock.h"
typedef struct {
RBuf rbuf;
SpinLock spinlock;
bool init;
} Ps2KbFastBuf;
void ps2kbdev_init(void);
extern Ps2KbFastBuf PS2KB_BUF;
#endif // DEV_PS2KBDEV_H_