Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
b7664e60
Commit
b7664e60
authored
Feb 22, 2015
by
Thomas Faber
Committed by
Alexandre Julliard
Feb 23, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wbemprox: Implement MSVC version of do_cpuid.
parent
00b2461b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
builtin.c
dlls/wbemprox/builtin.c
+4
-0
No files found.
dlls/wbemprox/builtin.c
View file @
b7664e60
...
@@ -2074,6 +2074,9 @@ done:
...
@@ -2074,6 +2074,9 @@ done:
static
inline
void
do_cpuid
(
unsigned
int
ax
,
unsigned
int
*
p
)
static
inline
void
do_cpuid
(
unsigned
int
ax
,
unsigned
int
*
p
)
{
{
#ifdef __i386__
#ifdef __i386__
#ifdef _MSC_VER
__cpuid
(
p
,
ax
);
#else
__asm__
(
"pushl %%ebx
\n\t
"
__asm__
(
"pushl %%ebx
\n\t
"
"cpuid
\n\t
"
"cpuid
\n\t
"
"movl %%ebx, %%esi
\n\t
"
"movl %%ebx, %%esi
\n\t
"
...
@@ -2081,6 +2084,7 @@ static inline void do_cpuid( unsigned int ax, unsigned int *p )
...
@@ -2081,6 +2084,7 @@ static inline void do_cpuid( unsigned int ax, unsigned int *p )
:
"=a"
(
p
[
0
]),
"=S"
(
p
[
1
]),
"=c"
(
p
[
2
]),
"=d"
(
p
[
3
])
:
"=a"
(
p
[
0
]),
"=S"
(
p
[
1
]),
"=c"
(
p
[
2
]),
"=d"
(
p
[
3
])
:
"0"
(
ax
));
:
"0"
(
ax
));
#endif
#endif
#endif
}
}
static
void
get_processor_id
(
WCHAR
*
processor_id
)
static
void
get_processor_id
(
WCHAR
*
processor_id
)
...
...
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