summaryrefslogtreecommitdiff
path: root/src/vmware_bootstrap.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/vmware_bootstrap.h')
-rw-r--r--src/vmware_bootstrap.h59
1 files changed, 59 insertions, 0 deletions
diff --git a/src/vmware_bootstrap.h b/src/vmware_bootstrap.h
new file mode 100644
index 0000000..172deb8
--- /dev/null
+++ b/src/vmware_bootstrap.h
@@ -0,0 +1,59 @@
1/*
2 * Copyright 2011 VMWare, Inc.
3 * All Rights Reserved.
4 *
5 * Permission is hereby granted, free of charge, to any person obtaining a
6 * copy of this software and associated documentation files (the
7 * "Software"), to deal in the Software without restriction, including
8 * without limitation the rights to use, copy, modify, merge, publish,
9 * distribute, sub license, and/or sell copies of the Software, and to
10 * permit persons to whom the Software is furnished to do so, subject to
11 * the following conditions:
12 *
13 * The above copyright notice and this permission notice (including the
14 * next paragraph) shall be included in all copies or substantial portions
15 * of the Software.
16 *
17 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
18 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
19 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.
20 * IN NO EVENT SHALL TUNGSTEN GRAPHICS AND/OR ITS SUPPLIERS BE LIABLE FOR
21 * ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
22 * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
23 * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
24 *
25 * Author: Thomas Hellstrom <thellstrom@vmware.com>
26 */
27#ifndef _VMWARE_BOOTSTRAP_H_
28#define _VMWARE_BOOTSTRAP_H_
29
30#include <xf86.h>
31
32#define VMWARE_INCHTOMM 25.4
33
34typedef enum {
35 OPTION_HW_CURSOR,
36 OPTION_XINERAMA,
37 OPTION_STATIC_XINERAMA,
38 OPTION_GUI_LAYOUT,
39 OPTION_DEFAULT_MODE,
40 OPTION_RENDER_ACCEL,
41 OPTION_DRI,
42 OPTION_DIRECT_PRESENTS,
43 OPTION_HW_PRESENTS,
44 OPTION_RENDERCHECK
45} VMWAREOpts;
46
47OptionInfoPtr VMWARECopyOptions(void);
48const char **vgahwSymbols;
49
50void
51vmwlegacy_hookup(ScrnInfoPtr pScrn);
52
53#ifdef BUILD_VMWGFX
54void
55vmwgfx_hookup(ScrnInfoPtr pScrn);
56#endif /* defined(BUILD_VMWGFX) */
57
58
59#endif