[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] PCI device enumeration for lua

From: Evan Broder
Subject: Re: [PATCH] PCI device enumeration for lua
Date: Sat, 6 Nov 2010 22:35:39 -0700

On Sat, Nov 6, 2010 at 2:25 PM, Duboucher Thomas <address@hidden> wrote:
> Hmm, I was a bit outdated. So you either have the choice of using bitop
> if you prefer to keep Lua 5.1 (, or you can use
> Lua 5.2 (

Ok. It seems like a generally bad idea to switch to Lua 5.2 before
it's finalized, so I've attached grub_lua_include_bitop.diff, which
adds the bitop library. I had to make one modification to the library
itself to use GRUB's versions of the stdint types. I also had to make
a small modification to the Lua configuration so bitop could detect
what numeric type we're using.

With that in place, my enum_pci function can leave the parsing of the
various numeric values to Lua code, rather than doing it in C, so I've
updated grub_lua_enum_pci.diff to do that.

 - Evan

Attachment: grub_lua_include_bitop.diff
Description: Binary data

Attachment: grub_lua_enum_pci.diff
Description: Binary data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]