Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1JHsx4-0000XR-Pi for mharc-grub-devel@gnu.org; Wed, 23 Jan 2008 22:40:30 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JHsx3-0000X8-72 for grub-devel@gnu.org; Wed, 23 Jan 2008 22:40:29 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JHsx1-0000WF-Sb for grub-devel@gnu.org; Wed, 23 Jan 2008 22:40:28 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JHsx1-0000W6-KS for grub-devel@gnu.org; Wed, 23 Jan 2008 22:40:27 -0500 Received: from py-out-1112.google.com ([64.233.166.177]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JHsx1-0008AT-FO for grub-devel@gnu.org; Wed, 23 Jan 2008 22:40:27 -0500 Received: by py-out-1112.google.com with SMTP id u52so81810pyb.1 for ; Wed, 23 Jan 2008 19:40:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=JXrbmSMv2fUE1bmUKbk2jCZCSM3C8PyIXdPOCBqhm5o=; b=KjNmyfqIsLoao07lbJoMovFUmrgyQLzTfcC4FREZStwatG4JEsyVFkgufhW5R1XcN1sXx0ds/ME0SkvBj9uTr9H6jPVlgNdv02EnPTi70GWZ3gyVumHuU3jfmiNErY7Eri8B02SjTQQcpoKtl8DJ3oCMHOGOI6uI5K46EBvH+Es= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=a+OKsZavpYFBejJ+Nd+cf+NQR0qm86bm9FZopXtf+zdpRVCcJ4nbYR6LWgKWB4hQ61s9Is+JJl6vGogm7+jQbuVEqTCZSz+hydyMRlyU4ES76JCBn6wLSC1/5ZIR8F1xBBkDTeAMCBoHtSJgsbrq846iWkDFpa3rt+0hHkFO12M= Received: by 10.110.39.5 with SMTP id m5mr2536tim.55.1201146025253; Wed, 23 Jan 2008 19:40:25 -0800 (PST) Received: by 10.110.31.8 with HTTP; Wed, 23 Jan 2008 19:40:25 -0800 (PST) Message-ID: Date: Thu, 24 Jan 2008 11:40:25 +0800 From: Bean To: "The development of GRUB 2" In-Reply-To: <20080123211506.GA27338@thorin> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20080120232435.GB16365@thorin> <20080122135757.GA11484@thorin> <873asoudkm.fsf@xs4all.nl> <20080123191449.GB15742@thorin> <20080123201534.GA25534@thorin> <20080123211506.GA27338@thorin> X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) Subject: Re: [PATCH] memdisk plus lnxboot extension X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jan 2008 03:40:29 -0000 On Jan 24, 2008 5:15 AM, Robert Millan wrote: > > On Thu, Jan 24, 2008 at 05:04:56AM +0800, Bean wrote: > > On Jan 24, 2008 4:15 AM, Robert Millan wrote: > > > The region where memdisk is normally put has no size limit, only the core > > > image itself does. Why not load it at the same address? > > > > I just check, the lzo decompression will overwrite the area, so we > > can't copy initrd there. > > So where does your code copy it? currently, i don't copy it. i save the initrd address to variable grub_memdisk_image_addr, which is then used by grub_arch_memdisk_addr to locate the memdisk. -- Bean