summaryrefslogtreecommitdiffstats
path: root/sys/dev/bvm
diff options
context:
space:
mode:
authorsbruno <sbruno@FreeBSD.org>2012-01-04 17:01:12 +0000
committersbruno <sbruno@FreeBSD.org>2012-01-04 17:01:12 +0000
commitfb34f527b180d61029cbbe0f4a19be0973f00de4 (patch)
tree9aca890a6cdeeb77a0aa4367d2871fe38363f877 /sys/dev/bvm
parent39d07b056ff7ed4a2cd65691be23d3c93398b881 (diff)
downloadFreeBSD-src-fb34f527b180d61029cbbe0f4a19be0973f00de4.zip
FreeBSD-src-fb34f527b180d61029cbbe0f4a19be0973f00de4.tar.gz
Update the byve console code with stubs for cngrab and cnungrab
Reviewed by: grehan@
Diffstat (limited to 'sys/dev/bvm')
-rw-r--r--sys/dev/bvm/bvm_console.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/sys/dev/bvm/bvm_console.c b/sys/dev/bvm/bvm_console.c
index 2919100..a0e70e5 100644
--- a/sys/dev/bvm/bvm_console.c
+++ b/sys/dev/bvm/bvm_console.c
@@ -77,6 +77,8 @@ static cn_init_t bvm_cninit;
static cn_term_t bvm_cnterm;
static cn_getc_t bvm_cngetc;
static cn_putc_t bvm_cnputc;
+static cn_grab_t bvm_cngrab;
+static cn_ungrab_t bvm_cnungrab;
CONSOLE_DRIVER(bvm);
@@ -225,4 +227,14 @@ bvm_cnputc(struct consdev *cp, int c)
bvm_wcons(c);
}
+static void
+bvm_cngrab(struct consdev *cp)
+{
+}
+
+static void
+bvm_cnungrab(struct consdev *cp)
+{
+}
+
SYSINIT(cndev, SI_SUB_CONFIGURE, SI_ORDER_MIDDLE, cn_drvinit, NULL);
OpenPOWER on IntegriCloud