Commit | Line | Data |
---|---|---|
908e426c | 1 | #ifndef __PLUGIN_H__ |
2 | #define __PLUGIN_H__ | |
3 | ||
639a3501 | 4 | #ifndef ARRAY_SIZE |
e906c010 | 5 | #define ARRAY_SIZE(x) (sizeof(x) / sizeof(x[0])) |
639a3501 | 6 | #endif |
e906c010 | 7 | |
8 | #define PLUGIN_DL_BASE 0xfbad0000 | |
9 | ||
10 | enum builtint_plugins_e { | |
11 | PLUGIN_GPU, | |
12 | PLUGIN_SPU, | |
13 | PLUGIN_CDR, | |
14 | PLUGIN_PAD, | |
47bf65ab | 15 | PLUGIN_CDRCIMG, |
e906c010 | 16 | }; |
17 | ||
18 | void *plugin_link(enum builtint_plugins_e id, const char *sym); | |
201c21e2 | 19 | void plugin_call_rearmed_cbs(void); |
908e426c | 20 | |
21 | #endif /* __PLUGIN_H__ */ |