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
9784c3fd
Commit
9784c3fd
authored
Apr 23, 2019
by
Jacek Caban
Committed by
Alexandre Julliard
Apr 23, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntoskrnl.exe: Add MmUnmapLockedPages stub.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
95bd82ee
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
2 deletions
+11
-2
ntoskrnl.c
dlls/ntoskrnl.exe/ntoskrnl.c
+8
-0
ntoskrnl.exe.spec
dlls/ntoskrnl.exe/ntoskrnl.exe.spec
+1
-1
driver.c
dlls/ntoskrnl.exe/tests/driver.c
+1
-1
wdm.h
include/ddk/wdm.h
+1
-0
No files found.
dlls/ntoskrnl.exe/ntoskrnl.c
View file @
9784c3fd
...
...
@@ -2833,6 +2833,14 @@ PVOID WINAPI MmMapLockedPagesSpecifyCache(PMDLX MemoryDescriptorList, KPROCESSO
}
/***********************************************************************
* MmUnmapLockedPages (NTOSKRNL.EXE.@)
*/
void
WINAPI
MmUnmapLockedPages
(
void
*
base
,
MDL
*
mdl
)
{
FIXME
(
"(%p %p_
\n
"
,
base
,
mdl
);
}
/***********************************************************************
* MmUnlockPagableImageSection (NTOSKRNL.EXE.@)
*/
VOID
WINAPI
MmUnlockPagableImageSection
(
PVOID
ImageSectionHandle
)
...
...
dlls/ntoskrnl.exe/ntoskrnl.exe.spec
View file @
9784c3fd
...
...
@@ -733,7 +733,7 @@
@ stdcall MmUnlockPagableImageSection(ptr)
@ stdcall MmUnlockPages(ptr)
@ stdcall MmUnmapIoSpace(ptr long)
@ st
ub MmUnmapLockedPages
@ st
dcall MmUnmapLockedPages(ptr ptr)
@ stub MmUnmapReservedMapping
@ stub MmUnmapVideoDisplay
@ stub MmUnmapViewInSessionSpace
...
...
dlls/ntoskrnl.exe/tests/driver.c
View file @
9784c3fd
...
...
@@ -249,7 +249,7 @@ static void test_mdl_map(void)
todo_wine
ok
(
addr
!=
NULL
,
"MmMapLockedPagesSpecifyCache failed
\n
"
);
/* MmUnmapLockedPages(addr, mdl); */
MmUnmapLockedPages
(
addr
,
mdl
);
IoFreeMdl
(
mdl
);
}
...
...
include/ddk/wdm.h
View file @
9784c3fd
...
...
@@ -1615,6 +1615,7 @@ void * WINAPI MmGetSystemRoutineAddress(UNICODE_STRING*);
PVOID
WINAPI
MmMapLockedPagesSpecifyCache
(
PMDL
,
KPROCESSOR_MODE
,
MEMORY_CACHING_TYPE
,
PVOID
,
ULONG
,
ULONG
);
MM_SYSTEMSIZE
WINAPI
MmQuerySystemSize
(
void
);
void
WINAPI
MmProbeAndLockPages
(
PMDLX
,
KPROCESSOR_MODE
,
LOCK_OPERATION
);
void
WINAPI
MmUnmapLockedPages
(
void
*
,
PMDL
);
static
inline
void
*
MmGetSystemAddressForMdlSafe
(
MDL
*
mdl
,
ULONG
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