add a reference to a fuzix display mode struct in our per-tty struct.
authorBrett Gordon <beretta42@gmail.com>
Wed, 7 Oct 2015 14:53:00 +0000 (10:53 -0400)
committerBrett Gordon <beretta42@gmail.com>
Wed, 7 Oct 2015 14:53:00 +0000 (10:53 -0400)
Kernel/platform-coco3/devtty.h

index 53a518a..fc272a8 100644 (file)
@@ -2,6 +2,7 @@
 #define __DEVTTY_DOT_H__
 
 #include <../include/vt.h>
+#include <../include/graphics.h>
 
 static struct pty {
        unsigned char *base;    /* base of buffer in cpu space */
@@ -14,6 +15,7 @@ static struct pty {
        unsigned char height;   /* text height */
        unsigned char right;    /* right most coord */
        unsigned char bottom;   /* bottom most coord */
+       struct display *fdisp;  /* ptr to struct for ioctl */
 };
 
 extern struct pty *curpty;