2 Copyright © 2010-2015, The AROS Development Team. All rights reserved.
9 #include <exec/types.h>
10 #include <exec/libraries.h>
11 #include <exec/execbase.h>
12 #include <exec/nodes.h>
13 #include <exec/lists.h>
19 #include <aros/arossupportbase.h>
20 #include <exec/execbase.h>
22 #include <hardware/bcm2708.h>
24 struct i2cbcm2708base
{
25 struct Library i2c_LibNode
;
26 OOP_Class
* i2c_DrvClass
;
29 #define METHOD(base, id, name) \
30 base ## __ ## id ## __ ## name (OOP_Class *cl, OOP_Object *o, struct p ## id ## _ ## name *msg)
32 #define METHOD_NAME(base, id, name) \
33 base ## __ ## id ## __ ## name
35 #define METHOD_NAME_S(base, id, name) \
36 # base "__" # id "__" # name
38 #define BASE(lib) ((struct pcibase*)(lib))
40 #endif /* I2C_BCM2708_H */