Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/powerpc/oea set RI_NO_AUTO when initializing the ea...
details: https://anonhg.NetBSD.org/src/rev/6597613f384c
branches: trunk
changeset: 754610:6597613f384c
user: macallan <macallan%NetBSD.org@localhost>
date: Thu May 06 04:32:16 2010 +0000
description:
set RI_NO_AUTO when initializing the early console - we're so early that
kmem_alloc() can't be used and we don't really need box drawing characters
for the OF font anyway
diffstat:
sys/arch/powerpc/oea/ofw_rascons.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r cfe321e34981 -r 6597613f384c sys/arch/powerpc/oea/ofw_rascons.c
--- a/sys/arch/powerpc/oea/ofw_rascons.c Thu May 06 04:30:18 2010 +0000
+++ b/sys/arch/powerpc/oea/ofw_rascons.c Thu May 06 04:32:16 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ofw_rascons.c,v 1.4 2010/03/10 18:36:05 kiyohara Exp $ */
+/* $NetBSD: ofw_rascons.c,v 1.5 2010/05/06 04:32:16 macallan Exp $ */
/*
* Copyright (c) 1995, 1996 Carnegie-Mellon University.
@@ -28,7 +28,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ofw_rascons.c,v 1.4 2010/03/10 18:36:05 kiyohara Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ofw_rascons.c,v 1.5 2010/05/06 04:32:16 macallan Exp $");
#include <sys/param.h>
#include <sys/buf.h>
@@ -223,7 +223,7 @@
ri->ri_depth = depth;
ri->ri_stride = linebytes;
ri->ri_bits = (char *)fbaddr;
- ri->ri_flg = RI_CENTER | RI_FULLCLEAR;
+ ri->ri_flg = RI_CENTER | RI_FULLCLEAR | RI_NO_AUTO;
/* mimic firmware output if we can find the ROM font */
if (romfont_loaded) {
Home |
Main Index |
Thread Index |
Old Index