artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
524662a
)
Fix of_cmap[] size. Makes the textmode cursor reappear on vgafb (i.e.
author
miod
<miod@openbsd.org>
Sat, 4 Jan 2014 20:28:24 +0000
(20:28 +0000)
committer
miod
<miod@openbsd.org>
Sat, 4 Jan 2014 20:28:24 +0000
(20:28 +0000)
non-radeon) systems.
sys/arch/macppc/macppc/ofw_machdep.c
patch
|
blob
|
history
diff --git
a/sys/arch/macppc/macppc/ofw_machdep.c
b/sys/arch/macppc/macppc/ofw_machdep.c
index
56b975c
..
44300e3
100644
(file)
--- a/
sys/arch/macppc/macppc/ofw_machdep.c
+++ b/
sys/arch/macppc/macppc/ofw_machdep.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: ofw_machdep.c,v 1.4
3 2013/08/28 20:47:10 mpi Exp $
*/
+/* $OpenBSD: ofw_machdep.c,v 1.4
4 2014/01/04 20:28:24 miod Exp $
*/
/* $NetBSD: ofw_machdep.c,v 1.1 1996/09/30 16:34:50 ws Exp $ */
/*
@@
-502,7
+502,7
@@
of_setbrightness(int brightness)
/* XXX this routine should also save the brightness settings in the nvram */
}
-uint8_t of_cmap[256];
+uint8_t of_cmap[256
* 3
];
void
of_setcolors(const uint8_t *cmap, unsigned int index, unsigned int count)