Implement missing KDGETMODE IOCTL in VT.
Obtained from: Johannes Lundberg <yohanesu75@gmail.com> Sponsored by: Mellanox Technologies MFC after: 1 week
This commit is contained in:
parent
0ab69d713c
commit
5c4155867a
@ -2161,6 +2161,10 @@ skip_thunk:
|
||||
|
||||
return (error);
|
||||
}
|
||||
case KDGETMODE:
|
||||
*(int *)data = (vw->vw_flags & VWF_GRAPHICS) ?
|
||||
KD_GRAPHICS : KD_TEXT;
|
||||
return (0);
|
||||
case KDGKBMODE: {
|
||||
error = 0;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user