aboutsummaryrefslogtreecommitdiff
path: root/frontend/plugin.h
blob: 5e12f9024776b10966db52e9274f42a8f1de37ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef __PLUGIN_H__
#define __PLUGIN_H__

#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,
	PLUGIN_CDRCIMG,
};

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

#endif /* __PLUGIN_H__ */