From 284b3e6d2db0a20d16a7f82f5b1981712b2fd2df Mon Sep 17 00:00:00 2001 From: "A. Samy" Date: Sat, 15 Aug 2015 01:13:01 +0000 Subject: [PATCH] cpuid: update inline docs Signed-off-by: A. Samy --- ccan/cpuid/cpuid.h | 7 ++++--- ccan/cpuid/test/run.c | 1 + 2 files changed, 5 insertions(+), 3 deletions(-) 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); diff --git a/ccan/cpuid/test/run.c b/ccan/cpuid/test/run.c index 7dd9c261..07d5f957 100644 --- a/ccan/cpuid/test/run.c +++ b/ccan/cpuid/test/run.c @@ -21,3 +21,4 @@ int main(void) printf("Wrote CPU information\n"); return 0; } + -- 2.39.2