summaryrefslogtreecommitdiff
path: root/src/regsmi.h
diff options
context:
space:
mode:
authorFrancisco Jerez <currojerez@gmail.com>2008-10-28 00:06:37 +0100
committerPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2008-10-28 15:09:43 -0200
commit0faeddb208d8fade4737be4bcadb8814696bd7b4 (patch)
treeb969fbd6e8929f75dfc55c6483ae695ca4e5f116 /src/regsmi.h
parent5d151781515cf2e3af1322ce6ed5f8d871c05791 (diff)
Lynx hardware cursor code adapted to the CRTC interfaces.
Diffstat (limited to 'src/regsmi.h')
-rw-r--r--src/regsmi.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/regsmi.h b/src/regsmi.h
index a2ddfda..2626f2e 100644
--- a/src/regsmi.h
+++ b/src/regsmi.h
@@ -311,6 +311,12 @@ VGAOUT8(SMIPtr pSmi, int port, CARD8 data)
#define FPR15C_MASK_HWCADDREN 0xFFFF0000
#define FPR15C_MASK_HWCENABLE 0x80000000
+/* Maximum hardware cursor dimensions */
+#define SMILYNX_MAX_CURSOR 32
+#define SMI501_MAX_CURSOR 64
+#define SMILYNX_CURSOR_SIZE 1024
+#define SMI501_CURSOR_SIZE 2048
+
/* HWCursor definitons for Panel AND CRT */
#define SMI501_MASK_HWCENABLE 0x80000000
#define SMI501_MASK_MAXBITS 0x000007FF