LKML Archive on
help / color / mirror / Atom feed
From: "H. Peter Anvin" <>
To: "Eric W. Biederman" <>
Cc:, Etienne Lorrain <>,
Subject: Re: [PATCH] Compressed ia32 ELF file generation for loading by Gujin 1/3
Date: Tue, 06 Feb 2007 07:50:11 -0800	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <>

Eric W. Biederman wrote:
> Just for documentation the current interface is you come in through
> the kernels 16bit entry point and get all of it's BIOS calls, or your
> bootloader is responsible for getting the equivalent information
> somehow.
> From what little I skimmed part of what Gujin wanted to do was sane
> at first glance. Just boot a gziped vmlinux like the other
> architectures.  The problem was the 16bit code.  
> So there may be some good ideas buried in there somewhere, but it
> likely to take some doing, and patches that I have to save before
> I read them are a real pain!

Actually, as far as I can see, he has re-invented having a real-mode 
code chunk which then gets run before the protected-mode kernel.  We 
already have that!  You can even intercept between running real-mode and 
protected-mode if you really want to.

I don't really see anything new here.  The one thing that he does which 
we might want to consider emulating is writing the real-mode code in C. 
  Right now, the assembly code is very cluttered, and with the size 
limit having been, long ago, raised from 2K to 32K we should be able to 
fit a fair bit of code even if we use C.


      reply	other threads:[~2007-02-06 15:50 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-05 23:56 Etienne Lorrain
2007-02-06  0:37 ` H. Peter Anvin
2007-02-06  5:25   ` Vivek Goyal
2007-02-06  6:16     ` H. Peter Anvin
2007-02-06  6:33       ` Vivek Goyal
2007-02-06  6:38         ` H. Peter Anvin
2007-02-06  6:51           ` Vivek Goyal
2007-02-06  7:24             ` Eric W. Biederman
2007-02-06 15:50               ` H. Peter Anvin [this message]

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:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \ \
    --subject='Re: [PATCH] Compressed ia32 ELF file generation for loading by Gujin 1/3' \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).