Commit | Line | Data |
---|---|---|
1 | #ifndef __PLUGIN_H__ | |
2 | #define __PLUGIN_H__ | |
3 | ||
4 | #ifndef ARRAY_SIZE | |
5 | #define ARRAY_SIZE(x) (sizeof(x) / sizeof(x[0])) | |
6 | #endif | |
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, | |
15 | PLUGIN_CDRCIMG, | |
16 | }; | |
17 | ||
18 | void *plugin_link(enum builtint_plugins_e id, const char *sym); | |
19 | void plugin_call_rearmed_cbs(void); | |
20 | ||
21 | #endif /* __PLUGIN_H__ */ |