Implement TERMINAL_DIMENSIONS op for the terminal device, CE add terminfo command
All checks were successful
Build documentation / build-and-deploy (push) Successful in 1m59s

This commit is contained in:
2026-03-05 16:42:02 +01:00
parent 25b289ccfb
commit a346a5667c
9 changed files with 42 additions and 3 deletions

View File

@@ -273,6 +273,11 @@ DEFINE_SYSCALL (sys_device_do) {
spin_lock (&device->lock);
if (device->ops[cmd] == NULL) {
spin_unlock (&device->lock);
return SYSRESULT (-ST_NOT_FOUND);
}
int ret = device_op (device, cmd, proc, rctx, ka1, ka2, ka3, ka4);
spin_unlock (&device->lock);