Help!

EFI e820 map handling


Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Kernel RSS
Next:  [PATCH] Make access to task's nsproxy liter  
Author Message
Andi Kleen
External


Since: Jul 07, 2006
Posts: 1925



PostPosted: Thu Aug 09, 2007 12:10 pm    Post subject: EFI e820 map handling
Archived from groups: linux>kernel (more info?)

Hallo,

I thought a bit about the zero page problem. I really would prefer to not
having it used in a boot loader right now because it's not extensible anymore
when external users start (ab)using it.

When I asked for separate EFI->e820 functions I was really thinking
of the kernel to do the conversion; not the boot loader.

Could you move that code into the kernel early boot code please?
e.g. on x86-64 it could be in head64.c. It could stuff the result
into the zero page to pass it cleanly on without special cases later.

On i386 a head32.c that runs before start_kernel() could be also
introduced for this.

As long as it's localized there it is fine.

This would also allow to define new private e820 types and extend
the string decoding in e820; so that dmesg will correctly contain

EFI: ....

instead of

BIOS-e820: ...

Thanks,

-Andi

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo.DeleteThis@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Back to top
Yinghai Lu
External


Since: May 18, 2007
Posts: 66



PostPosted: Fri Aug 10, 2007 2:12 am    Post subject: Re: EFI e820 map handling [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On 8/9/07, Andi Kleen <ak.TakeThisOut@suse.de> wrote:
>
> Hallo,
>
> I thought a bit about the zero page problem. I really would prefer to not
> having it used in a boot loader right now because it's not extensible anymore
> when external users start (ab)using it.
>
> When I asked for separate EFI->e820 functions I was really thinking
> of the kernel to do the conversion; not the boot loader.
>
> Could you move that code into the kernel early boot code please?
> e.g. on x86-64 it could be in head64.c. It could stuff the result
> into the zero page to pass it cleanly on without special cases later.
>
> On i386 a head32.c that runs before start_kernel() could be also
> introduced for this.
>
> As long as it's localized there it is fine.
>
> This would also allow to define new private e820 types and extend
> the string decoding in e820; so that dmesg will correctly contain
>
> EFI: ....
>
> instead of
>
> BIOS-e820: ...
>

How about elilo to load freebsd or opensolaris?

YH
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo.TakeThisOut@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Back to top
Display posts from previous:   
Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Kernel All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum