- 19 Dec, 2015 1 commit
-
-
Andrei Borzenkov authored
GRUB keeps partition offset and size in units of 512B sectors. Media paths are defined in terms of LBA which are presumed to match HDD sector size. This is probably cosmetic (EFI requires that partition is searched by GUID) and still incorrect if GPT was created using different logical block size. But current code is obviously wrong and new has better chances to be correct.
-
- 04 Mar, 2015 1 commit
-
-
Vladimir Serbinenko authored
canonicalize_file_name clashed with gnulib function. Additionally it was declared in 2 places: emu/misc.h and util/misc.h. Added grub_ prefix and removed second declaration.
-
- 26 Dec, 2013 1 commit
-
-
Andrey Borzenkov authored
We are on legacy BIOS if GetFirmwareEnvironmentVariable fails (returns zero) *and* extended error information is ERROR_INVALID_FUNCTION. Cf. http://msdn.microsoft.com/en-us/library/windows/desktop/ms724325%28v=vs.85%29.aspx
-
- 21 Dec, 2013 2 commits
-
-
David Prévot authored
-
Vladimir Serbinenko authored
-
- 18 Dec, 2013 3 commits
-
-
Vladimir Serbinenko authored
-
Vladimir Serbinenko authored
-
Vladimir Serbinenko authored
-
- 17 Dec, 2013 1 commit
-
-
Vladimir Serbinenko authored
-
- 16 Dec, 2013 1 commit
-
-
Vladimir Serbinenko authored
-
- 15 Dec, 2013 7 commits
-
-
Andrey Borzenkov authored
Fix potential crash caused by signed vs. unsigned comparison. Negative length compares as very large unsigned number causing subsequent NULL access. Make exhaustive search for all BootNNNN variables to find one matching requested efi_distributor.
-
Vladimir Serbinenko authored
-
Vladimir Serbinenko authored
-
Vladimir Serbinenko authored
-
Vladimir Serbinenko authored
-
Vladimir Serbinenko authored
-
Vladimir Serbinenko authored
invocation.
-
- 08 Dec, 2013 2 commits
-
-
Vladimir Serbinenko authored
But ensure that the variables in question are indeed unsigned.
-
Vladimir Serbinenko authored
and implement windows variant.
-
- 04 Dec, 2013 1 commit
-
-
Vladimir Serbinenko authored
Remove variable length arrays. * grub-core/term/efi/console.c (grub_console_putchar): Likewise.
-
- 27 Nov, 2013 2 commits
-
-
Vladimir Serbinenko authored
Fixes build for windows.
-
Colin Watson authored
Add grub_util_disable_fd_syncs call to turn grub_util_fd_sync calls into no-ops, and use it in programs that copy files but do not need to take special care to sync writes (grub-mknetdir, grub-rescue, grub-mkstandalone). On my laptop, this reduces partmap_test's runtime from 1236 seconds to 204 seconds.
-
- 17 Nov, 2013 1 commit
-
-
Vladimir Serbinenko authored
the function of these files exceeds what can be sanely handled in shell in posix-comaptible way. Also writing it in C extends the functionality to non-UNIX-like OS and minimal environments.
-
- 12 Nov, 2013 1 commit
-
-
Vladimir Serbinenko authored
strict-aliasing warning. (fsync): Silence cast warning.
-
- 02 Nov, 2013 1 commit
-
-
Vladimir Serbinenko authored
reading large extents and decrease amount of blocklist hook calls.
-
- 23 Oct, 2013 1 commit
-
-
Paulo Flabiano Smorigo authored
* grub-core/lib/progress.c: New file. * grub-core/Makefile.core.def (progress): New module. * grub-core/kern/file.c (grub_file_open): File name added. * (grub_file_read): Progress hook added. * grub-core/fs/cbfs.c (grub_cbfs_read): Likewise. * grub-core/fs/cpio_common.c (grub_cpio_read): Likewise. * grub-core/net/net.c (grub_net_fs_read_real): Likewise. * include/grub/file.h (struct grub_file): Add progress module * members. * include/grub/term.h (struct grub_term_output): Likewise. * grub-core/osdep/unix/emuconsole.c (grub_console_term_output): Terminal velocity added. * grub-core/osdep/windows/emuconsole.c (grub_console_term_output): * Likewise. * grub-core/term/arc/console.c (grub_console_term_output): Likewise. * grub-core/term/efi/console.c (grub_console_term_output): Likewise. * grub-core/term/gfxterm.c (grub_video_term): Likewise. * grub-core/term/i386/coreboot/cbmemc.c (grub_cbmemc_term_output): * Likewise. * grub-core/term/i386/pc/console.c (grub_console_term_output): * Likewise. * grub-core/term/i386/pc/vga_text.c (grub_vga_text_term): Likewise. * grub-core/term/ieee1275/console.c (grub_console_term_output): * Likewise. * grub-core/term/morse.c (grub_audio_term_output): Likewise. * grub-core/term/serial.c (grub_serial_term_output): Likewise. * grub-core/term/spkmodem.c (grub_spkmodem_term_output): Likewise. * grub-core/term/uboot/console.c (uboot_console_term_output): * Likewise.
-
- 20 Oct, 2013 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
bitmasks to small structures of size chosen to fit in registers.
-
- 19 Oct, 2013 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
relpath.c from getroot.c as it's common between unix and haiku but otherwise haiku doesn't use any functions from unix getroot.c.
-
- 15 Oct, 2013 10 commits
-
-
Vladimir 'phcoder' Serbinenko authored
use OS-dependent versions rather than to rely on stat().
-
Vladimir 'phcoder' Serbinenko authored
-
Vladimir 'phcoder' Serbinenko authored
grub-core/osdep/blocklist.c and add windows implementation since generic version doesn't work on NTFS on Windows due to aggressive unflushable cache.
-
Vladimir 'phcoder' Serbinenko authored
Cut tailing newline. Remove arbitrary limitation. Always use grub_util_tchar_to_utf8.
-
Vladimir 'phcoder' Serbinenko authored
implement fsync.
-
Vladimir 'phcoder' Serbinenko authored
closedir to handle filename charset translation.
-
Vladimir 'phcoder' Serbinenko authored
unicode path.
-
Vladimir 'phcoder' Serbinenko authored
and remove export.h.
-
Vladimir 'phcoder' Serbinenko authored
config-util.h include.
-
Vladimir 'phcoder' Serbinenko authored
-
- 14 Oct, 2013 2 commits
-
-
Vladimir 'phcoder' Serbinenko authored
fseeko.
-
Vladimir 'phcoder' Serbinenko authored
-