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
All checks were successful
Build documentation / build-and-deploy (push) Successful in 1m59s
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user