Subject: Re: boot gunzip code?
To: Edwin Foo <efoo@crl.dec.com>
From: Perry E. Metzger <perry@piermont.com>
List: current-users
Date: 12/16/1998 11:42:50
Edwin Foo writes:
> I've been looking around for the code that unzips a kernel image into memory
> before booting it, a la the i386 bootloader.

Why you would think we would have code other than that for the
bootloader itself?

> I would think it would be in arch/i386/stand, as it seems that the i386
> bootloader lives there, but I don't see any unzip code. Am I wrong in
> thinking that there is unzip code there in the first place?

You don't get how the boot code is built. The gzip code is in a
library (like libstand). Look at how the boot code itself builds to
see this in action.

Perry