search for: bios_revision

Displaying 2 results from an estimated 2 matches for "bios_revision".

2012 Sep 19
1
[PATCH 1/1] lua: Cleaned up the dmi table structure in Lua.c32 and added all missing DMI subtables
...endor); - lua_settable(L,-3); - - lua_pushstring(L, "bios.version"); - lua_pushstring(L, dmi.bios.version); - lua_settable(L,-3); - - lua_pushstring(L, "bios.release_date"); - lua_pushstring(L, dmi.bios.release_date); - lua_settable(L,-3); - lua_pushstring(L, "bios.bios_revision"); - lua_pushstring(L, dmi.bios.bios_revision); - lua_settable(L,-3); +void get_bool_table(lua_State *L, const char *str_table[], int n_elem, + bool *bool_table) +{ + int i; + for (i = 0; i < n_elem; i++) { + if (!str_table[i] || !*str_table[i]) /* aviod NU...
2008 Dec 10
0
[PATCH 2/2] COM32: lua - add dmi library
...; {LUA_DMILIBNAME, luaopen_dmi}," Usage example: if (dmi.supported()) then dmitable = dmi.gettable() for k,v in pairs(dmitable) do print(k, v) end print(dmitable["system.manufacturer"]) print(dmitable["system.product_name"]) print(dmitable["bios.bios_revision"]) if ( string.match(dmitable["system.product_name"], "ESPRIMO P7935") ) then print("Matches") syslinux.run_command("memdisk initrd=/dos/BIOS/FSC-P7935-108.img raw") else print("Does not match") end end Bye, Marcel --...