summaryrefslogtreecommitdiff
path: root/sys/dev/sbus
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>2003-03-27 18:08:33 +0000
committerJason Wright <jason@cvs.openbsd.org>2003-03-27 18:08:33 +0000
commitc93d758d08071e5499e097ab90fb13cd42627c95 (patch)
treed637ea18eb7929f407a18ca7b7bd933560cfa105 /sys/dev/sbus
parent9eba4197ee0b84013fa890e70887ea49f56930c7 (diff)
Whoops, the rest of the *CURS* ioctl support
Diffstat (limited to 'sys/dev/sbus')
-rw-r--r--sys/dev/sbus/cgsixreg.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/dev/sbus/cgsixreg.h b/sys/dev/sbus/cgsixreg.h
index 1e415cc1f40..99c9f5a830b 100644
--- a/sys/dev/sbus/cgsixreg.h
+++ b/sys/dev/sbus/cgsixreg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: cgsixreg.h,v 1.4 2002/08/12 16:18:59 jason Exp $ */
+/* $OpenBSD: cgsixreg.h,v 1.5 2003/03/27 18:08:32 jason Exp $ */
/*
* Copyright (c) 2002 Jason L. Wright (jason@thought.net)
@@ -222,6 +222,9 @@ struct cgsix_softc {
void *sc_ih;
u_int sc_mode;
int *sc_crowp, *sc_ccolp;
+ u_int sc_curs_enabled, sc_curs_fg, sc_curs_bg;
+ struct wsdisplay_curpos sc_curs_pos, sc_curs_hot, sc_curs_size;
+ u_char sc_curs_image[128], sc_curs_mask[128];
};
#define CG6_USER_FBC 0x70000000
@@ -272,4 +275,6 @@ struct cgsix_softc {
#define CG6_DRAIN(sc) \
while (FBC_READ(sc, CG6_FBC_S) & FBC_S_GXINPROGRESS)
+#define CG6_MAX_CURSOR 32
+
#define CG6_CFFLAG_NOACCEL 0x1 /* disable console acceleration */