From: Anthony Liguori <aliguori@us.ibm.com>
To: Nguyen Anh Quynh <aquynh@gmail.com>
Cc: kvm-devel@lists.sourceforge.net, "H. Peter Anvin" <hpa@zytor.com>
Subject: Re: Extboot Option ROM rewritten in C - v3
Date: Fri, 18 Apr 2008 08:19:08 -0500 [thread overview]
Message-ID: <48089FCC.6030006@us.ibm.com> (raw)
In-Reply-To: <9cde8bff0804180400p73d268e4y34ba48d3c2b6d533@mail.gmail.com>
Nguyen Anh Quynh wrote:
> On Thu, Apr 17, 2008 at 3:00 PM, H. Peter Anvin <hpa@zytor.com> 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. However, the linux boot stuff in extboot has
been broken since hpa rewrote the boot code. It can be removed for now
and I'll eventually revisit it.
Regards,
Anthony Liguori
> 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.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
next prev parent reply other threads:[~2008-04-18 13:19 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-17 1:30 Extboot Option ROM rewritten in C - v3 Nguyen Anh Quynh
2008-04-17 5:58 ` H. Peter Anvin
2008-04-18 10:57 ` Nguyen Anh Quynh
2008-04-17 6:00 ` H. Peter Anvin
2008-04-18 11:00 ` Nguyen Anh Quynh
2008-04-18 12:21 ` H. Peter Anvin
2008-04-18 13:19 ` Anthony Liguori
2008-04-18 12:24 ` H. Peter Anvin
2008-04-18 13:19 ` Anthony Liguori [this message]
2008-04-18 13:31 ` H. Peter Anvin
2008-04-18 13:56 ` Nguyen Anh Quynh
2008-04-18 14:51 ` Anthony Liguori
2008-04-18 14:50 ` H. Peter Anvin
2008-04-18 15:02 ` Nguyen Anh Quynh
2008-04-18 15:19 ` Anthony Liguori
2008-04-17 7:36 ` Carlo Marcelo Arenas Belon
2008-04-18 11:01 ` Nguyen Anh Quynh
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=48089FCC.6030006@us.ibm.com \
--to=aliguori@us.ibm.com \
--cc=aquynh@gmail.com \
--cc=hpa@zytor.com \
--cc=kvm-devel@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox