From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1PEffG-0005l8-22 for mharc-grub-devel@gnu.org; Sat, 06 Nov 2010 06:06:26 -0400 Received: from [140.186.70.92] (port=35394 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PEffD-0005jF-BX for grub-devel@gnu.org; Sat, 06 Nov 2010 06:06:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PEffB-0004G3-RA for grub-devel@gnu.org; Sat, 06 Nov 2010 06:06:23 -0400 Received: from mail.rez-gif.supelec.fr ([160.228.154.1]:39356) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PEffB-0004F0-MQ for grub-devel@gnu.org; Sat, 06 Nov 2010 06:06:21 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.rez-gif.supelec.fr (Postfix) with ESMTP id 5AE6D2C6A58 for ; Sat, 6 Nov 2010 11:06:16 +0100 (CET) X-Virus-Scanned: amavisd-new at rez-gif.supelec.fr Received: from mail.rez-gif.supelec.fr ([127.0.0.1]) by localhost (mail.rez-gif.supelec.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qEctuW8cv6Wo for ; Sat, 6 Nov 2010 11:06:13 +0100 (CET) Received: from [10.2.0.192] (hansolo.rez-gif.supelec.fr [160.228.159.254]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.rez-gif.supelec.fr (Postfix) with ESMTPS id 4F3AB2C6A4A for ; Sat, 6 Nov 2010 11:06:13 +0100 (CET) Message-ID: <4CD52893.5060701@duboucher.eu> Date: Sat, 06 Nov 2010 11:06:11 +0100 From: Duboucher Thomas User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; fr; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6 MIME-Version: 1.0 To: grub-devel@gnu.org References: In-Reply-To: X-Enigmail-Version: 1.1.1 OpenPGP: id=A79F86A8 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Re: [PATCH] PCI device enumeration for lua X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 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: Sat, 06 Nov 2010 10:06:24 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Le 05/11/2010 23:02, Evan Broder a =E9crit : > Hi again - > Having actually tried to work with this patch, I realized that I > wanted a little more information passed into the callback function. I > also realized that it's rather difficult to do things like separating > the vendor and device IDs in Lua, since it lacks bitwise operators. My > new patch passes 9 arguments to the callback function: bus index, > device index, function index, primary vendor ID, primary device ID, > subsystem vendor ID, subsystem device ID, base class, and sub-class. >=20 > Thanks, > - Evan >=20 Hi, Lua 5.2 will integrate bitlib by default to perform bitwise operations; we could also readily integrate it in the current version. - -- Thomas. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkzVKJMACgkQBV7eXqefhqg3FgCcCS2GOiZRMyWqdGP/41yFwlIT k+8An1RBYBFKrANxTeqGg7PBkrcTobMP =3DoKnY -----END PGP SIGNATURE-----