VirtualBox

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

Last change on this file since 32915 was 25078, checked in by vboxsync, 15 years ago

Additions/x11/x11include: exported and set eol-style on new headers

  • Property svn:eol-style set to native
File size: 1.3 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>
14# include <asm/pci.h>
15extern long (*_iobase)(unsigned, int, int, int);
16
17/*
18 * _iobase deals with the case the __NR_pciconfig_iobase is either undefined
19 * or unsupported by the kernel, but we need to make sure that the `which'
20 * argument symbols are defined.
21 */
22# ifndef IOBASE_HOSE
23# define IOBASE_HOSE 0
24# endif
25# ifndef IOBASE_SPARSE_MEM
26# define IOBASE_SPARSE_MEM 1
27# endif
28# ifndef IOBASE_DENSE_MEM
29# define IOBASE_DENSE_MEM 2
30# endif
31# ifndef IOBASE_SPARSE_IO
32# define IOBASE_SPARSE_IO 3
33# endif
34# ifndef IOBASE_DENSE_IO
35# define IOBASE_DENSE_IO 4
36# endif
37# ifndef IOBASE_ROOT_BUS
38# define IOBASE_ROOT_BUS 5
39# endif
40# ifndef IOBASE_FROM_HOSE
41# define IOBASE_FROM_HOSE 0x10000
42# endif
43# endif /* __alpha__ */
44
45# if defined(DO_OS_FONTRESTORE)
46Bool lnx_savefont(void);
47Bool lnx_restorefont(void);
48Bool lnx_switchaway(void);
49void lnx_freefontdata(void);
50# endif
51
52#define LNX_H_
53
54#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