| 1 | #define ARRAY_SIZE(x) (sizeof(x) / sizeof(x[0])) |
| 2 | |
| 3 | #define PLUGIN_DL_BASE 0xfbad0000 |
| 4 | |
| 5 | enum builtint_plugins_e { |
| 6 | PLUGIN_GPU, |
| 7 | PLUGIN_SPU, |
| 8 | PLUGIN_CDR, |
| 9 | PLUGIN_PAD, |
| 10 | }; |
| 11 | |
| 12 | void *plugin_link(enum builtint_plugins_e id, const char *sym); |