Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1KJrzF-0004C9-Kr for mharc-grub-devel@gnu.org; Fri, 18 Jul 2008 11:35:13 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KJrzD-0004BT-Mp for grub-devel@gnu.org; Fri, 18 Jul 2008 11:35:11 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KJrzC-0004BH-HK for grub-devel@gnu.org; Fri, 18 Jul 2008 11:35:11 -0400 Received: from [199.232.76.173] (port=37301 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KJrzC-0004BE-Eb for grub-devel@gnu.org; Fri, 18 Jul 2008 11:35:10 -0400 Received: from ti-out-0910.google.com ([209.85.142.184]:23291) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KJrzB-0004nU-MZ for grub-devel@gnu.org; Fri, 18 Jul 2008 11:35:10 -0400 Received: by ti-out-0910.google.com with SMTP id u5so311623tia.10 for ; Fri, 18 Jul 2008 08:35:08 -0700 (PDT) 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=bQX4m9B76Qq95fXHpkfsVK6d6bLy0KmU5TiMjyR207Q=; b=eIcsMsd6I9xV3CxgF7cBC2iaqS28vD/fm0LCc45Jb+fOgdtxmYPbXQ7oDug8fZhb8u G0p3pn4YEd14GC6cF+15eOfZm9Nry0mg0QGoK2CjHApOcHRzXV2PECn8vrBBj2iukOgV uizNFyIjfu5yNrwg61ddpT4p7ZbfW6JMpKMwI= 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=euw7xzeOsq5aDeUabFcNDph2i3FD1tpcsXHE42wwS6Fr9rg5JmS3FN8yLxKp/ShVC+ jtqOKzanB6zn7v3+aqBc5cMkKK1FW1s9GPmIYZJZ7AuHm+dNh2tahNcTv47v/+zBU5yc pIPKi0mByDlPqFR3KNnvAHw7CColsY2bCyIYY= Received: by 10.110.41.17 with SMTP id o17mr292303tio.18.1216395308031; Fri, 18 Jul 2008 08:35:08 -0700 (PDT) Received: by 10.110.16.5 with HTTP; Fri, 18 Jul 2008 08:35:07 -0700 (PDT) Message-ID: Date: Fri, 18 Jul 2008 23:35:07 +0800 From: Bean To: "The development of GRUB 2" In-Reply-To: <1216394417.18320.4.camel@dv> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <18089483.3400681216390485746.JavaMail.chaac@nic.fi> <1216394417.18320.4.camel@dv> X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) Subject: Re: Warnings in kern/dl.c 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: Fri, 18 Jul 2008 15:35:12 -0000 On Fri, Jul 18, 2008 at 11:20 PM, Pavel Roskin wrote: > On Fri, 2008-07-18 at 17:14 +0300, chaac@nic.fi wrote: > >> I think that using grub-emu might be a good idea for testing. I think >> there should be grub-emu architecture that could be compiled and in >> example there would be grub-emu specific disk layer, input layer and >> so on. So we could use grub-emu almost as same way we can do in real >> runtime environment. I know Marco will be using grub-emu like this on >> his GSoC project and I think it is a good thing too. But it needs some >> work of course. > > Yes, that would be a different grub-emu. Maybe it will be compiled with > the target flags. Maybe it will need to be disabled if cross-compiling. > >> We could do some special testing framework using this method. Eg. we >> could drive user input from special user input module that can be >> controlled from outside. > > I'd rather use qemu for testing, as it emulated the whole system. > Anyway, we'll see. > >> So please, do not at least remove support for using 64bit modules on >> 64bit systems :) (or otherwise make it harder to be supported later >> on) > > OK, let's keep it. I just don't want to force loading foreign > architecture modules into the executable memory. Hi, Actually, GRUB_CPU_SIZEOF_VOID_P is the right one to use. It would only cause problem in grub-mkimage, but kern/dl.c is not used by grub-mkimage. -- Bean