Commit 284b3e6d authored by A. Samy's avatar A. Samy

cpuid: update inline docs

Signed-off-by: default avatarA. Samy <f.fallen45@gmail.com>
parent b7875534
...@@ -258,7 +258,7 @@ static char const *const c_cpunames[] = { ...@@ -258,7 +258,7 @@ static char const *const c_cpunames[] = {
* *
* Returns the CPU Type as cputype_t. * 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); cputype_t cpuid_get_cpu_type(void);
...@@ -306,6 +306,8 @@ uint32_t cpuid_highest_ext_func_supported(void); ...@@ -306,6 +306,8 @@ uint32_t cpuid_highest_ext_func_supported(void);
/** /**
* cpuid - Get Some information from the CPU. * 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/... * This function expects buf to be a valid pointer to a string/int/...
* depending on the requested information. * depending on the requested information.
...@@ -403,7 +405,6 @@ bool cpuid_test_feature(cpuid_t feature); ...@@ -403,7 +405,6 @@ bool cpuid_test_feature(cpuid_t feature);
* cpuid_has_edxfeature. * cpuid_has_edxfeature.
* See the enum for more information. * See the enum for more information.
* *
*
* Returns true if the feature is available, false otherwise. * Returns true if the feature is available, false otherwise.
*/ */
bool cpuid_has_ecxfeature(int feature); bool cpuid_has_ecxfeature(int feature);
...@@ -418,7 +419,7 @@ bool cpuid_has_edxfeature(int feature); ...@@ -418,7 +419,7 @@ bool cpuid_has_edxfeature(int feature);
* cpuid_has_edxfeature_ext. * cpuid_has_edxfeature_ext.
* See the enum for more information. * 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. * Returns true on success, false otherwise.
*/ */
bool cpuid_has_ecxfeature_ext(int extfeature); bool cpuid_has_ecxfeature_ext(int extfeature);
......
...@@ -21,3 +21,4 @@ int main(void) ...@@ -21,3 +21,4 @@ int main(void)
printf("Wrote CPU information\n"); printf("Wrote CPU information\n");
return 0; return 0;
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment