Rewrite ps2kbproc, rbuf (kernel ring buffer) and pipe read/write, Change to -O0 in kernel code
This commit is contained in:
@ -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);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user