summaryrefslogtreecommitdiff
path: root/src/svga_escape.h
diff options
context:
space:
mode:
authorAnas Nashif <anas.nashif@intel.com>2012-11-06 21:17:37 -0800
committerAnas Nashif <anas.nashif@intel.com>2012-11-06 21:17:37 -0800
commit9aa09856bf24e0a58e4b63034a80c948a1f44c53 (patch)
tree103710a7f7efc528607be5c3872bd162af08b936 /src/svga_escape.h
downloadxf86-video-vmware-upstream.tar.gz
xf86-video-vmware-upstream.tar.bz2
xf86-video-vmware-upstream.zip
Imported Upstream version 12.0.2.007bed3upstream/12.0.2.007bed3upstream/12.0.212.0.2upstream
Diffstat (limited to 'src/svga_escape.h')
-rw-r--r--src/svga_escape.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/svga_escape.h b/src/svga_escape.h
new file mode 100644
index 0000000..c9e7b23
--- /dev/null
+++ b/src/svga_escape.h
@@ -0,0 +1,30 @@
+/* **********************************************************
+ * Copyright 2007 VMware, Inc. All rights reserved.
+ * **********************************************************/
+
+/*
+ * svga_escape.h --
+ *
+ * Definitions for our own (vendor-specific) SVGA Escape commands.
+ */
+
+#ifndef _SVGA_ESCAPE_H_
+#define _SVGA_ESCAPE_H_
+
+/*
+ * Namespace IDs for the escape command
+ */
+
+#define SVGA_ESCAPE_NSID_VMWARE 0x00000000
+#define SVGA_ESCAPE_NSID_DEVEL 0xFFFFFFFF
+
+/*
+ * Within SVGA_ESCAPE_NSID_VMWARE, we multiplex commands according to
+ * the first DWORD of escape data (after the nsID and size). As a
+ * guideline we're using the high word and low word as a major and
+ * minor command number, respectively.
+ */
+
+#define SVGA_ESCAPE_VMWARE_MAJOR_MASK 0xFFFF0000
+
+#endif /* _SVGA_ESCAPE_H_ */