Date: Thu, 15 Feb 2018 09:00:12 +0000 (UTC) From: Hans Petter Selasky <hselasky@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org Subject: svn commit: r329305 - stable/11/sys/dev/vt Message-ID: <201802150900.w1F90CqU083730@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: hselasky Date: Thu Feb 15 09:00:11 2018 New Revision: 329305 URL: https://svnweb.freebsd.org/changeset/base/329305 Log: MFC r325724: Implement missing KDGETMODE IOCTL in VT. Obtained from: Johannes Lundberg <yohanesu75@gmail.com> Sponsored by: Mellanox Technologies Modified: stable/11/sys/dev/vt/vt_core.c Directory Properties: stable/11/ (props changed) Modified: stable/11/sys/dev/vt/vt_core.c ============================================================================== --- stable/11/sys/dev/vt/vt_core.c Thu Feb 15 08:57:14 2018 (r329304) +++ stable/11/sys/dev/vt/vt_core.c Thu Feb 15 09:00:11 2018 (r329305) @@ -2150,6 +2150,10 @@ skip_thunk: return (error); } + case KDGETMODE: + *(int *)data = (vw->vw_flags & VWF_GRAPHICS) ? + KD_GRAPHICS : KD_TEXT; + return (0); case KDGKBMODE: { error = 0;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201802150900.w1F90CqU083730>