[Xorg-driver-geode] some GX nonsense in our driver

Martin-Éric Racine martin-eric.racine at iki.fi
Wed Jul 13 09:10:13 PDT 2011


In case anyone still cares for the GX2 Red Cloud support in our
driver, the following might be worth looking into:

(18.57.20) daniels: wow, we still have users of LoaderGetOS.  the mind boggles.
(18.59.26) daniels: also, huge congratulations for geode to defining
GXRandRSetConfig as _X_EXPORT in gx_randr.c then having a function
pointer named GXRandRSetConfig in gx_driver.c, which is set by
LoaderSymbol("GXRandRSetConfig")
(19.00.56) ajax: i assume that fptr is static, otherwise, how the fuck
does that even work.
(19.03.01) daniels: /* These routines are in shared/sigio.c and are
not loaded as part of the
(19.03.01) daniels:    module.  These routines are small, and the code
if very POSIX-signal (or
(19.03.01) daniels:    OS-signal) specific, so it seemed better to
provide more complex
(19.03.01) daniels:    wrappers than to wrap each individual function called. */
(19.03.01) daniels: extern _X_EXPORT int xf86InstallSIGIOHandler(int
fd, void (*f)(int, void *), void *);
(19.03.04) daniels: extern _X_EXPORT int xf86RemoveSIGIOHandler(int fd);
(19.03.17) daniels: yes, but there is no parallel universe where that
makes sense.  even geode.

Best Regards,
Martin-Éric


More information about the Xorg-driver-geode mailing list