diff options
Diffstat (limited to 'src/loader/inc/impl.h')
-rw-r--r-- | src/loader/inc/impl.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/loader/inc/impl.h b/src/loader/inc/impl.h new file mode 100644 index 0000000..c7b1261 --- /dev/null +++ b/src/loader/inc/impl.h @@ -0,0 +1,20 @@ +// MIT License, Copyright (c) 2021 Marvin Borner + +#ifndef IMPL_H +#define IMPL_H + +#include <dev.h> + +enum impl_type { + IMPL_NONE, + IMPL_MB1, + IMPL_MB2, +}; + +struct impl { + enum impl_type type; + void *start; // Of header/entry + void (*load)(struct dev *, const char *); +}; + +#endif |