x86_64_cpuid_string(), x86_cpuid_string()

Synopsis:

int x86_64_cpuid_string (char *buf, 
                         int max)

int x86_cpuid_string (char *buf, 
                      int max)

Description:

Place a string representation of the CPU in the string buf to a maximum of max characters. The general format of the string is:

manufacturer part Ffamily Mmodel Sstepping

This information is determined using the cpuid instruction. If it's not supported, then a subset (typically only the part) will be placed in the buffer.

The x86_64_cpuid_string() function is defined only for x86_64. For compatibility with shared code, x86_cpuid_string() is defined to be the same as x86_64_cpuid_string() on x86_64.

Returns:

>0
Success.