[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Minios-devel] [PATCH v3 1/4] mini-os: Enable console to be configured as raw tty using termios



Add a flag that records when a console is configured in raw mode.

Signed-off-by: Simon Waterman <watermansrdev@xxxxxxxxx>
Acked-by: Wei Liu <wei.liu2@xxxxxxxxxx>
---
 include/console.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/include/console.h b/include/console.h
index eb327a8..539cccd 100644
--- a/include/console.h
+++ b/include/console.h
@@ -43,6 +43,7 @@
 #include <xenbus.h>
 #include <xen/io/console.h>
 #include <stdarg.h>
+#include <stdbool.h>
 
 struct consfront_dev {
     domid_t dom;
@@ -56,6 +57,8 @@ struct consfront_dev {
 
     xenbus_event_queue events;
 
+    bool is_raw;
+
 #ifdef HAVE_LIBC
     int fd;
 #endif
-- 
2.7.4


_______________________________________________
Minios-devel mailing list
Minios-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/cgi-bin/mailman/listinfo/minios-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.