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
2df53ae1
Commit
2df53ae1
authored
Sep 26, 2013
by
Ahmed Samy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cpuid: use uint32_t instead of int/unsigned
Signed-off-by:
Ahmed Samy
<
f.fallen45@gmail.com
>
parent
e9a04de2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
ccan/cpuid/cpuid.c
ccan/cpuid/cpuid.c
+3
-3
No files found.
ccan/cpuid/cpuid.c
View file @
2df53ae1
...
...
@@ -62,8 +62,8 @@ static void ___cpuid(cpuid_t info, uint32_t *eax, uint32_t *ebx, uint32_t *ecx,
#endif
static
struct
{
in
t
feature
;
u
nsigned
mask
;
uint32_
t
feature
;
u
int32_t
mask
;
bool
use_edx
;
/* ecx will be used if false. */
}
features
[]
=
{
{
CF_MMX
,
1
<<
23
,
true
},
...
...
@@ -152,7 +152,7 @@ bool cpuid_has_feature(int feature, bool extended)
return
has_feature
(
feature
,
ecx
,
edx
);
}
static
const
char
*
cpuids
[]
=
{
static
const
char
*
c
onst
c
puids
[]
=
{
"Nooooooooone"
,
"AMDisbetter!"
,
"AuthenticAMD"
,
...
...
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