From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1KU495-0000gz-21 for mharc-grub-devel@gnu.org; Fri, 15 Aug 2008 14:35:31 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KU492-0000fy-Df for grub-devel@gnu.org; Fri, 15 Aug 2008 14:35:28 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KU48x-0000e1-MZ for grub-devel@gnu.org; Fri, 15 Aug 2008 14:35:27 -0400 Received: from [199.232.76.173] (port=44220 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KU48x-0000dr-Ft for grub-devel@gnu.org; Fri, 15 Aug 2008 14:35:23 -0400 Received: from mta-out.inet.fi ([195.156.147.13]:52143 helo=jenni1.inet.fi) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KU48w-0000VG-TT for grub-devel@gnu.org; Fri, 15 Aug 2008 14:35:23 -0400 Received: from [127.0.0.1] (88.193.32.97) by jenni1.inet.fi (8.5.014) id 488F153400B61D0F for grub-devel@gnu.org; Fri, 15 Aug 2008 21:35:22 +0300 Message-ID: <48A5CC71.3020508@nic.fi> Date: Fri, 15 Aug 2008 21:35:29 +0300 From: =?ISO-8859-1?Q?Vesa_J=E4=E4skel=E4inen?= User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: The development of GRUB 2 References: <1218684975.8757.139.camel@localhost> <48A4589D.3040902@nic.fi> <20080814180005.GB5614@thorin> <1218749362.19647.20.camel@localhost> <48A5AF50.2040906@nic.fi> <1218819798.2510.13.camel@localhost> <48A5B96D.7040209@nic.fi> <1218823154.2510.23.camel@localhost> In-Reply-To: <1218823154.2510.23.camel@localhost> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: Quoted-Printable X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Subject: Re: [RFC] Platform information services 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, 15 Aug 2008 18:35:28 -0000 Javier Mart=EDn wrote: >> I still do not see the need to create cross platform function that >> cannot be used for cross platform purposes. It is much more reasonable >> to write such needs as in kernel for the platform or in platform >> specific modules. >> >> I do not have a problem with function to retrieve pointer to some >> platform specific function on platfrom specific code. That is normal >> life of the platform. > Well, think of this as a platform-specific function to retrieve the > address of platform-specific (firmware-provided) structures. The only > difference is that in my proposal such a function has the same signatur= e > (prototype) for every platform. Well... THEN WHY NOT MAKE A PLATFORM SPECIFIC FUCTION THAT IS CONVENIENT TO USE ON PLATFORM WHERE IT IS MEANT TO BE USED FOR AND IT ACTUALLY HAVE A MEANING ON WHERE IT IS ACCESSIBLE. If you want to learn something, study interfaces of disk->biosdisk->bios and video->vbe->video bios... There are also several other good spots on GRUB 2 code base that you could see... You have still not provided a single GOOD example where this would be used AND would provide some ADDED VALUE. Unless you provide a convincing one (while I pretty much doubt) I do not see this feature to be in our official tree.