Re: Extboot Option ROM rewritten in C - v3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 4/18/08, Anthony Liguori <aliguori@xxxxxxxxxx> wrote:
> Nguyen Anh Quynh wrote:
>
> > On Thu, Apr 17, 2008 at 3:00 PM, H. Peter Anvin <hpa@xxxxxxxxx> wrote:
> >
> >
> > >
> > > > +       .globl linux_boot
> > > > +linux_boot:
> > > > +       cli
> > > > +       cld
> > > > +       mov $0x9000, %ax
> > > > +       mov %ax, %ds
> > > > +       mov %ax, %es
> > > > +       mov %ax, %fs
> > > > +       mov %ax, %gs
> > > > +       mov %ax, %ss
> > > > +       mov $0x8ffe, %sp
> > > > +       ljmp $0x9000 + 0x20, $0
> > > >
> > > >
> > > >
> > >  The hard use of segment 9000 is really highly unfortunate for bzImage,
> > > since it restricts its heap more than necessary.  I suggest following
> the
> > > patterns used by the (new) Qemu loader.
> > >
> > >
> >
> > Actually, this code is left from the original code of Anthony, and it
> > seems he took it from qemu 0.8 version.
> >
> > Anthony, may you explain why you want to hijact the linux boot process
> > here? If I understand correctly, we can just let the original int19
> > execute, and if linux boot is desired, it would work in normal way. So
> > why you want to do this?
> >
> >
>
>  The thinking is to eliminate the need to hijack the boot sector when using
> the -kernel option.

I see, but does that offer any advantage over the current approach?

Thanks,
Q

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
_______________________________________________
kvm-devel mailing list
kvm-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/kvm-devel

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Virtualization]     [LVS Devel]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux