summaryrefslogtreecommitdiff
path: root/sys/dev/pv/xen.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/pv/xen.c')
-rw-r--r--sys/dev/pv/xen.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/sys/dev/pv/xen.c b/sys/dev/pv/xen.c
index e4036af176b..b09ec2aa041 100644
--- a/sys/dev/pv/xen.c
+++ b/sys/dev/pv/xen.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: xen.c,v 1.73 2017/01/31 12:17:20 mikeb Exp $ */
+/* $OpenBSD: xen.c,v 1.74 2017/02/06 21:43:48 mikeb Exp $ */
/*
* Copyright (c) 2015 Mike Belopuhov
@@ -55,6 +55,14 @@
#include <dev/pv/xenreg.h>
#include <dev/pv/xenvar.h>
+/* #define XEN_DEBUG */
+
+#ifdef XEN_DEBUG
+#define DPRINTF(x...) printf(x)
+#else
+#define DPRINTF(x...)
+#endif
+
struct xen_softc *xen_sc;
int xen_init_hypercall(struct xen_softc *);