From 9a2d5cbdc7972d1d5bfb1ea93f82f66d113faa17 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Wed, 7 Jul 2021 19:13:11 +0200 Subject: Strange implementations --- src/loader/inc/impl.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 src/loader/inc/impl.h (limited to 'src/loader/inc/impl.h') 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 + +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 -- cgit v1.2.3