VirtualBox

source: vbox/trunk/src/VBox/Additions/x11/x11include/xorg-server-1.1.0/xf86Sbus.h@ 78293

Last change on this file since 78293 was 51223, checked in by vboxsync, 11 years ago

Additions/x11/x11include: added header files for X.Org Server 1.0 and 1.1.

  • Property svn:eol-style set to native
File size: 2.1 KB
Line 
1/*
2 * Platform specific SBUS and OpenPROM access declarations.
3 *
4 * Copyright (C) 2000 Jakub Jelinek ([email protected])
5 *
6 * Permission is hereby granted, free of charge, to any person obtaining a copy
7 * of this software and associated documentation files (the "Software"), to deal
8 * in the Software without restriction, including without limitation the rights
9 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10 * copies of the Software, and to permit persons to whom the Software is
11 * furnished to do so, subject to the following conditions:
12 *
13 * The above copyright notice and this permission notice shall be included in
14 * all copies or substantial portions of the Software.
15 *
16 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
19 * JAKUB JELINEK BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
20 * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
21 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22 */
23/* $XFree86: xc/programs/Xserver/hw/xfree86/os-support/bus/xf86Sbus.h,v 1.3 2001/04/20 17:02:43 tsi Exp $ */
24
25#ifdef HAVE_XORG_CONFIG_H
26#include <xorg-config.h>
27#endif
28
29#ifndef _XF86_SBUS_H
30#define _XF86_SBUS_H
31
32#if defined(linux)
33#include <asm/types.h>
34#include <linux/fb.h>
35#include <asm/fbio.h>
36#include <asm/openpromio.h>
37#elif defined(SVR4)
38#include <sys/fbio.h>
39#include <sys/openpromio.h>
40#elif defined(__OpenBSD__) && defined(__sparc64__)
41/* XXX */
42#elif defined(CSRG_BASED)
43#if defined(__FreeBSD__)
44#include <sys/types.h>
45#include <sys/fbio.h>
46#include <dev/ofw/openpromio.h>
47#else
48#include <machine/fbio.h>
49#endif
50#else
51#include <sun/fbio.h>
52#endif
53
54#ifndef FBTYPE_SUNGP3
55#define FBTYPE_SUNGP3 -1
56#endif
57#ifndef FBTYPE_MDICOLOR
58#define FBTYPE_MDICOLOR -1
59#endif
60#ifndef FBTYPE_SUNLEO
61#define FBTYPE_SUNLEO -1
62#endif
63#ifndef FBTYPE_TCXCOLOR
64#define FBTYPE_TCXCOLOR -1
65#endif
66#ifndef FBTYPE_CREATOR
67#define FBTYPE_CREATOR -1
68#endif
69
70#endif /* _XF86_SBUS_H */
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette