All of lore.kernel.org
 help / color / mirror / Atom feed
* What's the point of allocating the protected mode code on 0x100000  only (UEFI)
@ 2010-02-16 11:40 George Buranov
  2010-02-16 11:51 ` Vladimir 'φ-coder/phcoder' Serbinenko
  0 siblings, 1 reply; 3+ messages in thread
From: George Buranov @ 2010-02-16 11:40 UTC (permalink / raw)
  To: The development of GNU GRUB

[-- Attachment #1: Type: text/plain, Size: 708 bytes --]

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?

Regards,
Georgy

[-- Attachment #2: Type: text/html, Size: 799 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-02-17  6:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-16 11:40 What's the point of allocating the protected mode code on 0x100000 only (UEFI) George Buranov
2010-02-16 11:51 ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-02-17  6:00   ` gburanov

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.