public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: "H. Peter Anvin" <hpa@zytor.com>
To: Nguyen Anh Quynh <aquynh@gmail.com>
Cc: kvm-devel@lists.sourceforge.net
Subject: Re: Extboot Option ROM rewritten in C - v3
Date: Thu, 17 Apr 2008 02:00:29 -0400	[thread overview]
Message-ID: <4806E77D.7070100@zytor.com> (raw)
In-Reply-To: <9cde8bff0804161830j74ad21f9r7fb1bc5b1e7ab28e@mail.gmail.com>

> +	.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.

	-hpa


-------------------------------------------------------------------------
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

  parent reply	other threads:[~2008-04-17  6:00 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 [this message]
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
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=4806E77D.7070100@zytor.com \
    --to=hpa@zytor.com \
    --cc=aquynh@gmail.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