diff options
author | Marvin Borner | 2021-07-07 19:13:11 +0200 |
---|---|---|
committer | Marvin Borner | 2021-07-07 19:13:11 +0200 |
commit | 9a2d5cbdc7972d1d5bfb1ea93f82f66d113faa17 (patch) | |
tree | 08ceb8427b64a08c89a5526dfbf8b66c78f9d12c /src/loader/inc/impl.h | |
parent | 6355c3e08c9f4d3db122252abce5837c364d5b81 (diff) |
Strange implementations
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 |