diff options
author | avg <avg@FreeBSD.org> | 2011-12-17 15:08:43 +0000 |
---|---|---|
committer | avg <avg@FreeBSD.org> | 2011-12-17 15:08:43 +0000 |
commit | f6def40e18a13286043257337db12d9d78aa545e (patch) | |
tree | cf89ca64a6042918d5429b9a17cfaa8421be34c2 /sys/gdb/gdb_cons.c | |
parent | 04ff721cff67dd3e641289f950656b9dbd02d09f (diff) | |
download | FreeBSD-src-f6def40e18a13286043257337db12d9d78aa545e.zip FreeBSD-src-f6def40e18a13286043257337db12d9d78aa545e.tar.gz |
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
Diffstat (limited to 'sys/gdb/gdb_cons.c')
-rw-r--r-- | sys/gdb/gdb_cons.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/sys/gdb/gdb_cons.c b/sys/gdb/gdb_cons.c index 2e01cd4..6ecdc04 100644 --- a/sys/gdb/gdb_cons.c +++ b/sys/gdb/gdb_cons.c @@ -87,6 +87,16 @@ gdb_cnterm(struct consdev *cp) { } +static void +gdb_cngrab(struct consdev *cp) +{ +} + +static void +gdb_cnungrab(struct consdev *cp) +{ +} + static int gdb_cngetc(struct consdev *cp) { |