Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Nov 2012 20:50:42 GMT
From:      Brooks Davis <brooks@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 219799 for review
Message-ID:  <201211152050.qAFKogRI074750@skunkworks.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://p4web.freebsd.org/@@219799?ac=10

Change 219799 by brooks@brooks_zenith on 2012/11/15 20:50:41

	Make wr color the whole screen red to better support new demo
	apps with white backgrounds.

Affected files ...

.. //depot/projects/ctsrd/cheribsd/src/ctsrd/wr/Makefile#2 edit
.. //depot/projects/ctsrd/cheribsd/src/ctsrd/wr/wr.c#2 edit

Differences ...

==== //depot/projects/ctsrd/cheribsd/src/ctsrd/wr/Makefile#2 (text+ko) ====

@@ -9,6 +9,7 @@
 
 WARNS=	6
 
+CFLAGS+=	-DALL_RED
 LDADD+=	-lde4tc -lvuln_png -lz -lm
 
 .include <bsd.prog.mk>

==== //depot/projects/ctsrd/cheribsd/src/ctsrd/wr/wr.c#2 (text+ko) ====

@@ -41,7 +41,11 @@
 	fb_init();
 
 	for (i = 0; i < fb_width * fb_height; i++)
+#ifdef ALL_RED
+		pfbp[i] = 0xff00;
+#else
 		pfbp[i] = pfbp[i] | 0xff00;
+#endif
 
 	return (99);
 }



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201211152050.qAFKogRI074750>