PERFORCE change 219799 for review
Brooks Davis
brooks at FreeBSD.org
Thu Nov 15 20:50:43 UTC 2012
http://p4web.freebsd.org/@@219799?ac=10
Change 219799 by brooks at 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);
}
More information about the p4-projects
mailing list