Re: [PATCH] PCI device enumeration for lua

2010-11-06 Thread Evan Broder
On Sat, Nov 6, 2010 at 2:25 PM, Duboucher Thomas wrote: > Hmm, I was a bit outdated. So you either have the choice of using bitop > if you prefer to keep Lua 5.1 (http://bitop.luajit.org/), or you can use > Lua 5.2 (http://www.lua.org/work/doc/manual.html#pdf-bit32). Ok. It seems like a generally

Re: [PATCH] PCI device enumeration for lua

2010-11-06 Thread Duboucher Thomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Le 06/11/2010 21:12, Evan Broder a écrit : > Sure, I'd be happy to submit a new patch that leaves the bit mangling > out if that library could be added. Can you point me at the specific > version of bitlib that Lua 5.2 will be using? The only bitlib I

Re: [PATCH] PCI device enumeration for lua

2010-11-06 Thread Evan Broder
On Sat, Nov 6, 2010 at 3:06 AM, Duboucher Thomas wrote: > Hi, > > Lua 5.2 will integrate bitlib by default to perform bitwise operations; > we could also readily integrate it in the current version. Sure, I'd be happy to submit a new patch that leaves the bit mangling out if that library could be

Re: [PATCH] PCI device enumeration for lua

2010-11-06 Thread Duboucher Thomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Le 05/11/2010 23:02, Evan Broder a écrit : > 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 thin

Re: [PATCH] PCI device enumeration for lua

2010-11-05 Thread Evan Broder
On Wed, Oct 27, 2010 at 12:29 PM, Evan Broder wrote: > Hi - >    This patch adds anew enum_pci(callback) function to the Lua grub > library for enumerating devices on the PCI bus. This is not currently > possible because there's no way to get the output of a command from > grub.run. > > While I th