diff options
author | Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> | 2008-11-28 01:55:11 -0200 |
---|---|---|
committer | Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> | 2008-11-28 01:55:11 -0200 |
commit | 31285d063ec4623cb0764437d6d57e244f20460d (patch) | |
tree | 414bfb01b62f12183783b98b98294f1b16c89e1c /hw/xfree86/ramdac | |
parent | 6f18ea7e656b79e58f66f51067334414767b413f (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/ramdac')
-rw-r--r-- | hw/xfree86/ramdac/BT.c | 2 | ||||
-rw-r--r-- | hw/xfree86/ramdac/IBM.c | 8 | ||||
-rw-r--r-- | hw/xfree86/ramdac/TI.c | 6 | ||||
-rw-r--r-- | hw/xfree86/ramdac/xf86Cursor.c | 8 | ||||
-rw-r--r-- | hw/xfree86/ramdac/xf86RamDac.c | 12 | ||||
-rw-r--r-- | hw/xfree86/ramdac/xf86RamDacCmap.c | 2 |
6 files changed, 19 insertions, 19 deletions
diff --git a/hw/xfree86/ramdac/BT.c b/hw/xfree86/ramdac/BT.c index 5aa27a1f8..dc1bcd59d 100644 --- a/hw/xfree86/ramdac/BT.c +++ b/hw/xfree86/ramdac/BT.c @@ -65,7 +65,7 @@ BTramdacSave(ScrnInfoPtr pScrn, RamDacRecPtr ramdacPtr, ramdacReg->DacRegs[i] = (*ramdacPtr->ReadDAC)(pScrn, i); } -RamDacHelperRecPtr +_X_EXPORT RamDacHelperRecPtr BTramdacProbe(ScrnInfoPtr pScrn, RamDacSupportedInfoRecPtr ramdacs/*, RamDacRecPtr ramdacPtr*/) { RamDacRecPtr ramdacPtr = RAMDACSCRPTR(pScrn); diff --git a/hw/xfree86/ramdac/IBM.c b/hw/xfree86/ramdac/IBM.c index 2d9fe4d8f..a789b69d2 100644 --- a/hw/xfree86/ramdac/IBM.c +++ b/hw/xfree86/ramdac/IBM.c @@ -39,7 +39,7 @@ #define INITIALFREQERR 100000 -unsigned long +_X_EXPORT unsigned long IBMramdac640CalculateMNPCForClock( unsigned long RefClock, /* In 100Hz units */ unsigned long ReqClock, /* In 100Hz units */ @@ -105,7 +105,7 @@ IBMramdac640CalculateMNPCForClock( return (ActualClock); } -unsigned long +_X_EXPORT unsigned long IBMramdac526CalculateMNPCForClock( unsigned long RefClock, /* In 100Hz units */ unsigned long ReqClock, /* In 100Hz units */ @@ -225,7 +225,7 @@ IBMramdacSave(ScrnInfoPtr pScrn, RamDacRecPtr ramdacPtr, ramdacReg->DacRegs[i] = (*ramdacPtr->ReadDAC)(pScrn, i); } -RamDacHelperRecPtr +_X_EXPORT RamDacHelperRecPtr IBMramdacProbe(ScrnInfoPtr pScrn, RamDacSupportedInfoRecPtr ramdacs/* , RamDacRecPtr ramdacPtr*/) { RamDacRecPtr ramdacPtr = RAMDACSCRPTR(pScrn); @@ -376,7 +376,7 @@ IBMramdac526SetBpp(ScrnInfoPtr pScrn, RamDacRegRecPtr ramdacReg) } } -IBMramdac526SetBppProc *IBMramdac526SetBppWeak(void) { +_X_EXPORT IBMramdac526SetBppProc *IBMramdac526SetBppWeak(void) { return IBMramdac526SetBpp; } diff --git a/hw/xfree86/ramdac/TI.c b/hw/xfree86/ramdac/TI.c index f421fc39a..c77121ba7 100644 --- a/hw/xfree86/ramdac/TI.c +++ b/hw/xfree86/ramdac/TI.c @@ -42,7 +42,7 @@ #define TI_MIN_VCO_FREQ 110000 #define TI_MAX_VCO_FREQ 220000 -unsigned long +_X_EXPORT unsigned long TIramdacCalculateMNPForClock( unsigned long RefClock, /* In 100Hz units */ unsigned long ReqClock, /* In 100Hz units */ @@ -280,7 +280,7 @@ TIramdacSave(ScrnInfoPtr pScrn, RamDacRecPtr ramdacPtr, TISAVE(TIDAC_ind_curs_ctrl); } -RamDacHelperRecPtr +_X_EXPORT RamDacHelperRecPtr TIramdacProbe(ScrnInfoPtr pScrn, RamDacSupportedInfoRecPtr ramdacs) { RamDacRecPtr ramdacPtr = RAMDACSCRPTR(pScrn); @@ -714,6 +714,6 @@ void TIramdacLoadPalette( } } -TIramdacLoadPaletteProc *TIramdacLoadPaletteWeak(void) { +_X_EXPORT TIramdacLoadPaletteProc *TIramdacLoadPaletteWeak(void) { return TIramdacLoadPalette; } diff --git a/hw/xfree86/ramdac/xf86Cursor.c b/hw/xfree86/ramdac/xf86Cursor.c index aea1d3337..9d9839efa 100644 --- a/hw/xfree86/ramdac/xf86Cursor.c +++ b/hw/xfree86/ramdac/xf86Cursor.c @@ -52,7 +52,7 @@ static void xf86CursorQueryBestSize(int, unsigned short*, unsigned short*, static void xf86CursorEnableDisableFBAccess(int, Bool); static Bool xf86CursorSwitchMode(int, DisplayModePtr,int); -Bool +_X_EXPORT Bool xf86InitCursor( ScreenPtr pScreen, xf86CursorInfoPtr infoPtr @@ -394,7 +394,7 @@ xf86CursorMoveCursor(DeviceIntPtr pDev, ScreenPtr pScreen, int x, int y) (*ScreenPriv->spriteFuncs->MoveCursor)(pDev, pScreen, x, y); } -void +_X_EXPORT void xf86ForceHWCursor (ScreenPtr pScreen, Bool on) { DeviceIntPtr pDev = inputInfo.pointer; @@ -426,13 +426,13 @@ xf86ForceHWCursor (ScreenPtr pScreen, Bool on) } } -xf86CursorInfoPtr +_X_EXPORT xf86CursorInfoPtr xf86CreateCursorInfoRec(void) { return xcalloc(1, sizeof(xf86CursorInfoRec)); } -void +_X_EXPORT void xf86DestroyCursorInfoRec(xf86CursorInfoPtr infoPtr) { xfree(infoPtr); diff --git a/hw/xfree86/ramdac/xf86RamDac.c b/hw/xfree86/ramdac/xf86RamDac.c index 1dd3daf1b..ee191d3a7 100644 --- a/hw/xfree86/ramdac/xf86RamDac.c +++ b/hw/xfree86/ramdac/xf86RamDac.c @@ -36,7 +36,7 @@ int RamDacHWPrivateIndex = -1; int RamDacScreenPrivateIndex = -1; -RamDacRecPtr +_X_EXPORT RamDacRecPtr RamDacCreateInfoRec() { RamDacRecPtr infoRec; @@ -46,7 +46,7 @@ RamDacCreateInfoRec() return infoRec; } -RamDacHelperRecPtr +_X_EXPORT RamDacHelperRecPtr RamDacHelperCreateInfoRec() { RamDacHelperRecPtr infoRec; @@ -56,7 +56,7 @@ RamDacHelperCreateInfoRec() return infoRec; } -void +_X_EXPORT void RamDacDestroyInfoRec(RamDacRecPtr infoRec) { xfree(infoRec); @@ -68,7 +68,7 @@ RamDacHelperDestroyInfoRec(RamDacHelperRecPtr infoRec) xfree(infoRec); } -Bool +_X_EXPORT Bool RamDacInit(ScrnInfoPtr pScrn, RamDacRecPtr ramdacPriv) { RamDacScreenRecPtr ramdacScrPtr; @@ -116,7 +116,7 @@ RamDacGetRec(ScrnInfoPtr scrp) return TRUE; } -void +_X_EXPORT void RamDacFreeRec(ScrnInfoPtr pScrn) { RamDacHWRecPtr ramdacHWPtr; @@ -141,7 +141,7 @@ RamDacFreeRec(ScrnInfoPtr pScrn) ramdacScrPtr = NULL; } -int +_X_EXPORT int RamDacGetHWIndex() { return RamDacHWPrivateIndex; diff --git a/hw/xfree86/ramdac/xf86RamDacCmap.c b/hw/xfree86/ramdac/xf86RamDacCmap.c index 600fe3f07..f4fdb181b 100644 --- a/hw/xfree86/ramdac/xf86RamDacCmap.c +++ b/hw/xfree86/ramdac/xf86RamDacCmap.c @@ -58,7 +58,7 @@ RamDacLoadPalette(ScrnInfoPtr pScrn, int numColors, int *indices, LOCO *colors, } } -Bool +_X_EXPORT Bool RamDacHandleColormaps(ScreenPtr pScreen, int maxColors, int sigRGBbits, unsigned int flags) { |