2003-11-14 17:48:57 +01:00
|
|
|
/*
|
|
|
|
* Copyright 1995,96 by Metro Link, Inc.
|
|
|
|
*
|
|
|
|
* Permission to use, copy, modify, distribute, and sell this software and its
|
|
|
|
* documentation for any purpose is hereby granted without fee, provided that
|
|
|
|
* the above copyright notice appear in all copies and that both that
|
|
|
|
* copyright notice and this permission notice appear in supporting
|
|
|
|
* documentation, and that the name of Metro Link, Inc. not be used in
|
|
|
|
* advertising or publicity pertaining to distribution of the software without
|
|
|
|
* specific, written prior permission. Metro Link, Inc. makes no
|
|
|
|
* representations about the suitability of this software for any purpose.
|
|
|
|
* It is provided "as is" without express or implied warranty.
|
|
|
|
*
|
|
|
|
* METRO LINK, INC. DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
|
|
|
|
* INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
|
|
|
|
* EVENT SHALL METRO LINK, INC. BE LIABLE FOR ANY SPECIAL, INDIRECT OR
|
|
|
|
* CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
|
|
|
|
* DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
|
|
|
|
* TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
|
|
* PERFORMANCE OF THIS SOFTWARE.
|
|
|
|
*/
|
2003-11-25 20:29:01 +01:00
|
|
|
/*
|
|
|
|
* Copyright (c) 1997-2003 by The XFree86 Project, Inc.
|
|
|
|
*
|
|
|
|
* Permission is hereby granted, free of charge, to any person obtaining a
|
|
|
|
* copy of this software and associated documentation files (the "Software"),
|
|
|
|
* to deal in the Software without restriction, including without limitation
|
|
|
|
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
|
|
|
* and/or sell copies of the Software, and to permit persons to whom the
|
|
|
|
* Software is furnished to do so, subject to the following conditions:
|
|
|
|
*
|
|
|
|
* The above copyright notice and this permission notice shall be included in
|
|
|
|
* all copies or substantial portions of the Software.
|
|
|
|
*
|
|
|
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
|
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
|
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
|
|
|
* THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
|
|
|
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
|
|
|
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
|
|
|
* OTHER DEALINGS IN THE SOFTWARE.
|
|
|
|
*
|
|
|
|
* Except as contained in this notice, the name of the copyright holder(s)
|
|
|
|
* and author(s) shall not be used in advertising or otherwise to promote
|
|
|
|
* the sale, use or other dealings in this Software without prior written
|
|
|
|
* authorization from the copyright holder(s) and author(s).
|
|
|
|
*/
|
2003-11-14 17:48:57 +01:00
|
|
|
|
2005-07-03 09:02:09 +02:00
|
|
|
#ifdef HAVE_XORG_CONFIG_H
|
|
|
|
#include <xorg-config.h>
|
|
|
|
#endif
|
|
|
|
|
2003-11-14 17:48:57 +01:00
|
|
|
#include <fcntl.h>
|
|
|
|
#include <setjmp.h>
|
|
|
|
#include "sym.h"
|
2005-07-03 10:53:54 +02:00
|
|
|
#include "misc.h"
|
2003-11-14 17:48:57 +01:00
|
|
|
#include "mi.h"
|
|
|
|
#include "cursor.h"
|
|
|
|
#include "mipointer.h"
|
|
|
|
#include "loaderProcs.h"
|
|
|
|
#include "xf86Pci.h"
|
|
|
|
#include "xf86.h"
|
|
|
|
#include "xf86Resources.h"
|
|
|
|
#include "xf86_OSproc.h"
|
|
|
|
#include "xf86Parser.h"
|
|
|
|
#include "xf86Config.h"
|
|
|
|
#ifdef XINPUT
|
|
|
|
# include "xf86Xinput.h"
|
|
|
|
#endif
|
|
|
|
#include "xf86OSmouse.h"
|
|
|
|
#include "xf86xv.h"
|
|
|
|
#include "xf86xvmc.h"
|
|
|
|
#include "xf86cmap.h"
|
|
|
|
#include "xf86fbman.h"
|
|
|
|
#include "dgaproc.h"
|
2004-08-09 04:08:35 +02:00
|
|
|
#ifdef DPMSExtension
|
2003-11-14 17:48:57 +01:00
|
|
|
#include "dpmsproc.h"
|
2004-08-09 04:08:35 +02:00
|
|
|
#endif
|
2003-11-14 17:48:57 +01:00
|
|
|
#include "vidmodeproc.h"
|
|
|
|
#include "xf86miscproc.h"
|
|
|
|
#include "loader.h"
|
|
|
|
#define DONT_DEFINE_WRAPPERS
|
|
|
|
#include "xf86_ansic.h"
|
|
|
|
#include "xisb.h"
|
|
|
|
#include "vbe.h"
|
|
|
|
#ifndef __OpenBSD__
|
|
|
|
#include "xf86sbusBus.h"
|
|
|
|
#endif
|
|
|
|
#include "compiler.h"
|
2007-02-16 05:36:20 +01:00
|
|
|
#include "xf86Crtc.h"
|
|
|
|
#include "xf86Modes.h"
|
|
|
|
#ifdef RANDR
|
|
|
|
#include "xf86RandR12.h"
|
|
|
|
#endif
|
|
|
|
#include "xf86DDC.h"
|
|
|
|
#include "edid.h"
|
2007-05-30 04:01:30 +02:00
|
|
|
#include "xf86Cursor.h"
|
|
|
|
#include "xf86RamDac.h"
|
|
|
|
#include "BT.h"
|
|
|
|
#include "IBM.h"
|
|
|
|
#include "TI.h"
|
2003-11-14 17:48:57 +01:00
|
|
|
|
|
|
|
#ifndef HAS_GLIBC_SIGSETJMP
|
|
|
|
#if defined(setjmp) && defined(__GNU_LIBRARY__) && \
|
|
|
|
(!defined(__GLIBC__) || (__GLIBC__ < 2) || \
|
|
|
|
((__GLIBC__ == 2) && (__GLIBC_MINOR__ < 3)))
|
|
|
|
#define HAS_GLIBC_SIGSETJMP 1
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if defined(__alpha__)
|
|
|
|
# ifdef linux
|
|
|
|
extern unsigned long _bus_base(void);
|
|
|
|
extern void _outb(char val, unsigned short port);
|
|
|
|
extern void _outw(short val, unsigned short port);
|
|
|
|
extern void _outl(int val, unsigned short port);
|
|
|
|
extern unsigned int _inb(unsigned short port);
|
|
|
|
extern unsigned int _inw(unsigned short port);
|
|
|
|
extern unsigned int _inl(unsigned short port);
|
|
|
|
# endif
|
|
|
|
|
2003-11-25 20:29:01 +01:00
|
|
|
# ifdef __FreeBSD__
|
2003-11-14 17:48:57 +01:00
|
|
|
# include <sys/types.h>
|
|
|
|
extern void outb(u_int32_t port, u_int8_t val);
|
|
|
|
extern void outw(u_int32_t port, u_int16_t val);
|
|
|
|
extern void outl(u_int32_t port, u_int32_t val);
|
|
|
|
extern u_int8_t inb(u_int32_t port);
|
|
|
|
extern u_int16_t inw(u_int32_t port);
|
|
|
|
extern u_int32_t inl(u_int32_t port);
|
|
|
|
# endif
|
|
|
|
|
2003-11-25 20:29:01 +01:00
|
|
|
extern void *__divl(long, long);
|
|
|
|
extern void *__reml(long, long);
|
|
|
|
extern void *__divlu(long, long);
|
|
|
|
extern void *__remlu(long, long);
|
|
|
|
extern void *__divq(long, long);
|
|
|
|
extern void *__divqu(long, long);
|
|
|
|
extern void *__remq(long, long);
|
|
|
|
extern void *__remqu(long, long);
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if defined(__sparc__) && defined(__FreeBSD__)
|
|
|
|
extern float _Qp_qtos(unsigned int *);
|
|
|
|
extern double _Qp_qtod(unsigned int *);
|
|
|
|
extern unsigned long long _Qp_qtoux(unsigned int *);
|
|
|
|
extern void _Qp_dtoq(unsigned int *, double);
|
|
|
|
extern void _Qp_uitoq(unsigned int *, unsigned int);
|
2003-11-14 17:48:57 +01:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#if defined(__GNUC__)
|
2003-11-25 20:29:01 +01:00
|
|
|
#ifndef __UNIXOS2__
|
2003-11-14 17:48:57 +01:00
|
|
|
extern long __div64(long, long);
|
2003-11-25 20:29:01 +01:00
|
|
|
#endif
|
2003-11-14 17:48:57 +01:00
|
|
|
extern long __divdf3(long, long);
|
|
|
|
extern long __divdi3(long, long);
|
|
|
|
extern long __divsf3(long, long);
|
|
|
|
extern long __divsi3(long, long);
|
|
|
|
extern long __moddi3(long, long);
|
|
|
|
extern long __modsi3(long, long);
|
2003-11-25 20:29:01 +01:00
|
|
|
|
|
|
|
#ifndef __UNIXOS2__
|
2003-11-14 17:48:57 +01:00
|
|
|
extern long __mul64(long, long);
|
2003-11-25 20:29:01 +01:00
|
|
|
#endif
|
2003-11-14 17:48:57 +01:00
|
|
|
extern long __muldf3(long, long);
|
|
|
|
extern long __muldi3(long, long);
|
|
|
|
extern long __mulsf3(long, long);
|
|
|
|
extern long __mulsi3(long, long);
|
|
|
|
extern long __udivdi3(long, long);
|
|
|
|
extern long __udivsi3(long, long);
|
|
|
|
extern long __umoddi3(long, long);
|
|
|
|
extern long __umodsi3(long, long);
|
2003-11-25 20:29:01 +01:00
|
|
|
|
|
|
|
#ifndef __UNIXOS2__
|
2003-11-14 17:48:57 +01:00
|
|
|
#pragma weak __div64
|
2003-11-25 20:29:01 +01:00
|
|
|
#endif
|
2003-11-14 17:48:57 +01:00
|
|
|
#pragma weak __divdf3
|
|
|
|
#pragma weak __divdi3
|
|
|
|
#pragma weak __divsf3
|
|
|
|
#pragma weak __divsi3
|
|
|
|
#pragma weak __moddi3
|
|
|
|
#pragma weak __modsi3
|
2003-11-25 20:29:01 +01:00
|
|
|
#ifndef __UNIXOS2__
|
2003-11-14 17:48:57 +01:00
|
|
|
#pragma weak __mul64
|
2003-11-25 20:29:01 +01:00
|
|
|
#endif
|
2003-11-14 17:48:57 +01:00
|
|
|
#pragma weak __muldf3
|
|
|
|
#pragma weak __muldi3
|
|
|
|
#pragma weak __mulsf3
|
|
|
|
#pragma weak __mulsi3
|
|
|
|
#pragma weak __udivdi3
|
|
|
|
#pragma weak __udivsi3
|
|
|
|
#pragma weak __umoddi3
|
|
|
|
#pragma weak __umodsi3
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if defined(__arm__) && defined(__linux__)
|
|
|
|
#include <sys/io.h>
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if defined(__powerpc__) && (defined(Lynx) || defined(linux))
|
|
|
|
void _restf14();
|
|
|
|
void _restf17();
|
|
|
|
void _restf18();
|
|
|
|
void _restf19();
|
|
|
|
void _restf20();
|
|
|
|
void _restf22();
|
|
|
|
void _restf23();
|
|
|
|
void _restf24();
|
|
|
|
void _restf25();
|
|
|
|
void _restf26();
|
|
|
|
void _restf27();
|
|
|
|
void _restf28();
|
|
|
|
void _restf29();
|
|
|
|
void _savef14();
|
|
|
|
void _savef17();
|
|
|
|
void _savef18();
|
|
|
|
void _savef19();
|
|
|
|
void _savef20();
|
|
|
|
void _savef22();
|
|
|
|
void _savef23();
|
|
|
|
void _savef24();
|
|
|
|
void _savef25();
|
|
|
|
void _savef26();
|
|
|
|
void _savef27();
|
|
|
|
void _savef28();
|
|
|
|
void _savef29();
|
|
|
|
|
|
|
|
/* even if we compile without -DNO_INLINE we still provide
|
|
|
|
* the usual port i/o functions for module use
|
|
|
|
*/
|
|
|
|
|
|
|
|
extern volatile unsigned char *ioBase;
|
|
|
|
|
|
|
|
/* XXX Should get all of these from elsewhere */
|
|
|
|
#ifndef linux
|
|
|
|
extern void outb(IOADDRESS, unsigned char);
|
|
|
|
extern void outw(IOADDRESS, unsigned short);
|
|
|
|
extern void outl(IOADDRESS, unsigned int);
|
|
|
|
extern unsigned int inb(IOADDRESS);
|
|
|
|
extern unsigned int inw(IOADDRESS);
|
|
|
|
extern unsigned int inl(IOADDRESS);
|
|
|
|
#endif
|
|
|
|
extern void stl_brx(unsigned long, volatile unsigned char *, int);
|
|
|
|
extern void stw_brx(unsigned short, volatile unsigned char *, int);
|
|
|
|
extern unsigned long ldl_brx(volatile unsigned char *, int);
|
|
|
|
extern unsigned short ldw_brx(volatile unsigned char *, int);
|
|
|
|
#endif
|
|
|
|
|
|
|
|
/* XFree86 things */
|
|
|
|
|
2006-06-22 02:49:21 +02:00
|
|
|
_X_HIDDEN void *xfree86LookupTab[] = {
|
2003-11-14 17:48:57 +01:00
|
|
|
|
2003-11-25 20:29:01 +01:00
|
|
|
/* Public OSlib functions */
|
|
|
|
SYMFUNC(xf86ReadBIOS)
|
|
|
|
SYMFUNC(xf86EnableIO)
|
|
|
|
SYMFUNC(xf86DisableIO)
|
|
|
|
SYMFUNC(xf86DisableInterrupts)
|
|
|
|
SYMFUNC(xf86EnableInterrupts)
|
|
|
|
SYMFUNC(xf86LinearVidMem)
|
|
|
|
SYMFUNC(xf86CheckMTRR)
|
|
|
|
SYMFUNC(xf86MapVidMem)
|
|
|
|
SYMFUNC(xf86UnMapVidMem)
|
|
|
|
SYMFUNC(xf86MapReadSideEffects)
|
|
|
|
SYMFUNC(xf86MapDomainMemory)
|
|
|
|
SYMFUNC(xf86UDelay)
|
|
|
|
SYMFUNC(xf86IODelay)
|
|
|
|
SYMFUNC(xf86SlowBcopy)
|
2003-11-14 17:48:57 +01:00
|
|
|
#ifdef __alpha__
|
2003-11-25 20:29:01 +01:00
|
|
|
SYMFUNC(xf86SlowBCopyToBus)
|
|
|
|
SYMFUNC(xf86SlowBCopyFromBus)
|
2003-11-14 17:48:57 +01:00
|
|
|
#endif
|
2003-11-25 20:29:01 +01:00
|
|
|
SYMFUNC(xf86BusToMem)
|
|
|
|
SYMFUNC(xf86MemToBus)
|
|
|
|
SYMFUNC(xf86OpenSerial)
|
|
|
|
SYMFUNC(xf86SetSerial)
|
|
|
|
SYMFUNC(xf86SetSerialSpeed)
|
|
|
|
SYMFUNC(xf86ReadSerial)
|
|
|
|
SYMFUNC(xf86WriteSerial)
|
|
|
|
SYMFUNC(xf86CloseSerial)
|
|
|
|
SYMFUNC(xf86GetErrno)
|
|
|
|
SYMFUNC(xf86WaitForInput)
|
|
|
|
SYMFUNC(xf86SerialSendBreak)
|
|
|
|
SYMFUNC(xf86FlushInput)
|
|
|
|
SYMFUNC(xf86SetSerialModemState)
|
|
|
|
SYMFUNC(xf86GetSerialModemState)
|
|
|
|
SYMFUNC(xf86SerialModemSetBits)
|
|
|
|
SYMFUNC(xf86SerialModemClearBits)
|
|
|
|
SYMFUNC(xf86LoadKernelModule)
|
|
|
|
SYMFUNC(xf86OSMouseInit)
|
|
|
|
SYMFUNC(xf86AgpGARTSupported)
|
|
|
|
SYMFUNC(xf86GetAGPInfo)
|
|
|
|
SYMFUNC(xf86AcquireGART)
|
|
|
|
SYMFUNC(xf86ReleaseGART)
|
|
|
|
SYMFUNC(xf86AllocateGARTMemory)
|
2005-07-19 22:51:46 +02:00
|
|
|
SYMFUNC(xf86DeallocateGARTMemory)
|
2003-11-25 20:29:01 +01:00
|
|
|
SYMFUNC(xf86BindGARTMemory)
|
|
|
|
SYMFUNC(xf86UnbindGARTMemory)
|
|
|
|
SYMFUNC(xf86EnableAGP)
|
|
|
|
SYMFUNC(xf86GARTCloseScreen)
|
2003-11-14 17:48:57 +01:00
|
|
|
#ifdef XINPUT
|
2003-11-25 20:29:01 +01:00
|
|
|
SYMFUNC(XisbNew)
|
|
|
|
SYMFUNC(XisbFree)
|
|
|
|
SYMFUNC(XisbRead)
|
|
|
|
SYMFUNC(XisbWrite)
|
|
|
|
SYMFUNC(XisbTrace)
|
|
|
|
SYMFUNC(XisbBlockDuration)
|
2003-11-14 17:48:57 +01:00
|
|
|
#endif
|
|
|
|
|
2003-11-25 20:29:01 +01:00
|
|
|
/* xf86Bus.c */
|
|
|
|
SYMFUNC(xf86CheckPciSlot)
|
|
|
|
SYMFUNC(xf86ClaimPciSlot)
|
|
|
|
SYMFUNC(xf86ClaimIsaSlot)
|
|
|
|
SYMFUNC(xf86ClaimFbSlot)
|
|
|
|
SYMFUNC(xf86ClaimNoSlot)
|
|
|
|
SYMFUNC(xf86ParsePciBusString)
|
|
|
|
SYMFUNC(xf86ComparePciBusString)
|
|
|
|
SYMFUNC(xf86FormatPciBusNumber)
|
|
|
|
SYMFUNC(xf86ParseIsaBusString)
|
|
|
|
SYMFUNC(xf86EnableAccess)
|
|
|
|
SYMFUNC(xf86SetCurrentAccess)
|
|
|
|
SYMFUNC(xf86IsPrimaryPci)
|
|
|
|
SYMFUNC(xf86IsPrimaryIsa)
|
|
|
|
SYMFUNC(xf86PrintResList)
|
|
|
|
SYMFUNC(xf86AddResToList)
|
|
|
|
SYMFUNC(xf86JoinResLists)
|
|
|
|
SYMFUNC(xf86DupResList)
|
|
|
|
SYMFUNC(xf86FreeResList)
|
|
|
|
SYMFUNC(xf86ClaimFixedResources)
|
|
|
|
SYMFUNC(xf86AddEntityToScreen)
|
|
|
|
SYMFUNC(xf86SetEntityInstanceForScreen)
|
|
|
|
SYMFUNC(xf86RemoveEntityFromScreen)
|
|
|
|
SYMFUNC(xf86GetEntityInfo)
|
|
|
|
SYMFUNC(xf86GetNumEntityInstances)
|
|
|
|
SYMFUNC(xf86GetDevFromEntity)
|
|
|
|
SYMFUNC(xf86GetPciInfoForEntity)
|
|
|
|
SYMFUNC(xf86SetEntityFuncs)
|
|
|
|
SYMFUNC(xf86DeallocateResourcesForEntity)
|
|
|
|
SYMFUNC(xf86RegisterResources)
|
|
|
|
SYMFUNC(xf86CheckPciMemBase)
|
|
|
|
SYMFUNC(xf86SetAccessFuncs)
|
|
|
|
SYMFUNC(xf86IsEntityPrimary)
|
|
|
|
SYMFUNC(xf86SetOperatingState)
|
|
|
|
SYMFUNC(xf86EnterServerState)
|
|
|
|
SYMFUNC(xf86GetBlock)
|
|
|
|
SYMFUNC(xf86GetSparse)
|
|
|
|
SYMFUNC(xf86ChkConflict)
|
|
|
|
SYMFUNC(xf86FindScreenForEntity)
|
|
|
|
SYMFUNC(xf86RegisterStateChangeNotificationCallback)
|
|
|
|
SYMFUNC(xf86DeregisterStateChangeNotificationCallback)
|
|
|
|
SYMFUNC(xf86NoSharedResources)
|
|
|
|
/* Shared Accel Accessor Functions */
|
|
|
|
SYMFUNC(xf86GetLastScrnFlag)
|
|
|
|
SYMFUNC(xf86SetLastScrnFlag)
|
|
|
|
SYMFUNC(xf86IsEntityShared)
|
|
|
|
SYMFUNC(xf86SetEntityShared)
|
|
|
|
SYMFUNC(xf86IsEntitySharable)
|
|
|
|
SYMFUNC(xf86SetEntitySharable)
|
|
|
|
SYMFUNC(xf86IsPrimInitDone)
|
|
|
|
SYMFUNC(xf86SetPrimInitDone)
|
|
|
|
SYMFUNC(xf86ClearPrimInitDone)
|
|
|
|
SYMFUNC(xf86AllocateEntityPrivateIndex)
|
|
|
|
SYMFUNC(xf86GetEntityPrivate)
|
|
|
|
|
2006-07-28 22:02:02 +02:00
|
|
|
/* xf86cvt.c */
|
|
|
|
SYMFUNC(xf86CVTMode)
|
|
|
|
|
2003-11-25 20:29:01 +01:00
|
|
|
/* xf86Configure.c */
|
|
|
|
SYMFUNC(xf86AddDeviceToConfigure)
|
|
|
|
|
|
|
|
/* xf86Cursor.c */
|
|
|
|
SYMFUNC(xf86GetPointerScreenFuncs)
|
2003-11-14 17:48:57 +01:00
|
|
|
|
2003-11-25 20:29:01 +01:00
|
|
|
/* xf86DGA.c */
|
|
|
|
/* For drivers */
|
|
|
|
SYMFUNC(DGAInit)
|
2005-10-11 21:03:02 +02:00
|
|
|
SYMFUNC(DGAReInitModes)
|
2003-11-25 20:29:01 +01:00
|
|
|
/* For extmod */
|
|
|
|
SYMFUNC(DGAAvailable)
|
|
|
|
SYMFUNC(DGAActive)
|
|
|
|
SYMFUNC(DGASetMode)
|
|
|
|
SYMFUNC(DGASetInputMode)
|
|
|
|
SYMFUNC(DGASelectInput)
|
|
|
|
SYMFUNC(DGAGetViewportStatus)
|
|
|
|
SYMFUNC(DGASetViewport)
|
|
|
|
SYMFUNC(DGAInstallCmap)
|
|
|
|
SYMFUNC(DGASync)
|
|
|
|
SYMFUNC(DGAFillRect)
|
|
|
|
SYMFUNC(DGABlitRect)
|
|
|
|
SYMFUNC(DGABlitTransRect)
|
|
|
|
SYMFUNC(DGAGetModes)
|
|
|
|
SYMFUNC(DGAGetOldDGAMode)
|
|
|
|
SYMFUNC(DGAGetModeInfo)
|
|
|
|
SYMFUNC(DGAChangePixmapMode)
|
|
|
|
SYMFUNC(DGACreateColormap)
|
|
|
|
SYMFUNC(DGAOpenFramebuffer)
|
|
|
|
SYMFUNC(DGACloseFramebuffer)
|
2003-11-14 17:48:57 +01:00
|
|
|
|
2003-11-25 20:29:01 +01:00
|
|
|
/* xf86DPMS.c */
|
|
|
|
SYMFUNC(xf86DPMSInit)
|
2003-11-14 17:48:57 +01:00
|
|
|
|
2003-11-25 20:29:01 +01:00
|
|
|
/* xf86Events.c */
|
|
|
|
SYMFUNC(SetTimeSinceLastInputEvent)
|
|
|
|
SYMFUNC(xf86AddInputHandler)
|
|
|
|
SYMFUNC(xf86RemoveInputHandler)
|
|
|
|
SYMFUNC(xf86DisableInputHandler)
|
|
|
|
SYMFUNC(xf86EnableInputHandler)
|
|
|
|
SYMFUNC(xf86AddEnabledDevice)
|
|
|
|
SYMFUNC(xf86RemoveEnabledDevice)
|
|
|
|
SYMFUNC(xf86InterceptSignals)
|
2004-10-29 04:07:15 +02:00
|
|
|
SYMFUNC(xf86InterceptSigIll)
|
2003-11-25 20:29:01 +01:00
|
|
|
SYMFUNC(xf86EnableVTSwitch)
|
2003-11-14 17:48:57 +01:00
|
|
|
|
2003-11-25 20:29:01 +01:00
|
|
|
/* xf86Helper.c */
|
|
|
|
SYMFUNC(xf86AddDriver)
|
|
|
|
SYMFUNC(xf86AddInputDriver)
|
|
|
|
SYMFUNC(xf86DeleteDriver)
|
|
|
|
SYMFUNC(xf86DeleteInput)
|
|
|
|
SYMFUNC(xf86AllocateInput)
|
|
|
|
SYMFUNC(xf86AllocateScreen)
|
|
|
|
SYMFUNC(xf86DeleteScreen)
|
|
|
|
SYMFUNC(xf86AllocateScrnInfoPrivateIndex)
|
|
|
|
SYMFUNC(xf86AddPixFormat)
|
|
|
|
SYMFUNC(xf86SetDepthBpp)
|
|
|
|
SYMFUNC(xf86PrintDepthBpp)
|
|
|
|
SYMFUNC(xf86SetWeight)
|
|
|
|
SYMFUNC(xf86SetDefaultVisual)
|
|
|
|
SYMFUNC(xf86SetGamma)
|
|
|
|
SYMFUNC(xf86SetDpi)
|
|
|
|
SYMFUNC(xf86SetBlackWhitePixels)
|
|
|
|
SYMFUNC(xf86EnableDisableFBAccess)
|
|
|
|
SYMFUNC(xf86VDrvMsgVerb)
|
|
|
|
SYMFUNC(xf86DrvMsgVerb)
|
|
|
|
SYMFUNC(xf86DrvMsg)
|
|
|
|
SYMFUNC(xf86MsgVerb)
|
|
|
|
SYMFUNC(xf86Msg)
|
|
|
|
SYMFUNC(xf86ErrorFVerb)
|
|
|
|
SYMFUNC(xf86ErrorF)
|
|
|
|
SYMFUNC(xf86TokenToString)
|
|
|
|
SYMFUNC(xf86StringToToken)
|
|
|
|
SYMFUNC(xf86ShowClocks)
|
|
|
|
SYMFUNC(xf86PrintChipsets)
|
|
|
|
SYMFUNC(xf86MatchDevice)
|
|
|
|
SYMFUNC(xf86MatchPciInstances)
|
|
|
|
SYMFUNC(xf86MatchIsaInstances)
|
|
|
|
SYMFUNC(xf86GetVerbosity)
|
|
|
|
SYMFUNC(xf86GetVisualName)
|
|
|
|
SYMFUNC(xf86GetPix24)
|
|
|
|
SYMFUNC(xf86GetDepth)
|
|
|
|
SYMFUNC(xf86GetWeight)
|
|
|
|
SYMFUNC(xf86GetGamma)
|
|
|
|
SYMFUNC(xf86GetFlipPixels)
|
|
|
|
SYMFUNC(xf86GetServerName)
|
|
|
|
SYMFUNC(xf86ServerIsExiting)
|
|
|
|
SYMFUNC(xf86ServerIsOnlyDetecting)
|
|
|
|
SYMFUNC(xf86ServerIsOnlyProbing)
|
|
|
|
SYMFUNC(xf86ServerIsResetting)
|
|
|
|
SYMFUNC(xf86CaughtSignal)
|
|
|
|
SYMFUNC(xf86GetVidModeAllowNonLocal)
|
|
|
|
SYMFUNC(xf86GetVidModeEnabled)
|
|
|
|
SYMFUNC(xf86GetModInDevAllowNonLocal)
|
|
|
|
SYMFUNC(xf86GetModInDevEnabled)
|
|
|
|
SYMFUNC(xf86GetAllowMouseOpenFail)
|
|
|
|
SYMFUNC(xf86CommonSpecialKey)
|
|
|
|
SYMFUNC(xf86IsPc98)
|
|
|
|
SYMFUNC(xf86DisableRandR)
|
2005-10-11 16:45:01 +02:00
|
|
|
SYMFUNC(xf86GetRotation)
|
2003-11-25 20:29:01 +01:00
|
|
|
SYMFUNC(xf86GetVersion)
|
|
|
|
SYMFUNC(xf86GetModuleVersion)
|
|
|
|
SYMFUNC(xf86GetClocks)
|
|
|
|
SYMFUNC(xf86SetPriority)
|
|
|
|
SYMFUNC(xf86LoadDrvSubModule)
|
|
|
|
SYMFUNC(xf86LoadSubModule)
|
|
|
|
SYMFUNC(xf86LoadOneModule)
|
|
|
|
SYMFUNC(xf86UnloadSubModule)
|
|
|
|
SYMFUNC(xf86LoaderCheckSymbol)
|
|
|
|
SYMFUNC(xf86LoaderRefSymLists)
|
|
|
|
SYMFUNC(xf86LoaderRefSymbols)
|
|
|
|
SYMFUNC(xf86LoaderReqSymLists)
|
|
|
|
SYMFUNC(xf86LoaderReqSymbols)
|
|
|
|
SYMFUNC(xf86SetBackingStore)
|
|
|
|
SYMFUNC(xf86SetSilkenMouse)
|
|
|
|
/* SYMFUNC(xf86NewSerialNumber) */
|
|
|
|
SYMFUNC(xf86FindXvOptions)
|
|
|
|
SYMFUNC(xf86GetOS)
|
|
|
|
SYMFUNC(xf86ConfigPciEntity)
|
|
|
|
SYMFUNC(xf86ConfigIsaEntity)
|
|
|
|
SYMFUNC(xf86ConfigFbEntity)
|
|
|
|
SYMFUNC(xf86ConfigActivePciEntity)
|
|
|
|
SYMFUNC(xf86ConfigActiveIsaEntity)
|
|
|
|
SYMFUNC(xf86ConfigPciEntityInactive)
|
|
|
|
SYMFUNC(xf86ConfigIsaEntityInactive)
|
|
|
|
SYMFUNC(xf86IsScreenPrimary)
|
|
|
|
SYMFUNC(xf86RegisterRootWindowProperty)
|
|
|
|
SYMFUNC(xf86IsUnblank)
|
|
|
|
SYMFUNC(xf86AddModuleInfo)
|
|
|
|
SYMFUNC(xf86DeleteModuleInfo)
|
2003-11-14 17:48:57 +01:00
|
|
|
|
2006-12-04 22:36:30 +01:00
|
|
|
#if (defined(__sparc__) || defined(__sparc)) && !defined(__OpenBSD__)
|
2003-11-25 20:29:01 +01:00
|
|
|
/* xf86sbusBus.c */
|
|
|
|
SYMFUNC(xf86MatchSbusInstances)
|
|
|
|
SYMFUNC(xf86GetSbusInfoForEntity)
|
|
|
|
SYMFUNC(xf86GetEntityForSbusInfo)
|
|
|
|
SYMFUNC(xf86SbusUseBuiltinMode)
|
|
|
|
SYMFUNC(xf86MapSbusMem)
|
|
|
|
SYMFUNC(xf86UnmapSbusMem)
|
|
|
|
SYMFUNC(xf86SbusHideOsHwCursor)
|
|
|
|
SYMFUNC(xf86SbusSetOsHwCursorCmap)
|
|
|
|
SYMFUNC(xf86SbusHandleColormaps)
|
|
|
|
SYMFUNC(sparcPromInit)
|
|
|
|
SYMFUNC(sparcPromClose)
|
|
|
|
SYMFUNC(sparcPromGetProperty)
|
|
|
|
SYMFUNC(sparcPromGetBool)
|
2003-11-14 17:48:57 +01:00
|
|
|
#endif
|
|
|
|
|
2003-11-25 20:29:01 +01:00
|
|
|
/* xf86Init.c */
|
|
|
|
SYMFUNC(xf86GetPixFormat)
|
|
|
|
SYMFUNC(xf86GetBppFromDepth)
|
2003-11-14 17:48:57 +01:00
|
|
|
|
2003-11-25 20:29:01 +01:00
|
|
|
/* xf86Mode.c */
|
|
|
|
SYMFUNC(xf86GetNearestClock)
|
|
|
|
SYMFUNC(xf86ModeStatusToString)
|
|
|
|
SYMFUNC(xf86LookupMode)
|
|
|
|
SYMFUNC(xf86CheckModeForMonitor)
|
|
|
|
SYMFUNC(xf86InitialCheckModeForDriver)
|
|
|
|
SYMFUNC(xf86CheckModeForDriver)
|
|
|
|
SYMFUNC(xf86ValidateModes)
|
|
|
|
SYMFUNC(xf86DeleteMode)
|
|
|
|
SYMFUNC(xf86PruneDriverModes)
|
|
|
|
SYMFUNC(xf86SetCrtcForModes)
|
|
|
|
SYMFUNC(xf86PrintModes)
|
|
|
|
SYMFUNC(xf86ShowClockRanges)
|
2003-11-14 17:48:57 +01:00
|
|
|
|
2003-11-25 20:29:01 +01:00
|
|
|
/* xf86Option.c */
|
|
|
|
SYMFUNC(xf86CollectOptions)
|
|
|
|
SYMFUNC(xf86CollectInputOptions)
|
|
|
|
/* Merging of XInput stuff */
|
|
|
|
SYMFUNC(xf86AddNewOption)
|
|
|
|
SYMFUNC(xf86NewOption)
|
|
|
|
SYMFUNC(xf86NextOption)
|
|
|
|
SYMFUNC(xf86OptionListCreate)
|
|
|
|
SYMFUNC(xf86OptionListMerge)
|
|
|
|
SYMFUNC(xf86OptionListFree)
|
|
|
|
SYMFUNC(xf86OptionName)
|
|
|
|
SYMFUNC(xf86OptionValue)
|
|
|
|
SYMFUNC(xf86OptionListReport)
|
|
|
|
SYMFUNC(xf86SetIntOption)
|
|
|
|
SYMFUNC(xf86SetRealOption)
|
|
|
|
SYMFUNC(xf86SetStrOption)
|
|
|
|
SYMFUNC(xf86SetBoolOption)
|
|
|
|
SYMFUNC(xf86CheckIntOption)
|
|
|
|
SYMFUNC(xf86CheckRealOption)
|
|
|
|
SYMFUNC(xf86CheckStrOption)
|
|
|
|
SYMFUNC(xf86CheckBoolOption)
|
|
|
|
SYMFUNC(xf86ReplaceIntOption)
|
|
|
|
SYMFUNC(xf86ReplaceRealOption)
|
|
|
|
SYMFUNC(xf86ReplaceStrOption)
|
|
|
|
SYMFUNC(xf86ReplaceBoolOption)
|
|
|
|
SYMFUNC(xf86FindOption)
|
|
|
|
SYMFUNC(xf86FindOptionValue)
|
|
|
|
SYMFUNC(xf86MarkOptionUsed)
|
|
|
|
SYMFUNC(xf86MarkOptionUsedByName)
|
|
|
|
SYMFUNC(xf86CheckIfOptionUsed)
|
|
|
|
SYMFUNC(xf86CheckIfOptionUsedByName)
|
|
|
|
SYMFUNC(xf86ShowUnusedOptions)
|
|
|
|
SYMFUNC(xf86ProcessOptions)
|
|
|
|
SYMFUNC(xf86TokenToOptinfo)
|
|
|
|
SYMFUNC(xf86TokenToOptName)
|
|
|
|
SYMFUNC(xf86IsOptionSet)
|
|
|
|
SYMFUNC(xf86GetOptValString)
|
|
|
|
SYMFUNC(xf86GetOptValInteger)
|
|
|
|
SYMFUNC(xf86GetOptValULong)
|
|
|
|
SYMFUNC(xf86GetOptValReal)
|
|
|
|
SYMFUNC(xf86GetOptValFreq)
|
|
|
|
SYMFUNC(xf86GetOptValBool)
|
|
|
|
SYMFUNC(xf86ReturnOptValBool)
|
|
|
|
SYMFUNC(xf86NameCmp)
|
|
|
|
SYMFUNC(xf86InitValuatorAxisStruct)
|
|
|
|
SYMFUNC(xf86InitValuatorDefaults)
|
2003-11-14 17:48:57 +01:00
|
|
|
|
2003-11-25 20:29:01 +01:00
|
|
|
/* xf86fbman.c */
|
|
|
|
SYMFUNC(xf86InitFBManager)
|
|
|
|
SYMFUNC(xf86InitFBManagerArea)
|
|
|
|
SYMFUNC(xf86InitFBManagerRegion)
|
|
|
|
SYMFUNC(xf86InitFBManagerLinear)
|
|
|
|
SYMFUNC(xf86RegisterFreeBoxCallback)
|
|
|
|
SYMFUNC(xf86FreeOffscreenArea)
|
|
|
|
SYMFUNC(xf86AllocateOffscreenArea)
|
|
|
|
SYMFUNC(xf86AllocateLinearOffscreenArea)
|
|
|
|
SYMFUNC(xf86ResizeOffscreenArea)
|
|
|
|
SYMFUNC(xf86FBManagerRunning)
|
|
|
|
SYMFUNC(xf86QueryLargestOffscreenArea)
|
|
|
|
SYMFUNC(xf86PurgeUnlockedOffscreenAreas)
|
|
|
|
SYMFUNC(xf86RegisterOffscreenManager)
|
|
|
|
SYMFUNC(xf86AllocateOffscreenLinear)
|
|
|
|
SYMFUNC(xf86ResizeOffscreenLinear)
|
|
|
|
SYMFUNC(xf86QueryLargestOffscreenLinear)
|
|
|
|
SYMFUNC(xf86FreeOffscreenLinear)
|
2003-11-14 17:48:57 +01:00
|
|
|
|
2003-11-25 20:29:01 +01:00
|
|
|
/* xf86cmap.c */
|
|
|
|
SYMFUNC(xf86HandleColormaps)
|
2004-10-29 00:12:23 +02:00
|
|
|
SYMFUNC(xf86GetGammaRampSize)
|
|
|
|
SYMFUNC(xf86GetGammaRamp)
|
|
|
|
SYMFUNC(xf86ChangeGammaRamp)
|
2003-11-14 17:48:57 +01:00
|
|
|
|
2005-10-30 10:27:06 +01:00
|
|
|
/* xf86RandR.c */
|
|
|
|
#ifdef RANDR
|
|
|
|
SYMFUNC(xf86RandRSetNewVirtualAndDimensions)
|
|
|
|
#endif
|
|
|
|
|
2003-11-25 20:29:01 +01:00
|
|
|
/* xf86xv.c */
|
2006-05-17 18:20:03 +02:00
|
|
|
#ifdef XV
|
2003-11-25 20:29:01 +01:00
|
|
|
SYMFUNC(xf86XVScreenInit)
|
|
|
|
SYMFUNC(xf86XVRegisterGenericAdaptorDriver)
|
|
|
|
SYMFUNC(xf86XVListGenericAdaptors)
|
|
|
|
SYMFUNC(xf86XVRegisterOffscreenImages)
|
|
|
|
SYMFUNC(xf86XVQueryOffscreenImages)
|
|
|
|
SYMFUNC(xf86XVAllocateVideoAdaptorRec)
|
|
|
|
SYMFUNC(xf86XVFreeVideoAdaptorRec)
|
|
|
|
SYMFUNC(xf86XVFillKeyHelper)
|
2006-10-15 16:48:59 +02:00
|
|
|
SYMFUNC(xf86XVFillKeyHelperDrawable)
|
2003-11-25 20:29:01 +01:00
|
|
|
SYMFUNC(xf86XVClipVideoHelper)
|
|
|
|
SYMFUNC(xf86XVCopyYUV12ToPacked)
|
|
|
|
SYMFUNC(xf86XVCopyPacked)
|
2003-11-14 17:48:57 +01:00
|
|
|
|
2003-11-25 20:29:01 +01:00
|
|
|
/* xf86xvmc.c */
|
|
|
|
SYMFUNC(xf86XvMCScreenInit)
|
|
|
|
SYMFUNC(xf86XvMCCreateAdaptorRec)
|
|
|
|
SYMFUNC(xf86XvMCDestroyAdaptorRec)
|
2006-05-17 18:20:03 +02:00
|
|
|
#endif
|
2003-11-14 17:48:57 +01:00
|
|
|
|
2003-11-25 20:29:01 +01:00
|
|
|
/* xf86VidMode.c */
|
|
|
|
SYMFUNC(VidModeExtensionInit)
|
2003-11-14 17:48:57 +01:00
|
|
|
#ifdef XF86VIDMODE
|
2003-11-25 20:29:01 +01:00
|
|
|
SYMFUNC(VidModeGetCurrentModeline)
|
|
|
|
SYMFUNC(VidModeGetFirstModeline)
|
|
|
|
SYMFUNC(VidModeGetNextModeline)
|
|
|
|
SYMFUNC(VidModeDeleteModeline)
|
|
|
|
SYMFUNC(VidModeZoomViewport)
|
|
|
|
SYMFUNC(VidModeGetViewPort)
|
|
|
|
SYMFUNC(VidModeSetViewPort)
|
|
|
|
SYMFUNC(VidModeSwitchMode)
|
|
|
|
SYMFUNC(VidModeLockZoom)
|
|
|
|
SYMFUNC(VidModeGetMonitor)
|
|
|
|
SYMFUNC(VidModeGetNumOfClocks)
|
|
|
|
SYMFUNC(VidModeGetClocks)
|
|
|
|
SYMFUNC(VidModeCheckModeForMonitor)
|
|
|
|
SYMFUNC(VidModeCheckModeForDriver)
|
|
|
|
SYMFUNC(VidModeSetCrtcForMode)
|
|
|
|
SYMFUNC(VidModeAddModeline)
|
|
|
|
SYMFUNC(VidModeGetDotClock)
|
|
|
|
SYMFUNC(VidModeGetNumOfModes)
|
|
|
|
SYMFUNC(VidModeSetGamma)
|
|
|
|
SYMFUNC(VidModeGetGamma)
|
|
|
|
SYMFUNC(VidModeCreateMode)
|
|
|
|
SYMFUNC(VidModeCopyMode)
|
|
|
|
SYMFUNC(VidModeGetModeValue)
|
|
|
|
SYMFUNC(VidModeSetModeValue)
|
|
|
|
SYMFUNC(VidModeGetMonitorValue)
|
|
|
|
SYMFUNC(VidModeSetGammaRamp)
|
|
|
|
SYMFUNC(VidModeGetGammaRamp)
|
|
|
|
SYMFUNC(VidModeGetGammaRampSize)
|
2003-11-14 17:48:57 +01:00
|
|
|
#endif
|
|
|
|
|
2003-11-25 20:29:01 +01:00
|
|
|
/* xf86Versions.c */
|
|
|
|
SYMFUNC(xf86GetBuiltinInterfaceVersion)
|
|
|
|
SYMFUNC(xf86RegisterBuiltinInterfaceVersion)
|
|
|
|
|
|
|
|
/* xf86MiscExt.c */
|
2003-11-14 17:48:57 +01:00
|
|
|
#ifdef XF86MISC
|
2003-11-25 20:29:01 +01:00
|
|
|
SYMFUNC(MiscExtGetMouseSettings)
|
|
|
|
SYMFUNC(MiscExtGetMouseValue)
|
|
|
|
SYMFUNC(MiscExtSetMouseValue)
|
|
|
|
SYMFUNC(MiscExtSetMouseDevice)
|
|
|
|
SYMFUNC(MiscExtGetKbdSettings)
|
|
|
|
SYMFUNC(MiscExtGetKbdValue)
|
|
|
|
SYMFUNC(MiscExtSetKbdValue)
|
|
|
|
SYMFUNC(MiscExtSetGrabKeysState)
|
|
|
|
SYMFUNC(MiscExtCreateStruct)
|
|
|
|
SYMFUNC(MiscExtDestroyStruct)
|
|
|
|
SYMFUNC(MiscExtApply)
|
|
|
|
SYMFUNC(MiscExtGetFilePaths)
|
|
|
|
SYMFUNC(MiscExtPassMessage)
|
2003-11-14 17:48:57 +01:00
|
|
|
#endif
|
|
|
|
|
2003-11-25 20:29:01 +01:00
|
|
|
/* Misc */
|
|
|
|
SYMFUNC(GetTimeInMillis)
|
2003-11-14 17:48:57 +01:00
|
|
|
|
2003-11-25 20:29:01 +01:00
|
|
|
/* xf86Xinput.c */
|
2003-11-14 17:48:57 +01:00
|
|
|
#ifdef XINPUT
|
2003-11-25 20:29:01 +01:00
|
|
|
SYMFUNC(xf86ProcessCommonOptions)
|
|
|
|
SYMFUNC(xf86PostMotionEvent)
|
|
|
|
SYMFUNC(xf86PostProximityEvent)
|
|
|
|
SYMFUNC(xf86PostButtonEvent)
|
|
|
|
SYMFUNC(xf86PostKeyEvent)
|
|
|
|
SYMFUNC(xf86PostKeyboardEvent)
|
|
|
|
SYMFUNC(xf86FirstLocalDevice)
|
2006-02-16 02:03:09 +01:00
|
|
|
SYMFUNC(xf86ActivateDevice)
|
2003-11-25 20:29:01 +01:00
|
|
|
SYMFUNC(xf86XInputSetScreen)
|
|
|
|
SYMFUNC(xf86ScaleAxis)
|
2003-11-14 17:48:57 +01:00
|
|
|
#endif
|
2004-08-09 04:08:35 +02:00
|
|
|
#ifdef DPMSExtension
|
2003-11-25 20:29:01 +01:00
|
|
|
SYMFUNC(DPMSGet)
|
|
|
|
SYMFUNC(DPMSSet)
|
|
|
|
SYMFUNC(DPMSSupported)
|
2004-08-09 04:08:35 +02:00
|
|
|
#endif
|
2003-11-14 17:48:57 +01:00
|
|
|
/* xf86Debug.c */
|
|
|
|
#ifdef BUILDDEBUG
|
2003-11-25 20:29:01 +01:00
|
|
|
SYMFUNC(xf86Break1)
|
|
|
|
SYMFUNC(xf86Break2)
|
|
|
|
SYMFUNC(xf86Break3)
|
|
|
|
SYMFUNC(xf86SPTimestamp)
|
|
|
|
SYMFUNC(xf86STimestamp)
|
2003-11-14 17:48:57 +01:00
|
|
|
#endif
|
|
|
|
|
2003-11-25 20:29:01 +01:00
|
|
|
SYMFUNC(pciTag)
|
|
|
|
SYMFUNC(pciBusAddrToHostAddr)
|
|
|
|
SYMFUNC(xf86scanpci)
|
2003-11-14 17:48:57 +01:00
|
|
|
|
2003-11-25 20:29:01 +01:00
|
|
|
/* Loader functions */
|
|
|
|
SYMFUNC(LoadSubModule)
|
|
|
|
SYMFUNC(DuplicateModule)
|
|
|
|
SYMFUNC(LoaderErrorMsg)
|
|
|
|
SYMFUNC(LoaderCheckUnresolved)
|
|
|
|
SYMFUNC(LoadExtension)
|
|
|
|
SYMFUNC(LoadFont)
|
|
|
|
SYMFUNC(LoaderReqSymbols)
|
|
|
|
SYMFUNC(LoaderReqSymLists)
|
|
|
|
SYMFUNC(LoaderRefSymbols)
|
|
|
|
SYMFUNC(LoaderRefSymLists)
|
|
|
|
SYMFUNC(UnloadSubModule)
|
|
|
|
SYMFUNC(LoaderSymbol)
|
|
|
|
SYMFUNC(LoaderListDirs)
|
|
|
|
SYMFUNC(LoaderFreeDirList)
|
|
|
|
SYMFUNC(LoaderGetOS)
|
2006-03-28 09:21:50 +02:00
|
|
|
SYMFUNC(LoaderGetABIVersion)
|
2003-11-14 17:48:57 +01:00
|
|
|
|
2003-11-25 20:29:01 +01:00
|
|
|
/*
|
|
|
|
* These are our own interfaces to libc functions.
|
|
|
|
*/
|
|
|
|
SYMFUNC(xf86abort)
|
|
|
|
SYMFUNC(xf86abs)
|
|
|
|
SYMFUNC(xf86acos)
|
|
|
|
SYMFUNC(xf86asin)
|
|
|
|
SYMFUNC(xf86atan)
|
|
|
|
SYMFUNC(xf86atan2)
|
|
|
|
SYMFUNC(xf86atof)
|
|
|
|
SYMFUNC(xf86atoi)
|
|
|
|
SYMFUNC(xf86atol)
|
|
|
|
SYMFUNC(xf86bsearch)
|
|
|
|
SYMFUNC(xf86ceil)
|
|
|
|
SYMFUNC(xf86calloc)
|
|
|
|
SYMFUNC(xf86clearerr)
|
|
|
|
SYMFUNC(xf86close)
|
|
|
|
SYMFUNC(xf86cos)
|
|
|
|
SYMFUNC(xf86exit)
|
|
|
|
SYMFUNC(xf86exp)
|
|
|
|
SYMFUNC(xf86fabs)
|
|
|
|
SYMFUNC(xf86fclose)
|
|
|
|
SYMFUNC(xf86feof)
|
|
|
|
SYMFUNC(xf86ferror)
|
|
|
|
SYMFUNC(xf86fflush)
|
|
|
|
SYMFUNC(xf86fgetc)
|
|
|
|
SYMFUNC(xf86fgetpos)
|
|
|
|
SYMFUNC(xf86fgets)
|
|
|
|
SYMFUNC(xf86finite)
|
|
|
|
SYMFUNC(xf86floor)
|
|
|
|
SYMFUNC(xf86fmod)
|
|
|
|
SYMFUNC(xf86fopen)
|
|
|
|
SYMFUNC(xf86fprintf)
|
|
|
|
SYMFUNC(xf86fputc)
|
|
|
|
SYMFUNC(xf86fputs)
|
|
|
|
SYMFUNC(xf86fread)
|
|
|
|
SYMFUNC(xf86free)
|
|
|
|
SYMFUNC(xf86freopen)
|
|
|
|
SYMFUNC(xf86frexp)
|
|
|
|
SYMFUNC(xf86fscanf)
|
|
|
|
SYMFUNC(xf86fseek)
|
|
|
|
SYMFUNC(xf86fsetpos)
|
|
|
|
SYMFUNC(xf86ftell)
|
|
|
|
SYMFUNC(xf86fwrite)
|
|
|
|
SYMFUNC(xf86getc)
|
|
|
|
SYMFUNC(xf86getenv)
|
|
|
|
SYMFUNC(xf86getpagesize)
|
|
|
|
SYMFUNC(xf86hypot)
|
|
|
|
SYMFUNC(xf86ioctl)
|
|
|
|
SYMFUNC(xf86isalnum)
|
|
|
|
SYMFUNC(xf86isalpha)
|
|
|
|
SYMFUNC(xf86iscntrl)
|
|
|
|
SYMFUNC(xf86isdigit)
|
|
|
|
SYMFUNC(xf86isgraph)
|
|
|
|
SYMFUNC(xf86islower)
|
|
|
|
SYMFUNC(xf86isprint)
|
|
|
|
SYMFUNC(xf86ispunct)
|
|
|
|
SYMFUNC(xf86isspace)
|
|
|
|
SYMFUNC(xf86isupper)
|
|
|
|
SYMFUNC(xf86isxdigit)
|
|
|
|
SYMFUNC(xf86labs)
|
|
|
|
SYMFUNC(xf86ldexp)
|
|
|
|
SYMFUNC(xf86log)
|
|
|
|
SYMFUNC(xf86log10)
|
|
|
|
SYMFUNC(xf86lseek)
|
|
|
|
SYMFUNC(xf86malloc)
|
|
|
|
SYMFUNC(xf86memchr)
|
|
|
|
SYMFUNC(xf86memcmp)
|
|
|
|
SYMFUNC(xf86memcpy)
|
|
|
|
/*
|
|
|
|
* Some compilers generate calls to memcpy to handle structure copies
|
|
|
|
* or run-time initializations.
|
|
|
|
*/
|
|
|
|
SYMFUNCALIAS("memcpy", xf86memcpy)
|
|
|
|
SYMFUNC(xf86memset)
|
|
|
|
/*
|
|
|
|
* Some compilers generate calls to memset to handle aggregate
|
|
|
|
* initializations.
|
|
|
|
*/
|
|
|
|
SYMFUNCALIAS("memset", xf86memset)
|
|
|
|
SYMFUNC(xf86memmove)
|
|
|
|
SYMFUNC(xf86mmap)
|
|
|
|
SYMFUNC(xf86modf)
|
|
|
|
SYMFUNC(xf86munmap)
|
|
|
|
SYMFUNC(xf86open)
|
|
|
|
SYMFUNC(xf86perror)
|
|
|
|
SYMFUNC(xf86pow)
|
|
|
|
SYMFUNC(xf86printf)
|
|
|
|
SYMFUNC(xf86qsort)
|
|
|
|
SYMFUNC(xf86read)
|
|
|
|
SYMFUNC(xf86realloc)
|
|
|
|
SYMFUNC(xf86remove)
|
|
|
|
SYMFUNC(xf86rename)
|
|
|
|
SYMFUNC(xf86rewind)
|
|
|
|
SYMFUNC(xf86setbuf)
|
|
|
|
SYMFUNC(xf86setvbuf)
|
|
|
|
SYMFUNC(xf86sin)
|
|
|
|
SYMFUNC(xf86snprintf)
|
|
|
|
SYMFUNC(xf86sprintf)
|
|
|
|
SYMFUNC(xf86sqrt)
|
|
|
|
SYMFUNC(xf86sscanf)
|
|
|
|
SYMFUNC(xf86strcat)
|
|
|
|
SYMFUNC(xf86strcmp)
|
|
|
|
SYMFUNC(xf86strcasecmp)
|
|
|
|
SYMFUNC(xf86strcpy)
|
|
|
|
SYMFUNC(xf86strcspn)
|
|
|
|
SYMFUNC(xf86strerror)
|
|
|
|
SYMFUNC(xf86strlcat)
|
|
|
|
SYMFUNC(xf86strlcpy)
|
|
|
|
SYMFUNC(xf86strlen)
|
|
|
|
SYMFUNC(xf86strncasecmp)
|
|
|
|
SYMFUNC(xf86strncat)
|
|
|
|
SYMFUNC(xf86strncmp)
|
|
|
|
SYMFUNC(xf86strncpy)
|
|
|
|
SYMFUNC(xf86strpbrk)
|
|
|
|
SYMFUNC(xf86strchr)
|
|
|
|
SYMFUNC(xf86strrchr)
|
|
|
|
SYMFUNC(xf86strspn)
|
|
|
|
SYMFUNC(xf86strstr)
|
|
|
|
SYMFUNC(xf86strtod)
|
|
|
|
SYMFUNC(xf86strtok)
|
|
|
|
SYMFUNC(xf86strtol)
|
|
|
|
SYMFUNC(xf86strtoul)
|
|
|
|
SYMFUNC(xf86tan)
|
|
|
|
SYMFUNC(xf86tmpfile)
|
|
|
|
SYMFUNC(xf86tolower)
|
|
|
|
SYMFUNC(xf86toupper)
|
|
|
|
SYMFUNC(xf86ungetc)
|
|
|
|
SYMFUNC(xf86vfprintf)
|
|
|
|
SYMFUNC(xf86vsnprintf)
|
|
|
|
SYMFUNC(xf86vsprintf)
|
|
|
|
SYMFUNC(xf86write)
|
2003-11-14 17:48:57 +01:00
|
|
|
|
2003-11-25 20:29:01 +01:00
|
|
|
/* non-ANSI C functions */
|
|
|
|
SYMFUNC(xf86opendir)
|
|
|
|
SYMFUNC(xf86closedir)
|
|
|
|
SYMFUNC(xf86readdir)
|
|
|
|
SYMFUNC(xf86rewinddir)
|
|
|
|
SYMFUNC(xf86ffs)
|
|
|
|
SYMFUNC(xf86strdup)
|
|
|
|
SYMFUNC(xf86bzero)
|
|
|
|
SYMFUNC(xf86usleep)
|
|
|
|
SYMFUNC(xf86execl)
|
2003-11-14 17:48:57 +01:00
|
|
|
|
2003-11-25 20:29:01 +01:00
|
|
|
SYMFUNC(xf86getsecs)
|
|
|
|
SYMFUNC(xf86fpossize) /* for returning sizeof(fpos_t) */
|
|
|
|
|
|
|
|
/* Some of these were added for DRI support. */
|
|
|
|
SYMFUNC(xf86stat)
|
|
|
|
SYMFUNC(xf86fstat)
|
|
|
|
SYMFUNC(xf86access)
|
|
|
|
SYMFUNC(xf86geteuid)
|
|
|
|
SYMFUNC(xf86getegid)
|
|
|
|
SYMFUNC(xf86getpid)
|
|
|
|
SYMFUNC(xf86mknod)
|
|
|
|
SYMFUNC(xf86chmod)
|
|
|
|
SYMFUNC(xf86chown)
|
|
|
|
SYMFUNC(xf86sleep)
|
|
|
|
SYMFUNC(xf86mkdir)
|
|
|
|
SYMFUNC(xf86shmget)
|
|
|
|
SYMFUNC(xf86shmat)
|
|
|
|
SYMFUNC(xf86shmdt)
|
|
|
|
SYMFUNC(xf86shmctl)
|
2003-11-14 17:48:57 +01:00
|
|
|
#ifdef HAS_GLIBC_SIGSETJMP
|
2003-11-25 20:29:01 +01:00
|
|
|
SYMFUNC(xf86setjmp)
|
|
|
|
SYMFUNC(xf86setjmp0)
|
2003-11-14 17:48:57 +01:00
|
|
|
#if defined(__GLIBC__) && (__GLIBC__ >= 2)
|
2003-11-25 20:29:01 +01:00
|
|
|
SYMFUNCALIAS("xf86setjmp1", __sigsetjmp)
|
2003-11-14 17:48:57 +01:00
|
|
|
#else
|
2003-11-25 20:29:01 +01:00
|
|
|
SYMFUNC(xf86setjmp1) /* For libc5 */
|
2003-11-14 17:48:57 +01:00
|
|
|
#endif
|
|
|
|
#else
|
2003-11-25 20:29:01 +01:00
|
|
|
SYMFUNCALIAS("xf86setjmp", setjmp)
|
2005-04-01 23:28:50 +02:00
|
|
|
SYMFUNC(xf86setjmp0)
|
2003-11-25 20:29:01 +01:00
|
|
|
SYMFUNC(xf86setjmp1)
|
2003-11-14 17:48:57 +01:00
|
|
|
#endif
|
2003-11-25 20:29:01 +01:00
|
|
|
SYMFUNCALIAS("xf86longjmp", longjmp)
|
|
|
|
SYMFUNC(xf86getjmptype)
|
|
|
|
SYMFUNC(xf86setjmp1_arg2)
|
|
|
|
SYMFUNC(xf86setjmperror)
|
2003-11-14 17:48:57 +01:00
|
|
|
#ifdef XF86DRI
|
2003-11-25 20:29:01 +01:00
|
|
|
/*
|
|
|
|
* These may have more general uses, but for now, they are only used
|
|
|
|
* by the DRI. Loading them only when the DRI is built may make porting
|
|
|
|
* (the non-DRI portions of the X server) easier.
|
|
|
|
*/
|
|
|
|
SYMFUNC(xf86InstallSIGIOHandler)
|
|
|
|
SYMFUNC(xf86RemoveSIGIOHandler)
|
2003-11-14 17:48:57 +01:00
|
|
|
# if defined(__alpha__) && defined(linux)
|
2003-11-25 20:29:01 +01:00
|
|
|
SYMFUNC(_bus_base)
|
2003-11-14 17:48:57 +01:00
|
|
|
# endif
|
|
|
|
#endif
|
2003-11-25 20:29:01 +01:00
|
|
|
SYMFUNC(xf86BlockSIGIO)
|
|
|
|
SYMFUNC(xf86UnblockSIGIO)
|
|
|
|
|
2003-11-14 17:48:57 +01:00
|
|
|
#if defined(__alpha__)
|
2003-11-25 20:29:01 +01:00
|
|
|
SYMFUNC(__divl)
|
|
|
|
SYMFUNC(__reml)
|
|
|
|
SYMFUNC(__divlu)
|
|
|
|
SYMFUNC(__remlu)
|
|
|
|
SYMFUNC(__divq)
|
|
|
|
SYMFUNC(__divqu)
|
|
|
|
SYMFUNC(__remq)
|
|
|
|
SYMFUNC(__remqu)
|
2003-11-14 17:48:57 +01:00
|
|
|
|
|
|
|
# ifdef linux
|
2003-11-25 20:29:01 +01:00
|
|
|
SYMFUNC(_outw)
|
|
|
|
SYMFUNC(_outb)
|
|
|
|
SYMFUNC(_outl)
|
|
|
|
SYMFUNC(_inb)
|
|
|
|
SYMFUNC(_inw)
|
|
|
|
SYMFUNC(_inl)
|
|
|
|
SYMFUNC(_alpha_outw)
|
|
|
|
SYMFUNC(_alpha_outb)
|
|
|
|
SYMFUNC(_alpha_outl)
|
|
|
|
SYMFUNC(_alpha_inb)
|
|
|
|
SYMFUNC(_alpha_inw)
|
|
|
|
SYMFUNC(_alpha_inl)
|
2003-11-14 17:48:57 +01:00
|
|
|
# else
|
2003-11-25 20:29:01 +01:00
|
|
|
SYMFUNC(outw)
|
|
|
|
SYMFUNC(outb)
|
|
|
|
SYMFUNC(outl)
|
|
|
|
SYMFUNC(inb)
|
|
|
|
SYMFUNC(inw)
|
|
|
|
SYMFUNC(inl)
|
2003-11-14 17:48:57 +01:00
|
|
|
# endif
|
2003-11-25 20:29:01 +01:00
|
|
|
SYMFUNC(xf86ReadMmio32)
|
|
|
|
SYMFUNC(xf86ReadMmio16)
|
|
|
|
SYMFUNC(xf86ReadMmio8)
|
|
|
|
SYMFUNC(xf86WriteMmio32)
|
|
|
|
SYMFUNC(xf86WriteMmio16)
|
|
|
|
SYMFUNC(xf86WriteMmio8)
|
|
|
|
SYMFUNC(xf86WriteMmioNB32)
|
|
|
|
SYMFUNC(xf86WriteMmioNB16)
|
|
|
|
SYMFUNC(xf86WriteMmioNB8)
|
2003-11-14 17:48:57 +01:00
|
|
|
#endif
|
|
|
|
#if defined(sun) && defined(SVR4)
|
2003-11-25 20:29:01 +01:00
|
|
|
SYMFUNC(inb)
|
|
|
|
SYMFUNC(inw)
|
|
|
|
SYMFUNC(inl)
|
|
|
|
SYMFUNC(outb)
|
|
|
|
SYMFUNC(outw)
|
|
|
|
SYMFUNC(outl)
|
2003-11-14 17:48:57 +01:00
|
|
|
#endif
|
|
|
|
#if defined(__powerpc__) && !defined(__OpenBSD__)
|
2003-11-25 20:29:01 +01:00
|
|
|
SYMFUNC(inb)
|
|
|
|
SYMFUNC(inw)
|
|
|
|
SYMFUNC(inl)
|
|
|
|
SYMFUNC(outb)
|
|
|
|
SYMFUNC(outw)
|
|
|
|
SYMFUNC(outl)
|
2003-11-14 17:48:57 +01:00
|
|
|
# if defined(NO_INLINE) || defined(Lynx)
|
2003-11-25 20:29:01 +01:00
|
|
|
SYMFUNC(mem_barrier)
|
|
|
|
SYMFUNC(ldl_u)
|
|
|
|
SYMFUNC(eieio)
|
|
|
|
SYMFUNC(ldl_brx)
|
|
|
|
SYMFUNC(ldw_brx)
|
|
|
|
SYMFUNC(stl_brx)
|
|
|
|
SYMFUNC(stw_brx)
|
|
|
|
SYMFUNC(ldq_u)
|
|
|
|
SYMFUNC(ldw_u)
|
|
|
|
SYMFUNC(stl_u)
|
|
|
|
SYMFUNC(stq_u)
|
|
|
|
SYMFUNC(stw_u)
|
|
|
|
SYMFUNC(write_mem_barrier)
|
2003-11-14 17:48:57 +01:00
|
|
|
# endif
|
|
|
|
# if defined(Lynx)
|
2003-11-25 20:29:01 +01:00
|
|
|
SYMFUNC(_restf14)
|
|
|
|
SYMFUNC(_restf17)
|
|
|
|
SYMFUNC(_restf18)
|
|
|
|
SYMFUNC(_restf19)
|
|
|
|
SYMFUNC(_restf20)
|
|
|
|
SYMFUNC(_restf22)
|
|
|
|
SYMFUNC(_restf23)
|
|
|
|
SYMFUNC(_restf24)
|
|
|
|
SYMFUNC(_restf25)
|
|
|
|
SYMFUNC(_restf26)
|
|
|
|
SYMFUNC(_restf27)
|
|
|
|
SYMFUNC(_restf28)
|
|
|
|
SYMFUNC(_restf29)
|
|
|
|
SYMFUNC(_savef14)
|
|
|
|
SYMFUNC(_savef17)
|
|
|
|
SYMFUNC(_savef18)
|
|
|
|
SYMFUNC(_savef19)
|
|
|
|
SYMFUNC(_savef20)
|
|
|
|
SYMFUNC(_savef22)
|
|
|
|
SYMFUNC(_savef23)
|
|
|
|
SYMFUNC(_savef24)
|
|
|
|
SYMFUNC(_savef25)
|
|
|
|
SYMFUNC(_savef26)
|
|
|
|
SYMFUNC(_savef27)
|
|
|
|
SYMFUNC(_savef28)
|
|
|
|
SYMFUNC(_savef29)
|
2003-11-14 17:48:57 +01:00
|
|
|
# endif
|
|
|
|
# if PPCIO_DEBUG
|
2003-11-25 20:29:01 +01:00
|
|
|
SYMFUNC(debug_inb)
|
|
|
|
SYMFUNC(debug_inw)
|
|
|
|
SYMFUNC(debug_inl)
|
|
|
|
SYMFUNC(debug_outb)
|
|
|
|
SYMFUNC(debug_outw)
|
|
|
|
SYMFUNC(debug_outl)
|
2003-11-14 17:48:57 +01:00
|
|
|
# endif
|
|
|
|
#endif
|
|
|
|
#if defined(__GNUC__)
|
2004-08-26 13:58:08 +02:00
|
|
|
#if !defined(__UNIXOS2__) && !defined(Lynx)
|
2003-11-25 20:29:01 +01:00
|
|
|
SYMFUNC(__div64)
|
|
|
|
#endif
|
2004-08-26 13:58:08 +02:00
|
|
|
#if !defined(Lynx) /* FIXME: test on others than x86 and !3.1.0a/x86 */
|
2003-11-25 20:29:01 +01:00
|
|
|
SYMFUNC(__divdf3)
|
2004-08-26 13:58:08 +02:00
|
|
|
#endif
|
2003-11-25 20:29:01 +01:00
|
|
|
SYMFUNC(__divdi3)
|
2004-08-26 13:58:08 +02:00
|
|
|
#if !defined(Lynx)
|
2003-11-25 20:29:01 +01:00
|
|
|
SYMFUNC(__divsf3)
|
|
|
|
SYMFUNC(__divsi3)
|
2004-08-26 13:58:08 +02:00
|
|
|
#endif
|
2003-11-25 20:29:01 +01:00
|
|
|
SYMFUNC(__moddi3)
|
2004-08-26 13:58:08 +02:00
|
|
|
#if !defined(Lynx)
|
2003-11-25 20:29:01 +01:00
|
|
|
SYMFUNC(__modsi3)
|
2004-08-26 13:58:08 +02:00
|
|
|
#endif
|
|
|
|
#if !defined(__UNIXOS2__) && !defined(Lynx)
|
2003-11-25 20:29:01 +01:00
|
|
|
SYMFUNC(__mul64)
|
|
|
|
#endif
|
2004-08-26 13:58:08 +02:00
|
|
|
#if !defined(Lynx)
|
2003-11-25 20:29:01 +01:00
|
|
|
SYMFUNC(__muldf3)
|
2004-08-26 13:58:08 +02:00
|
|
|
#endif
|
2003-11-25 20:29:01 +01:00
|
|
|
SYMFUNC(__muldi3)
|
2004-08-26 13:58:08 +02:00
|
|
|
#if !defined(Lynx)
|
2003-11-25 20:29:01 +01:00
|
|
|
SYMFUNC(__mulsf3)
|
|
|
|
SYMFUNC(__mulsi3)
|
|
|
|
SYMFUNC(__udivdi3)
|
|
|
|
SYMFUNC(__udivsi3)
|
2004-08-26 13:58:08 +02:00
|
|
|
#endif
|
2003-11-25 20:29:01 +01:00
|
|
|
SYMFUNC(__umoddi3)
|
2004-08-26 13:58:08 +02:00
|
|
|
#if !defined(Lynx)
|
2003-11-25 20:29:01 +01:00
|
|
|
SYMFUNC(__umodsi3)
|
2003-11-14 17:48:57 +01:00
|
|
|
#endif
|
2004-08-26 13:58:08 +02:00
|
|
|
#endif
|
2003-11-14 17:48:57 +01:00
|
|
|
#if defined(__ia64__)
|
2005-04-22 18:49:22 +02:00
|
|
|
SYMFUNC(outw)
|
|
|
|
SYMFUNC(outb)
|
|
|
|
SYMFUNC(outl)
|
|
|
|
SYMFUNC(inb)
|
|
|
|
SYMFUNC(inw)
|
|
|
|
SYMFUNC(inl)
|
2003-11-14 17:48:57 +01:00
|
|
|
#endif
|
|
|
|
#if defined(__arm__)
|
2003-11-25 20:29:01 +01:00
|
|
|
SYMFUNC(outw)
|
|
|
|
SYMFUNC(outb)
|
|
|
|
SYMFUNC(outl)
|
|
|
|
SYMFUNC(inb)
|
|
|
|
SYMFUNC(inw)
|
|
|
|
SYMFUNC(inl)
|
2003-11-14 17:48:57 +01:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef __FreeBSD__
|
2003-11-25 20:29:01 +01:00
|
|
|
#if defined(__sparc__)
|
|
|
|
SYMFUNC(_Qp_qtos)
|
|
|
|
SYMFUNC(_Qp_qtod)
|
|
|
|
SYMFUNC(_Qp_qtoux)
|
|
|
|
SYMFUNC(_Qp_uitoq)
|
|
|
|
SYMFUNC(_Qp_dtoq)
|
|
|
|
#endif
|
2003-11-14 17:48:57 +01:00
|
|
|
#endif
|
|
|
|
|
2003-11-25 20:29:01 +01:00
|
|
|
/* Some variables. */
|
2003-11-14 17:48:57 +01:00
|
|
|
|
2003-11-25 20:29:01 +01:00
|
|
|
SYMVAR(xf86stdin)
|
|
|
|
SYMVAR(xf86stdout)
|
|
|
|
SYMVAR(xf86stderr)
|
|
|
|
SYMVAR(xf86errno)
|
|
|
|
SYMVAR(xf86HUGE_VAL)
|
2003-11-14 17:48:57 +01:00
|
|
|
|
2003-11-25 20:29:01 +01:00
|
|
|
/* General variables (from xf86.h) */
|
|
|
|
SYMVAR(xf86ScreenIndex)
|
|
|
|
SYMVAR(xf86PixmapIndex)
|
|
|
|
SYMVAR(xf86Screens)
|
|
|
|
SYMVAR(byte_reversed)
|
|
|
|
SYMVAR(xf86inSuspend)
|
|
|
|
/* debugging variables */
|
2003-11-14 17:48:57 +01:00
|
|
|
#ifdef BUILDDEBUG
|
2003-11-25 20:29:01 +01:00
|
|
|
SYMVAR(xf86p8bit)
|
|
|
|
SYMVAR(xf86DummyVar1)
|
|
|
|
SYMVAR(xf86DummyVar2)
|
|
|
|
SYMVAR(xf86DummyVar3)
|
2003-11-14 17:48:57 +01:00
|
|
|
#endif
|
|
|
|
|
2003-11-25 20:29:01 +01:00
|
|
|
/* predefined resource lists from xf86Bus.h */
|
|
|
|
SYMVAR(resVgaExclusive)
|
|
|
|
SYMVAR(resVgaShared)
|
|
|
|
SYMVAR(resVgaMemShared)
|
|
|
|
SYMVAR(resVgaIoShared)
|
|
|
|
SYMVAR(resVgaUnusedExclusive)
|
|
|
|
SYMVAR(resVgaUnusedShared)
|
|
|
|
SYMVAR(resVgaSparseExclusive)
|
|
|
|
SYMVAR(resVgaSparseShared)
|
|
|
|
SYMVAR(res8514Exclusive)
|
|
|
|
SYMVAR(res8514Shared)
|
|
|
|
SYMVAR(PciAvoid)
|
2003-11-14 17:48:57 +01:00
|
|
|
|
|
|
|
#if defined(__powerpc__) && (!defined(NO_INLINE) || defined(Lynx))
|
2003-11-25 20:29:01 +01:00
|
|
|
SYMVAR(ioBase)
|
2003-11-14 17:48:57 +01:00
|
|
|
#endif
|
|
|
|
|
2003-11-25 20:29:01 +01:00
|
|
|
/* Globals from xf86Globals.c and xf86Priv.h */
|
|
|
|
SYMVAR(xf86ConfigDRI)
|
2003-11-14 17:48:57 +01:00
|
|
|
|
2003-11-25 20:29:01 +01:00
|
|
|
/* Globals from xf86Configure.c */
|
|
|
|
SYMVAR(ConfiguredMonitor)
|
2003-11-14 17:48:57 +01:00
|
|
|
|
2003-11-25 20:29:01 +01:00
|
|
|
/* Pci.c */
|
|
|
|
SYMVAR(pciNumBuses)
|
2007-02-16 05:36:20 +01:00
|
|
|
|
|
|
|
/* modes */
|
2007-03-20 15:17:27 +01:00
|
|
|
SYMVAR(xf86CrtcConfigPrivateIndex)
|
2007-02-16 05:36:20 +01:00
|
|
|
SYMFUNC(xf86CrtcConfigInit)
|
|
|
|
SYMFUNC(xf86CrtcConfigPrivateIndex)
|
|
|
|
SYMFUNC(xf86CrtcCreate)
|
|
|
|
SYMFUNC(xf86CrtcDestroy)
|
|
|
|
SYMFUNC(xf86CrtcInUse)
|
|
|
|
SYMFUNC(xf86CrtcRotate)
|
|
|
|
SYMFUNC(xf86CrtcSetMode)
|
|
|
|
SYMFUNC(xf86CrtcSetSizeRange)
|
|
|
|
SYMFUNC(xf86CVTMode)
|
|
|
|
SYMFUNC(xf86DisableUnusedFunctions)
|
|
|
|
SYMFUNC(xf86DPMSSet)
|
|
|
|
SYMFUNC(xf86DuplicateMode)
|
|
|
|
SYMFUNC(xf86DuplicateModes)
|
|
|
|
SYMFUNC(xf86GetDefaultModes)
|
|
|
|
SYMFUNC(xf86GetMonitorModes)
|
|
|
|
SYMFUNC(xf86InitialConfiguration)
|
|
|
|
SYMFUNC(xf86ModeHSync)
|
|
|
|
SYMFUNC(xf86ModesAdd)
|
|
|
|
SYMFUNC(xf86ModesEqual)
|
|
|
|
SYMFUNC(xf86ModeVRefresh)
|
|
|
|
SYMFUNC(xf86OutputCreate)
|
|
|
|
SYMFUNC(xf86OutputDestroy)
|
|
|
|
SYMFUNC(xf86OutputGetEDID)
|
|
|
|
SYMFUNC(xf86OutputGetEDIDModes)
|
|
|
|
SYMFUNC(xf86OutputRename)
|
|
|
|
SYMFUNC(xf86OutputSetEDID)
|
|
|
|
SYMFUNC(xf86PrintModeline)
|
|
|
|
SYMFUNC(xf86ProbeOutputModes)
|
|
|
|
SYMFUNC(xf86PruneInvalidModes)
|
|
|
|
SYMFUNC(xf86SetModeCrtc)
|
|
|
|
SYMFUNC(xf86SetModeDefaultName)
|
|
|
|
SYMFUNC(xf86SetScrnInfoModes)
|
|
|
|
SYMFUNC(xf86ValidateModesClocks)
|
|
|
|
SYMFUNC(xf86ValidateModesFlags)
|
|
|
|
SYMFUNC(xf86ValidateModesSize)
|
|
|
|
SYMFUNC(xf86ValidateModesSync)
|
|
|
|
SYMFUNC(xf86ValidateModesUserConfig)
|
|
|
|
SYMFUNC(xf86DiDGAInit)
|
|
|
|
SYMFUNC(xf86DiDGAReInit)
|
|
|
|
SYMFUNC(xf86DDCGetModes)
|
|
|
|
SYMFUNC(xf86SaveScreen)
|
|
|
|
#ifdef RANDR
|
|
|
|
SYMFUNC(xf86RandR12CreateScreenResources)
|
|
|
|
SYMFUNC(xf86RandR12GetOriginalVirtualSize)
|
|
|
|
SYMFUNC(xf86RandR12GetRotation)
|
|
|
|
SYMFUNC(xf86RandR12Init)
|
|
|
|
SYMFUNC(xf86RandR12PreInit)
|
|
|
|
SYMFUNC(xf86RandR12SetConfig)
|
|
|
|
SYMFUNC(xf86RandR12SetRotations)
|
|
|
|
#endif
|
2007-03-15 07:59:29 +01:00
|
|
|
SYMFUNC(xf86_cursors_init)
|
|
|
|
SYMFUNC(xf86_reload_cursors)
|
|
|
|
SYMFUNC(xf86_show_cursors)
|
|
|
|
SYMFUNC(xf86_hide_cursors)
|
|
|
|
SYMFUNC(xf86_cursors_fini)
|
2007-02-16 05:36:20 +01:00
|
|
|
|
|
|
|
SYMFUNC(xf86DoEDID_DDC1)
|
|
|
|
SYMFUNC(xf86DoEDID_DDC2)
|
|
|
|
SYMFUNC(xf86InterpretEDID)
|
|
|
|
SYMFUNC(xf86PrintEDID)
|
|
|
|
SYMFUNC(xf86DDCMonitorSet)
|
|
|
|
SYMFUNC(xf86SetDDCproperties)
|
|
|
|
|
|
|
|
SYMFUNC(xf86CreateI2CBusRec)
|
|
|
|
SYMFUNC(xf86CreateI2CDevRec)
|
|
|
|
SYMFUNC(xf86DestroyI2CBusRec)
|
|
|
|
SYMFUNC(xf86DestroyI2CDevRec)
|
|
|
|
SYMFUNC(xf86I2CBusInit)
|
|
|
|
SYMFUNC(xf86I2CDevInit)
|
|
|
|
SYMFUNC(xf86I2CFindBus)
|
|
|
|
SYMFUNC(xf86I2CFindDev)
|
|
|
|
SYMFUNC(xf86I2CGetScreenBuses)
|
|
|
|
SYMFUNC(xf86I2CProbeAddress)
|
|
|
|
SYMFUNC(xf86I2CReadByte)
|
|
|
|
SYMFUNC(xf86I2CReadBytes)
|
|
|
|
SYMFUNC(xf86I2CReadStatus)
|
|
|
|
SYMFUNC(xf86I2CReadWord)
|
|
|
|
SYMFUNC(xf86I2CWriteByte)
|
|
|
|
SYMFUNC(xf86I2CWriteBytes)
|
|
|
|
SYMFUNC(xf86I2CWriteRead)
|
|
|
|
SYMFUNC(xf86I2CWriteVec)
|
|
|
|
SYMFUNC(xf86I2CWriteWord)
|
2007-05-30 04:01:30 +02:00
|
|
|
|
|
|
|
/* ramdac/xf86RamDac.c */
|
|
|
|
SYMFUNC(RamDacCreateInfoRec)
|
|
|
|
SYMFUNC(RamDacHelperCreateInfoRec)
|
|
|
|
SYMFUNC(RamDacDestroyInfoRec)
|
|
|
|
SYMFUNC(RamDacHelperDestroyInfoRec)
|
|
|
|
SYMFUNC(RamDacInit)
|
|
|
|
SYMFUNC(RamDacHandleColormaps)
|
|
|
|
SYMFUNC(RamDacFreeRec)
|
|
|
|
SYMFUNC(RamDacGetHWIndex)
|
|
|
|
SYMVAR(RamDacHWPrivateIndex)
|
|
|
|
SYMVAR(RamDacScreenPrivateIndex)
|
|
|
|
|
|
|
|
/* ramdac/xf86Cursor.c */
|
|
|
|
SYMFUNC(xf86InitCursor)
|
|
|
|
SYMFUNC(xf86CreateCursorInfoRec)
|
|
|
|
SYMFUNC(xf86DestroyCursorInfoRec)
|
|
|
|
SYMFUNC(xf86ForceHWCursor)
|
|
|
|
|
|
|
|
/* ramdac/BT.c */
|
|
|
|
SYMFUNC(BTramdacProbe)
|
|
|
|
SYMFUNC(BTramdacSave)
|
|
|
|
SYMFUNC(BTramdacRestore)
|
|
|
|
SYMFUNC(BTramdacSetBpp)
|
|
|
|
|
|
|
|
/* ramdac/IBM.c */
|
|
|
|
SYMFUNC(IBMramdacProbe)
|
|
|
|
SYMFUNC(IBMramdacSave)
|
|
|
|
SYMFUNC(IBMramdacRestore)
|
|
|
|
SYMFUNC(IBMramdac526SetBpp)
|
|
|
|
SYMFUNC(IBMramdac640SetBpp)
|
|
|
|
SYMFUNC(IBMramdac526CalculateMNPCForClock)
|
|
|
|
SYMFUNC(IBMramdac640CalculateMNPCForClock)
|
|
|
|
SYMFUNC(IBMramdac526HWCursorInit)
|
|
|
|
SYMFUNC(IBMramdac640HWCursorInit)
|
|
|
|
SYMFUNC(IBMramdac526SetBppWeak)
|
|
|
|
|
|
|
|
/* ramdac/TI.c */
|
|
|
|
SYMFUNC(TIramdacCalculateMNPForClock)
|
|
|
|
SYMFUNC(TIramdacProbe)
|
|
|
|
SYMFUNC(TIramdacSave)
|
|
|
|
SYMFUNC(TIramdacRestore)
|
|
|
|
SYMFUNC(TIramdac3026SetBpp)
|
|
|
|
SYMFUNC(TIramdac3030SetBpp)
|
|
|
|
SYMFUNC(TIramdacHWCursorInit)
|
|
|
|
SYMFUNC(TIramdacLoadPalette)
|
2003-11-14 17:48:57 +01:00
|
|
|
};
|