- 03 Jan, 2016 1 commit
-
-
Andrei Borzenkov authored
Fixes ACPI halt on ASUSTeK P8B75-V, Bios: American Megatrends v: 0414 date: 04/24/2012 Reported-By:
Goh Lip <g.lip@gmx.com>
-
- 02 Jan, 2016 1 commit
-
-
Andrei Borzenkov authored
-
- 31 Dec, 2015 2 commits
-
-
Vladimir Serbinenko authored
Check that they point to the same module, so will end up in the same chunk of memory.
-
Vladimir Serbinenko authored
-
- 17 Dec, 2015 1 commit
-
-
Robert Elliott authored
This should accompany 76ce1de7 Translate UEFI persistent memory type 1. Add a string for the EfiPersistentMemory type 14 that was added in UEFI 2.5. 2. Decode the memory attributes that were added in UEFI 2.5: * NV (non-volatile) * MORE_RELIABLE (higher reliable, e.g., mirrored memory in a system with partial memory mirroring) * RO (read-only) 3. Use proper IEC binary units (KiB, MiB, etc.) for power-of-two values rather than misusing SI power-of-ten units (KB, MB, etc.) 4. The lsmmap command only decodes memory ranges sizes up to GiB scale units. Persistent memory ranges will reach into the TiB scale. Since 64-bit size field supports TiB, PiB, and EiB, decode all of them for completeness. 5. In the lsefimmap command, rewrite the print statements to * avoid rounding * avoid a big nested if/else tree. For example: In the sixth entry below, the value of 309MB implies 316416KB but is really reporting 316436KB. Widen the size column to 6 digits to accommodate typical cases. The worst case value would require 14 digits; if that happens, let the columns get out of sync. Old format: Type Physical start - end #Pages Size Attributes conv-mem 0000000000000000-0000000000092fff 00000093 588KB UC WC WT WB reserved 0000000000093000-0000000000093fff 00000001 4KB UC WC WT WB conv-mem 0000000000094000-000000000009ffff 0000000c 48KB UC WC WT WB conv-mem 0000000000100000-000000000fffffff 0000ff00 255MB UC WC WT WB BS-code 0000000010000000-0000000010048fff 00000049 292KB UC WC WT WB conv-mem 0000000010049000-000000002354dfff 00013505 309MB UC WC WT WB ldr-data 000000002354e000-000000003ecfffff 0001b7b2 439MB UC WC WT WB BS-data 000000003ed00000-000000003ed7ffff 00000080 512KB UC WC WT WB conv-mem 000000003ed80000-000000006af5ffff 0002c1e0 705MB UC WC WT WB reserved 000000006af60000-000000006b55ffff 00000600 6MB UC WC WT WB BS-data 000000006b560000-000000006b560fff 00000001 4KB UC WC WT WB RT-data 000000006b561000-000000006b5e1fff 00000081 516KB RT UC WC WT WB BS-data 000000006b5e2000-000000006ecfafff 00003719 55MB UC WC WT WB BS-code 000000006ecfb000-000000006ecfbfff 00000001 4KB UC WC WT WB conv-mem 000000006ecfc000-00000000711fafff 000024ff 36MB UC WC WT WB BS-data 00000000711fb000-000000007128dfff 00000093 588KB UC WC WT WB Unk 0d 0000000880000000-0000000e7fffffff 00600000 24GB UC WC WT WB NV reserved 0000001680000000-0000001c7fffffff 00600000 24GB UC WC WT WB NV New format: Type Physical start - end #Pages Size Attributes conv-mem 0000000000000000-0000000000092fff 00000093 588KiB UC WC WT WB reserved 0000000000093000-0000000000093fff 00000001 4KiB UC WC WT WB conv-mem 0000000000094000-000000000009ffff 0000000c 48KiB UC WC WT WB conv-mem 0000000000100000-000000000fffffff 0000ff00 255MiB UC WC WT WB BS-code 0000000010000000-0000000010048fff 00000049 292KiB UC WC WT WB conv-mem 0000000010049000-000000002354dfff 00013505 316436KiB UC WC WT WB ldr-data 000000002354e000-000000003ecfffff 0001b7b2 450248KiB UC WC WT WB BS-data 000000003ed00000-000000003ed7ffff 00000080 512KiB UC WC WT WB conv-mem 000000003ed80000-000000006af5ffff 0002c1e0 722816KiB UC WC WT WB reserved 000000006af60000-000000006b55ffff 00000600 6MiB UC WC WT WB BS-data 000000006b560000-000000006b560fff 00000001 4KiB UC WC WT WB RT-data 000000006b561000-000000006b5e1fff 00000081 516KiB RT UC WC WT WB BS-data 000000006b5e2000-000000006ecfafff 00003719 56420KiB UC WC WT WB BS-code 000000006ecfb000-000000006ecfbfff 00000001 4KiB UC WC WT WB conv-mem 000000006ecfc000-0000000071222fff 00002527 38044KiB UC WC WT WB BS-data 0000000071223000-00000000712ddfff 000000bb 748KiB UC WC WT WB persist 0000000880000000-0000000e7fffffff 00600000 24GiB UC WC WT WB NV reserved 0000001680000000-0000001c7fffffff 00600000 24GiB UC WC WT WB NV
-
- 15 Dec, 2015 1 commit
-
-
Robert Elliott authored
Define * GRUB_EFI_PERSISTENT_MEMORY (UEFI memory map type 14) per UEFI 2.5 * GRUB_MEMORY_PERSISTENT (E820 type 7) per ACPI 3.0 * GRUB_MEMORY_PERSISTENT_LEGACY (E820 unofficial type 12) per ACPI 3.0 and translate GRUB_EFI_PERSISTENT_MEMORY to GRUB_MEMORY_PERSISTENT in grub_efi_mmap_iterate(). Includes * adding the E820 names to lsmmap * handling the E820 types in make_efi_memtype() Suggested-by:
Vladimir 'φ-coder/phcoder' Serbinenko <phcoder@gmail.com>
Suggested-by:
Andrei Borzenkov <arvidjaar@gmail.com>
-
- 27 Nov, 2015 1 commit
-
-
Vladimir Serbinenko authored
PIT isn't available on some of new hardware including Hyper-V. So use pmtimer for calibration. Moreover pmtimer calibration is faster, so use it on coreboor where booting time is important. Based on patch by Michael Chang.
-
- 14 Nov, 2015 1 commit
-
-
Pavel Bludov authored
-
- 09 Nov, 2015 2 commits
-
-
Vladimir Serbinenko authored
-
Vladimir Serbinenko authored
-
- 07 Nov, 2015 1 commit
-
-
grub-devel@iam.tj authored
It is not possible to configure encrypted containers on multiple partitions of the same disk; after the first one all subsequent fail with disk/cryptodisk.c:978: already mounted as crypto0 Store partition offset in cryptomount descriptor to distinguish between them.
-
- 29 Oct, 2015 1 commit
-
-
Vladimir Serbinenko authored
-
- 25 Oct, 2015 1 commit
-
-
Peter Jones authored
-
- 11 Oct, 2015 3 commits
-
-
Andrei Borzenkov authored
Fixes crash if argument is not specified. Also use `|' to separate choices in list of compression methods to align it with --core-compress.
-
Vladimir Serbinenko authored
-
Vladimir Serbinenko authored
There are no $t4 or $t5 in N32 but there are $a4 and $a5.
-
- 27 Jul, 2015 1 commit
-
-
Vladimir Serbinenko authored
Recent tests have discovered that many of our filesystems have flawed handling of "." and "..". Rather than attempting to fix it in filesystems themselves, make the common code fshelp aware of "." and ".." and handle them in this layer. Add grub_fshelp_find_file_lookup for easy conversion of BFS, HFS and exFAT which have the same problem and don't use fshelp.
-
- 23 Jul, 2015 4 commits
-
-
Vladimir Serbinenko authored
Fixes compilation with clang.
-
Vladimir Serbinenko authored
mips_attributes was introduced to work around clang problems with -msoft-float. Those problems are now fixed and moreover .gnu_attributes itself is unportable and creates problem with clang. Revert "mips: Fix soft-float handling." This partially reverts commit 6a4ecd27.
-
Vladimir Serbinenko authored
Fixes compilation with recent clang.
-
Vladimir Serbinenko authored
-
- 16 Jun, 2015 1 commit
-
-
Andrei Borzenkov authored
Exclusive open on SNP will close all existing protocol instances which may disable all receive filters on interface. Reinstall them after we opened protocol exclusively. Also follow UEFI specification recommendation and stop interfaces when closing them: Unexpected system errors, reboots and hangs can occur if an OS is loaded and the network devices are not Shutdown() and Stopped(). Also by: Mark Salter <msalter@redhat.com> Closes: 45204
-
- 04 Jun, 2015 1 commit
-
-
Toomas Soome authored
-
- 07 May, 2015 3 commits
-
-
Andrei Borzenkov authored
-
Fu Wei authored
Signed-off-by:
Fu Wei <fu.wei@linaro.org> -
Fu Wei authored
Signed-off-by:
Fu Wei <fu.wei@linaro.org>
-
- 03 May, 2015 2 commits
-
-
Toomas Soome authored
-
Toomas Soome authored
In the past birth was always zero for holes. This feature started to make use of birth for holes as well, so change code to test for valid DVA address instead.
-
- 27 Mar, 2015 1 commit
-
-
Vladimir Serbinenko authored
This restrict ARP handling to MAC and IP addresses but in practice we need only this case anyway and other cases are very rar if exist at all. It makes code much simpler and less error-prone.
-
- 20 Mar, 2015 1 commit
-
-
Vladimir Serbinenko authored
-
- 07 Mar, 2015 1 commit
-
-
Vladimir Serbinenko authored
-
- 04 Mar, 2015 5 commits
-
-
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.
-
Vladimir Serbinenko authored
It's disabled by default and has been broken for a long time. As nobody is interested in fixing and maintaining it, remove it.
-
Vladimir Serbinenko authored
libgcc for boot environment isn't always present and compatible. libgcc is often absent if endianness or bit-size at boot is different from running OS. libgcc may use optimised opcodes that aren't available on boot time. So instead of relying on libgcc shipped with the compiler, supply the functions in GRUB directly. Tests are present to ensure that those replacement functions behave the way compiler expects them to.
-
Vladimir Serbinenko authored
clang pretends to be GCC 4.2 but we use __builtin_bswap* only with GCC 4.3+. clang support __builtin_bswap*, so use it.
-
Vladimir Serbinenko authored
Stops poluting screen with a lot of "block-size: exception -21".
-
- 24 Feb, 2015 1 commit
-
-
Vladimir Serbinenko authored
Add -msoft-float alongside clang arguments to specify ABI. Specify ABI in asm files explicitly. This trigers asm warning due to gcc failing to propagate -msoft-float but it's tolerable.
-
- 23 Feb, 2015 1 commit
-
-
Vladimir Serbinenko authored
Previously we supplied only unsigned divisions on platforms that need software division. Yet compiler may itself use a signed division. A typical example would be a difference between 2 pointers which involves division by object size.
-
- 21 Feb, 2015 1 commit
-
-
Vladimir Serbinenko authored
Fixes ARM compilation
-
- 04 Feb, 2015 1 commit
-
-
Leif Lindholm authored
GCC 4.9 also generates R_ARM_THM_MOVW_ABS_NC and R_ARM_THM_MOVT_ABS, as an alternative to ABS32. Signed-off-by:
Leif Lindholm <leif.lindholm@linaro.org>
-