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/hostdisk.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 'grub-core/osdep/hostdisk.c')
-rw-r--r-- | grub-core/osdep/hostdisk.c | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/grub-core/osdep/hostdisk.c b/grub-core/osdep/hostdisk.c new file mode 100644 index 0000000..1853979 --- /dev/null +++ b/grub-core/osdep/hostdisk.c @@ -0,0 +1,22 @@ +#ifdef __linux__ +#include "linux/hostdisk.c" +#elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__) +#include "freebsd/hostdisk.c" +#elif defined(__NetBSD__) || defined(__OpenBSD__) +#include "bsd/hostdisk.c" +#elif defined(__APPLE__) +#include "apple/hostdisk.c" +#elif defined(__sun__) +#include "sun/hostdisk.c" +#elif defined(__GNU__) +#include "hurd/hostdisk.c" +#elif defined(__CYGWIN__) || defined(__MINGW32__) +#include "windows/hostdisk.c" +#elif defined(__AROS__) +#include "aros/hostdisk.c" +#elif defined (__HAIKU__) +#include "haiku/hostdisk.c" +#else +# warning "No hostdisk OS-specific functions is available for your system. Device detection may not work properly." +#include "basic/hostdisk.c" +#endif |