| Date | Fri, 11 Aug 2006 18:41:28 +0530 | From | Rachita Kothiyal <> | Subject | Re: [Fastboot] [RFC] ELF Relocatable x86 and x86_64 bzImages |
| |
On Fri, Aug 04, 2006 at 06:56:11PM -0400, Vivek Goyal wrote: > > Signed-off-by: Vivek Goyal <vgoyal@in.ibm.com> > --- > > arch/i386/boot/compressed/head.S | 32 ++++++++++++++++++++++++++++++-- > 1 file changed, 30 insertions(+), 2 deletions(-) > > diff -puN arch/i386/boot/compressed/head.S~debug1-patch arch/i386/boot/compressed/head.S > --- linux-2.6.18-rc3-1M/arch/i386/boot/compressed/head.S~debug1-patch 2006-08-04 18:03:02.000000000 -0400 > +++ linux-2.6.18-rc3-1M-root/arch/i386/boot/compressed/head.S 2006-08-04 18:18:26.000000000 -0400 > @@ -60,13 +60,32 @@ startup_32: > * a relocatable kernel this is the delta to our load address otherwise > * this is the delta to CONFIG_PHYSICAL start. > */ > + > #ifdef CONFIG_RELOCTABLE ^^^^^^^^^ Vivek, did you mean CONFIG_RELOCATABLE ?
Thanks Rachita
> + /* If loaded by non kexec boot loader, then we will be loaded > + * at 1MB fixed address. But probably the intention is to run > + * from a address for which kernel has been compiled which can > + * be non 1MB. > + */ > + xorl %eax, %eax > + movb 0x210(%esi), %al > + > + / * check boot loader type. Kexec bootloader id 9, version any */ > + shrl $4, %eax > + subl $0x9, %eax > + jnz 1f - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|