Displaying 2 results from an estimated 2 matches for "dmi_tabl".
Did you mean:
dmi_table
2016 Feb 19
6
Building a http query string including SMBIOS Serial Number to load a specific kernel
Hello folks,
There is a way to get the system serial number from SMBIOS and pass it
as HTTP query string to get the kernel and initrd?
Something like this:
LABEL OS Download
MENU LABEL Clonezilla
MENU INDENT 1
KERNEL http://192.168.10.10/kernel.php?type=kernel (
http://myserver/kernel.php?SN=SMBIOS_SERIAL_NUMBER&type=kernel
)&SN=SMBIOS_SERIAL_NUMBER
APPEND
2012 Sep 19
1
[PATCH 1/1] lua: Cleaned up the dmi table structure in Lua.c32 and added all missing DMI subtables
...lua_pushnumber(L, dmi.processor.signature.stepping);
- lua_settable(L,-3);
- lua_pushstring(L, "processor.signature.minor_stepping");
- lua_pushnumber(L, dmi.processor.signature.minor_stepping);
- lua_settable(L,-3);
+static int get_dmi_info_table(lua_State *L, s_dmi *dmi_ptr)
+{
+ dmi_table *dmitable = &dmi_ptr->dmitable;
- lua_pushstring(L, "processor.voltage_mv");
- lua_pushnumber(L, dmi.processor.voltage_mv);
- lua_settable(L,-3);
+ /* dmi info */
+ lua_newtable(L);
+ LUA_ADD_NUM_P(L, dmitable, num)
+ LUA_ADD_NUM_P(L, dmitable, len)
+ LUA_ADD_NUM_P(L, dmi...