summaryrefslogtreecommitdiff
path: root/hw/xfree86/fbdevhw
diff options
context:
space:
mode:
authorPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2008-11-28 01:55:11 -0200
committerPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2008-11-28 01:55:11 -0200
commit31285d063ec4623cb0764437d6d57e244f20460d (patch)
tree414bfb01b62f12183783b98b98294f1b16c89e1c /hw/xfree86/fbdevhw
parent6f18ea7e656b79e58f66f51067334414767b413f (diff)
Make visible symbols required by xorg modules.
This patch exports all symbols required by the compilable (in a x86 linux computer) xorg/driver/* modules. Still missing symbols worth mentioning are: sunleo miFindMaxBand no longer available intel (uxa/uxa-accel.c) fbShmPutImage no longer available (and should have been static) mga MGAGetClientPointer (should come from matrox's libhal) This is not a definitive "visibility" patch, as all it does is to export missing symbols, but the modules that current don't compile, may require more symbols once fixed, and third party drivers should also require more symbols exported. A "definitive" patch should export symbols defined in the sdk.
Diffstat (limited to 'hw/xfree86/fbdevhw')
-rw-r--r--hw/xfree86/fbdevhw/fbdevhw.c14
-rw-r--r--hw/xfree86/fbdevhw/fbdevhwstub.c14
2 files changed, 14 insertions, 14 deletions
diff --git a/hw/xfree86/fbdevhw/fbdevhw.c b/hw/xfree86/fbdevhw/fbdevhw.c
index 27951a847..119bed342 100644
--- a/hw/xfree86/fbdevhw/fbdevhw.c
+++ b/hw/xfree86/fbdevhw/fbdevhw.c
@@ -141,7 +141,7 @@ fbdevHWGetRec(ScrnInfoPtr pScrn)
return TRUE;
}
-void
+_X_EXPORT void
fbdevHWFreeRec(ScrnInfoPtr pScrn)
{
if (fbdevHWPrivateIndex < 0)
@@ -721,7 +721,7 @@ fbdevHWUnmapVidmem(ScrnInfoPtr pScrn)
return TRUE;
}
-void*
+_X_EXPORT void*
fbdevHWMapMMIO(ScrnInfoPtr pScrn)
{
unsigned int mmio_off;
@@ -754,7 +754,7 @@ fbdevHWMapMMIO(ScrnInfoPtr pScrn)
return fPtr->mmio;
}
-Bool
+_X_EXPORT Bool
fbdevHWUnmapMMIO(ScrnInfoPtr pScrn)
{
fbdevHWPtr fPtr = FBDEVHWPTR(pScrn);
@@ -885,7 +885,7 @@ fbdevHWValidMode(int scrnIndex, DisplayModePtr mode, Bool verbose, int flags)
return MODE_OK;
}
-Bool
+_X_EXPORT Bool
fbdevHWSwitchMode(int scrnIndex, DisplayModePtr mode, int flags)
{
ScrnInfoPtr pScrn = xf86Screens[scrnIndex];
@@ -916,7 +916,7 @@ fbdevHWAdjustFrame(int scrnIndex, int x, int y, int flags)
"FBIOPAN_DISPLAY: %s\n", strerror(errno));
}
-Bool
+_X_EXPORT Bool
fbdevHWEnterVT(int scrnIndex, int flags)
{
ScrnInfoPtr pScrn = xf86Screens[scrnIndex];
@@ -928,7 +928,7 @@ fbdevHWEnterVT(int scrnIndex, int flags)
return TRUE;
}
-void
+_X_EXPORT void
fbdevHWLeaveVT(int scrnIndex, int flags)
{
ScrnInfoPtr pScrn = xf86Screens[scrnIndex];
@@ -937,7 +937,7 @@ fbdevHWLeaveVT(int scrnIndex, int flags)
fbdevHWRestore(pScrn);
}
-void
+_X_EXPORT void
fbdevHWDPMSSet(ScrnInfoPtr pScrn, int mode, int flags)
{
fbdevHWPtr fPtr = FBDEVHWPTR(pScrn);
diff --git a/hw/xfree86/fbdevhw/fbdevhwstub.c b/hw/xfree86/fbdevhw/fbdevhwstub.c
index 5d18f9e96..58f93b7e6 100644
--- a/hw/xfree86/fbdevhw/fbdevhwstub.c
+++ b/hw/xfree86/fbdevhw/fbdevhwstub.c
@@ -15,7 +15,7 @@ fbdevHWGetRec(ScrnInfoPtr pScrn)
return FALSE;
}
-void
+_X_EXPORT void
fbdevHWFreeRec(ScrnInfoPtr pScrn)
{
}
@@ -98,13 +98,13 @@ fbdevHWUnmapVidmem(ScrnInfoPtr pScrn)
return FALSE;
}
-void*
+_X_EXPORT void*
fbdevHWMapMMIO(ScrnInfoPtr pScrn)
{
return NULL;
}
-Bool
+_X_EXPORT Bool
fbdevHWUnmapMMIO(ScrnInfoPtr pScrn)
{
return FALSE;
@@ -138,7 +138,7 @@ fbdevHWValidMode(int scrnIndex, DisplayModePtr mode, Bool verbose, int flags)
return MODE_ERROR;
}
-Bool
+_X_EXPORT Bool
fbdevHWSwitchMode(int scrnIndex, DisplayModePtr mode, int flags)
{
return FALSE;
@@ -149,18 +149,18 @@ fbdevHWAdjustFrame(int scrnIndex, int x, int y, int flags)
{
}
-Bool
+_X_EXPORT Bool
fbdevHWEnterVT(int scrnIndex, int flags)
{
return FALSE;
}
-void
+_X_EXPORT void
fbdevHWLeaveVT(int scrnIndex, int flags)
{
}
-void
+_X_EXPORT void
fbdevHWDPMSSet(ScrnInfoPtr pScrn, int mode, int flags)
{
}