X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=ccan%2Fcpuid%2Fcpuid.h;h=e923259292cc0c041218f51520e915777f75fae0;hb=cff22b4acad4dcac91eafda11490cc4f58b76e1b;hp=2963d5ce94b4959e8c4f9e199e42c66de4defca3;hpb=8b4ef38b9e64e279e9fcec7643225a5c10ba3f03;p=ccan diff --git a/ccan/cpuid/cpuid.h b/ccan/cpuid/cpuid.h index 2963d5ce..e9232592 100644 --- a/ccan/cpuid/cpuid.h +++ b/ccan/cpuid/cpuid.h @@ -258,7 +258,7 @@ static char const *const c_cpunames[] = { * * Returns the CPU Type as cputype_t. * - * See also: cpuid_get_cpu_type_string() + * See also: cpuid_get_name() */ cputype_t cpuid_get_cpu_type(void); @@ -306,6 +306,8 @@ uint32_t cpuid_highest_ext_func_supported(void); /** * cpuid - Get Some information from the CPU. + * @request: a cpuid_t + * @buf: output * * This function expects buf to be a valid pointer to a string/int/... * depending on the requested information. @@ -403,7 +405,6 @@ bool cpuid_test_feature(cpuid_t feature); * cpuid_has_edxfeature. * See the enum for more information. * - * * Returns true if the feature is available, false otherwise. */ bool cpuid_has_ecxfeature(int feature); @@ -418,7 +419,7 @@ bool cpuid_has_edxfeature(int feature); * cpuid_has_edxfeature_ext. * See the enum for more information. * - * Test if the CPU supports this feature. + * Test if the CPU supports this extfeature. * Returns true on success, false otherwise. */ bool cpuid_has_ecxfeature_ext(int extfeature);