Vladimir Serbinenko
f5905f6566
osdep/bsd/hostdisk: Fix NetBSD compilation
...
Wrong function and variable name cause a stupid compilation error on
NetBSD and OpenBSD. Only NetBSD and OpenBSD use this file. No other
platform is affected.
Additionally, define RAW_FLOPPY_MAJOR constant if it is missing.
Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com >
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com >
2023-12-12 17:55:14 +01:00
Glenn Washburn
351c9c2fd0
disk: Replace code that calculates the log of sector size with grub_log2ull()
...
Signed-off-by: Glenn Washburn <development@efficientek.com >
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com >
2022-07-04 14:43:26 +02:00
Elyes Haouas
55e237b57d
osdep: Remove trailing whitespaces
...
Signed-off-by: Elyes Haouas <ehaouas@noos.fr >
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com >
2022-03-14 15:58:46 +01:00
Vladimir Serbinenko
e5fa26e573
Make newly-created files other than grub.cfg world-readable.
2013-12-24 17:36:10 +01:00
Vladimir Serbinenko
da5ed5cf6b
* grub-core/osdep/bsd/hostdisk.c (grub_util_get_fd_size_os): Fix
...
compilation on NetBSD.
2013-11-14 22:38:36 +01:00
Vladimir 'phcoder' Serbinenko
cd78a56fb2
Move stat () and device mode checking into OS-dependent files as
...
long as performance doesn't suffer.
2013-10-19 16:29:20 +02:00
Vladimir 'phcoder' Serbinenko
25ac643a54
* grub-core/tests/video_checksum.c: Use grub_util_fd_* rather than
...
open/read/write.
2013-10-15 11:06:57 +02:00
Vladimir 'phcoder' Serbinenko
caca1c70cf
Move OS-specific driver configuration to grub_util_fd_open. This
...
moves OS-dependent parts from kern/emu/hostdisk.c to
grub-core/osdep/*/hostdisk.c.
2013-10-09 07:04:25 +02:00
Vladimir 'phcoder' Serbinenko
acbbe5cbad
* include/grub/util/lvm.h: Removed.
2013-10-08 21:01:09 +02:00
Vladimir 'phcoder' Serbinenko
672fa55e81
Move OS-dependent files to grub-core/osdep and document it.
2013-10-08 17:30:22 +02:00