[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: What's the point of allocating the protected mode code on 0x100000 o
From: |
Vladimir 'φ-coder/phcoder' Serbinenko |
Subject: |
Re: What's the point of allocating the protected mode code on 0x100000 only (UEFI) |
Date: |
Tue, 16 Feb 2010 12:51:11 +0100 |
User-agent: |
Mozilla-Thunderbird 2.0.0.22 (X11/20091109) |
George Buranov wrote:
> Hello,
>
> I just found another computer with working UEFI (I was testing on UEFI
> simulation) and just found that the kernel load does not work. I found
> out that the problem is in code
>
> /* Next, find free pages for the protected mode code. */
> /* XXX what happens if anything is using this address? */
> prot_mode_mem = grub_efi_allocate_pages (0x100000, prot_mode_pages + 1);
> if (! prot_mode_mem)
> {
> grub_error (GRUB_ERR_OUT_OF_MEMORY,
> "cannot allocate protected mode pages");
> goto fail;
> }
>
> This function return with false for me. I am continuing investigation,
> but maybe you know the reason why the allocation is on this special
> address? Can we change it?
As I already said I have a working prototype for this in newreloc branch.
>
> Regards,
> Georgy
> ------------------------------------------------------------------------
>
> _______________________________________________
> Grub-devel mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/grub-devel
>
--
Regards
Vladimir 'φ-coder/phcoder' Serbinenko
signature.asc
Description: OpenPGP digital signature