[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <851fc09e0708090709s4f4fbbf9r91a7300a773f985a@mail.gmail.com>
Date: Thu, 9 Aug 2007 22:09:23 +0800
From: "huang ying" <huang.ying.caritas@...il.com>
To: "Andi Kleen" <ak@...e.de>
Cc: "Etienne Lorrain" <etienne_lorrain@...oo.fr>,
linux-kernel@...r.kernel.org, ebiederm@...ssion.com,
"H. Peter Anvin" <hpa@...or.com>
Subject: Re: [PATCH 5/5] x86_64 EFI support -v3: EFI document
On 8/9/07, Andi Kleen <ak@...e.de> wrote:
> There is really no 32bit entry point today usable for external users. Or rather
> it might by chance work today, but if we change the zero page (and there
> is no guarantee it'll not be changed). I can pretty much guarantee it'll
> be changed at some point. And you'll break if you use it.
Yes, there is no official 32bit external entry point. But on EFI
platform, the 16bit entry point can not be used because there is no
16bit BIOS call available. So, I think it is necessary to define a
32bit external entry point.
> kexec can use the 32bit entry, but only because it is in tree so it can be fixed
> up for any changes.
The kexec uses the 32bit entry point in a user space tool named
kexec-tools, not in the kernel.
> If you want to use it you would need to define some versionable protocol
> first similar to the real mode boot protocol. That would require some work
> and some thought to make sure it is forwards and backwards compatible.
I think at least the following should be done to make it a external
boot protocol.
1. A version number field should be added.
2. The pointers (especially these come from firmware) should be 64bit
to make the entry point can be used for both 32bit and 64bit platform.
3. More complete and formal document.
Can you kindly tell me what's more should be done?
Best Regards,
Huang Ying
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists