diff --git a/sys/arch/arm32/dev/console/console.c b/sys/arch/arm32/dev/console/console.c index a5b5379a1d5d..e3bddc97e278 100644 --- a/sys/arch/arm32/dev/console/console.c +++ b/sys/arch/arm32/dev/console/console.c @@ -1,4 +1,4 @@ -/* $NetBSD: console.c,v 1.2 1996/02/05 16:49:01 mark Exp $ */ +/* $NetBSD: console.c,v 1.3 1996/02/15 22:54:45 mark Exp $ */ /* * Copyright (c) 1994-1995 Melvyn Tang-Richardson @@ -41,7 +41,7 @@ * Created : 17/09/94 * Last updated : 15/11/95 * - * $Id: console.c,v 1.2 1996/02/05 16:49:01 mark Exp $ + * $Id: console.c,v 1.3 1996/02/15 22:54:45 mark Exp $ */ #include @@ -907,11 +907,12 @@ physconputstring(string, length) * Get a character from the physical console */ +int getkey_polled __P(()); + char physcongetchar(void) { - panic("physcongetchar called\n"); - return 0; + return(getkey_polled()); } void diff --git a/sys/arch/arm32/vidc/console/console.c b/sys/arch/arm32/vidc/console/console.c index a5b5379a1d5d..e3bddc97e278 100644 --- a/sys/arch/arm32/vidc/console/console.c +++ b/sys/arch/arm32/vidc/console/console.c @@ -1,4 +1,4 @@ -/* $NetBSD: console.c,v 1.2 1996/02/05 16:49:01 mark Exp $ */ +/* $NetBSD: console.c,v 1.3 1996/02/15 22:54:45 mark Exp $ */ /* * Copyright (c) 1994-1995 Melvyn Tang-Richardson @@ -41,7 +41,7 @@ * Created : 17/09/94 * Last updated : 15/11/95 * - * $Id: console.c,v 1.2 1996/02/05 16:49:01 mark Exp $ + * $Id: console.c,v 1.3 1996/02/15 22:54:45 mark Exp $ */ #include @@ -907,11 +907,12 @@ physconputstring(string, length) * Get a character from the physical console */ +int getkey_polled __P(()); + char physcongetchar(void) { - panic("physcongetchar called\n"); - return 0; + return(getkey_polled()); } void