VirtualBox

source: vbox/trunk/src/VBox/Additions/x11/x11include/xorg-server-1.6.0/lnx.h@ 17473

Last change on this file since 17473 was 17471, checked in by vboxsync, 16 years ago

export to OSE

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