platforms: more vtattr fixups
authorAlan Cox <alan@linux.intel.com>
Thu, 11 Jun 2015 21:14:18 +0000 (22:14 +0100)
committerAlan Cox <alan@linux.intel.com>
Thu, 11 Jun 2015 21:14:18 +0000 (22:14 +0100)
None of these actually add an attr support yet

Kernel/platform-msx1/devtty.c
Kernel/platform-msx2/devtty.c
Kernel/platform-nc100/devtty.c
Kernel/platform-pcw8256/devtty.c

index c9a0210..b33593e 100644 (file)
@@ -19,6 +19,8 @@ struct s_queue ttyinq[NUM_DEV_TTY + 1] = {    /* ttyinq[0] is never used */
        {tbuf2, tbuf2, tbuf2, TTYSIZ, 0, TTYSIZ / 2}
 };
 
+uint8_t vtattr_cap = 0;                /* For now */
+
 /* tty1 is the screen tty2 is the debug port */
 
 /* Output for the system console (kprintf etc) */
index bac3463..991a68d 100644 (file)
@@ -16,6 +16,8 @@ __sfr __at 0xA9 kbd_row_read;
 char tbuf1[TTYSIZ];
 char tbuf2[TTYSIZ];
 
+uint8_t vtattr_cap;
+
 struct s_queue ttyinq[NUM_DEV_TTY + 1] = {     /* ttyinq[0] is never used */
        {NULL, NULL, NULL, 0, 0, 0},
        {tbuf1, tbuf1, tbuf1, TTYSIZ, 0, TTYSIZ / 2},
index ec1ba1c..231a0fe 100644 (file)
@@ -26,6 +26,8 @@ __sfr __at 0xB7 kmap7;
 __sfr __at 0xB8 kmap8;
 __sfr __at 0xB9 kmap9;
 
+uint8_t vtattr_cap;
+
 char tbuf1[TTYSIZ];
 char tbuf2[TTYSIZ];
 
index a28f865..ce480d7 100644 (file)
@@ -8,6 +8,8 @@
 
 #undef  DEBUG            /* UNdefine to delete debug code sequences */
 
+uint8_t vtattr_cap;
+
 __sfr __at 0xE0        dart0d;
 __sfr __at 0xE1 dart0c;
 __sfr __at 0xE2        dart1d;