This website requires JavaScript.
Explore
Help
Sign In
andreacavalli
/
xserver-multidpi
Watch
1
Star
0
Fork
0
You've already forked xserver-multidpi
Code
Issues
Pull Requests
Projects
Releases
Wiki
Activity
816b79dd06
xserver-multidpi
/
hw
/
xfree86
/
i2c
/
i2c_def.h
7 lines
74 B
C
Raw
Normal View
History
Unescape
Escape
Initial code from GATOS. This needs to be cleaned up, for example the bt829 code is practically untouched since xatitv (which was a standalone test program). However, it all worked and was debugged over long period of time, so I prefer to to mess with these for now. New drivers: fi12xx (including MT2032 - this would be be split off later). tdaXXX msp34xx bt8xx
2004-10-01 00:58:07 +02:00
#
ifndef __I2C_DEF_H__
#
define __I2C_DEF_H__
Rework code using return value of LoaderSymbol as a function pointer. The patch removes all macros in the format define xf86_sym ((type (*)(argument-list))LoaderSymbol("sym")) creates a new macro in the format define xf86_sym sym and ensures "sym" is a "visible" symbol. The patch doesn't add or remove features, and is source and binary compatible with previous shared objects (with the difference that it requires the dlloader). These symbols are a special case, as, due to the fact that LoaderSymbol was being used to reference them, they are not easily found by "automated" tools that check for missing symbols. And now it also have the benefit that the compiler/loader "knows what is going on".
2008-11-27 03:12:59 +01:00
#
include
"xf86i2c.h"
Initial code from GATOS. This needs to be cleaned up, for example the bt829 code is practically untouched since xatitv (which was a standalone test program). However, it all worked and was debugged over long period of time, so I prefer to to mess with these for now. New drivers: fi12xx (including MT2032 - this would be be split off later). tdaXXX msp34xx bt8xx
2004-10-01 00:58:07 +02:00
#
endif
Reference in New Issue
Copy Permalink