vmm.vxd: Win64 printf format warning fixes.
This commit is contained in:
parent
bb08d0ecf3
commit
3e4fd9bf59
|
@ -4,7 +4,6 @@ SRCDIR = @srcdir@
|
||||||
VPATH = @srcdir@
|
VPATH = @srcdir@
|
||||||
MODULE = vmm.vxd
|
MODULE = vmm.vxd
|
||||||
IMPORTS = kernel32 ntdll
|
IMPORTS = kernel32 ntdll
|
||||||
EXTRADEFS = -DWINE_NO_LONG_AS_INT
|
|
||||||
|
|
||||||
C_SRCS = \
|
C_SRCS = \
|
||||||
vmm.c
|
vmm.c
|
||||||
|
|
|
@ -148,7 +148,7 @@ DWORD WINAPI VMM_VxDCall( DWORD service, CONTEXT86 *context )
|
||||||
ULONG npages = (ULONG) stack32_pop( context );
|
ULONG npages = (ULONG) stack32_pop( context );
|
||||||
ULONG flags = (ULONG) stack32_pop( context );
|
ULONG flags = (ULONG) stack32_pop( context );
|
||||||
|
|
||||||
TRACE("PageReserve: page: %08lx, npages: %08lx, flags: %08lx partial stub!\n",
|
TRACE("PageReserve: page: %08x, npages: %08x, flags: %08x partial stub!\n",
|
||||||
page, npages, flags );
|
page, npages, flags );
|
||||||
|
|
||||||
if ( page == PR_SYSTEM ) {
|
if ( page == PR_SYSTEM ) {
|
||||||
|
@ -180,8 +180,8 @@ DWORD WINAPI VMM_VxDCall( DWORD service, CONTEXT86 *context )
|
||||||
ULONG pagerdata = (ULONG) stack32_pop( context );
|
ULONG pagerdata = (ULONG) stack32_pop( context );
|
||||||
ULONG flags = (ULONG) stack32_pop( context );
|
ULONG flags = (ULONG) stack32_pop( context );
|
||||||
|
|
||||||
TRACE("PageCommit: page: %08lx, npages: %08lx, hpd: %08lx pagerdata: "
|
TRACE("PageCommit: page: %08x, npages: %08x, hpd: %08x pagerdata: "
|
||||||
"%08lx, flags: %08lx partial stub\n",
|
"%08x, flags: %08x partial stub\n",
|
||||||
page, npages, hpd, pagerdata, flags );
|
page, npages, hpd, pagerdata, flags );
|
||||||
|
|
||||||
if ( flags & PC_USER )
|
if ( flags & PC_USER )
|
||||||
|
@ -208,7 +208,7 @@ DWORD WINAPI VMM_VxDCall( DWORD service, CONTEXT86 *context )
|
||||||
ULONG npages = (ULONG) stack32_pop( context );
|
ULONG npages = (ULONG) stack32_pop( context );
|
||||||
ULONG flags = (ULONG) stack32_pop( context );
|
ULONG flags = (ULONG) stack32_pop( context );
|
||||||
|
|
||||||
TRACE("PageDecommit: page: %08lx, npages: %08lx, flags: %08lx partial stub\n",
|
TRACE("PageDecommit: page: %08x, npages: %08x, flags: %08x partial stub\n",
|
||||||
page, npages, flags );
|
page, npages, flags );
|
||||||
address = (LPVOID )( page * psize );
|
address = (LPVOID )( page * psize );
|
||||||
ret = VirtualFree ( address, ( npages * psize ), MEM_DECOMMIT );
|
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 permand = stack32_pop ( context );
|
||||||
ULONG permor = stack32_pop ( context );
|
ULONG permor = stack32_pop ( context );
|
||||||
|
|
||||||
TRACE("PageModifyPermissions %08lx %08lx %08lx %08lx partial stub\n",
|
TRACE("PageModifyPermissions %08x %08x %08x %08x partial stub\n",
|
||||||
page, npages, permand, permor );
|
page, npages, permand, permor );
|
||||||
address = (LPVOID )( page * psize );
|
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 );
|
ERR("Can't change page permissions for %p\n", address );
|
||||||
return 0xffffffff;
|
return 0xffffffff;
|
||||||
}
|
}
|
||||||
TRACE("Returning: %08lx\n", pg_old_perm );
|
TRACE("Returning: %08x\n", pg_old_perm );
|
||||||
return 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 );
|
LPVOID hmem = (LPVOID) stack32_pop( context );
|
||||||
DWORD flags = (DWORD ) stack32_pop( context );
|
DWORD flags = (DWORD ) stack32_pop( context );
|
||||||
|
|
||||||
TRACE("PageFree: hmem: %p, flags: %08lx partial stub\n",
|
TRACE("PageFree: hmem: %p, flags: %08x partial stub\n",
|
||||||
hmem, flags );
|
hmem, flags );
|
||||||
|
|
||||||
ret = VirtualFree ( hmem, 0, MEM_RELEASE );
|
ret = VirtualFree ( hmem, 0, MEM_RELEASE );
|
||||||
|
@ -420,7 +420,7 @@ DWORD WINAPI VMM_VxDCall( DWORD service, CONTEXT86 *context )
|
||||||
* implementation of this.
|
* implementation of this.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
FIXME("GetDemandPageInfo(%08lx %08lx): stub!\n", dinfo, flags);
|
FIXME("GetDemandPageInfo(%08x %08x): stub!\n", dinfo, flags);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
@ -469,10 +469,10 @@ DWORD WINAPI VMM_VxDCall( DWORD service, CONTEXT86 *context )
|
||||||
|
|
||||||
default:
|
default:
|
||||||
if (LOWORD(service) < N_VMM_SERVICE)
|
if (LOWORD(service) < N_VMM_SERVICE)
|
||||||
FIXME( "Unimplemented service %s (%08lx)\n",
|
FIXME( "Unimplemented service %s (%08x)\n",
|
||||||
VMM_Service_Name[LOWORD(service)], service);
|
VMM_Service_Name[LOWORD(service)], service);
|
||||||
else
|
else
|
||||||
FIXME( "Unknown service %08lx\n", service);
|
FIXME( "Unknown service %08x\n", service);
|
||||||
return 0xffffffff; /* FIXME */
|
return 0xffffffff; /* FIXME */
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue