Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1E4Uow-0004UY-CT for mharc-grub-devel@gnu.org; Sun, 14 Aug 2005 22:35:26 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1E4Uou-0004UF-Um for grub-devel@gnu.org; Sun, 14 Aug 2005 22:35:25 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1E4Uor-0004SX-5P for grub-devel@gnu.org; Sun, 14 Aug 2005 22:35:23 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1E4Uoq-0004RW-Tf for grub-devel@gnu.org; Sun, 14 Aug 2005 22:35:20 -0400 Received: from [209.86.89.68] (helo=smtpauth08.mail.atl.earthlink.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1E4UyQ-0004Ik-KV for grub-devel@gnu.org; Sun, 14 Aug 2005 22:45:14 -0400 Received: from [63.246.184.80] (helo=[192.168.0.103]) by smtpauth08.mail.atl.earthlink.net with asmtp (Exim 4.34) id 1E4UjA-0008TB-Nt for grub-devel@gnu.org; Sun, 14 Aug 2005 22:29:28 -0400 Mime-Version: 1.0 (Apple Message framework v622) In-Reply-To: <200508150103.43027.okuji@enbug.org> References: <20050814222711.23047.qmail@web35315.mail.mud.yahoo.com> <200508150103.43027.okuji@enbug.org> Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Hollis Blanchard Date: Sun, 14 Aug 2005 21:29:32 -0500 To: The development of GRUB 2 X-Mailer: Apple Mail (2.622) X-ELNK-Trace: 77a46389d001b1f223bcf3e39c2f8b5f1aa676d7e74259b7b3291a7d08dfec7941873f817756c49c2b489ed863553d77350badd9bab72f9c350badd9bab72f9c X-Originating-IP: 63.246.184.80 Subject: Re: [PATCH] mmap support and x86_64 detection 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: Mon, 15 Aug 2005 02:35:25 -0000 On Aug 14, 2005, at 6:03 PM, Yoshinori K. Okuji wrote: > On Monday 15 August 2005 00:27, Ruslan Nikolaev wrote: >> Yesterday I sent patch for mmap support and x86_64 detection. What do >> you >> think about? I need to known about it becuase I'll be busy this >> week... Ruslan, I would ask for a different function name. Initially I was very confused as to how/why GRUB was implementing mmap(2), but obviously that's not really what's going on. Perhaps "grub_multiboot_get_memmap" instead of "grub_multiboot_mmap"? > The detection code should not be a part of the kernel. You can do this > only > protected mode, right? (I guess you mean the grub "kern" directory. Calling it "kernel" is a little confusing because of course GRUB loads kernels...) Why shouldn't it go there? Where should it go? > I prefer implementing this with inline assembly. That's quite a lot of inline assembly... why not make it its own function? -Hollis