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
3e4fd9bf
Commit
3e4fd9bf
authored
Oct 08, 2006
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Oct 09, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vmm.vxd: Win64 printf format warning fixes.
parent
bb08d0ec
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
11 deletions
+10
-11
Makefile.in
dlls/vmm.vxd/Makefile.in
+0
-1
vmm.c
dlls/vmm.vxd/vmm.c
+10
-10
No files found.
dlls/vmm.vxd/Makefile.in
View file @
3e4fd9bf
...
...
@@ -4,7 +4,6 @@ SRCDIR = @srcdir@
VPATH
=
@srcdir@
MODULE
=
vmm.vxd
IMPORTS
=
kernel32 ntdll
EXTRADEFS
=
-DWINE_NO_LONG_AS_INT
C_SRCS
=
\
vmm.c
...
...
dlls/vmm.vxd/vmm.c
View file @
3e4fd9bf
...
...
@@ -148,7 +148,7 @@ DWORD WINAPI VMM_VxDCall( DWORD service, CONTEXT86 *context )
ULONG
npages
=
(
ULONG
)
stack32_pop
(
context
);
ULONG
flags
=
(
ULONG
)
stack32_pop
(
context
);
TRACE
(
"PageReserve: page: %08
lx, npages: %08lx, flags: %08l
x partial stub!
\n
"
,
TRACE
(
"PageReserve: page: %08
x, npages: %08x, flags: %08
x partial stub!
\n
"
,
page
,
npages
,
flags
);
if
(
page
==
PR_SYSTEM
)
{
...
...
@@ -180,8 +180,8 @@ DWORD WINAPI VMM_VxDCall( DWORD service, CONTEXT86 *context )
ULONG
pagerdata
=
(
ULONG
)
stack32_pop
(
context
);
ULONG
flags
=
(
ULONG
)
stack32_pop
(
context
);
TRACE
(
"PageCommit: page: %08
lx, npages: %08lx, hpd: %08l
x pagerdata: "
"%08
lx, flags: %08l
x partial stub
\n
"
,
TRACE
(
"PageCommit: page: %08
x, npages: %08x, hpd: %08
x pagerdata: "
"%08
x, flags: %08
x partial stub
\n
"
,
page
,
npages
,
hpd
,
pagerdata
,
flags
);
if
(
flags
&
PC_USER
)
...
...
@@ -208,7 +208,7 @@ DWORD WINAPI VMM_VxDCall( DWORD service, CONTEXT86 *context )
ULONG
npages
=
(
ULONG
)
stack32_pop
(
context
);
ULONG
flags
=
(
ULONG
)
stack32_pop
(
context
);
TRACE
(
"PageDecommit: page: %08
lx, npages: %08lx, flags: %08l
x partial stub
\n
"
,
TRACE
(
"PageDecommit: page: %08
x, npages: %08x, flags: %08
x partial stub
\n
"
,
page
,
npages
,
flags
);
address
=
(
LPVOID
)(
page
*
psize
);
ret
=
VirtualFree
(
address
,
(
npages
*
psize
),
MEM_DECOMMIT
);
...
...
@@ -230,7 +230,7 @@ DWORD WINAPI VMM_VxDCall( DWORD service, CONTEXT86 *context )
ULONG
permand
=
stack32_pop
(
context
);
ULONG
permor
=
stack32_pop
(
context
);
TRACE
(
"PageModifyPermissions %08
lx %08lx %08lx %08l
x partial stub
\n
"
,
TRACE
(
"PageModifyPermissions %08
x %08x %08x %08
x partial stub
\n
"
,
page
,
npages
,
permand
,
permor
);
address
=
(
LPVOID
)(
page
*
psize
);
...
...
@@ -271,7 +271,7 @@ DWORD WINAPI VMM_VxDCall( DWORD service, CONTEXT86 *context )
ERR
(
"Can't change page permissions for %p
\n
"
,
address
);
return
0xffffffff
;
}
TRACE
(
"Returning: %08
l
x
\n
"
,
pg_old_perm
);
TRACE
(
"Returning: %08x
\n
"
,
pg_old_perm
);
return
pg_old_perm
;
}
...
...
@@ -281,7 +281,7 @@ DWORD WINAPI VMM_VxDCall( DWORD service, CONTEXT86 *context )
LPVOID
hmem
=
(
LPVOID
)
stack32_pop
(
context
);
DWORD
flags
=
(
DWORD
)
stack32_pop
(
context
);
TRACE
(
"PageFree: hmem: %p, flags: %08
l
x partial stub
\n
"
,
TRACE
(
"PageFree: hmem: %p, flags: %08x partial stub
\n
"
,
hmem
,
flags
);
ret
=
VirtualFree
(
hmem
,
0
,
MEM_RELEASE
);
...
...
@@ -420,7 +420,7 @@ DWORD WINAPI VMM_VxDCall( DWORD service, CONTEXT86 *context )
* implementation of this.
*/
FIXME
(
"GetDemandPageInfo(%08
lx %08l
x): stub!
\n
"
,
dinfo
,
flags
);
FIXME
(
"GetDemandPageInfo(%08
x %08
x): stub!
\n
"
,
dinfo
,
flags
);
return
0
;
}
...
...
@@ -469,10 +469,10 @@ DWORD WINAPI VMM_VxDCall( DWORD service, CONTEXT86 *context )
default:
if
(
LOWORD
(
service
)
<
N_VMM_SERVICE
)
FIXME
(
"Unimplemented service %s (%08
l
x)
\n
"
,
FIXME
(
"Unimplemented service %s (%08x)
\n
"
,
VMM_Service_Name
[
LOWORD
(
service
)],
service
);
else
FIXME
(
"Unknown service %08
l
x
\n
"
,
service
);
FIXME
(
"Unknown service %08x
\n
"
,
service
);
return
0xffffffff
;
/* FIXME */
}
}
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