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
c9a55908
Commit
c9a55908
authored
May 31, 2020
by
Paul Gofman
Committed by
Alexandre Julliard
Jun 01, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntoskrnl.exe: Zero copied size in MmCopyVirtualMemory() stub.
Signed-off-by:
Paul Gofman
<
pgofman@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
e58073db
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
+8
-4
ntoskrnl.c
dlls/ntoskrnl.exe/ntoskrnl.c
+7
-4
wdm.h
include/ddk/wdm.h
+1
-0
No files found.
dlls/ntoskrnl.exe/ntoskrnl.c
View file @
c9a55908
...
...
@@ -3985,11 +3985,14 @@ PVOID WINAPI PsGetProcessWow64Process(PEPROCESS process)
/*********************************************************************
* MmCopyVirtualMemory (NTOSKRNL.@)
*/
NTSTATUS
WINAPI
MmCopyVirtualMemory
(
PEPROCESS
fromprocess
,
PVOID
fromaddress
,
PEPROCESS
toprocess
,
PVOID
toaddress
,
SIZE_T
bufsize
,
KPROCESSOR_MODE
mode
,
PSIZE_T
copied
)
NTSTATUS
WINAPI
MmCopyVirtualMemory
(
PEPROCESS
fromprocess
,
void
*
fromaddress
,
PEPROCESS
toprocess
,
void
*
toaddress
,
SIZE_T
bufsize
,
KPROCESSOR_MODE
mode
,
SIZE_T
*
copied
)
{
FIXME
(
"stub: %p %p %p %p %lu %d %p
\n
"
,
fromprocess
,
fromaddress
,
toprocess
,
toaddress
,
bufsize
,
mode
,
copied
);
FIXME
(
"fromprocess %p, fromaddress %p, toprocess %p, toaddress %p, bufsize %lu, mode %d, copied %p stub.
\n
"
,
fromprocess
,
fromaddress
,
toprocess
,
toaddress
,
bufsize
,
mode
,
copied
);
*
copied
=
0
;
return
STATUS_NOT_IMPLEMENTED
;
}
...
...
include/ddk/wdm.h
View file @
c9a55908
...
...
@@ -1735,6 +1735,7 @@ PVOID WINAPI MmAllocateContiguousMemory(SIZE_T,PHYSICAL_ADDRESS);
PVOID
WINAPI
MmAllocateNonCachedMemory
(
SIZE_T
);
PMDL
WINAPI
MmAllocatePagesForMdl
(
PHYSICAL_ADDRESS
,
PHYSICAL_ADDRESS
,
PHYSICAL_ADDRESS
,
SIZE_T
);
void
WINAPI
MmBuildMdlForNonPagedPool
(
MDL
*
);
NTSTATUS
WINAPI
MmCopyVirtualMemory
(
PEPROCESS
,
void
*
,
PEPROCESS
,
void
*
,
SIZE_T
,
KPROCESSOR_MODE
,
SIZE_T
*
);
void
WINAPI
MmFreeNonCachedMemory
(
PVOID
,
SIZE_T
);
void
*
WINAPI
MmGetSystemRoutineAddress
(
UNICODE_STRING
*
);
PVOID
WINAPI
MmMapLockedPagesSpecifyCache
(
PMDLX
,
KPROCESSOR_MODE
,
MEMORY_CACHING_TYPE
,
PVOID
,
ULONG
,
MM_PAGE_PRIORITY
);
...
...
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