diff options
author | Adam Jackson <ajax@nwnk.net> | 2006-03-25 19:52:05 +0000 |
---|---|---|
committer | Adam Jackson <ajax@nwnk.net> | 2006-03-25 19:52:05 +0000 |
commit | a68c11bb1d7c5419004a1714e49dffac57304e78 (patch) | |
tree | 50456439939c03c57d422cfc9e3f3755fa2ae006 /hw/xfree86/os-support/lynxos | |
parent | ae935832facfa81a9689882406ecca74b0346790 (diff) |
Mark everything in xf86sym.c as _X_EXPORT.
Diffstat (limited to 'hw/xfree86/os-support/lynxos')
-rw-r--r-- | hw/xfree86/os-support/lynxos/lynx_io.c | 4 | ||||
-rw-r--r-- | hw/xfree86/os-support/lynxos/lynx_mmap.c | 2 | ||||
-rw-r--r-- | hw/xfree86/os-support/lynxos/lynx_mouse.c | 2 | ||||
-rw-r--r-- | hw/xfree86/os-support/lynxos/lynx_noinline.c | 38 | ||||
-rw-r--r-- | hw/xfree86/os-support/lynxos/lynx_video.c | 10 |
5 files changed, 28 insertions, 28 deletions
diff --git a/hw/xfree86/os-support/lynxos/lynx_io.c b/hw/xfree86/os-support/lynxos/lynx_io.c index afd3f8962..761fec0e0 100644 --- a/hw/xfree86/os-support/lynxos/lynx_io.c +++ b/hw/xfree86/os-support/lynxos/lynx_io.c @@ -37,7 +37,7 @@ #if defined(KDMKTONE) || defined(KIOCSOUND) /* Lynx 2.2.1 has sophisticated atc stuff.... */ -void +_X_EXPORT void xf86SoundKbdBell(int loudness, int pitch, int duration) { if (loudness && pitch) @@ -159,7 +159,7 @@ xf86KbdOff() #include "xf86OSKbd.h" -Bool +_X_EXPORT Bool xf86OSKbdPreInit(InputInfoPtr pInfo) { return FALSE; diff --git a/hw/xfree86/os-support/lynxos/lynx_mmap.c b/hw/xfree86/os-support/lynxos/lynx_mmap.c index c00b6700f..75ed0731b 100644 --- a/hw/xfree86/os-support/lynxos/lynx_mmap.c +++ b/hw/xfree86/os-support/lynxos/lynx_mmap.c @@ -37,7 +37,7 @@ * Read BIOS using smem_create facility */ -int +_X_EXPORT int xf86ReadBIOS(unsigned long Base, unsigned long Offset, unsigned char *Buf, int Len) { diff --git a/hw/xfree86/os-support/lynxos/lynx_mouse.c b/hw/xfree86/os-support/lynxos/lynx_mouse.c index 68aca5d38..c04d0f71a 100644 --- a/hw/xfree86/os-support/lynxos/lynx_mouse.c +++ b/hw/xfree86/os-support/lynxos/lynx_mouse.c @@ -20,7 +20,7 @@ SupportedInterfaces(void) return MSE_SERIAL | MSE_BUS | MSE_PS2 | MSE_AUTO; } -OSMouseInfoPtr +_X_EXPORT OSMouseInfoPtr xf86OSMouseInit(int flags) { OSMouseInfoPtr p; diff --git a/hw/xfree86/os-support/lynxos/lynx_noinline.c b/hw/xfree86/os-support/lynxos/lynx_noinline.c index 1c12f62f9..0e143256a 100644 --- a/hw/xfree86/os-support/lynxos/lynx_noinline.c +++ b/hw/xfree86/os-support/lynxos/lynx_noinline.c @@ -33,13 +33,13 @@ extern volatile unsigned char *ioBase; -void +_X_EXPORT void eieio() { __asm__ __volatile__ ("eieio"); } -unsigned long +_X_EXPORT unsigned long ldl_brx(volatile unsigned char *base, int ndx) { register unsigned long tmp = *(volatile unsigned long *)(base+ndx); @@ -49,14 +49,14 @@ ldl_brx(volatile unsigned char *base, int ndx) ((tmp & 0xff000000) >> 24) ); } -unsigned short +_X_EXPORT unsigned short ldw_brx(volatile unsigned char *base, int ndx) { register unsigned short tmp = *(volatile unsigned short *)(base+ndx); return((tmp << 8) | (tmp >> 8)); } -void +_X_EXPORT void stl_brx(unsigned long val, volatile unsigned char *base, int ndx) { unsigned char *p = (unsigned char *)&val; @@ -64,7 +64,7 @@ stl_brx(unsigned long val, volatile unsigned char *base, int ndx) *(volatile unsigned long *)(base+ndx) = tmp; } -void +_X_EXPORT void stw_brx(unsigned short val, volatile unsigned char *base, int ndx) { unsigned char *p = (unsigned char *)&val; @@ -72,25 +72,25 @@ stw_brx(unsigned short val, volatile unsigned char *base, int ndx) *(volatile unsigned short *)(base+ndx) = tmp; } -void +_X_EXPORT void outb(IOADDRESS port, unsigned char value) { *((volatile unsigned char *)(ioBase + port)) = value; eieio(); } -void +_X_EXPORT void outw(IOADDRESS port, unsigned short value) { stw_brx(value, ioBase, port); eieio(); } -void +_X_EXPORT void outl(IOADDRESS port, unsigned int value) { stl_brx(value, ioBase, port); eieio(); } -unsigned char +_X_EXPORT unsigned char inb(IOADDRESS port) { unsigned char val; @@ -99,7 +99,7 @@ inb(IOADDRESS port) return(val); } -unsigned short +_X_EXPORT unsigned short inw(IOADDRESS port) { unsigned short val; @@ -108,7 +108,7 @@ inw(IOADDRESS port) return(val); } -unsigned int +_X_EXPORT unsigned int inl(IOADDRESS port) { unsigned int val; @@ -117,7 +117,7 @@ inl(IOADDRESS port) return(val); } -unsigned long +_X_EXPORT unsigned long ldl_u(void *p) { return (((*(unsigned char *)(p)) | @@ -126,20 +126,20 @@ ldl_u(void *p) (*((unsigned char *)(p)+3)<<24))); } -unsigned long +_X_EXPORT unsigned long ldq_u(void *p) { return ldl_u(p); } -unsigned short +_X_EXPORT unsigned short ldw_u(void *p) { return(((*(unsigned char *)(p)) | (*((unsigned char *)(p)+1)<<8))); } -void +_X_EXPORT void stl_u(unsigned long v, void *p) { @@ -149,13 +149,13 @@ stl_u(unsigned long v, void *p) (*((unsigned char *)(p)+3)) = ((v) >> 24); } -void +_X_EXPORT void stq_u(unsigned long v, void *p) { stl_u(v,p); } -void +_X_EXPORT void stw_u(unsigned short v, void *p) { (*(unsigned char *)(p)) = (v); @@ -163,13 +163,13 @@ stw_u(unsigned short v, void *p) } -void +_X_EXPORT void mem_barrier(void) { __asm__ __volatile__("eieio"); } -void +_X_EXPORT void write_mem_barrier(void) { __asm__ __volatile__("eieio"); diff --git a/hw/xfree86/os-support/lynxos/lynx_video.c b/hw/xfree86/os-support/lynxos/lynx_video.c index 5d0949091..4e707a989 100644 --- a/hw/xfree86/os-support/lynxos/lynx_video.c +++ b/hw/xfree86/os-support/lynxos/lynx_video.c @@ -269,13 +269,13 @@ xf86OSInitVidMem(VidMemInfoPtr pVidMem) /* Interrupt Handling section */ /***************************************************************************/ -Bool +_X_EXPORT Bool xf86DisableInterrupts() { return(TRUE); } -void +_X_EXPORT void xf86EnableInterrupts() { return; @@ -287,7 +287,7 @@ xf86EnableInterrupts() #if defined(__powerpc__) -volatile unsigned char *ioBase = MAP_FAILED; +_X_EXPORT volatile unsigned char *ioBase = MAP_FAILED; volatile unsigned char *pciConfBase = MAP_FAILED; static int IOEnabled; @@ -301,7 +301,7 @@ removeIOSmem(void) ioBase = MAP_FAILED; } -Bool +_X_EXPORT Bool xf86EnableIO() { if (IOEnabled++ == 0) { @@ -322,7 +322,7 @@ xf86EnableIO() return TRUE; } -void +_X_EXPORT void xf86DisableIO() { if (!IOEnabled) |