65fea56f17cd614bc8908264df980a62e1931468vboxsync/*
65fea56f17cd614bc8908264df980a62e1931468vboxsync * Copyright 1990, 1991 by Thomas Roell, Dinkelscherben, Germany
65fea56f17cd614bc8908264df980a62e1931468vboxsync * Copyright 1992 by David Dawes <dawes@XFree86.org>
65fea56f17cd614bc8908264df980a62e1931468vboxsync * Copyright 1992 by Jim Tsillas <jtsilla@damon.ccs.northeastern.edu>
65fea56f17cd614bc8908264df980a62e1931468vboxsync * Copyright 1992 by Rich Murphey <Rich@Rice.edu>
65fea56f17cd614bc8908264df980a62e1931468vboxsync * Copyright 1992 by Robert Baron <Robert.Baron@ernst.mach.cs.cmu.edu>
65fea56f17cd614bc8908264df980a62e1931468vboxsync * Copyright 1992 by Orest Zborowski <obz@eskimo.com>
65fea56f17cd614bc8908264df980a62e1931468vboxsync * Copyright 1993 by Vrije Universiteit, The Netherlands
65fea56f17cd614bc8908264df980a62e1931468vboxsync * Copyright 1993 by David Wexelblat <dwex@XFree86.org>
65fea56f17cd614bc8908264df980a62e1931468vboxsync * Copyright 1994, 1996 by Holger Veit <Holger.Veit@gmd.de>
65fea56f17cd614bc8908264df980a62e1931468vboxsync * Copyright 1994-2003 by The XFree86 Project, Inc
65fea56f17cd614bc8908264df980a62e1931468vboxsync *
65fea56f17cd614bc8908264df980a62e1931468vboxsync * Permission to use, copy, modify, distribute, and sell this software and its
65fea56f17cd614bc8908264df980a62e1931468vboxsync * documentation for any purpose is hereby granted without fee, provided that
65fea56f17cd614bc8908264df980a62e1931468vboxsync * the above copyright notice appear in all copies and that both that
65fea56f17cd614bc8908264df980a62e1931468vboxsync * copyright notice and this permission notice appear in supporting
65fea56f17cd614bc8908264df980a62e1931468vboxsync * documentation, and that the names of the above listed copyright holders
65fea56f17cd614bc8908264df980a62e1931468vboxsync * not be used in advertising or publicity pertaining to distribution of
65fea56f17cd614bc8908264df980a62e1931468vboxsync * the software without specific, written prior permission. The above listed
65fea56f17cd614bc8908264df980a62e1931468vboxsync * copyright holders make no representations about the suitability of this
65fea56f17cd614bc8908264df980a62e1931468vboxsync * software for any purpose. It is provided "as is" without express or
65fea56f17cd614bc8908264df980a62e1931468vboxsync * implied warranty.
65fea56f17cd614bc8908264df980a62e1931468vboxsync *
65fea56f17cd614bc8908264df980a62e1931468vboxsync * THE ABOVE LISTED COPYRIGHT HOLDERS DISCLAIM ALL WARRANTIES WITH REGARD
65fea56f17cd614bc8908264df980a62e1931468vboxsync * TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
65fea56f17cd614bc8908264df980a62e1931468vboxsync * AND FITNESS, IN NO EVENT SHALL THE ABOVE LISTED COPYRIGHT HOLDERS BE
65fea56f17cd614bc8908264df980a62e1931468vboxsync * LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY
65fea56f17cd614bc8908264df980a62e1931468vboxsync * DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER
65fea56f17cd614bc8908264df980a62e1931468vboxsync * IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
65fea56f17cd614bc8908264df980a62e1931468vboxsync * OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
65fea56f17cd614bc8908264df980a62e1931468vboxsync *
65fea56f17cd614bc8908264df980a62e1931468vboxsync */
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsync/*
65fea56f17cd614bc8908264df980a62e1931468vboxsync * The ARM32 code here carries the following copyright:
65fea56f17cd614bc8908264df980a62e1931468vboxsync *
65fea56f17cd614bc8908264df980a62e1931468vboxsync * Copyright 1997
65fea56f17cd614bc8908264df980a62e1931468vboxsync * Digital Equipment Corporation. All rights reserved.
65fea56f17cd614bc8908264df980a62e1931468vboxsync * This software is furnished under license and may be used and copied only in
65fea56f17cd614bc8908264df980a62e1931468vboxsync * accordance with the following terms and conditions. Subject to these
65fea56f17cd614bc8908264df980a62e1931468vboxsync * conditions, you may download, copy, install, use, modify and distribute
65fea56f17cd614bc8908264df980a62e1931468vboxsync * this software in source and/or binary form. No title or ownership is
65fea56f17cd614bc8908264df980a62e1931468vboxsync * transferred hereby.
65fea56f17cd614bc8908264df980a62e1931468vboxsync *
65fea56f17cd614bc8908264df980a62e1931468vboxsync * 1) Any source code used, modified or distributed must reproduce and retain
65fea56f17cd614bc8908264df980a62e1931468vboxsync * this copyright notice and list of conditions as they appear in the
65fea56f17cd614bc8908264df980a62e1931468vboxsync * source file.
65fea56f17cd614bc8908264df980a62e1931468vboxsync *
65fea56f17cd614bc8908264df980a62e1931468vboxsync * 2) No right is granted to use any trade name, trademark, or logo of Digital
65fea56f17cd614bc8908264df980a62e1931468vboxsync * Equipment Corporation. Neither the "Digital Equipment Corporation"
65fea56f17cd614bc8908264df980a62e1931468vboxsync * name nor any trademark or logo of Digital Equipment Corporation may be
65fea56f17cd614bc8908264df980a62e1931468vboxsync * used to endorse or promote products derived from this software without
65fea56f17cd614bc8908264df980a62e1931468vboxsync * the prior written permission of Digital Equipment Corporation.
65fea56f17cd614bc8908264df980a62e1931468vboxsync *
65fea56f17cd614bc8908264df980a62e1931468vboxsync * 3) This software is provided "AS-IS" and any express or implied warranties,
65fea56f17cd614bc8908264df980a62e1931468vboxsync * including but not limited to, any implied warranties of merchantability,
65fea56f17cd614bc8908264df980a62e1931468vboxsync * fitness for a particular purpose, or non-infringement are disclaimed.
65fea56f17cd614bc8908264df980a62e1931468vboxsync * In no event shall DIGITAL be liable for any damages whatsoever, and in
65fea56f17cd614bc8908264df980a62e1931468vboxsync * particular, DIGITAL shall not be liable for special, indirect,
65fea56f17cd614bc8908264df980a62e1931468vboxsync * consequential, or incidental damages or damages for lost profits, loss
65fea56f17cd614bc8908264df980a62e1931468vboxsync * of revenue or loss of use, whether such damages arise in contract,
65fea56f17cd614bc8908264df980a62e1931468vboxsync * negligence, tort, under statute, in equity, at law or otherwise, even
65fea56f17cd614bc8908264df980a62e1931468vboxsync * if advised of the possibility of such damage.
65fea56f17cd614bc8908264df980a62e1931468vboxsync *
65fea56f17cd614bc8908264df980a62e1931468vboxsync */
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsync#ifndef _XF86_OSPROC_H
65fea56f17cd614bc8908264df980a62e1931468vboxsync#define _XF86_OSPROC_H
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsync/*
65fea56f17cd614bc8908264df980a62e1931468vboxsync * The actual prototypes have been pulled into this seperate file so
65fea56f17cd614bc8908264df980a62e1931468vboxsync * that they can can be used without pulling in all of the OS specific
65fea56f17cd614bc8908264df980a62e1931468vboxsync * stuff like sys/stat.h, etc. This casues problem for loadable modules.
65fea56f17cd614bc8908264df980a62e1931468vboxsync */
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsync/*
65fea56f17cd614bc8908264df980a62e1931468vboxsync * Flags for xf86MapVidMem(). Multiple flags can be or'd together. The
65fea56f17cd614bc8908264df980a62e1931468vboxsync * flags may be used as hints. For example it would be permissible to
65fea56f17cd614bc8908264df980a62e1931468vboxsync * enable write combining for memory marked only for framebuffer use.
65fea56f17cd614bc8908264df980a62e1931468vboxsync */
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsync#define VIDMEM_FRAMEBUFFER 0x01 /* memory for framebuffer use */
65fea56f17cd614bc8908264df980a62e1931468vboxsync#define VIDMEM_MMIO 0x02 /* memory for I/O use */
65fea56f17cd614bc8908264df980a62e1931468vboxsync#define VIDMEM_MMIO_32BIT 0x04 /* memory accesses >= 32bit */
65fea56f17cd614bc8908264df980a62e1931468vboxsync#define VIDMEM_READSIDEEFFECT 0x08 /* reads can have side-effects */
65fea56f17cd614bc8908264df980a62e1931468vboxsync#define VIDMEM_SPARSE 0x10 /* sparse mapping required
65fea56f17cd614bc8908264df980a62e1931468vboxsync * assumed when VIDMEM_MMIO is
65fea56f17cd614bc8908264df980a62e1931468vboxsync * set. May be used with
65fea56f17cd614bc8908264df980a62e1931468vboxsync * VIDMEM_FRAMEBUFFER) */
65fea56f17cd614bc8908264df980a62e1931468vboxsync#define VIDMEM_READONLY 0x20 /* read-only mapping
65fea56f17cd614bc8908264df980a62e1931468vboxsync * used when reading BIOS images
65fea56f17cd614bc8908264df980a62e1931468vboxsync * through xf86MapVidMem() */
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsync/*
65fea56f17cd614bc8908264df980a62e1931468vboxsync * OS-independent modem state flags for xf86SetSerialModemState() and
65fea56f17cd614bc8908264df980a62e1931468vboxsync * xf86GetSerialModemState().
65fea56f17cd614bc8908264df980a62e1931468vboxsync */
65fea56f17cd614bc8908264df980a62e1931468vboxsync#define XF86_M_LE 0x001 /* line enable */
65fea56f17cd614bc8908264df980a62e1931468vboxsync#define XF86_M_DTR 0x002 /* data terminal ready */
65fea56f17cd614bc8908264df980a62e1931468vboxsync#define XF86_M_RTS 0x004 /* request to send */
65fea56f17cd614bc8908264df980a62e1931468vboxsync#define XF86_M_ST 0x008 /* secondary transmit */
65fea56f17cd614bc8908264df980a62e1931468vboxsync#define XF86_M_SR 0x010 /* secondary receive */
65fea56f17cd614bc8908264df980a62e1931468vboxsync#define XF86_M_CTS 0x020 /* clear to send */
65fea56f17cd614bc8908264df980a62e1931468vboxsync#define XF86_M_CAR 0x040 /* carrier detect */
65fea56f17cd614bc8908264df980a62e1931468vboxsync#define XF86_M_RNG 0x080 /* ring */
65fea56f17cd614bc8908264df980a62e1931468vboxsync#define XF86_M_DSR 0x100 /* data set ready */
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsync#ifndef NO_OSLIB_PROTOTYPES
65fea56f17cd614bc8908264df980a62e1931468vboxsync/*
65fea56f17cd614bc8908264df980a62e1931468vboxsync * This is to prevent re-entrancy to FatalError() when aborting.
65fea56f17cd614bc8908264df980a62e1931468vboxsync * Anything that can be called as a result of AbortDDX() should use this
65fea56f17cd614bc8908264df980a62e1931468vboxsync * instead of FatalError().
65fea56f17cd614bc8908264df980a62e1931468vboxsync */
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsync#define xf86FatalError(a, b) \
65fea56f17cd614bc8908264df980a62e1931468vboxsync if (dispatchException & DE_TERMINATE) { \
65fea56f17cd614bc8908264df980a62e1931468vboxsync ErrorF(a, b); \
65fea56f17cd614bc8908264df980a62e1931468vboxsync ErrorF("\n"); \
65fea56f17cd614bc8908264df980a62e1931468vboxsync return; \
65fea56f17cd614bc8908264df980a62e1931468vboxsync } else FatalError(a, b)
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsync/***************************************************************************/
65fea56f17cd614bc8908264df980a62e1931468vboxsync/* Prototypes */
65fea56f17cd614bc8908264df980a62e1931468vboxsync/***************************************************************************/
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsync#include <X11/Xfuncproto.h>
65fea56f17cd614bc8908264df980a62e1931468vboxsync#include "opaque.h"
65fea56f17cd614bc8908264df980a62e1931468vboxsync#include "xf86Optionstr.h"
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsync_XFUNCPROTOBEGIN
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsync/* public functions */
65fea56f17cd614bc8908264df980a62e1931468vboxsyncextern _X_EXPORT Bool xf86LinearVidMem(void);
65fea56f17cd614bc8908264df980a62e1931468vboxsyncextern _X_EXPORT _X_DEPRECATED Bool xf86CheckMTRR(int);
65fea56f17cd614bc8908264df980a62e1931468vboxsyncextern _X_EXPORT _X_DEPRECATED pointer xf86MapVidMem(int, int, unsigned long,
65fea56f17cd614bc8908264df980a62e1931468vboxsync unsigned long);
65fea56f17cd614bc8908264df980a62e1931468vboxsyncextern _X_EXPORT _X_DEPRECATED void xf86UnMapVidMem(int, pointer,
65fea56f17cd614bc8908264df980a62e1931468vboxsync unsigned long);
65fea56f17cd614bc8908264df980a62e1931468vboxsyncextern _X_EXPORT int xf86ReadBIOS(unsigned long, unsigned long, unsigned char *,
65fea56f17cd614bc8908264df980a62e1931468vboxsync int);
65fea56f17cd614bc8908264df980a62e1931468vboxsyncextern _X_EXPORT Bool xf86EnableIO(void);
65fea56f17cd614bc8908264df980a62e1931468vboxsyncextern _X_EXPORT void xf86DisableIO(void);
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsync#ifdef __NetBSD__
65fea56f17cd614bc8908264df980a62e1931468vboxsyncextern _X_EXPORT void xf86SetTVOut(int);
65fea56f17cd614bc8908264df980a62e1931468vboxsyncextern _X_EXPORT void xf86SetRGBOut(void);
65fea56f17cd614bc8908264df980a62e1931468vboxsync#endif
65fea56f17cd614bc8908264df980a62e1931468vboxsyncextern _X_EXPORT void xf86OSRingBell(int, int, int);
65fea56f17cd614bc8908264df980a62e1931468vboxsyncextern _X_EXPORT void xf86SetReallySlowBcopy(void);
65fea56f17cd614bc8908264df980a62e1931468vboxsyncextern _X_EXPORT void xf86SlowBcopy(unsigned char *, unsigned char *, int);
65fea56f17cd614bc8908264df980a62e1931468vboxsyncextern _X_EXPORT int xf86OpenSerial(XF86OptionPtr options);
65fea56f17cd614bc8908264df980a62e1931468vboxsyncextern _X_EXPORT int xf86SetSerial(int fd, XF86OptionPtr options);
65fea56f17cd614bc8908264df980a62e1931468vboxsyncextern _X_EXPORT int xf86SetSerialSpeed(int fd, int speed);
65fea56f17cd614bc8908264df980a62e1931468vboxsyncextern _X_EXPORT int xf86ReadSerial(int fd, void *buf, int count);
65fea56f17cd614bc8908264df980a62e1931468vboxsyncextern _X_EXPORT int xf86WriteSerial(int fd, const void *buf, int count);
65fea56f17cd614bc8908264df980a62e1931468vboxsyncextern _X_EXPORT int xf86CloseSerial(int fd);
65fea56f17cd614bc8908264df980a62e1931468vboxsyncextern _X_EXPORT int xf86FlushInput(int fd);
65fea56f17cd614bc8908264df980a62e1931468vboxsyncextern _X_EXPORT int xf86WaitForInput(int fd, int timeout);
65fea56f17cd614bc8908264df980a62e1931468vboxsyncextern _X_EXPORT int xf86SerialSendBreak(int fd, int duration);
65fea56f17cd614bc8908264df980a62e1931468vboxsyncextern _X_EXPORT int xf86SetSerialModemState(int fd, int state);
65fea56f17cd614bc8908264df980a62e1931468vboxsyncextern _X_EXPORT int xf86GetSerialModemState(int fd);
65fea56f17cd614bc8908264df980a62e1931468vboxsyncextern _X_EXPORT int xf86SerialModemSetBits(int fd, int bits);
65fea56f17cd614bc8908264df980a62e1931468vboxsyncextern _X_EXPORT int xf86SerialModemClearBits(int fd, int bits);
65fea56f17cd614bc8908264df980a62e1931468vboxsyncextern _X_EXPORT int xf86LoadKernelModule(const char *pathname);
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsync/* AGP GART interface */
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsynctypedef struct _AgpInfo {
65fea56f17cd614bc8908264df980a62e1931468vboxsync CARD32 bridgeId;
65fea56f17cd614bc8908264df980a62e1931468vboxsync CARD32 agpMode;
65fea56f17cd614bc8908264df980a62e1931468vboxsync unsigned long base;
65fea56f17cd614bc8908264df980a62e1931468vboxsync unsigned long size;
65fea56f17cd614bc8908264df980a62e1931468vboxsync unsigned long totalPages;
65fea56f17cd614bc8908264df980a62e1931468vboxsync unsigned long systemPages;
65fea56f17cd614bc8908264df980a62e1931468vboxsync unsigned long usedPages;
65fea56f17cd614bc8908264df980a62e1931468vboxsync} AgpInfo, *AgpInfoPtr;
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsyncextern _X_EXPORT Bool xf86AgpGARTSupported(void);
65fea56f17cd614bc8908264df980a62e1931468vboxsyncextern _X_EXPORT AgpInfoPtr xf86GetAGPInfo(int screenNum);
65fea56f17cd614bc8908264df980a62e1931468vboxsyncextern _X_EXPORT Bool xf86AcquireGART(int screenNum);
65fea56f17cd614bc8908264df980a62e1931468vboxsyncextern _X_EXPORT Bool xf86ReleaseGART(int screenNum);
65fea56f17cd614bc8908264df980a62e1931468vboxsyncextern _X_EXPORT int xf86AllocateGARTMemory(int screenNum, unsigned long size,
65fea56f17cd614bc8908264df980a62e1931468vboxsync int type, unsigned long *physical);
65fea56f17cd614bc8908264df980a62e1931468vboxsyncextern _X_EXPORT Bool xf86DeallocateGARTMemory(int screenNum, int key);
65fea56f17cd614bc8908264df980a62e1931468vboxsyncextern _X_EXPORT Bool xf86BindGARTMemory(int screenNum, int key,
65fea56f17cd614bc8908264df980a62e1931468vboxsync unsigned long offset);
65fea56f17cd614bc8908264df980a62e1931468vboxsyncextern _X_EXPORT Bool xf86UnbindGARTMemory(int screenNum, int key);
65fea56f17cd614bc8908264df980a62e1931468vboxsyncextern _X_EXPORT Bool xf86EnableAGP(int screenNum, CARD32 mode);
65fea56f17cd614bc8908264df980a62e1931468vboxsyncextern _X_EXPORT Bool xf86GARTCloseScreen(int screenNum);
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsync/* These routines are in shared/sigio.c and are not loaded as part of the
65fea56f17cd614bc8908264df980a62e1931468vboxsync module. These routines are small, and the code if very POSIX-signal (or
65fea56f17cd614bc8908264df980a62e1931468vboxsync OS-signal) specific, so it seemed better to provide more complex
65fea56f17cd614bc8908264df980a62e1931468vboxsync wrappers than to wrap each individual function called. */
65fea56f17cd614bc8908264df980a62e1931468vboxsyncextern _X_EXPORT int xf86InstallSIGIOHandler(int fd, void (*f) (int, void *),
65fea56f17cd614bc8908264df980a62e1931468vboxsync void *);
65fea56f17cd614bc8908264df980a62e1931468vboxsyncextern _X_EXPORT int xf86RemoveSIGIOHandler(int fd);
65fea56f17cd614bc8908264df980a62e1931468vboxsyncextern _X_EXPORT int xf86BlockSIGIO(void);
65fea56f17cd614bc8908264df980a62e1931468vboxsyncextern _X_EXPORT void xf86UnblockSIGIO(int);
65fea56f17cd614bc8908264df980a62e1931468vboxsyncextern _X_EXPORT void xf86AssertBlockedSIGIO(char *);
65fea56f17cd614bc8908264df980a62e1931468vboxsyncextern _X_EXPORT Bool xf86SIGIOSupported(void);
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsync#ifdef XF86_OS_PRIVS
65fea56f17cd614bc8908264df980a62e1931468vboxsynctypedef void (*PMClose) (void);
65fea56f17cd614bc8908264df980a62e1931468vboxsyncextern _X_EXPORT void xf86OpenConsole(void);
65fea56f17cd614bc8908264df980a62e1931468vboxsyncextern _X_EXPORT void xf86CloseConsole(void);
65fea56f17cd614bc8908264df980a62e1931468vboxsyncextern _X_HIDDEN Bool xf86VTActivate(int vtno);
65fea56f17cd614bc8908264df980a62e1931468vboxsyncextern _X_EXPORT Bool xf86VTSwitchPending(void);
65fea56f17cd614bc8908264df980a62e1931468vboxsyncextern _X_EXPORT Bool xf86VTSwitchAway(void);
65fea56f17cd614bc8908264df980a62e1931468vboxsyncextern _X_EXPORT Bool xf86VTSwitchTo(void);
65fea56f17cd614bc8908264df980a62e1931468vboxsyncextern _X_EXPORT void xf86VTRequest(int sig);
65fea56f17cd614bc8908264df980a62e1931468vboxsyncextern _X_EXPORT int xf86ProcessArgument(int, char **, int);
65fea56f17cd614bc8908264df980a62e1931468vboxsyncextern _X_EXPORT void xf86UseMsg(void);
65fea56f17cd614bc8908264df980a62e1931468vboxsyncextern _X_EXPORT PMClose xf86OSPMOpen(void);
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsyncextern _X_EXPORT void xf86InitVidMem(void);
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsync#endif /* XF86_OS_PRIVS */
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsync#ifdef XSERVER_PLATFORM_BUS
65fea56f17cd614bc8908264df980a62e1931468vboxsync#include "hotplug.h"
65fea56f17cd614bc8908264df980a62e1931468vboxsyncvoid
65fea56f17cd614bc8908264df980a62e1931468vboxsyncxf86PlatformDeviceProbe(struct OdevAttributes *attribs);
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsyncvoid
65fea56f17cd614bc8908264df980a62e1931468vboxsyncxf86PlatformReprobeDevice(int index, struct OdevAttributes *attribs);
65fea56f17cd614bc8908264df980a62e1931468vboxsync#endif
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsync_XFUNCPROTOEND
65fea56f17cd614bc8908264df980a62e1931468vboxsync#endif /* NO_OSLIB_PROTOTYPES */
65fea56f17cd614bc8908264df980a62e1931468vboxsync#endif /* _XF86_OSPROC_H */