Re: CPUID module

2007-05-19 Thread Yoshinori K. Okuji
On Saturday 19 May 2007 12:55, Robert Millan wrote: > > if cpuid --long-mode; then ...; else ...; fi > > The return value ($?) is set, but this syntax doesn't work. How can this > functionality be tested? Sorry, I am not sure. :( Possibly, not all planned features are implemented in the scripting

Re: CPUID module

2007-05-19 Thread Robert Millan
On Fri, May 18, 2007 at 08:35:35PM +0200, Yoshinori K. Okuji wrote: > > This module checks for CPU features > > (currently only the long_mode flag, but more could be added if needed) > > using cpuid. The idea behind this is that grub.cfg scripts can use it to > > decide wether a 64-bit or 32-bit

Re: CPUID module

2007-05-18 Thread Yoshinori K. Okuji
On Friday 18 May 2007 17:50, Robert Millan wrote: > Here's a patch to implement cpuid.mod. Great. > This module checks for CPU features > (currently only the long_mode flag, but more could be added if needed) > using cpuid. The idea behind this is that grub.cfg scripts can use it to > decide we