Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1FVjlL-0002N4-VA for mharc-grub-devel@gnu.org; Tue, 18 Apr 2006 02:32:35 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FVjlJ-0002LG-6w for grub-devel@gnu.org; Tue, 18 Apr 2006 02:32:33 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FVjlH-0002Jz-2C for grub-devel@gnu.org; Tue, 18 Apr 2006 02:32:32 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FVjlG-0002Jw-TP for grub-devel@gnu.org; Tue, 18 Apr 2006 02:32:30 -0400 Received: from [212.85.152.101] (helo=kotoba.storever.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FVjm5-00019x-M2 for grub-devel@gnu.org; Tue, 18 Apr 2006 02:33:21 -0400 Received: from kotoba.oasis.nexedi.com (kotoba.oasis.nexedi.com [212.85.152.101]) by kotoba.storever.com (Postfix) with ESMTP id 2D1693C00628E for ; Tue, 18 Apr 2006 09:48:14 +0200 (CEST) Received: from [??1] (localhost [127.0.0.1]) by kotoba.storever.com (Postfix) with ESMTP id 17DEB3C00628A for ; Tue, 18 Apr 2006 09:48:13 +0200 (CEST) From: "Yoshinori K. Okuji" Organization: enbug.org To: grub-devel@gnu.org Date: Tue, 18 Apr 2006 08:32:42 +0200 User-Agent: KMail/1.8.2 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200604180832.42502.okuji@enbug.org> X-Bogosity: No, tests=bogofilter, spamicity=0.499998, version=0.17.2 Subject: initial commit for EFI platforms 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: Tue, 18 Apr 2006 06:32:34 -0000 As some people know this, I'm working on Intel Mac these days. I have checked in my initial code to the CVS right now. The current code does nearly nothing, but simply displays "test!" on the screen. Although this might sound bogus, this is a big advance, since the test message proves that my ELF to PE32 converter is working fine. On EFI platforms, I decided to create a kernel as a module (ELF relocatable object), and convert it to an EFI Application (PE32 executable). The grub-mkimage relocates addresses with the virtual address space which starts from zero, and generate relocation entries for PE32 to resolve absolute addresses at the loading time. This trick is required because EFI Applications must be able to run at an arbitrary address. Pre-loaded modules are not supported yet, since this requires memory management which is not implemented yet, either. For my future plan, refer to my wiki page: http://grub.enbug.org/YoshinoriOkuji Okuji