Skip to content

i386-efi and x86_64-efi fixes

Josh Triplett grub-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4efi: Fix firmware memory allocation to round to 4k pages, not 1kgrub-core/mmap/efi/mmap.c+3 -31 reply
2/4efi: Fix requests to allocate GRUB_MEMORY_AVAILABLEgrub-core/mmap/efi/mmap.c+1 -11 reply
3/4efi: Support GRUB_MMAP_MALLOC_LOW in the EFI firmware allocatorgrub-core/mmap/efi/mmap.c include/grub/efi/memory.h+12 -53 replies
4/4efi: On x86-64, align the stack to a 16-byte boundary as required by ABIgrub-core/kern/x86_64/efi/startup.S+5 -14 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] i386-efi and x86_64-efi fixes

The first three patches improve the EFI firmware allocator, fixing some bugs in the process.

The last patch fixes many compilation-specific and firmware-specific crashes.

To avoid unnecessary patch conflicts, I've included appropriately formatted ChangeLog entries for each patch separately in each mail, below the commit messages and above the diffstats.

Josh Triplett (4):
efi: Fix firmware memory allocation to round to 4k pages, not 1k
efi: Fix requests to allocate GRUB_MEMORY_AVAILABLE
efi: Support GRUB_MMAP_MALLOC_LOW in the EFI firmware allocator
efi: On x86-64, align the stack to a 16-byte boundary as required by
ABI

 grub-core/kern/x86_64/efi/startup.S |  6 +++++-
 grub-core/mmap/efi/mmap.c           | 23 ++++++++++++++---------
 include/grub/efi/memory.h           |  2 ++
 3 files changed, 21 insertions(+), 10 deletions(-)
Signature · 1 line
1.8.4.3