Move KA630 definitions from boot/boot/consio.c to here.
This commit is contained in:
parent
15c6bb6dbd
commit
ab5d2882a0
|
@ -1,4 +1,4 @@
|
||||||
/* $NetBSD: ka630.h,v 1.4 2000/01/24 02:40:32 matt Exp $ */
|
/* $NetBSD: ka630.h,v 1.5 2000/07/19 01:01:58 matt Exp $ */
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 1986, 1988 The Regents of the University of California.
|
* Copyright (c) 1986, 1988 The Regents of the University of California.
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
|
@ -40,6 +40,7 @@
|
||||||
#define UVAXIISID ((u_long *)0x20040004)
|
#define UVAXIISID ((u_long *)0x20040004)
|
||||||
#define UVAXIICPU ((struct uvaxIIcpu *)0x20080000)
|
#define UVAXIICPU ((struct uvaxIIcpu *)0x20080000)
|
||||||
|
|
||||||
|
#ifndef _LOCORE
|
||||||
struct uvaxIIcpu {
|
struct uvaxIIcpu {
|
||||||
u_short uvaxII_bdr;
|
u_short uvaxII_bdr;
|
||||||
u_short uvaxII_xxx;
|
u_short uvaxII_xxx;
|
||||||
|
@ -47,6 +48,7 @@ struct uvaxIIcpu {
|
||||||
u_long uvaxII_cear;
|
u_long uvaxII_cear;
|
||||||
u_long uvaxII_dear;
|
u_long uvaxII_dear;
|
||||||
};
|
};
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Memory system err reg. */
|
/* Memory system err reg. */
|
||||||
#define UVAXIIMSER_CD 0x00000300
|
#define UVAXIIMSER_CD 0x00000300
|
||||||
|
@ -120,5 +122,17 @@ struct ka630clock {
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#define KA630_NVR_ADRS 0x200B8024
|
||||||
|
/* Definitions for various locations in the KA630 console page */
|
||||||
|
#define KA630_PUTC_POLL 0x20
|
||||||
|
#define KA630_PUTC 0x24
|
||||||
|
#define KA630_GETC 0x1C
|
||||||
|
#define KA630_ROW 0x4C
|
||||||
|
#define KA630_MINROW 0x4D
|
||||||
|
#define KA630_MAXROW 0x4E
|
||||||
|
#define KA630_COL 0x50
|
||||||
|
#define KA630_MINCOL 0x51
|
||||||
|
#define KA630_MAXCOL 0x52
|
||||||
|
|
||||||
#endif /* _VAX_INCLUDE_KA630_H_ */
|
#endif /* _VAX_INCLUDE_KA630_H_ */
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue