From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Dr8pt-0003Sh-S1 for mharc-grub-devel@gnu.org; Sat, 09 Jul 2005 02:29:14 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Dr8nB-0003CT-0k for grub-devel@gnu.org; Sat, 09 Jul 2005 02:26:26 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Dr8mu-00038w-59 for grub-devel@gnu.org; Sat, 09 Jul 2005 02:26:10 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Dr8ms-00030k-IT for grub-devel@gnu.org; Sat, 09 Jul 2005 02:26:06 -0400 Received: from [217.12.11.32] (helo=smtp001.mail.ukl.yahoo.com) by monty-python.gnu.org with smtp (Exim 4.34) id 1Dr8f9-00087M-KP for grub-devel@gnu.org; Sat, 09 Jul 2005 02:18:07 -0400 Received: (qmail 81633 invoked from network); 9 Jul 2005 06:11:02 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.fr; h=Received:Message-ID:Date:From:User-Agent:X-Accept-Language:MIME-Version:To:Subject:References:In-Reply-To:X-Enigmail-Version:Content-Type:Content-Transfer-Encoding; b=kC7q3oi6lO3RVxwLSXjaJbC4sVkVQgabi5AUzhGaVi3+2FcfbpuQK4k7G1TCFOLSQyQY6BCcI9Ig82ubyJlt+GuCmdv/uvZJv3ABZh+pR5CgnLowU+lu7TTzitIjs0JNj1VYw2VFvyVGcAY6kg8VfimV+pEKshcflnDNa61lqr4= ; Received: from unknown (HELO ?192.168.0.2?) (subdino2004@83.203.227.196 with plain) by smtp001.mail.ukl.yahoo.com with SMTP; 9 Jul 2005 06:11:01 -0000 Message-ID: <42CF6A7E.8020009@yahoo.fr> Date: Sat, 09 Jul 2005 08:11:10 +0200 From: Vincent Pelletier User-Agent: Debian Thunderbird 1.0.2 (X11/20050602) X-Accept-Language: en-us, en MIME-Version: 1.0 To: The development of GRUB 2 References: <42BFED32.9000300@inma.ucl.ac.be> <200507080730.35483.okuji@enbug.org> <42CE89D4.7080001@yahoo.fr> <200507090456.58569.okuji@enbug.org> In-Reply-To: <200507090456.58569.okuji@enbug.org> X-Enigmail-Version: 0.91.0.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: rmll - grub2 presentation 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: Sat, 09 Jul 2005 06:29:10 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Yoshinori K. Okuji wrote: > Good news. Is Jeff active now? I haven't seen him hacking these days... He was moving the last days, so he hasn't much time. And a good news marco already knows : I finally made the OpenBoot calls work \o/ ! The problem was in the struct used to send args & receive return values. It must contain fields of the same size, which is 32 bits on ppc and 64 on usparc. So now it works with long long as field type. So, I'm glad to announce the very first time some grub 2 related work booted on an usparc : ok load net Boot device: /pci@1f,0/pci@1,1/network@1,1 File and args: 5800 ok init-program testType 'go' to resume ok go Program terminated I call the following functions: _start : grub_ofconsole_init() : grub_ieee1275_finddevice ("/chosen", &chosen) grub_ieee1275_get_property (chosen, "stdout", data, sizeof data, &actual) grub_ieee1275_get_property (chosen, "stdin", data, sizeof data, &actual) ieee1275_write(stdout_ihandle,"test",4,&wrote); ieee1275_enter(); //hence the "Type 'go' to resume" ieee1275_exit(); //hence the "Program terminated" So I think I can say OB calls work, have they argument(s) and or return value(s) or not ! Time to go (for the last day) to the LSM now :). Vincent Pelletier -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFCz2p+FEQoKRQyjtURArPuAKCwOLP8ZSyHNK7nxnwS5bvKuYUlZQCfaFd8 UTof30pCDuP9ZrHhrwFwRdk= =k0TW -----END PGP SIGNATURE----- ___________________________________________________________________________ Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger Téléchargez cette version sur http://fr.messenger.yahoo.com