VirtualBox

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

Last change on this file since 68495 was 36308, checked in by vboxsync, 14 years ago

fix OSE

  • Property svn:eol-style set to native
File size: 2.0 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
24#ifdef HAVE_XORG_CONFIG_H
25#include <xorg-config.h>
26#endif
27
28#ifndef _XF86_SBUS_H
29#define _XF86_SBUS_H
30
31#if defined(linux)
32#include <asm/types.h>
33#include <linux/fb.h>
34#include <asm/fbio.h>
35#include <asm/openpromio.h>
36#elif defined(SVR4)
37#include <sys/fbio.h>
38#include <sys/openpromio.h>
39#elif defined(__OpenBSD__) && defined(__sparc64__)
40/* XXX */
41#elif defined(CSRG_BASED)
42#if defined(__FreeBSD__)
43#include <sys/types.h>
44#include <sys/fbio.h>
45#include <dev/ofw/openpromio.h>
46#else
47#include <machine/fbio.h>
48#endif
49#else
50#include <sun/fbio.h>
51#endif
52
53#ifndef FBTYPE_SUNGP3
54#define FBTYPE_SUNGP3 -1
55#endif
56#ifndef FBTYPE_MDICOLOR
57#define FBTYPE_MDICOLOR -1
58#endif
59#ifndef FBTYPE_SUNLEO
60#define FBTYPE_SUNLEO -1
61#endif
62#ifndef FBTYPE_TCXCOLOR
63#define FBTYPE_TCXCOLOR -1
64#endif
65#ifndef FBTYPE_CREATOR
66#define FBTYPE_CREATOR -1
67#endif
68
69#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