VirtualBox

source: vbox/trunk/src/VBox/Additions/x11/x11include/xorg-server-1.1.0/lnx.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: 1.3 KB
Line 
1/* $XFree86: Exp $ */
2
3#ifdef HAVE_XORG_CONFIG_H
4#include <xorg-config.h>
5#endif
6
7#ifndef LNX_H_
8# ifdef __alpha__
9extern unsigned long _bus_base __P ((void)) __attribute__ ((const));
10extern unsigned long _bus_base_sparse __P ((void)) __attribute__ ((const));
11extern int iopl __P ((int __level));
12
13/* new pciconfig_iobase syscall added in 2.2.15 and 2.3.99 */
14# include <linux/unistd.h>
15# include <asm/pci.h>
16extern long (*_iobase)(unsigned, int, int, int);
17
18/*
19 * _iobase deals with the case the __NR_pciconfig_iobase is either undefined
20 * or unsupported by the kernel, but we need to make sure that the `which'
21 * argument symbols are defined.
22 */
23# ifndef IOBASE_HOSE
24# define IOBASE_HOSE 0
25# endif
26# ifndef IOBASE_SPARSE_MEM
27# define IOBASE_SPARSE_MEM 1
28# endif
29# ifndef IOBASE_DENSE_MEM
30# define IOBASE_DENSE_MEM 2
31# endif
32# ifndef IOBASE_SPARSE_IO
33# define IOBASE_SPARSE_IO 3
34# endif
35# ifndef IOBASE_DENSE_IO
36# define IOBASE_DENSE_IO 4
37# endif
38# ifndef IOBASE_ROOT_BUS
39# define IOBASE_ROOT_BUS 5
40# endif
41# ifndef IOBASE_FROM_HOSE
42# define IOBASE_FROM_HOSE 0x10000
43# endif
44# endif /* __alpha__ */
45
46# if defined(DO_OS_FONTRESTORE)
47Bool lnx_savefont(void);
48Bool lnx_restorefont(void);
49Bool lnx_switchaway(void);
50void lnx_freefontdata(void);
51# endif
52
53#define LNX_H_
54
55#endif
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