diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 16:29:51 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 16:29:51 +0000 |
commit | 6e7a315eb67cb6c113cf37e1d66c4f11a51a2b3e (patch) | |
tree | 32451fa3cdd9321fb2591fada9891b2cb70a9cd1 /grub-core/osdep/getroot.c | |
parent | Initial commit. (diff) | |
download | grub2-6e7a315eb67cb6c113cf37e1d66c4f11a51a2b3e.tar.xz grub2-6e7a315eb67cb6c113cf37e1d66c4f11a51a2b3e.zip |
Adding upstream version 2.06.upstream/2.06upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | grub-core/osdep/getroot.c | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/grub-core/osdep/getroot.c b/grub-core/osdep/getroot.c new file mode 100644 index 0000000..69a80e9 --- /dev/null +++ b/grub-core/osdep/getroot.c @@ -0,0 +1,22 @@ +#ifdef __linux__ +#include "linux/getroot.c" +#elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__) +#include "freebsd/getroot.c" +#elif defined(__NetBSD__) || defined(__OpenBSD__) +#include "bsd/getroot.c" +#elif defined(__APPLE__) +#include "apple/getroot.c" +#elif defined(__sun__) +#include "sun/getroot.c" +#elif defined(__GNU__) +#include "hurd/getroot.c" +#elif defined(__CYGWIN__) || defined (__MINGW32__) +#include "windows/getroot.c" +#elif defined(__AROS__) +#include "aros/getroot.c" +#elif defined (__HAIKU__) +#include "haiku/getroot.c" +#else +# warning "No getroot OS-specific functions is available for your system. Device detection may not work properly." +#include "basic/getroot.c" +#endif |