aboutsummaryrefslogtreecommitdiff
path: root/frontend/plugin.h
blob: 48ab7198b6ac6fabae07ffab1c773e6c50ec950a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#define ARRAY_SIZE(x) (sizeof(x) / sizeof(x[0]))

#define PLUGIN_DL_BASE 0xfbad0000

enum builtint_plugins_e {
	PLUGIN_GPU,
	PLUGIN_SPU,
	PLUGIN_CDR,
	PLUGIN_PAD,
};

void *plugin_link(enum builtint_plugins_e id, const char *sym);