search for: cpu_flags_str

Displaying 3 results from an estimated 3 matches for "cpu_flags_str".

2006 Aug 28
2
Extending dmitest to check for Long Mode (aka 64 versus 32 bit)
...processors have the longmode-capable-bit turned on in the extended feature flags (bit 29) in EDX, after calling CPUID with EAX=0x80000001. " Unfortunately, my understanding of what EDX and EAX means is zero... but looking through your code I suspect that this may be the missing entry from the cpu_flags_strings table in dmi_processor.h: NULL, /* 30 */ In the Linux kernel I see that /proc/cpuinfo is determined through the /usr/include/asm/cpufeature.h include as: #define X86_FEATURE_LM (1*32+29) /* Long Mode (x86-64) */ Would I simply need to Change the NULL entry to a string in cpu_flags_...
2012 Nov 14
1
comments about 5.00pre10
...ay be useful in some cases, and problematic in others. _ The first argument for config.c32 works correctly, but the second (the soon-to-be new CWD) doesn't. The CONFIG directive from a menu seems to work (at least at first impression). Testing in a VBox VM: _ hdt.c32: Undef symbol FAIL: cpu_flags_strings _ hello.c32: Hello, world, from 0x00229200! malloc return 0x0022ac60 TIA, Ady.
2012 Sep 19
1
[PATCH 1/1] lua: Cleaned up the dmi table structure in Lua.c32 and added all missing DMI subtables
...M_P(L, signature, stepping) + LUA_ADD_NUM_P(L, signature, minor_stepping) lua_settable(L,-3); - lua_pushstring(L, "chassis.version"); - lua_pushstring(L, dmi.chassis.version); + /* processor flags */ + lua_pushstring(L, "flags"); + lua_newtable(L); + get_bool_table(L, cpu_flags_strings, + sizeof(s_dmi_cpu_flags)/sizeof(bool), + (bool *)(&processor->cpu_flags)); lua_settable(L,-3); - lua_pushstring(L, "chassis.serial"); - lua_pushstring(L, dmi.chassis.serial); - lua_settable(L,-3); + return 1; +} - lua_pushstring(L, &q...