Added hooks for an easy drop-in of the pcvt concole driver.

Don't panic:-), this is simple stuff just doing exactly the same as for syscons.
(files.i386 did already contain the necessary stuff.)
This commit is contained in:
Joerg Wunsch 1994-10-31 17:20:15 +00:00
parent 9a3a04ad26
commit 0cdf7aff6d
6 changed files with 18 additions and 12 deletions

View File

@ -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)! */

View File

@ -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)! */

View File

@ -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 <sys/param.h>
@ -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;

View File

@ -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

View File

@ -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)! */

View File

@ -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