x86_64_cpuid_string()

QNX SDP8.0Building Embedded SystemsConfigurationDeveloper

Synopsis:

int x86_64_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.

For backward compatibility, x86_cpuid_string() is defined to be the same as x86_64_cpuid_string().

Returns:

>0
Success
Page updated: