11 void (*outb)(u32 reg, u8 val);
12 void (*outw)(u32 reg, u16 val);
13 void (*outl)(u32 reg, u32 val);
15 typedef struct io_ops io_ops_t;
17 extern unsigned char *plugindir;
19 #define PLUGIN_DEPENDENCIES(x...) const char *plugin_deps[]={ x, NULL };
20 #define PLUGIN_AUTHOR(author) const char *plugin_author=author;
21 #define PLUGIN_LICENSE(license) const char *plugin_license=license;
22 #define PLUGIN_DESCRIPTION(desc) const char *plugin_description=desc;
24 int register_iorange(const char *name, io_ops_t *ops,
25 unsigned int rstart, unsigned int rend);
26 io_ops_t *find_iorange(u32 reg);
28 int load_plugin(const char *plugin_name);
29 int is_loaded(const char *plugin_name);