lkml.org 
[lkml]   [2008]   [May]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH -mm] kexec jump -v9
    [..]
    > > > +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@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2008-05-15 22:13    [W:4.074 / U:0.052 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site