[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 3/4] efi: Support GRUB_MMAP_MALLOC_LOW in the EFI firmware al
From: |
Vladimir 'φ-coder/phcoder' Serbinenko |
Subject: |
Re: [PATCH 3/4] efi: Support GRUB_MMAP_MALLOC_LOW in the EFI firmware allocator |
Date: |
Thu, 14 Nov 2013 09:08:18 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131005 Icedove/17.0.9 |
On 13.11.2013 04:59, Andrey Borzenkov wrote:
> В Tue, 12 Nov 2013 18:26:39 -0800
> Josh Triplett <address@hidden> пишет:
>
>> EFI supports allocating memory below a specified address; use that to
>> implement GRUB_MMAP_MALLOC_LOW by requesting memory below 1M.
>
> Out of curiosity - why would you need it on EFI? Your patch does not
> add any consumer of GRUB_MMAP_MALLOC_LOW and on EFI notion of low
> memory should not exist?
>
As discussed on IRC, it's for starting other CPUs, for this you need a
vector in low memory as cpus always start in real mode.
signature.asc
Description: OpenPGP digital signature
- [PATCH 0/4] i386-efi and x86_64-efi fixes, Josh Triplett, 2013/11/12
- [PATCH 1/4] efi: Fix firmware memory allocation to round to 4k pages, not 1k, Josh Triplett, 2013/11/12
- [PATCH 2/4] efi: Fix requests to allocate GRUB_MEMORY_AVAILABLE, Josh Triplett, 2013/11/12
- [PATCH 3/4] efi: Support GRUB_MMAP_MALLOC_LOW in the EFI firmware allocator, Josh Triplett, 2013/11/12
- [PATCH 4/4] efi: On x86-64, align the stack to a 16-byte boundary as required by ABI, Josh Triplett, 2013/11/12