[syslinux] Automatically choose between 32-bit and 64-bit kernel

Erwan Velu erwan at seanodes.com
Tue Jan 23 02:17:50 PST 2007


H. Peter Anvin wrote:
> Curtis Doty wrote:
>   
>> I'm eager to fiddle with this (com32 module) if anyone has patches to
>> test. The cat's meow would be some way to abstract the cpu flags into
>> variables. Then one could a) select kernel arch from flags.lm, b) append
>> custom arguments derived from cpuid, and even c) decide to boot a xen
>> dom0 if, say, the vmx or svm flags are flying.
>>
>>     
>
> There is already some of that in C code (com32/modules/cpuid.c); what I 
> guess we really need is a scripting language of some sort?
>   
Exactly, we started to discuss on it on the irc channel.
I didn't spent time on it since a while, sorry for that.

I think the scripting language should also be capable of parsing the 
other "hardware" stuff like the dmi table etc..
This could be very usefull to make some rules depending on the hardware 
configuration.

Curtis, IIRC vmx & svm flags are not detected in the current 
implementation of the cpuid com32 module.
If someone have the hardware to make a patch ;)




More information about the Syslinux mailing list