Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/evbppc/explora No need to clear framebuffer here; r...



details:   https://anonhg.NetBSD.org/src/rev/b9f07fe918ab
branches:  trunk
changeset: 953358:b9f07fe918ab
user:      rin <rin%NetBSD.org@localhost>
date:      Sun Mar 07 09:48:33 2021 +0000

description:
No need to clear framebuffer here; rasops(4) takes care of it.

diffstat:

 sys/arch/evbppc/explora/consinit.c |  7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)

diffs (28 lines):

diff -r aa63f43c6cb8 -r b9f07fe918ab sys/arch/evbppc/explora/consinit.c
--- a/sys/arch/evbppc/explora/consinit.c        Sun Mar 07 09:47:00 2021 +0000
+++ b/sys/arch/evbppc/explora/consinit.c        Sun Mar 07 09:48:33 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: consinit.c,v 1.11 2021/03/07 09:47:00 rin Exp $        */
+/*     $NetBSD: consinit.c,v 1.12 2021/03/07 09:48:33 rin Exp $        */
 
 /*-
  * Copyright (c) 2003 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: consinit.c,v 1.11 2021/03/07 09:47:00 rin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: consinit.c,v 1.12 2021/03/07 09:48:33 rin Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -81,9 +81,6 @@
            COM_FREQ, COM_TYPE_NORMAL,
            (TTYDEF_CFLAG & ~(CSIZE | CSTOPB | PARENB)) | CS8);
 #else
-       /* Clear VRam */
-       memset((void *)BASE_FB, 0, SIZE_FB);
-
        tag = elb_get_bus_space_tag(BASE_FB);
        fb_cnattach(tag, BASE_FB2, (void *)BASE_FB);
 



Home | Main Index | Thread Index | Old Index