CE interactive shell
All checks were successful
Build documentation / build-and-deploy (push) Successful in 2m36s

This commit is contained in:
2026-02-21 22:14:16 +01:00
parent dc021c0469
commit 02e77b5c90
30 changed files with 3259 additions and 18 deletions

View File

@@ -6,6 +6,7 @@
#include <irq/irq.h>
#include <libk/ringbuffer.h>
#include <libk/std.h>
#include <m/kb_device.h>
#include <m/status.h>
#include <proc/capability.h>
#include <proc/proc.h>
@@ -205,6 +206,9 @@ int ps2kb_read_key (struct device* device, struct proc* proc, struct reschedule_
uint8_t* chbuf = (uint8_t*)a1;
if (chbuf == NULL)
return -ST_BAD_ADDRESS_SPACE;
spin_lock (&ps2kb_ringbuffer_lock);
size_t prev_count = ps2kb_ringbuffer.count;