Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
ccan
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
mirror
ccan
Commits
284b3e6d
Commit
284b3e6d
authored
Aug 15, 2015
by
A. Samy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cpuid: update inline docs
Signed-off-by:
A. Samy
<
f.fallen45@gmail.com
>
parent
b7875534
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
ccan/cpuid/cpuid.h
ccan/cpuid/cpuid.h
+4
-3
ccan/cpuid/test/run.c
ccan/cpuid/test/run.c
+1
-0
No files found.
ccan/cpuid/cpuid.h
View file @
284b3e6d
...
...
@@ -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
ext
feature.
* Returns true on success, false otherwise.
*/
bool
cpuid_has_ecxfeature_ext
(
int
extfeature
);
...
...
ccan/cpuid/test/run.c
View file @
284b3e6d
...
...
@@ -21,3 +21,4 @@ int main(void)
printf
(
"Wrote CPU information
\n
"
);
return
0
;
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment