]> git.ozlabs.org Git - ccan/commitdiff
cpuid: update inline docs
authorA. Samy <f.fallen45@gmail.com>
Sat, 15 Aug 2015 01:13:01 +0000 (01:13 +0000)
committerA. Samy <f.fallen45@gmail.com>
Sat, 15 Aug 2015 01:13:01 +0000 (01:13 +0000)
Signed-off-by: A. Samy <f.fallen45@gmail.com>
ccan/cpuid/cpuid.h
ccan/cpuid/test/run.c

index 2963d5ce94b4959e8c4f9e199e42c66de4defca3..e923259292cc0c041218f51520e915777f75fae0 100644 (file)
@@ -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);
index 7dd9c261221a8670eb816f7006e0517b1fd5a760..07d5f957a99f61921a7f491f6f0e3f15127f6e69 100644 (file)
@@ -21,3 +21,4 @@ int main(void)
        printf("Wrote CPU information\n");
        return 0;
 }
+