do not use fb_unblank unless NFB > 0
This commit is contained in:
parent
655a55141c
commit
002fbe8721
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: autoconf.c,v 1.80 1997/10/18 00:01:42 gwr Exp $ */
|
||||
/* $NetBSD: autoconf.c,v 1.81 1998/01/08 01:13:58 mrg Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1996
|
||||
|
@ -1697,7 +1697,11 @@ callrom()
|
|||
|
||||
#if 0 /* sun4c FORTH PROMs do this for us */
|
||||
if (CPU_ISSUN4)
|
||||
#if NFB > 0
|
||||
fb_unblank();
|
||||
#else
|
||||
;
|
||||
#endif
|
||||
#endif
|
||||
promvec->pv_abort();
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: kgdb_machdep.c,v 1.2 1997/09/27 18:04:47 pk Exp $ */
|
||||
/* $NetBSD: kgdb_machdep.c,v 1.3 1998/01/08 01:17:55 mrg Exp $ */
|
||||
/*-
|
||||
* Copyright (c) 1997 The NetBSD Foundation, Inc.
|
||||
* All rights reserved.
|
||||
|
@ -149,7 +149,9 @@ kgdb_connect(verbose)
|
|||
|
||||
if (kgdb_dev < 0)
|
||||
return;
|
||||
#if NFB > 0
|
||||
fb_unblank();
|
||||
#endif
|
||||
if (verbose)
|
||||
printf("kgdb waiting...");
|
||||
__asm("ta %0" :: "n" (T_KGDB_EXEC)); /* trap into kgdb */
|
||||
|
|
Loading…
Reference in New Issue