summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA. Samy <f.fallen45@gmail.com>2015-08-15 01:13:01 +0000
committerA. Samy <f.fallen45@gmail.com>2015-08-15 01:13:01 +0000
commit284b3e6d2db0a20d16a7f82f5b1981712b2fd2df (patch)
tree88dcb6192e1861ebebfcda95d0ebb4ec9b61f270
parentb7875534ad91e2cfc013e1224219ab3f8c04ee97 (diff)
cpuid: update inline docs
Signed-off-by: A. Samy <f.fallen45@gmail.com>
-rw-r--r--ccan/cpuid/cpuid.h7
-rw-r--r--ccan/cpuid/test/run.c1
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;
}
+