summaryrefslogtreecommitdiffhomepage
path: root/src/loader/inc/impl/all.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/loader/inc/impl/all.h')
-rw-r--r--src/loader/inc/impl/all.h20
1 files changed, 3 insertions, 17 deletions
diff --git a/src/loader/inc/impl/all.h b/src/loader/inc/impl/all.h
index f38fe42..01565a6 100644
--- a/src/loader/inc/impl/all.h
+++ b/src/loader/inc/impl/all.h
@@ -3,24 +3,10 @@
#ifndef IMPL_ALL_H
#define IMPL_ALL_H
+#include <cfg.h>
#include <def.h>
-enum impl_type {
- IMPL_NONE,
- IMPL_MB1,
- IMPL_MB2,
-};
-
-struct dev;
-struct impl {
- enum impl_type type;
- void *start; // Of header/entry
- void (*load)(struct dev *, const char *);
-};
-
-#include <dev.h>
-
-u8 impl_detect(struct dev *dev, const char *path);
-void impl_exec(struct dev *dev, const char *path);
+u8 impl_detect(struct cfg_entry *cfg);
+void impl_exec(struct cfg_entry *cfg);
#endif