patch-2.3.9 linux/arch/mips/sgi/prom/console.c
Next file: linux/arch/mips/sgi/prom/env.c
Previous file: linux/arch/mips/sgi/prom/cmdline.c
Back to the patch index
Back to the overall index
- Lines: 27
- Date:
Wed Dec 31 16:00:00 1969
- Orig file:
v2.3.8/linux/arch/mips/sgi/prom/console.c
- Orig date:
Tue Oct 20 13:52:55 1998
diff -u --recursive --new-file v2.3.8/linux/arch/mips/sgi/prom/console.c linux/arch/mips/sgi/prom/console.c
@@ -1,26 +0,0 @@
-/*
- * console.c: SGI arcs console code.
- *
- * Copyright (C) 1996 David S. Miller (dm@sgi.com)
- *
- * $Id: console.c,v 1.2 1998/03/27 08:53:46 ralf Exp $
- */
-#include <linux/init.h>
-#include <asm/sgialib.h>
-
-__initfunc(void prom_putchar(char c))
-{
- long cnt;
- char it = c;
-
- romvec->write(1, &it, 1, &cnt);
-}
-
-__initfunc(char prom_getchar(void))
-{
- long cnt;
- char c;
-
- romvec->read(0, &c, 1, &cnt);
- return c;
-}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)