Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/amiga/amiga cnpollc needs to be called before cngetc



details:   https://anonhg.NetBSD.org/src/rev/6fa9a7f68a76
branches:  trunk
changeset: 997151:6fa9a7f68a76
user:      jandberg <jandberg%NetBSD.org@localhost>
date:      Sun Feb 24 19:24:20 2019 +0000

description:
cnpollc needs to be called before cngetc

diffstat:

 sys/arch/amiga/amiga/machdep.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (28 lines):

diff -r e71536d8bb48 -r 6fa9a7f68a76 sys/arch/amiga/amiga/machdep.c
--- a/sys/arch/amiga/amiga/machdep.c    Sun Feb 24 19:06:40 2019 +0000
+++ b/sys/arch/amiga/amiga/machdep.c    Sun Feb 24 19:24:20 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: machdep.c,v 1.250 2018/12/05 09:34:46 mlelstv Exp $    */
+/*     $NetBSD: machdep.c,v 1.251 2019/02/24 19:24:20 jandberg Exp $   */
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -50,7 +50,7 @@
 #include "empm.h"
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.250 2018/12/05 09:34:46 mlelstv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.251 2019/02/24 19:24:20 jandberg Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -440,7 +440,9 @@
                printf("\n");
                printf("The operating system has halted.\n");
                printf("Please press any key to reboot.\n\n");
+               cnpollc(1);
                cngetc();
+               cnpollc(0);
        }
 
        printf("rebooting...\n");



Home | Main Index | Thread Index | Old Index