summaryrefslogtreecommitdiffstats
path: root/sys/dev/dcons/dcons.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/dcons/dcons.h')
-rw-r--r--sys/dev/dcons/dcons.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/sys/dev/dcons/dcons.h b/sys/dev/dcons/dcons.h
index 73265bc..6c25ee1 100644
--- a/sys/dev/dcons/dcons.h
+++ b/sys/dev/dcons/dcons.h
@@ -90,8 +90,12 @@ struct dcons_ch {
#define STATE2 2
#ifdef _KERNEL
-extern struct dcons_buf *dcons_buf;
-extern size_t dcons_bufsize;
-extern bus_dma_tag_t dcons_dma_tag;
-extern bus_dmamap_t dcons_dma_map;
+struct dcons_global {
+ struct consdev *cdev;
+ struct dcons_buf *buf;
+ size_t size;
+ bus_dma_tag_t dma_tag;
+ bus_dmamap_t dma_map;
+};
+extern struct dcons_global *dcons_conf;
#endif
OpenPOWER on IntegriCloud