From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1QZm3X-0002ei-Tg for mharc-grub-devel@gnu.org; Thu, 23 Jun 2011 11:43:00 -0400 Received: from eggs.gnu.org ([140.186.70.92]:39291) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QZm3U-0002dL-2b for grub-devel@gnu.org; Thu, 23 Jun 2011 11:42:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QZm3S-0001TY-6q for grub-devel@gnu.org; Thu, 23 Jun 2011 11:42:55 -0400 Received: from mail-wy0-f169.google.com ([74.125.82.169]:56986) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QZm3R-0001TU-Tj for grub-devel@gnu.org; Thu, 23 Jun 2011 11:42:54 -0400 Received: by wyg36 with SMTP id 36so1689434wyg.0 for ; Thu, 23 Jun 2011 08:42:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:x-enigmail-version:content-type; bh=tgYYR5qT+td+4uDQSlcyovxfnV0EOM9zdnOXBiuWWTM=; b=HvFMWeABIRCc/Fh+ySs24FAgvySP4XnX37OHQbcgPS7ZflthIUjBv9jfH5KTrRLKI+ AXuYXWgU66hDpLXea+CA9hqIXMxyOZSA8Bz4PFwCKvvTwjAgTK0/RFdZ7wWpUIjmywzv LFy7hgdiGliTqxZb28VlX39U6PMCYpfrZGiRo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:x-enigmail-version:content-type; b=liLWU8/pyQGDqSaXSnsGUIZ4bByyW7j8OwNZbqN3JrmNoKivijIrcPuGcdy4zGrJH+ NJINMbmYY0kgSSXMbX+l19/ENdjcAil4IJlyG5x1WgFLBACiTw5fFNwd/2K5kncEVZOs 4YA7YwN1MQmVgOZpD4XgXJhUmJJTiTguOi1p0= Received: by 10.227.36.212 with SMTP id u20mr2131245wbd.35.1308843772950; Thu, 23 Jun 2011 08:42:52 -0700 (PDT) Received: from debian.x201.phnet (183-81.62-81.cust.bluewin.ch [81.62.81.183]) by mx.google.com with ESMTPS id d19sm1323034wbh.42.2011.06.23.08.42.50 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 23 Jun 2011 08:42:51 -0700 (PDT) Message-ID: <4E035EF8.8050803@gmail.com> Date: Thu, 23 Jun 2011 17:42:48 +0200 From: =?UTF-8?B?VmxhZGltaXIgJ8+GLWNvZGVyL3BoY29kZXInIFNlcmJpbmVua28=?= User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110606 Iceowl/1.0b2 Icedove/3.1.10 MIME-Version: 1.0 To: grub-devel@gnu.org Subject: Re: Contribution: a file loading module References: In-Reply-To: X-Enigmail-Version: 1.1.2 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enig2DCFFDECB2B86ADF0A01C548" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 74.125.82.169 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Jun 2011 15:42:57 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig2DCFFDECB2B86ADF0A01C548 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 17.06.2011 18:11, Pierre-Nicolas Clauss wrote: > Hi folks, > > I subscribed to this list in order to share with you a humble > contribution of mine to grub. > > As an OS developer enthusiastic, I needed to load a file to memory at > a given specific address. While such a functionality would be a toy for loader developpers, it's completely useless for the end users. If the user has to know any single address or any single address figures in grub.cfg it's automatically a bad design. Also while it would be possible to write a loader in scripts using such kind of commands it's simply a wrong place for it. Loaders have to be written in C. Also people who really need such kind of functionality (devs) can quickly add such a kludge to the loader they are currently developping. As for the user the syntax has to be sth like loader_name This allows for a much higher flexibility, portability and future-proof. > No command in grub 1.99 was fitting my needs (as my file as no > semantic known to grub: it's not a module, it's not an initrd, it's > not a multiboot kernel either), so I developed my own module. > What is it then? I'm willing to consider adding new loading as long as they are sane and make sense. > Please find included the source code of this module. For now, I've > added a copyright notice with my name and a mention to the GPLv3, but > I'm willing to share the source under GPLv3+ and/or hand over my > copyright rights to the GNU project if needed. > Also note that I wrote this module based on what I understand from > grub after reading its source, so please forgive me if I used the > wrong method. > > Cheers, > > Pierre-Nicolas "pini" Clauss > > > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > https://lists.gnu.org/mailman/listinfo/grub-devel --=20 Regards Vladimir '=CF=86-coder/phcoder' Serbinenko --------------enig2DCFFDECB2B86ADF0A01C548 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iF4EAREKAAYFAk4DXvgACgkQNak7dOguQgl3dAEAsnYoVxZ4uhnvut7sL7T0E4so q5fdiui4CqUYdomy/NgBAL0XeSDSyLU9g5GmD8STfyVX4jelDF6SKGKAewnF0eCW =nTIW -----END PGP SIGNATURE----- --------------enig2DCFFDECB2B86ADF0A01C548--