157094Sakito /* 257094Sakito * Copyright (c) 1992 OMRON Corporation. 3*63199Sbostic * Copyright (c) 1992, 1993 4*63199Sbostic * The Regents of the University of California. All rights reserved. 557094Sakito * 657094Sakito * This code is derived from software contributed to Berkeley by 757094Sakito * OMRON Corporation. 857094Sakito * 957094Sakito * %sccs.include.redist.c% 1057094Sakito * 11*63199Sbostic * @(#)romcons.c 8.1 (Berkeley) 06/10/93 1257094Sakito */ 1357094Sakito 1457094Sakito /* romcons.c OCT-21-1991 */ 1557094Sakito 1657094Sakito #include <sys/types.h> 1757094Sakito #include <luna68k/luna68k/cons.h> 1857094Sakito #include <luna68k/stand/romvec.h> 1957094Sakito 2057094Sakito romcnprobe(cp) 2157094Sakito struct consdev *cp; 2257094Sakito { 2357094Sakito cp->cn_tp = 0; 2457094Sakito cp->cn_dev = 0; 2557094Sakito cp->cn_pri = CN_NORMAL; 2657094Sakito } 2757094Sakito 2857094Sakito romcninit(cp) 2957094Sakito struct consdev *cp; 3057094Sakito { 3157094Sakito } 3257094Sakito romcngetc(dev)3357094Sakitoromcngetc(dev) 3457094Sakito dev_t dev; 3557094Sakito { 3657094Sakito int c; 3757094Sakito 3857094Sakito for (;;) 3957094Sakito if ((c = ROM_getchar()) != -1) 4057094Sakito break; 4157094Sakito 4257094Sakito return(c); 4357094Sakito } 4457094Sakito romcnputc(dev,c)4557094Sakitoromcnputc(dev, c) 4657094Sakito dev_t dev; 4757094Sakito int c; 4857094Sakito { 4957094Sakito ROM_putchar(c); 5057094Sakito } 51