VirtualBox

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

最後變更 在這個檔案從62425是 51223,由 vboxsync 提交於 11 年 前

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

  • 屬性 svn:eol-style 設為 native
檔案大小: 1.3 KB
 
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
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

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