diff --git a/sys/amd64/amd64/locore.S b/sys/amd64/amd64/locore.S index 519c5753c52c..4d6ca1fccff1 100644 --- a/sys/amd64/amd64/locore.S +++ b/sys/amd64/amd64/locore.S @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * from: @(#)locore.s 7.3 (Berkeley) 5/13/91 - * $Id: locore.s,v 1.41 1994/10/26 21:52:25 bde Exp $ + * $Id: locore.s,v 1.42 1994/10/30 20:09:12 bde Exp $ */ /* @@ -701,7 +701,8 @@ begin: /* now running relocated at KERNBASE where the system is linked to run */ movl %edx,_atdevbase #include "sc.h" -#if NSC > 0 +#include "vt.h" +#if NSC > 0 || NVT > 0 /* XXX: can't scinit relocate Crtat relative to atdevbase itself? */ .globl _Crtat /* XXX - locore should not know about */ movl _Crtat,%eax /* variables of device drivers (pccons)! */ diff --git a/sys/amd64/amd64/locore.s b/sys/amd64/amd64/locore.s index 519c5753c52c..4d6ca1fccff1 100644 --- a/sys/amd64/amd64/locore.s +++ b/sys/amd64/amd64/locore.s @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * from: @(#)locore.s 7.3 (Berkeley) 5/13/91 - * $Id: locore.s,v 1.41 1994/10/26 21:52:25 bde Exp $ + * $Id: locore.s,v 1.42 1994/10/30 20:09:12 bde Exp $ */ /* @@ -701,7 +701,8 @@ begin: /* now running relocated at KERNBASE where the system is linked to run */ movl %edx,_atdevbase #include "sc.h" -#if NSC > 0 +#include "vt.h" +#if NSC > 0 || NVT > 0 /* XXX: can't scinit relocate Crtat relative to atdevbase itself? */ .globl _Crtat /* XXX - locore should not know about */ movl _Crtat,%eax /* variables of device drivers (pccons)! */ diff --git a/sys/i386/i386/conf.c b/sys/i386/i386/conf.c index 188fc995e620..5c690a7e1995 100644 --- a/sys/i386/i386/conf.c +++ b/sys/i386/i386/conf.c @@ -41,7 +41,7 @@ * SUCH DAMAGE. * * from: @(#)conf.c 5.8 (Berkeley) 5/12/91 - * $Id: conf.c,v 1.37 1994/10/01 17:59:36 davidg Exp $ + * $Id: conf.c,v 1.38 1994/10/13 20:17:06 sos Exp $ */ #include @@ -271,7 +271,8 @@ int nblkdev = sizeof (bdevsw) / sizeof (bdevsw[0]); /* more console */ #include "sc.h" -#if NSC > 0 +#include "vt.h" +#if NSC > 0 || NVT > 0 d_open_t pcopen; d_close_t pcclose; d_rdwr_t pcread, pcwrite; diff --git a/sys/i386/i386/cons.c b/sys/i386/i386/cons.c index 1ad442ac9a59..9ed6e62ecc08 100644 --- a/sys/i386/i386/cons.c +++ b/sys/i386/i386/cons.c @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * from: @(#)cons.c 7.2 (Berkeley) 5/9/91 - * $Id: cons.c,v 1.15 1994/08/31 07:44:22 davidg Exp $ + * $Id: cons.c,v 1.16 1994/10/20 00:07:45 phk Exp $ */ @@ -56,7 +56,8 @@ /* XXX - all this could be autoconfig()ed */ #include "sc.h" -#if NSC > 0 +#include "vt.h" +#if NSC > 0 || NVT > 0 int pccnprobe(), pccninit(), pccngetc(), pccncheckc(), pccnputc(); #endif diff --git a/sys/i386/i386/locore.s b/sys/i386/i386/locore.s index 519c5753c52c..4d6ca1fccff1 100644 --- a/sys/i386/i386/locore.s +++ b/sys/i386/i386/locore.s @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * from: @(#)locore.s 7.3 (Berkeley) 5/13/91 - * $Id: locore.s,v 1.41 1994/10/26 21:52:25 bde Exp $ + * $Id: locore.s,v 1.42 1994/10/30 20:09:12 bde Exp $ */ /* @@ -701,7 +701,8 @@ begin: /* now running relocated at KERNBASE where the system is linked to run */ movl %edx,_atdevbase #include "sc.h" -#if NSC > 0 +#include "vt.h" +#if NSC > 0 || NVT > 0 /* XXX: can't scinit relocate Crtat relative to atdevbase itself? */ .globl _Crtat /* XXX - locore should not know about */ movl _Crtat,%eax /* variables of device drivers (pccons)! */ diff --git a/sys/kern/tty_cons.c b/sys/kern/tty_cons.c index 1ad442ac9a59..9ed6e62ecc08 100644 --- a/sys/kern/tty_cons.c +++ b/sys/kern/tty_cons.c @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * from: @(#)cons.c 7.2 (Berkeley) 5/9/91 - * $Id: cons.c,v 1.15 1994/08/31 07:44:22 davidg Exp $ + * $Id: cons.c,v 1.16 1994/10/20 00:07:45 phk Exp $ */ @@ -56,7 +56,8 @@ /* XXX - all this could be autoconfig()ed */ #include "sc.h" -#if NSC > 0 +#include "vt.h" +#if NSC > 0 || NVT > 0 int pccnprobe(), pccninit(), pccngetc(), pccncheckc(), pccnputc(); #endif