aboutsummaryrefslogtreecommitdiff
path: root/sys/xen/interface/io/console.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/xen/interface/io/console.h')
-rw-r--r--sys/xen/interface/io/console.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/sys/xen/interface/io/console.h b/sys/xen/interface/io/console.h
index e2cd97f77fba..4811f47220a9 100644
--- a/sys/xen/interface/io/console.h
+++ b/sys/xen/interface/io/console.h
@@ -1,8 +1,8 @@
/******************************************************************************
* console.h
- *
+ *
* Console I/O interface for Xen guest OSes.
- *
+ *
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to
* deal in the Software without restriction, including without limitation the
@@ -38,6 +38,11 @@ struct xencons_interface {
XENCONS_RING_IDX out_cons, out_prod;
};
+#ifdef XEN_WANT_FLEX_CONSOLE_RING
+#include "ring.h"
+DEFINE_XEN_FLEX_RING(xencons);
+#endif
+
#endif /* __XEN_PUBLIC_IO_CONSOLE_H__ */
/*