Rewrite ps2kbproc, rbuf (kernel ring buffer) and pipe read/write, Change to -O0 in kernel code

This commit is contained in:
2025-09-20 16:50:40 +02:00
parent 222e846881
commit 0c65bd9891
8 changed files with 39 additions and 33 deletions

View File

@ -18,7 +18,7 @@ void termproc_fn(void) {
for (;;) {
char c = 0;
int32_t read = ipc_piperead(TERMPROC->pipes[1], (uint8_t *)&c, 1);
if (read > 0 && c != 0) {
if (read > 0) {
kprintf("%c", c);
}
}