mirror of
https://github.com/X11Libre/xserver.git
synced 2026-10-10 23:33:46 +00:00
Mark everything in xf86sym.c as _X_EXPORT.
This commit is contained in:
parent
ae935832fa
commit
a68c11bb1d
108 changed files with 946 additions and 835 deletions
|
|
@ -19,7 +19,7 @@
|
|||
/* Avoid Imakefile changes */
|
||||
#include "bus/Pci.h"
|
||||
|
||||
resRange PciAvoid[] =
|
||||
_X_EXPORT resRange PciAvoid[] =
|
||||
{
|
||||
#if !defined(__sparc__) || !defined(INCLUDE_XF86_NO_DOMAIN)
|
||||
_PCI_AVOID_PC_STYLE,
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@ static Bool initDone = FALSE;
|
|||
* Close /dev/agpgart. This frees all associated memory allocated during
|
||||
* this server generation.
|
||||
*/
|
||||
Bool
|
||||
_X_EXPORT Bool
|
||||
xf86GARTCloseScreen(int screenNum)
|
||||
{
|
||||
if(gartFd != -1) {
|
||||
|
|
@ -117,13 +117,13 @@ GARTInit(int screenNum)
|
|||
return TRUE;
|
||||
}
|
||||
|
||||
Bool
|
||||
_X_EXPORT Bool
|
||||
xf86AgpGARTSupported()
|
||||
{
|
||||
return GARTInit(-1);
|
||||
}
|
||||
|
||||
AgpInfoPtr
|
||||
_X_EXPORT AgpInfoPtr
|
||||
xf86GetAGPInfo(int screenNum)
|
||||
{
|
||||
struct _agp_info agpinf;
|
||||
|
|
@ -166,7 +166,7 @@ xf86GetAGPInfo(int screenNum)
|
|||
* count instead of using acquiredScreen?
|
||||
*/
|
||||
|
||||
Bool
|
||||
_X_EXPORT Bool
|
||||
xf86AcquireGART(int screenNum)
|
||||
{
|
||||
if (screenNum != -1 && !GARTInit(screenNum))
|
||||
|
|
@ -184,7 +184,7 @@ xf86AcquireGART(int screenNum)
|
|||
return TRUE;
|
||||
}
|
||||
|
||||
Bool
|
||||
_X_EXPORT Bool
|
||||
xf86ReleaseGART(int screenNum)
|
||||
{
|
||||
if (screenNum != -1 && !GARTInit(screenNum))
|
||||
|
|
@ -214,7 +214,7 @@ xf86ReleaseGART(int screenNum)
|
|||
return FALSE;
|
||||
}
|
||||
|
||||
int
|
||||
_X_EXPORT int
|
||||
xf86AllocateGARTMemory(int screenNum, unsigned long size, int type,
|
||||
unsigned long *physical)
|
||||
{
|
||||
|
|
@ -252,7 +252,7 @@ xf86AllocateGARTMemory(int screenNum, unsigned long size, int type,
|
|||
return alloc.key;
|
||||
}
|
||||
|
||||
Bool
|
||||
_X_EXPORT Bool
|
||||
xf86DeallocateGARTMemory(int screenNum, int key)
|
||||
{
|
||||
if (!GARTInit(screenNum) || acquiredScreen != screenNum)
|
||||
|
|
@ -275,7 +275,7 @@ xf86DeallocateGARTMemory(int screenNum, int key)
|
|||
}
|
||||
|
||||
/* Bind GART memory with "key" at "offset" */
|
||||
Bool
|
||||
_X_EXPORT Bool
|
||||
xf86BindGARTMemory(int screenNum, int key, unsigned long offset)
|
||||
{
|
||||
struct _agp_bind bind;
|
||||
|
|
@ -318,7 +318,7 @@ xf86BindGARTMemory(int screenNum, int key, unsigned long offset)
|
|||
|
||||
|
||||
/* Unbind GART memory with "key" */
|
||||
Bool
|
||||
_X_EXPORT Bool
|
||||
xf86UnbindGARTMemory(int screenNum, int key)
|
||||
{
|
||||
struct _agp_unbind unbind;
|
||||
|
|
@ -350,7 +350,7 @@ xf86UnbindGARTMemory(int screenNum, int key)
|
|||
|
||||
|
||||
/* XXX Interface may change. */
|
||||
Bool
|
||||
_X_EXPORT Bool
|
||||
xf86EnableAGP(int screenNum, CARD32 mode)
|
||||
{
|
||||
agp_setup setup;
|
||||
|
|
|
|||
|
|
@ -132,12 +132,12 @@ extern unsigned int _dense_inb(unsigned long);
|
|||
extern unsigned int _dense_inw(unsigned long);
|
||||
extern unsigned int _dense_inl(unsigned long);
|
||||
|
||||
void (*_alpha_outb)(char, unsigned long) = _outb;
|
||||
void (*_alpha_outw)(short, unsigned long) = _outw;
|
||||
void (*_alpha_outl)(int, unsigned long) = _outl;
|
||||
unsigned int (*_alpha_inb)(unsigned long) = _inb;
|
||||
unsigned int (*_alpha_inw)(unsigned long) = _inw;
|
||||
unsigned int (*_alpha_inl)(unsigned long) = _inl;
|
||||
_X_EXPORT void (*_alpha_outb)(char, unsigned long) = _outb;
|
||||
_X_EXPORT void (*_alpha_outw)(short, unsigned long) = _outw;
|
||||
_X_EXPORT void (*_alpha_outl)(int, unsigned long) = _outl;
|
||||
_X_EXPORT unsigned int (*_alpha_inb)(unsigned long) = _inb;
|
||||
_X_EXPORT unsigned int (*_alpha_inw)(unsigned long) = _inw;
|
||||
_X_EXPORT unsigned int (*_alpha_inl)(unsigned long) = _inl;
|
||||
|
||||
static long _alpha_iobase_query(unsigned, int, int, int);
|
||||
long (*_iobase)(unsigned, int, int, int) = _alpha_iobase_query;
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@
|
|||
|
||||
#define KBC_TIMEOUT 250 /* Timeout in ms for sending to keyboard controller */
|
||||
|
||||
void
|
||||
_X_EXPORT void
|
||||
xf86SoundKbdBell(int loudness, int pitch, int duration)
|
||||
{
|
||||
if (loudness && pitch)
|
||||
|
|
|
|||
|
|
@ -517,7 +517,7 @@ OpenKeyboard(InputInfoPtr pInfo)
|
|||
return TRUE;
|
||||
}
|
||||
|
||||
Bool
|
||||
_X_EXPORT Bool
|
||||
xf86OSKbdPreInit(InputInfoPtr pInfo)
|
||||
{
|
||||
KbdDevPtr pKbd = pInfo->private;
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@
|
|||
* Return:
|
||||
* 0 for failure, 1 for success
|
||||
*/
|
||||
int
|
||||
_X_EXPORT int
|
||||
xf86LoadKernelModule(const char *modName)
|
||||
{
|
||||
char mpPath[MAX_PATH] = "";
|
||||
|
|
|
|||
|
|
@ -189,7 +189,7 @@ GuessProtocol(InputInfoPtr pInfo, int flags)
|
|||
return NULL;
|
||||
}
|
||||
|
||||
OSMouseInfoPtr
|
||||
_X_EXPORT OSMouseInfoPtr
|
||||
xf86OSMouseInit(int flags)
|
||||
{
|
||||
OSMouseInfoPtr p;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
/* $XdotOrg: $ */
|
||||
/* $XdotOrg: xserver/xorg/hw/xfree86/os-support/linux/lnx_video.c,v 1.10 2005/09/19 18:38:26 alanc Exp $ */
|
||||
/* $XFree86: xc/programs/Xserver/hw/xfree86/os-support/linux/lnx_video.c,v 3.67 2003/06/25 18:27:07 eich Exp $ */
|
||||
/*
|
||||
* Copyright 1992 by Orest Zborowski <obz@Kodak.com>
|
||||
|
|
@ -531,7 +531,7 @@ unmapVidMem(int ScreenNum, pointer Base, unsigned long Size)
|
|||
/***************************************************************************/
|
||||
|
||||
#if defined(__powerpc__)
|
||||
volatile unsigned char *ioBase = NULL;
|
||||
_X_EXPORT volatile unsigned char *ioBase = NULL;
|
||||
|
||||
#ifndef __NR_pciconfig_iobase
|
||||
#define __NR_pciconfig_iobase 200
|
||||
|
|
@ -539,7 +539,7 @@ volatile unsigned char *ioBase = NULL;
|
|||
|
||||
#endif
|
||||
|
||||
Bool
|
||||
_X_EXPORT Bool
|
||||
xf86EnableIO(void)
|
||||
{
|
||||
#if defined(__powerpc__)
|
||||
|
|
@ -588,7 +588,7 @@ xf86EnableIO(void)
|
|||
return TRUE;
|
||||
}
|
||||
|
||||
void
|
||||
_X_EXPORT void
|
||||
xf86DisableIO(void)
|
||||
{
|
||||
if (!ExtendedEnabled)
|
||||
|
|
@ -612,7 +612,7 @@ xf86DisableIO(void)
|
|||
|
||||
/* XXX The #ifdefs should be made simpler. */
|
||||
|
||||
Bool
|
||||
_X_EXPORT Bool
|
||||
xf86DisableInterrupts()
|
||||
{
|
||||
#if !defined(__mc68000__) && !defined(__powerpc__) && !defined(__sparc__) && !defined(__mips__) && !defined(__ia64__) && !defined(__sh__) && !defined(__hppa__)
|
||||
|
|
@ -644,7 +644,7 @@ xf86DisableInterrupts()
|
|||
return (TRUE);
|
||||
}
|
||||
|
||||
void
|
||||
_X_EXPORT void
|
||||
xf86EnableInterrupts()
|
||||
{
|
||||
#if !defined(__mc68000__) && !defined(__powerpc__) && !defined(__sparc__) && !defined(__mips__) && !defined(__ia64__) && !defined(__sh__) && !defined(__hppa__)
|
||||
|
|
@ -976,23 +976,23 @@ writeSparseNB32(int Value, pointer Base, register unsigned long Offset)
|
|||
return;
|
||||
}
|
||||
|
||||
void (*xf86WriteMmio8)(int Value, pointer Base, unsigned long Offset)
|
||||
_X_EXPORT void (*xf86WriteMmio8)(int Value, pointer Base, unsigned long Offset)
|
||||
= writeDense8;
|
||||
void (*xf86WriteMmio16)(int Value, pointer Base, unsigned long Offset)
|
||||
_X_EXPORT void (*xf86WriteMmio16)(int Value, pointer Base, unsigned long Offset)
|
||||
= writeDense16;
|
||||
void (*xf86WriteMmio32)(int Value, pointer Base, unsigned long Offset)
|
||||
_X_EXPORT void (*xf86WriteMmio32)(int Value, pointer Base, unsigned long Offset)
|
||||
= writeDense32;
|
||||
void (*xf86WriteMmioNB8)(int Value, pointer Base, unsigned long Offset)
|
||||
_X_EXPORT void (*xf86WriteMmioNB8)(int Value, pointer Base, unsigned long Offset)
|
||||
= writeDenseNB8;
|
||||
void (*xf86WriteMmioNB16)(int Value, pointer Base, unsigned long Offset)
|
||||
_X_EXPORT void (*xf86WriteMmioNB16)(int Value, pointer Base, unsigned long Offset)
|
||||
= writeDenseNB16;
|
||||
void (*xf86WriteMmioNB32)(int Value, pointer Base, unsigned long Offset)
|
||||
_X_EXPORT void (*xf86WriteMmioNB32)(int Value, pointer Base, unsigned long Offset)
|
||||
= writeDenseNB32;
|
||||
int (*xf86ReadMmio8)(pointer Base, unsigned long Offset)
|
||||
_X_EXPORT int (*xf86ReadMmio8)(pointer Base, unsigned long Offset)
|
||||
= readDense8;
|
||||
int (*xf86ReadMmio16)(pointer Base, unsigned long Offset)
|
||||
_X_EXPORT int (*xf86ReadMmio16)(pointer Base, unsigned long Offset)
|
||||
= readDense16;
|
||||
int (*xf86ReadMmio32)(pointer Base, unsigned long Offset)
|
||||
_X_EXPORT int (*xf86ReadMmio32)(pointer Base, unsigned long Offset)
|
||||
= readDense32;
|
||||
|
||||
#ifdef JENSEN_SUPPORT
|
||||
|
|
|
|||
Loading…
Reference in a new issue