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
a6216ab9
Commit
a6216ab9
authored
Dec 17, 2008
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
server: Make apc_param_t always 64-bit.
parent
29d97591
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
31 additions
and
15 deletions
+31
-15
server_protocol.h
include/wine/server_protocol.h
+2
-2
async.c
server/async.c
+2
-2
protocol.def
server/protocol.def
+1
-1
trace.c
server/trace.c
+24
-8
make_requests
tools/make_requests
+2
-2
No files found.
include/wine/server_protocol.h
View file @
a6216ab9
...
...
@@ -23,7 +23,7 @@ typedef unsigned int thread_id_t;
typedef
unsigned
int
data_size_t
;
typedef
unsigned
int
ioctl_code_t
;
typedef
unsigned
long
lparam_t
;
typedef
unsigned
long
apc_param_t
;
typedef
unsigned
__int64
apc_param_t
;
typedef
unsigned
__int64
mem_size_t
;
typedef
unsigned
__int64
file_pos_t
;
...
...
@@ -5049,6 +5049,6 @@ union generic_reply
struct
set_window_layered_info_reply
set_window_layered_info_reply
;
};
#define SERVER_PROTOCOL_VERSION 35
0
#define SERVER_PROTOCOL_VERSION 35
1
#endif
/* __WINE_WINE_SERVER_PROTOCOL_H */
server/async.c
View file @
a6216ab9
...
...
@@ -266,8 +266,8 @@ void async_set_result( struct object *obj, unsigned int status, unsigned int tot
memset
(
&
data
,
0
,
sizeof
(
data
)
);
data
.
type
=
APC_USER
;
data
.
user
.
func
=
async
->
data
.
apc
;
data
.
user
.
args
[
0
]
=
(
apc_param_t
)
async
->
data
.
arg
;
data
.
user
.
args
[
1
]
=
(
apc_param_t
)
async
->
data
.
iosb
;
data
.
user
.
args
[
0
]
=
(
apc_param_t
)
(
unsigned
long
)
async
->
data
.
arg
;
data
.
user
.
args
[
1
]
=
(
apc_param_t
)
(
unsigned
long
)
async
->
data
.
iosb
;
data
.
user
.
args
[
2
]
=
0
;
thread_queue_apc
(
async
->
thread
,
NULL
,
&
data
);
}
...
...
server/protocol.def
View file @
a6216ab9
...
...
@@ -39,7 +39,7 @@ typedef unsigned int thread_id_t;
typedef unsigned int data_size_t;
typedef unsigned int ioctl_code_t;
typedef unsigned long lparam_t;
typedef unsigned
long
apc_param_t;
typedef unsigned
__int64
apc_param_t;
typedef unsigned __int64 mem_size_t;
typedef unsigned __int64 file_pos_t;
...
...
server/trace.c
View file @
a6216ab9
...
...
@@ -114,8 +114,13 @@ static void dump_apc_call( const apc_call_t *call )
fprintf
(
stderr
,
"APC_NONE"
);
break
;
case
APC_USER
:
fprintf
(
stderr
,
"APC_USER,args={%lx,%lx,%lx}"
,
call
->
user
.
args
[
0
],
call
->
user
.
args
[
1
],
call
->
user
.
args
[
2
]
);
fprintf
(
stderr
,
"APC_USER,args={"
);
dump_uint64
(
&
call
->
user
.
args
[
0
]
);
fputc
(
','
,
stderr
);
dump_uint64
(
&
call
->
user
.
args
[
1
]
);
fputc
(
','
,
stderr
);
dump_uint64
(
&
call
->
user
.
args
[
2
]
);
fputc
(
'}'
,
stderr
);
break
;
case
APC_TIMER
:
fprintf
(
stderr
,
"APC_TIMER,time="
);
...
...
@@ -3753,8 +3758,12 @@ static void dump_open_completion_reply( const struct open_completion_reply *req
static
void
dump_add_completion_request
(
const
struct
add_completion_request
*
req
)
{
fprintf
(
stderr
,
" handle=%04x,"
,
req
->
handle
);
fprintf
(
stderr
,
" ckey=%lx,"
,
req
->
ckey
);
fprintf
(
stderr
,
" cvalue=%lx,"
,
req
->
cvalue
);
fprintf
(
stderr
,
" ckey="
);
dump_uint64
(
&
req
->
ckey
);
fprintf
(
stderr
,
","
);
fprintf
(
stderr
,
" cvalue="
);
dump_uint64
(
&
req
->
cvalue
);
fprintf
(
stderr
,
","
);
fprintf
(
stderr
,
" information=%08x,"
,
req
->
information
);
fprintf
(
stderr
,
" status=%08x"
,
req
->
status
);
}
...
...
@@ -3766,8 +3775,12 @@ static void dump_remove_completion_request( const struct remove_completion_reque
static
void
dump_remove_completion_reply
(
const
struct
remove_completion_reply
*
req
)
{
fprintf
(
stderr
,
" ckey=%lx,"
,
req
->
ckey
);
fprintf
(
stderr
,
" cvalue=%lx,"
,
req
->
cvalue
);
fprintf
(
stderr
,
" ckey="
);
dump_uint64
(
&
req
->
ckey
);
fprintf
(
stderr
,
","
);
fprintf
(
stderr
,
" cvalue="
);
dump_uint64
(
&
req
->
cvalue
);
fprintf
(
stderr
,
","
);
fprintf
(
stderr
,
" information=%08x,"
,
req
->
information
);
fprintf
(
stderr
,
" status=%08x"
,
req
->
status
);
}
...
...
@@ -3786,13 +3799,16 @@ static void dump_set_completion_info_request( const struct set_completion_info_r
{
fprintf
(
stderr
,
" handle=%04x,"
,
req
->
handle
);
fprintf
(
stderr
,
" chandle=%04x,"
,
req
->
chandle
);
fprintf
(
stderr
,
" ckey=%lx"
,
req
->
ckey
);
fprintf
(
stderr
,
" ckey="
);
dump_uint64
(
&
req
->
ckey
);
}
static
void
dump_add_fd_completion_request
(
const
struct
add_fd_completion_request
*
req
)
{
fprintf
(
stderr
,
" handle=%04x,"
,
req
->
handle
);
fprintf
(
stderr
,
" cvalue=%lx,"
,
req
->
cvalue
);
fprintf
(
stderr
,
" cvalue="
);
dump_uint64
(
&
req
->
cvalue
);
fprintf
(
stderr
,
","
);
fprintf
(
stderr
,
" status=%08x,"
,
req
->
status
);
fprintf
(
stderr
,
" information=%08x"
,
req
->
information
);
}
...
...
tools/make_requests
View file @
a6216ab9
...
...
@@ -37,7 +37,7 @@ my %formats =
"process_id_t"
=>
[
4
,
4
,
"%04x"
],
"thread_id_t"
=>
[
4
,
4
,
"%04x"
],
"lparam_t"
=>
[
4
,
4
,
"%lx"
],
"apc_param_t"
=>
[
4
,
4
,
"%lx
"
],
"apc_param_t"
=>
[
8
,
8
,
"&dump_uint64
"
],
"file_pos_t"
=>
[
8
,
8
,
"&dump_uint64"
],
"mem_size_t"
=>
[
8
,
8
,
"&dump_uint64"
],
"timeout_t"
=>
[
8
,
8
,
"&dump_timeout"
],
...
...
@@ -45,7 +45,7 @@ my %formats =
"char_info_t"
=>
[
4
,
2
,
"&dump_char_info"
],
"apc_call_t"
=>
[
40
,
8
,
"&dump_apc_call"
],
"apc_result_t"
=>
[
40
,
8
,
"&dump_apc_result"
],
"async_data_t"
=>
[
2
4
,
4
,
"&dump_async_data"
],
"async_data_t"
=>
[
2
8
,
8
,
"&dump_async_data"
],
"luid_t"
=>
[
8
,
4
,
"&dump_luid"
],
"ioctl_code_t"
=>
[
4
,
4
,
"&dump_ioctl_code"
],
);
...
...
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