Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-2-0]: src/sys/arch/amiga/dev Pullup rev 1.7 (requested by mhitch ...
details: https://anonhg.NetBSD.org/src/rev/9f2d93c76469
branches: netbsd-2-0
changeset: 562803:9f2d93c76469
user: jmc <jmc%NetBSD.org@localhost>
date: Fri Nov 12 05:07:35 2004 +0000
description:
Pullup rev 1.7 (requested by mhitch in ticket #923)
The gcc3 compiler optimized away writing character data to the Cirrus chip,
which results in a blank display - making it rather difficult to do an
install or upgrade when using a Cirrus-based display. Change the pointer
used to write the character and attribute to volatile. The console screen
now shows data and is usable.
diffstat:
sys/arch/amiga/dev/ite_cl.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 72278a03128b -r 9f2d93c76469 sys/arch/amiga/dev/ite_cl.c
--- a/sys/arch/amiga/dev/ite_cl.c Fri Nov 12 05:07:04 2004 +0000
+++ b/sys/arch/amiga/dev/ite_cl.c Fri Nov 12 05:07:35 2004 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ite_cl.c,v 1.6 2002/01/28 09:56:59 aymeric Exp $ */
+/* $NetBSD: ite_cl.c,v 1.6.18.1 2004/11/12 05:07:35 jmc Exp $ */
/*
* Copyright (c) 1995 Ezra Story
@@ -36,7 +36,7 @@
#include "opt_amigacons.h"
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ite_cl.c,v 1.6 2002/01/28 09:56:59 aymeric Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ite_cl.c,v 1.6.18.1 2004/11/12 05:07:35 jmc Exp $");
#include "grfcl.h"
#if NGRFCL > 0
@@ -152,7 +152,7 @@
volatile unsigned char *ba = ip->grf->g_regkva;
unsigned char *fb = ip->grf->g_fbkva;
unsigned char attr;
- unsigned char *cp;
+ volatile unsigned char *cp;
if (ip->flags & ITE_INGRF)
return;
Home |
Main Index |
Thread Index |
Old Index