aboutsummaryrefslogtreecommitdiff
path: root/sys/ia64
diff options
context:
space:
mode:
authorAndriy Gapon <avg@FreeBSD.org>2011-12-17 15:08:43 +0000
committerAndriy Gapon <avg@FreeBSD.org>2011-12-17 15:08:43 +0000
commit9976156f12f1be7cb85c90e9ef54be06690bc955 (patch)
treecf89ca64a6042918d5429b9a17cfaa8421be34c2 /sys/ia64
parent5dc6a815806b50efdd705b6f52804c2030748638 (diff)
downloadsrc-9976156f12f1be7cb85c90e9ef54be06690bc955.tar.gz
src-9976156f12f1be7cb85c90e9ef54be06690bc955.zip
kern cons: introduce infrastructure for console grabbing by kernel
At the moment grab and ungrab methods of all console drivers are no-ops. Current intended meaning of the calls is that the kernel takes control of console input. In the future the semantics may be extended to mean that the calling thread takes full ownership of the console (e.g. console output from other threads could be suspended). Inspired by: bde MFC after: 2 months
Notes
Notes: svn path=/head/; revision=228631
Diffstat (limited to 'sys/ia64')
-rw-r--r--sys/ia64/ia64/ssc.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/sys/ia64/ia64/ssc.c b/sys/ia64/ia64/ssc.c
index ff810fc87f2b..95a61657dedb 100644
--- a/sys/ia64/ia64/ssc.c
+++ b/sys/ia64/ia64/ssc.c
@@ -102,6 +102,16 @@ ssc_cnterm(struct consdev *cp)
}
static void
+ssc_cngrab(struct consdev *cp)
+{
+}
+
+static void
+ssc_cnungrab(struct consdev *cp)
+{
+}
+
+static void
ssc_cnattach(void *arg)
{
struct tty *tp;