- Linus: more PageDirty / swapcache handling
[davej-history.git] / arch / mips64 / arc / console.c
blob31af388dc92b68c84ddd26cbf1e6db0a8b572563
1 /*
2 * This file is subject to the terms and conditions of the GNU General Public
3 * License. See the file "COPYING" in the main directory of this archive
4 * for more details.
6 * Copyright (C) 1996 David S. Miller (dm@sgi.com)
7 */
8 #include <linux/init.h>
9 #include <asm/sgialib.h>
11 void prom_putchar(char c)
13 ULONG cnt;
14 CHAR it = c;
16 ArcWrite(1, &it, 1, &cnt);
19 char __init prom_getchar(void)
21 ULONG cnt;
22 CHAR c;
24 ArcRead(0, &c, 1, &cnt);
26 return c;