Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
84b12283
Commit
84b12283
authored
Feb 11, 2022
by
Alistair Leslie-Hughes
Committed by
Alexandre Julliard
Feb 11, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wow64: Build without -DWINE_NO_LONG_TYPES.
Signed-off-by:
Alistair Leslie-Hughes
<
leslie_alistair@hotmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
4410f102
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
15 additions
and
16 deletions
+15
-16
Makefile.in
dlls/wow64/Makefile.in
+0
-1
process.c
dlls/wow64/process.c
+3
-3
registry.c
dlls/wow64/registry.c
+1
-1
security.c
dlls/wow64/security.c
+2
-2
sync.c
dlls/wow64/sync.c
+1
-1
syscall.c
dlls/wow64/syscall.c
+5
-5
system.c
dlls/wow64/system.c
+1
-1
virtual.c
dlls/wow64/virtual.c
+2
-2
No files found.
dlls/wow64/Makefile.in
View file @
84b12283
EXTRADEFS
=
-DWINE_NO_LONG_TYPES
MODULE
=
wow64.dll
IMPORTLIB
=
wow64
IMPORTS
=
ntdll winecrt0
...
...
dlls/wow64/process.c
View file @
84b12283
...
...
@@ -365,7 +365,7 @@ static void call_user_exception_dispatcher( EXCEPTION_RECORD32 *rec, void *ctx32
ctx
.
EFlags
&=
~
(
0x100
|
0x400
|
0x40000
);
NtSetInformationThread
(
GetCurrentThread
(),
ThreadWow64Context
,
&
ctx
,
sizeof
(
ctx
)
);
TRACE
(
"exception %08
x dispatcher %08x stack %08x eip %08
x
\n
"
,
TRACE
(
"exception %08
lx dispatcher %08lx stack %08lx eip %08l
x
\n
"
,
rec
->
ExceptionCode
,
ctx
.
Eip
,
ctx
.
Esp
,
stack
->
context
.
Eip
);
}
break
;
...
...
@@ -392,7 +392,7 @@ static void call_user_exception_dispatcher( EXCEPTION_RECORD32 *rec, void *ctx32
else
ctx
.
Cpsr
&=
~
0x20
;
NtSetInformationThread
(
GetCurrentThread
(),
ThreadWow64Context
,
&
ctx
,
sizeof
(
ctx
)
);
TRACE
(
"exception %08
x dispatcher %08x stack %08x pc %08
x
\n
"
,
TRACE
(
"exception %08
lx dispatcher %08lx stack %08lx pc %08l
x
\n
"
,
rec
->
ExceptionCode
,
ctx
.
Pc
,
ctx
.
Sp
,
stack
->
context
.
Sp
);
}
break
;
...
...
@@ -516,7 +516,7 @@ NTSTATUS WINAPI wow64_NtCreateThread( UINT *args )
void
*
initial_teb
=
get_ptr
(
&
args
);
BOOLEAN
suspended
=
get_ulong
(
&
args
);
FIXME
(
"%p %x %p %p %p %p %p %u: stub
\n
"
,
handle_ptr
,
access
,
attr32
,
process
,
FIXME
(
"%p %
l
x %p %p %p %p %p %u: stub
\n
"
,
handle_ptr
,
access
,
attr32
,
process
,
id32
,
context
,
initial_teb
,
suspended
);
return
STATUS_NOT_IMPLEMENTED
;
}
...
...
dlls/wow64/registry.c
View file @
84b12283
...
...
@@ -349,7 +349,7 @@ NTSTATUS WINAPI wow64_NtQueryMultipleValueKey( UINT *args )
ULONG
len
=
get_ulong
(
&
args
);
ULONG
*
retlen
=
get_ptr
(
&
args
);
FIXME
(
"%p %p %
u %p %
u %p: stub
\n
"
,
handle
,
info
,
count
,
ptr
,
len
,
retlen
);
FIXME
(
"%p %p %
lu %p %l
u %p: stub
\n
"
,
handle
,
info
,
count
,
ptr
,
len
,
retlen
);
return
STATUS_SUCCESS
;
}
...
...
dlls/wow64/security.c
View file @
84b12283
...
...
@@ -110,7 +110,7 @@ NTSTATUS WINAPI wow64_NtAdjustGroupsToken( UINT *args )
TOKEN_GROUPS32
*
prev
=
get_ptr
(
&
args
);
ULONG
*
retlen
=
get_ptr
(
&
args
);
FIXME
(
"%p %d %p %u %p %p
\n
"
,
handle
,
reset
,
groups
,
len
,
prev
,
retlen
);
FIXME
(
"%p %d %p %
l
u %p %p
\n
"
,
handle
,
reset
,
groups
,
len
,
prev
,
retlen
);
return
STATUS_NOT_IMPLEMENTED
;
}
...
...
@@ -146,7 +146,7 @@ NTSTATUS WINAPI wow64_NtCreateLowBoxToken( UINT *args )
ULONG
handle_count
=
get_ulong
(
&
args
);
ULONG
*
handles32
=
get_ptr
(
&
args
);
FIXME
(
"%p %p %
x %p %p %u %p %
u %p: stub
\n
"
,
FIXME
(
"%p %p %
lx %p %p %lu %p %l
u %p: stub
\n
"
,
handle_ptr
,
token
,
access
,
attr32
,
sid
,
count
,
capabilities32
,
handle_count
,
handles32
);
*
handle_ptr
=
0
;
...
...
dlls/wow64/sync.c
View file @
84b12283
...
...
@@ -141,7 +141,7 @@ NTSTATUS WINAPI wow64_NtAcceptConnectPort( UINT *args )
LPC_SECTION_WRITE
*
write
=
get_ptr
(
&
args
);
LPC_SECTION_READ
*
read
=
get_ptr
(
&
args
);
FIXME
(
"%p %u %p %u %p %p: stub
\n
"
,
handle_ptr
,
id
,
msg
,
accept
,
write
,
read
);
FIXME
(
"%p %
l
u %p %u %p %p: stub
\n
"
,
handle_ptr
,
id
,
msg
,
accept
,
write
,
read
);
return
STATUS_NOT_IMPLEMENTED
;
}
...
...
dlls/wow64/syscall.c
View file @
84b12283
...
...
@@ -455,9 +455,9 @@ static void init_syscall_table( HMODULE module, ULONG idx, const SYSTEM_SERVICE_
thunks
[
start_pos
+
table_pos
]
=
(
syscall_thunk
)
orig_table
->
ServiceTable
[
wrap_pos
++
];
max_pos
=
max
(
table_pos
,
max_pos
);
}
else
ERR
(
"invalid syscall id %04x for %s
\n
"
,
id
,
name
);
else
ERR
(
"invalid syscall id %04
l
x for %s
\n
"
,
id
,
name
);
}
else
ERR
(
"wrong syscall table id %04x for %s
\n
"
,
id
,
name
);
else
ERR
(
"wrong syscall table id %04
l
x for %s
\n
"
,
id
,
name
);
}
else
if
(
res
>
0
)
{
...
...
@@ -465,7 +465,7 @@ static void init_syscall_table( HMODULE module, ULONG idx, const SYSTEM_SERVICE_
wrap_pos
++
;
exp_pos
--
;
/* try again */
}
else
FIXME
(
"missing wrapper for syscall %04x %s
\n
"
,
id
,
name
);
else
FIXME
(
"missing wrapper for syscall %04
l
x %s
\n
"
,
id
,
name
);
}
for
(
;
wrap_pos
<
orig_table
->
ServiceLimit
;
wrap_pos
++
)
...
...
@@ -492,7 +492,7 @@ static HMODULE load_64bit_module( const WCHAR *name )
RtlInitUnicodeString
(
&
str
,
path
);
if
((
status
=
LdrLoadDll
(
NULL
,
0
,
&
str
,
&
module
)))
{
ERR
(
"failed to load dll %x
\n
"
,
status
);
ERR
(
"failed to load dll %
l
x
\n
"
,
status
);
NtTerminateProcess
(
GetCurrentProcess
(),
status
);
}
return
module
;
...
...
@@ -535,7 +535,7 @@ static HMODULE load_32bit_module( const WCHAR *name )
if
(
!
status
)
return
module
;
failed:
ERR
(
"failed to load dll %x
\n
"
,
status
);
ERR
(
"failed to load dll %
l
x
\n
"
,
status
);
NtTerminateProcess
(
GetCurrentProcess
(),
status
);
return
NULL
;
}
...
...
dlls/wow64/system.c
View file @
84b12283
...
...
@@ -686,7 +686,7 @@ NTSTATUS WINAPI wow64_NtRaiseHardError( UINT *args )
HARDERROR_RESPONSE_OPTION
option
=
get_ulong
(
&
args
);
HARDERROR_RESPONSE
*
response
=
get_ptr
(
&
args
);
FIXME
(
"%08
x %u %
x %p %u %p: stub
\n
"
,
status
,
count
,
params_mask
,
params
,
option
,
response
);
FIXME
(
"%08
lx %lu %l
x %p %u %p: stub
\n
"
,
status
,
count
,
params_mask
,
params
,
option
,
response
);
return
STATUS_NOT_IMPLEMENTED
;
}
...
...
dlls/wow64/virtual.c
View file @
84b12283
...
...
@@ -77,7 +77,7 @@ NTSTATUS WINAPI wow64_NtAllocateVirtualMemoryEx( UINT *args )
SIZE_T
size
;
NTSTATUS
status
;
if
(
count
)
FIXME
(
"%d extended parameters %p
\n
"
,
count
,
params
);
if
(
count
)
FIXME
(
"%
l
d extended parameters %p
\n
"
,
count
,
params
);
status
=
NtAllocateVirtualMemoryEx
(
process
,
addr_32to64
(
&
addr
,
addr32
),
size_32to64
(
&
size
,
size32
),
type
,
protect
,
params
,
count
);
if
(
!
status
)
...
...
@@ -430,7 +430,7 @@ NTSTATUS WINAPI wow64_NtSetLdtEntries( UINT *args )
ULONG
entry2_low
=
get_ulong
(
&
args
);
ULONG
entry2_high
=
get_ulong
(
&
args
);
FIXME
(
"%04
x %08x %08x %04x %08x %08
x: stub
\n
"
,
FIXME
(
"%04
lx %08lx %08lx %04lx %08lx %08l
x: stub
\n
"
,
sel1
,
entry1_low
,
entry1_high
,
sel2
,
entry2_low
,
entry2_high
);
return
STATUS_NOT_IMPLEMENTED
;
}
...
...
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