From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1I01wo-0003Ru-Td for mharc-grub-devel@gnu.org; Sun, 17 Jun 2007 17:06:10 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1I01wn-0003RN-UA for grub-devel@gnu.org; Sun, 17 Jun 2007 17:06:09 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1I01wm-0003QX-TF for grub-devel@gnu.org; Sun, 17 Jun 2007 17:06:09 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I01wm-0003Q1-N6 for grub-devel@gnu.org; Sun, 17 Jun 2007 17:06:08 -0400 Received: from neonescio.viaisn.org ([82.94.249.43]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1I01wm-0003he-7b for grub-devel@gnu.org; Sun, 17 Jun 2007 17:06:08 -0400 Received: from dijkstra.dekkers.cx ([2001:960:7a0:0:213:d4ff:fe9c:2487] ident=Debian-exim) by neonescio.viaisn.org with esmtpsa (TLS-1.0:RSA_AES_256_CBC_SHA1:32 CV=0) (Exim 4.63 #1) id 1I01wj-00058V-Nf for grub-devel@gnu.org; Sun, 17 Jun 2007 23:06:05 +0200 Received: from localhost ([127.0.0.1] helo=dijkstra.dekkers.cx ident=jeroen) by dijkstra.dekkers.cx with esmtp (Exim 4.67) (envelope-from ) id 1I01wi-00077L-CT for grub-devel@gnu.org; Sun, 17 Jun 2007 23:06:04 +0200 Date: Sun, 17 Jun 2007 23:06:03 +0200 Message-ID: <87lkeigukk.wl@dekkers.cx> From: Jeroen Dekkers To: The development of GRUB 2 In-Reply-To: <3B66B7F1-5535-486E-8AEE-3920F6C9E1A6@gmail.com> References: <20070616160553.C62C1BFD7@mail.lfs-matrix.net> <4675BFB0.4010902@cross-lfs.org> <87d4zvjuza.wl@dekkers.cx> <20070617092639.GA14818@aragorn> <20070617093715.GA18112@coresystems.de> <87bqfekfkw.wl@dekkers.cx> <3B66B7F1-5535-486E-8AEE-3920F6C9E1A6@gmail.com> User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (=?ISO-8859-4?Q?Shij=F2?=) APEL/10.7 Emacs/22.0.95 (x86_64-pc-linux-gnu) MULE/5.0 (SAKAKI) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-detected-kernel: Linux 2.6 (newer, 3) Subject: Re: 64 Bit Support? 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: Sun, 17 Jun 2007 21:06:10 -0000 At Sun, 17 Jun 2007 12:29:43 -0700, Andrei E. Warkentin wrote: > Heh, UEFI x64 runs in long mode, and it has no problems doing things > like that. To linearly map the first 4GB you need a whole of 24KB > worth of page tables (using 2m pages). And the code to enter long > mode directly from RM is pretty trivial. RM->16PM->LM. But UEFI doesn't need to be booted by a BIOS. We actually want to install the GRUB2 core into the gap that exists between the partition table and the first partition that usually starts on the second head. This gap is 62 sectors, or 31KB. Just a bit more than your page tables. Jeroen Dekkers