Re: [PATCH -mm] kexec jump -v9

From: Vivek Goyal
Date: Thu May 15 2008 - 16:10:54 EST


[..]
> > > +2:
> > > + call *%edx
> >
> > > + movl %edi, %edx
> > > + popl %edi
> > > + pushl %edx
> > > + jmp 2b
> > > +
> >
> > What does above piece of code do? Looks like redundant for switching
> > between the kernels? After call *%edx, we never return here. Instead
> > we come back to "kexec_jump_back_entry"?
>
> For switching between the kernels, this is redundant. Originally another
> feature of kexec jump is to call some code in physical mode. ïThis is
> used to provide a C ABI to called code.
>

Hi Huang,

Ok, You want to make BIOS calls. We already do that using vm86 mode and
use bios real mode interrupts. So why do we need this interface? Or, IOW,
how is this interface better?

Do you have something in mind where/how are you going to use it?

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