grub-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] make memdisk portable


From: Robert Millan
Subject: Re: [PATCH] make memdisk portable
Date: Thu, 31 Jul 2008 20:11:32 +0200
User-agent: Mutt/1.5.13 (2006-08-11)

On Wed, Jul 30, 2008 at 08:51:57PM +0200, Robert Millan wrote:
> 
> This patch makes memdisk much less dependant on i386-pc specific structures
> and therefore easier to port.

Here we go again, after some suggestions from Bean on IRC.

It does now stop copiing the module section to low memory.  Instead, we just
make sure memdisk grabs its own copy of the data (as is done with ELF modules),
and use the module section at GRUB_MEMORY_MACHINE_DECOMPRESSION_ADDR for the
whole dance.

Ah, and it saves 40 bytes in kernel, and 48 bytes in memdisk :-)

-- 
Robert Millan

  The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and
  how) you may access your data; but nobody's threatening your freedom: we
  still allow you to remove your data and not access it at all."

Attachment: memdisk.diff
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]