diff options
author | Mike Belopuhov <mikeb@cvs.openbsd.org> | 2017-02-06 21:43:49 +0000 |
---|---|---|
committer | Mike Belopuhov <mikeb@cvs.openbsd.org> | 2017-02-06 21:43:49 +0000 |
commit | b3efe1bf17f3b1f70522a57b58ead18be3ea3e6e (patch) | |
tree | 86b8280634b4a797fdfe9b6390b8537dd80e7505 /sys/dev/pv/xen.c | |
parent | 21d83401dd57aa8761ec0d503af1c87eb5c0b24c (diff) |
Use separate compile time debug flags for xen, xnf and xbf
Diffstat (limited to 'sys/dev/pv/xen.c')
-rw-r--r-- | sys/dev/pv/xen.c | 10 |
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 *); |