File: hostdisk.c

package info (click to toggle)
grub2 2.02+dfsg1-20
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 61,784 kB
  • sloc: ansic: 384,086; asm: 16,323; sh: 13,230; cpp: 1,994; makefile: 1,488; python: 1,458; sed: 423; lex: 393; yacc: 267; awk: 75; lisp: 50; perl: 31
file content (22 lines) | stat: -rw-r--r-- 703 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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